game.ReplicatedStorage.BuyIcon1.OnServerEvent:Connect(function(plr) print(plr.Name.." wants to buy a icon") plr.leaderstats.Coins.Value = plr.leaderstats.Coins.Value - 150 end)
When this gets fired buy someone clicking a gui to buy an item it takes coins from all of the players
I need it to minus coins from only the player who is trying to buy the item