I am the initial developer and just started scripting the guts of the game. I need a script (not local) which I will put in the game scripts that will give all players an item with the name "cheese". "Cheese" is put in "ServerStorage" but I can change it. I know the quest is quite simple, but all the other tutorials and scripts refer to one player or don't work at all.
✓ ANSWER ACCEPTED
What is the script that gives players the item?
1 answer
✓ Accepted answer
not sure what you mean and this sounds like a bit of a request but I'm assuming you mean this:
local Item = game:GetService'ServerStorage'.Cheese
for i,v in pairs(game:GetService'Players':GetPlayers()) do
local BP = v.Backpack
Item:Clone().Parent = BP
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
