Advertisement
pitrioptixiop

Roblox | Hat spam run on local

Dec 6th, 2018
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. --run on local
  2. p = game.Players.LocalPlayer
  3. f = p.Character.HumanoidRootPart.CFrame
  4. function bh()
  5. gh = p.Character:GetChildren()
  6. for a=1, #gh do
  7. if gh[a].ClassName == "Hat" or gh[a].ClassName == "Accessory" then
  8. if gh[a]:FindFirstChild("Mesh") then
  9. gh[a].Mesh:Destroy()
  10. end
  11. gh[a].Parent = workspace
  12. end
  13. end
  14. end
  15. while true do
  16. wait(0.01)
  17. bh()
  18. p.Character.Head:BreakJoints()
  19. char = p.Character
  20. repeat
  21. wait(0.01)
  22. until p.Character ~= nil and p.Character ~= char
  23. wait(0.2)
  24. p.Character.HumanoidRootPart.CFrame = f
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement