Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = owner
- local character = player.Character
- local rootpart = character:WaitForChild("HumanoidRootPart")
- local r15=false
- local lower = character:FindFirstChild("LowerTorso")
- local Humanoid = character:FindFirstChildOfClass"Humanoid"
- if lower then
- r15=true
- end
- local rootjoint
- if r15 then
- rootjoint = lower:FindFirstChild("Root")
- else
- rootjoint = rootpart:FindFirstChild("RootJoint")
- if not rootjoint then
- rootjoint = rootpart:FindFirstChild("Root Hip")
- end
- end
- local CO = rootjoint.C0
- Humanoid.DisplayName="Dinnerbone"
- if r15 then
- rootjoint.C0=CO*CFrame.Angles(math.rad(180),math.rad(180),0)
- else
- rootjoint.C0=CO*CFrame.Angles(math.rad(180),0,math.rad(180))
- end
Add Comment
Please, Sign In to add comment