I am a beginner developer and I am trying to multiply values with numbers and doesn’t seem to work.
No errors are present in the output so I can only guess I don’t know how to multiply in Roblox Studio.
local function levelUp()
if current.Value == max.Value then
levelUp = true
if levelUp == true then
level.Value = level.Value + 1
wait(1)
current.Value = 0
max.Value = max.Value * 2
end
end
end
Im not sure, but the name max looks like a part of the system (its blue). Try renaming it to something else. Also, print around the code to check if everything is running.