local plr = game.Players.LocalPlayer
local cash = plr.leaderstats.Cash.Value
print(plr)
print(cash)
script.Parent.MouseButton1Click:Connect(function()
wait(10)
cash = cash*2
print(cash)
end
local plr = game.Players.LocalPlayer
local cash = plr.leaderstats.Cash
script.Parent.MouseButton1Click:Connect(function()
task.wait(10)
cash.Value = cash.Value * 2
end
also also, is this a localscript? You should be changing the cash value with ServerScript using RemoteEvents. I just replied the wrong person
1 Like
Yeah it is a local script I will add remote events what type of remote events would i need