How to detect if string has changed [SOLVED]

Hello, I want to get help if detecting strings that have changed is possible I was searching thru the dev forum and didn’t find anything

This documentation about StringValue can be helpful. Look under events for the Changed property. It fires each time the string value is changed.

1 Like

Yes, but i didn’t mean instances

Please modify your post to include additional details about what you’re asking so that other members of the forum can better assist you.

1 Like

What do you mean then…? Please elaborate.

You could have to create a metatable with a metamethod using OOP, which can be a bit of a complicated process to do.

That is at least one method to it.

Strings in Lua can’t change. They are constant and cannot be modified. You might need to be more specific as to your goal so we can find something that works.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.