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

Why is the status returning wrong?

So I have a little code with a intValue which is called Status. So I want that when the intermission function is called, change the status.

Status.Value = "Intermission"
print(Status.Value)

But when I check the console, it prints 0 instead of intermission. Why???

1 answer

✓ Accepted answer

Hey there! This is something pretty simple to resolve. The reason it is outputting a zero is because Status is not a StringValue. All you need to do is replace what I presume is an IntValue with the StringValue and then it should output "Intermission"

2 comments

0

when answers are this easy, i feel stupid lol

0

No need to feel stupid! Silly stuff happens all the time to me when I am doing stuff in Roblox Studio

This discussion is preserved as it was. New answers, comments, and votes are closed.