Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local players = game:GetService("Players")
- local pets = game.ReplicatedFirst.Pets
- local playersFolder = workspace.Players
- players.PlayerAdded:Connect(function(player)
- local folder = Instance.new("Folder")
- folder.Name = player.Name
- folder.Parent = playersFolder
- for i = 1, 20, 1 do
- local newPet = pets[i]:Clone()
- newPet.Parent = folder
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement