so my rebirths system keeps getting a error this is the code:
if Coins.Value > theRebirth.Value then -- this is whats wrong
Rebirths.Value = Rebirths.Value + 1
rebirthmult.Value = rebirthmult.Value + 0.1
theRebirth = ammountper
Coins = 0
end
the error is " 08:50:33.435 - ServerScriptService.Main:37: attempt to index number with 'Value'" but if i change it i get this " 08:52:37.544 - ServerScriptService.Main:37: attempt to compare userdata"

1 comment
Can you post your full code please?