Upscalefanatic3

(Roblox) Hotel Elephant | Spam Hats Script

Jan 5th, 2020
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[Hotel Elephant => Spam Hats by MyNey (discord tag 1868)
  2. Documentation:
  3.     number ID
  4.         Controls the Hat ID that's being spammed.
  5.     number Amount
  6.         Controls the amount of hats to spam.
  7. --]]
  8. local ID = 16630147
  9. local Amount = 100
  10. function onCharHat(hat)
  11.     if hat.Name == "TempHair" then
  12.         wait()
  13.         hat.Parent = workspace
  14.     end
  15. end
  16. game.Players.LocalPlayer.Character.ChildAdded:Connect(onCharHat)
  17. game.Players.LocalPlayer.CharacterAdded:Connect(function(c)
  18.     c.ChildAdded:Connect(onCharHat)
  19. end)
  20. for i=1,Amount do
  21.     local Event = game:GetService("ReplicatedStorage").ReplaceHair
  22.     Event:FireServer({id})
  23. end
Add Comment
Please, Sign In to add comment