Advertisement
FazeWolfyBoy

Float

Mar 26th, 2022
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. player = game:GetService("Players").LocalPlayer
  2.  
  3. --Remove BodyVelocity to remove float
  4. if player.Character.HumanoidRootPart:FindFirstChild("WRDBodyVelocity") then
  5. player.Character.HumanoidRootPart.WRDBodyVelocity:Destroy()
  6. --Insert BodyVelocity to add float
  7. else
  8. local bodyVelocity = Instance.new("BodyVelocity")
  9. --So we know what specific instance to remove when toggle off
  10. bodyVelocity.Name = "WRDBodyVelocity"
  11. bodyVelocity.Parent = player.Character.HumanoidRootPart
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement