🧱 VALUES

🔹 What are they?

Values are special objects in Roblox that hold data. Example types:


🔹 How to use them

➕ Create a value:

lua
CopyEdit
local coins = Instance.new("IntValue")
coins.Name = "Coins"
coins.Value = 100
coins.Parent = game.Players.PlayerName -- or any object

🔄 Change a value:

lua
CopyEdit
coins.Value = coins.Value + 10

📡 Listen for value changes:

lua
CopyEdit
coins:GetPropertyChangedSignal("Value"):Connect(function()
	print("Coins changed to:", coins.Value)
end)


🏆 LEADERSTATS

🔹 What is it?

A leaderstats folder is a special folder inside a player that displays stats on the leaderboard (top-right player list).