I want to create notification about new version of game is available, but game.PlaceVersion always returns 0 and notification will not work. Why?
COMMUNITY QUESTION
game.PlaceVersion always returns 0?
2 answers
Try out this:
game.Changed:connect(function(prop)
if (prop == 'PlaceVersion') then
-- code
end end)
game.PlaceVersion won't change while your server is running. If you want to notify your players that a new version is available, you should use datastores (one way would be to use OnUpdate to monitor a key that you manually update when a new version comes out)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Have you tried in an actual server? This most likely won't work in testing solo
Same on actual server.