local deb = true
script.Parent.Clicker.ClickDetector.MouseClick:connect(function(wat)
if deb == true then
deb = false
local PlayerCash = game.ServerStorage.PlayerMoney:FindFirstChild(player.Name)
PlayerCash = PlayerCash + 15
deb = true
end
end)
I'm a beginner with lua and Roblox Studio so I don't know what to do.

1 comment
Thank you, the error is gone.The money don't seem to change though. ( I am using Zednov's tycoon kit)