Heres my code [In a localscript]
local player = game.Players.LocalPlayer
local Cookies = player.leaderstats.Cookies
Cookies.Value.Changed:Connect(function()
script.parent.Text = "Cookies value has changed"
end)
The error i get
Players.Krosloe.PlayerGui.Shield.TextLabel.LocalScript:4: attempt to index field 'Value' (a number value)

3 comments
wth this is so useless
Thank you so much
Dear RobloxGameingStudios, in his/her opinion and apparently most people's, they like my answer better. There is nothing to be salty about