*current.Changed:connect(function(val)
exp.Text = current.Value.."/"..max.Value.."EXP"
bar.Size = UDim2.new(current.Value/max.Value, 0, 1, 0)
COMMUNITY QUESTION
keep saying changed isnt a member of the IntValue how do i fix it? idk how to add Screen shot
1 answer
Simple error, what you did is you didn't add .value to the end of your intvalue
this is close to what you did
game.Part.numberOfTimesTouched.Changed
the issue with this is "numberOfTimesTouched" is an instance and not a value, all you have to do to fix this is add a .Value
game.Part.numberOfTimesTouched.Value.Changed
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Can you please use a code block