Hello so basically, i made a script inside a proximity prompt that when u interact with it then you get a tool:
script.Parent.Triggered:Connect(function(player)
if player.leaderstats.Cash.Value >= 2000 then
player.leaderstats.Cash.Value -= 2000
game.ServerStorage["Glock Switch"]:Clone().Parent = player.Backpack
end
end)
but the problem im facing is that, if i buy the gun everyone gets the gun, how would i fix that?