I have a minigame and I want all the players to receive a sword for one of the minigames. Here is the code i have but it doesn't seem to work:
game.Players:GetChildren(players) local sword = game.ServerStorage.ClassicSword local copy = sword:Clone() copy.Parent = players.Backpack
I recommend you to use replicatedstorage instead of serverstorage because most of times for me. The tool or item you want to clone doesnt show in serverstorage.
This is how u plrs
for i, player in pairs(Players:GetPlayers()) do
You would probably find this familiar cause its an i , v loop.
Not sure why but i think u shud use a serverscript (if you are not already using one) Hope this helps.