---
title: "IntValue"
description: "Stores a signed integer."
canonical: "https://docs.glorpia.com/instances/intvalue"
markdown: "https://docs.glorpia.com/instances/intvalue.md"
---
# IntValue

Stores a signed integer.

**Category:** Instances / ValueBase

## Inheritance

`IntValue` is a `ValueBase` class and inherits the shared hierarchy API from `Instance`.

## Members

| Name | Type | Description |
| --- | --- | --- |
| `Value` | integer | The value stored by this instance. inf and -inf are accepted as the positive and negative integer limits. |
| `Changed` | signal | Fires when Value changes and passes the new value. |

## Example

```luau
local value = Instance.new("IntValue")
value.Name = "ExampleValue"
value.Value = 10
value.Parent = workspace

value.Changed:Connect(function(newValue)
    print(newValue)
end)
```

## Related

- [ValueBase](https://docs.glorpia.com/instances/valuebase.md) — Shared Value and Changed members for value classes.
- [Instances](https://docs.glorpia.com/instances.md) — Browse the complete Glorpia class reference.
