Hey there. I recently made a donation script, if you donate you'll get a gun. Unfortunately, you have to wait for a new server to actually receive the gun. So, I attempted to make a script that when your purchase is verified, it creates a boolvalue in workspace with that person's name. I got that done, but I'm having trouble making it so that if there's a boolvalue with someone's name, it will give a weapon to that person when they respawn.
This is the code I have so far [making the values is already sorted out]
players = game.Players:GetChildren()
function givetools()
base = script.Parent:GetChildren()
for i, base
end

4 comments
How would I end up cloning a tool from Lighting to their backpack, if they own the asset?
In a localscript, of course. And where would I put the localscript? Starterpack?
added an example, and starterpack, startergui, playerscripts are all possible places you can out it (accept answer if satisfied please n htank you)
It still requires they rejoin.