|
| 18 Aug 2015 09:05 AM |
So I tried scripting a gui button where on function it gathers all the players on the server and clone a tool called "Teams" in the serverstorage, and place them in the Backpack, but my issue here is I'm inexperienced with backpacks. So I can't get it to work.
function Give() for _,v in pairs(game.Players:GetPlayers()) do game.ServerStorage:findFirstChild("Team"):clone().Parent = Backpack end end
script.Parent.MouseButton1Click:connect(Give)
|
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 09:07 AM |
:clone().Parent = v.Backpack --Remember you are iterating through the players and in this case "v" is the player and backpack is inside the player :D
while true do the do |
|
|
| Report Abuse |
|
|
| |
|
| |
|