Prephy

dinnerbone

Sep 21st, 2021 (edited)
732
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = owner
  2. local character = player.Character
  3. local rootpart = character:WaitForChild("HumanoidRootPart")
  4. local r15=false
  5. local lower = character:FindFirstChild("LowerTorso")
  6. local Humanoid = character:FindFirstChildOfClass"Humanoid"
  7. if lower then
  8.     r15=true
  9. end
  10. local rootjoint
  11. if r15 then
  12.     rootjoint = lower:FindFirstChild("Root")
  13. else
  14.     rootjoint = rootpart:FindFirstChild("RootJoint")
  15.     if not rootjoint then
  16.         rootjoint = rootpart:FindFirstChild("Root Hip")
  17.     end
  18. end
  19. local CO = rootjoint.C0
  20. Humanoid.DisplayName="Dinnerbone"
  21. if r15 then
  22.     rootjoint.C0=CO*CFrame.Angles(math.rad(180),math.rad(180),0)
  23. else
  24.     rootjoint.C0=CO*CFrame.Angles(math.rad(180),0,math.rad(180))
  25. end
RAW Paste Data