So im trying to change the values in a server script, but there not changing, any help?
local stock2 = game.Workspace.BackpackShop.GunBackpack.UpperTorso.BackpackShop.HipointC380.Stock.Stock.Value
if Player.stats.Cash.Value >= 1000 and stock2 > 0 then
stock2 = stock2 - 1
Nevermind, this is all i changed, heres the updated script.
local stock2 = game.Workspace.BackpackShop.GunBackpack.UpperTorso.BackpackShop.HipointC380.Stock.Stock
if Player.stats.Cash.Value >= 1000 and stock2.Value > 0 then
stock2.Value = stock2.Value - 1