I don't know how to exactly name this

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?

This script should work, it might be something else that is causing the issue?

bro there is literally nothing else, its only this script and thats all.

you sure theres no other script in the game? Do other people only get it the same time you trigger the prompt?

i mean there are lot of scripts in the game but none of them are related by any way to this script.