Advertisement
rrixh

laydown spin

Jul 12th, 2023
5,228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  2. local anim = Instance.new("Animation")
  3. anim.AnimationId = "rbxassetid://181526230"
  4. local track = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim)
  5. track:Play()
  6.  
  7. local bav = Instance.new("BodyAngularVelocity", game.Players.LocalPlayer.Character.HumanoidRootPart)
  8. bav.MaxTorque = Vector3.new(0, math.huge, 0)
  9. bav.AngularVelocity = Vector3.new(0, 50, 0)
  10.  
  11. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 30
  12. elseif game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  13. error("its only for r6 noob")
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement