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

game.PlaceVersion always returns 0?

I want to create notification about new version of game is available, but game.PlaceVersion always returns 0 and notification will not work. Why?

2 comments

0

Have you tried in an actual server? This most likely won't work in testing solo

0

Same on actual server.

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.