@iram
Roblox Nov 09, 2026

Making a fly ability in my Roblox game that works for R6 and R15

Building a superhero game in Studio and want players to toggle flying with a key. My script works on R15 rigs but R6 characters just spin. How do people handle both rig types in one script?
1

Leave A Reply

Log in to post an answer.

1 Answer

hemlatav_81 Nov 12, 2026
iram
Use the HumanoidRootPart for everything, since that's the one part both rigs have. If your script references something like UpperTorso it'll only work on R15. Put the LinearVelocity and AlignOrientation (or BodyVelocity and BodyGyro if you're on the older stuff) on the root part and set the humanoid to PlatformStand while flying. That spinning on R6 is usually the humanoid fighting the forces you're applying.