Advertisement
Burkino

Lagden

Jul 20th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. wait(3)
  2. game:GetService('RunService').Stepped:connect(function()
  3. for _, v in pairs(game.ReplicatedStorage.Products.Hats:GetChildren()) do
  4. game.ReplicatedStorage.CommunicationFunction:InvokeServer("SetEquipped", v.Name)
  5.  
  6. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  7. if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  8. v.Parent = workspace
  9. end
  10. end
  11. end
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement