Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local removeNametags = false -- remove custom billboardgui nametags from hrp, could trigger anticheat
- local plr = game:GetService("Players").LocalPlayer
- local character = plr.Character
- local hrp = character.HumanoidRootPart
- local old = hrp.CFrame
- if not character:FindFirstChild("LowerTorso") or character.PrimaryPart ~= hrp then
- return print("unsupported")
- end
- if removeNametags then
- local tag = hrp:FindFirstChildOfClass("BillboardGui")
- if tag then tag:Destroy() end
- hrp.ChildAdded:Connect(function(item)
- if item:IsA("BillboardGui") then
- task.wait()
- item:Destroy()
- end
- end)
- end
- local newroot = character.LowerTorso.Root:Clone()
- hrp.Parent = workspace
- character.PrimaryPart = hrp
- character:MoveTo(Vector3.new(old.X,9e9,old.Z))
- hrp.Parent = character
- task.wait(0.5)
- newroot.Parent = hrp
- hrp.CFrame = old
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement