wait()
scoreKey = "Cookies"
CPSkey = "CPS"
stats = script.Parent.Parent.Parent.Parent.Parent.leaderstats.Cookie
player = script.Parent.Parent.Parent.Parent.Parent
CPS = script.Parent.Parent.Game.PPS.PointsPS
local ok2, ret2 = pcall(function() return player:LoadNumber(CPSkey) end)
if ok2 then
if ret2 ~= 0 then
CPS.Value = ret1
else
print("Nothing to load/score was 0")
end
COMMUNITY QUESTION
What is wrong with this scrip?
1 answer
We need your error code from the OutPut table in Studio!
This discussion is preserved as it was. New answers, comments, and votes are closed.
