Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What is wrong with this scrip?

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

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.