Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Hotel Elephant => Spam Hats by MyNey (discord tag 1868)
- Documentation:
- number ID
- Controls the Hat ID that's being spammed.
- number Amount
- Controls the amount of hats to spam.
- --]]
- local ID = 16630147
- local Amount = 100
- function onCharHat(hat)
- if hat.Name == "TempHair" then
- wait()
- hat.Parent = workspace
- end
- end
- game.Players.LocalPlayer.Character.ChildAdded:Connect(onCharHat)
- game.Players.LocalPlayer.CharacterAdded:Connect(function(c)
- c.ChildAdded:Connect(onCharHat)
- end)
- for i=1,Amount do
- local Event = game:GetService("ReplicatedStorage").ReplaceHair
- Event:FireServer({id})
- end
Add Comment
Please, Sign In to add comment