How would I make it so it gives ALL their weapons they have bought to them when hiiting the brick?
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