Skip to content

IntValue

Stores an Integer value

Summary

IntValues are a very simple way to store an integer outside of a script. You can get/set it’s stored integer with IntValue.Value.

Properties

.Name

String

The name of the IntValue , and label in the explorer.

.Value

Integer

The Integer Stored inside IntValue

Code Snippet

local newVal = Instance.new("IntValue")
newVal.Parent = game.Workspace
newVal.Value = 9999
print(newVal.Value)

Expected Output

9999