game.Players.PlayerAdded:connect(function(player)
local stats = Instance.new("Folder", player)
stats.Name = "Stats"
local gemtag = Instance.new("IntValue", stats)
gemtag.Name = "Gems"
gemtag.Changed:connect(function()
print "Hi"
end)
end)
when I change the gemtags value, the Changed function doesn't fire and it doesn't print Hi

8 comments
2nd arguement of Instance.new & connect are deprecated. Use Connect & .Parent = X instead
The event doesn't fire, not the function.
Okay thanks but that still didn't fix the problem
However you seem to be changing the value client sided. If the server listens for the event and the client changes the value; the server does not recognise the change.
Okay then the event doesn't fire, my problem still remains
incapaz thank you! You were right I messed up.
If your problem was solved, mind updating your question title to contain "[SOLVED]"? It marks the question as answered and will let people know you are no longer in need of assistance.
Yes