I've tried to use BodyGyro before, and had no luck. I've been looking for answers but so far, have gotten no useful ones. People have told me to use the one from Kohls admin, but I want to learn how to do it rather than just copy it.
Anyways, here's my current code:
local player = game.Players.LocalPlayer
player.CharacterAdded:wait()
local character = player.Character
local humanoid = character:findFirstChild('Humanoid')
local bodyGyro = Instance.new('BodyGyro',character:FindFirstChild('HumanoidRootPart'))
local flying = true
repeat bodyGyro.cframe = character.Torso.CFrame until flying = false
However, this doesn't work. Can anyone help me?

1 comment
can't you just look at how kohls admin does it and apply that to your script, rather than copy and paste?