Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I make it so it gives ALL their weapons they have bought to them when hiiting the brick?

Asked by 8 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
script.Parent.Touched:connect(function(plr)
    local a = game.GetService("ServerStorage"):FindFirstChild(game.Players.LocalPlayer.Name):GetChildren()
    a:clone().Parent = game.Players:FindFirstChild(game.Players.LocalPlayer.Name).Backpack
end)
--Im trying to make it so when they touch a brick it gives them the weapons stored in the serverstorage basically

Answer this question