I want to have an IntValue displayed on a surface gui. So I wrote something like this:
value = game.Workspace.IntValue
text = script.Parent --inside textlabel
value.Changed:connect(function()
text.Text = tostring(value)
end)
I don't know what I need or what I did wrong but it doesn't recognize any change in value and/or won't change the displayed value. That's why I am reaching out for any sort of tip.

2 comments
So I edited the code to have the parameter, event adding a print to display the value first. Basically looks exactly like what you put, and nothing happens. If it makes a difference, I am changing the value of the IntValue directly in it's property menu. I was curious if this might be a client-server issue needing remote functions/events?
make sure it is a server script