Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

keep saying changed isnt a member of the IntValue how do i fix it? idk how to add Screen shot

*current.Changed:connect(function(val)
 	exp.Text = current.Value.."/"..max.Value.."EXP"
 	bar.Size = UDim2.new(current.Value/max.Value, 0, 1, 0)

1 comment

0

Can you please use a code block

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.