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

Can you print the number in a value?

Is it possible to print what number is in a Value?

For example, if the value is set to 4, can you run:

print(game.Workspace.Thing.Value)

and it'll print 4?

2 answers

When you try to get the value of an IntValue/NumberValue using their Value property, it converts the value to an integer or number. So, the short answer is "yes," it will work just fine.

If you found this solution helpful, consider leaving an upvote and accepting my answer.

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