The title says it all, I need to know how to do that, and I have no clue how.
I know this is answered, but I thought you will like this answer:
for i,v in pairs(game.Players:GetChildren())do local weapon = game.ReplicatedStorage.WeaponNameHere:Clone() weapon.Parent = v.StarterPack end
Put it in StarterPack!
wiki on StarterPack:
In case the wiki doesn't clarify enough:
The StarterPack is a place that you put tools so when the player joins, they automatically get them in their backpack.
Now, Let's say you want to dynamically add tools to a players backpack. You'd simply just go script.Tool.Parent = game.Players.LocalPlayer.Backpack
that would then add it to the players backpack (with modification of course).
I won't give you the admin part, but here is how to do it:
local tool = game.ReplicatedStorage.ToolName:Clone() local a = game.Players:GetChildren() for i = 1,#a do tool.Parent = a[i].StarterGear -- or Backpack if you don't want it to be permanent end
Hope I helped :)