Detecting Updated Place Version With UpdateAsync + OnUpdate

What I am trying to Achieve is using UpdateAsync to Update PlaceVersion to DataStore if it’s a New Version then it will return game.PlaceVersion and then it will Trigger OnUpdate Event.

The question is this

  • If the function returns nil , the update is cancelled.

https://gyazo.com/2e2a09515ca81cd9405e47629896fe03

Does that means if I return nil to UpdateAsync it won’t trigger the OnUpdate Event

1 Like

Yes, if you return nil it will not trigger the OnUpdate event as the value is not changed.

2 Likes

Well OnUpdate is broken

What should I do?

Please continue the discussion here