I have a block that's supposed to use a dialogue box to show a value elsewhere in the game. How would I code it so that it only spawns a new dialogue box when it detects that the value in question has been updated?
✓ ANSWER ACCEPTED
How do I check if a value has updated?
1 answer
✓ Accepted answer
Well Thinking About This I Came To Two Answers:
Use The ChangedEvent Feature (Better To Use If You Are More Advanced In Lua) Link: http://wiki.roblox.com/index.php?title=API:Class/Instance/Changed
Well This Would Be Using The elseif statement in a regular server side script! Link: http://wiki.roblox.com/index.php?title=Conditional_statement
(Don't Forget To Upvote If This Helped :D)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Use the Changed event