Local movement = īodyGyro.Parent = isFlying and hrp or nil īodyVel.Parent = isFlying and hrp or nil Local bodyVel = Instance.new("BodyVelocity") īodyVel.maxForce = Vector3.new(1, 1, 1)*10^6 Local bodyGyro = Instance.new("BodyGyro") īodyGyro.maxTorque = Vector3.new(1, 1, 1)*10^6 Local moveAnim = humanoid:LoadAnimation(script:WaitForChild("MoveAnim")) Local idleAnim = humanoid:LoadAnimation(script:WaitForChild("IdleAnim")) While (not character.Parent) do character.Ancestr圜hanged:Wait() end Local animate = character:WaitForChild("Animate") Local humanoid = character:WaitForChild("Humanoid") Local hrp = character:WaitForChild("HumanoidRootPart") It works on PC, however when I try it on mobile, I couldn’t move it with the joystick. I got this script from to save time, where it activates flying for players.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |