DrawingJhon

Invisible R15

Oct 22nd, 2022
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.83 KB | None | 0 0
  1. local removeNametags = false -- remove custom billboardgui nametags from hrp, could trigger anticheat
  2.  
  3. local plr = game:GetService("Players").LocalPlayer
  4. local character = plr.Character
  5. local hrp = character.HumanoidRootPart
  6. local old = hrp.CFrame
  7.  
  8. if not character:FindFirstChild("LowerTorso") or character.PrimaryPart ~= hrp then
  9. return print("unsupported")
  10. end
  11.  
  12. if removeNametags then
  13. local tag = hrp:FindFirstChildOfClass("BillboardGui")
  14. if tag then tag:Destroy() end
  15.  
  16. hrp.ChildAdded:Connect(function(item)
  17. if item:IsA("BillboardGui") then
  18. task.wait()
  19. item:Destroy()
  20. end
  21. end)
  22. end
  23.  
  24. local newroot = character.LowerTorso.Root:Clone()
  25. hrp.Parent = workspace
  26. character.PrimaryPart = hrp
  27. character:MoveTo(Vector3.new(old.X,9e9,old.Z))
  28. hrp.Parent = character
  29. task.wait(0.5)
  30. newroot.Parent = character.LowerTorso
  31. hrp.CFrame = old
Add Comment
Please, Sign In to add comment