Advertisement
Prephy

br

Mar 26th, 2022
1,339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.73 KB | None | 0 0
  1. while task.wait(0.1) do
  2. pcall(function()
  3. local player = owner
  4. local character = player.Character
  5. local rootpart = character:WaitForChild("HumanoidRootPart")
  6. local r15=false
  7. local lower = character:FindFirstChild("LowerTorso")
  8. local Humanoid = character:FindFirstChildOfClass"Humanoid"
  9. if lower then
  10.     r15=true
  11. end
  12. local rootjoint
  13. if r15 then
  14.     rootjoint = lower:FindFirstChild("Root")
  15. else
  16.     rootjoint = rootpart:FindFirstChild("RootJoint")
  17.     if not rootjoint then
  18.         rootjoint = rootpart:FindFirstChild("Root Hip")
  19.     end
  20. end
  21. local CO = rootjoint.C0
  22. Humanoid.DisplayName="wth"
  23. if r15 then
  24.     rootjoint.C0=CO*CFrame.Angles(math.rad(180),math.rad(180),0)
  25. else
  26.     rootjoint.C0=CO*CFrame.Angles(math.rad(180),0,math.rad(180))
  27. end end) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement