print(game.PlaceVersion) -- Returns 0
Title says it all. I know it returns 0 in studio, but even when I play the game online it still prints 0
Can anyone explain why this would happen?
print(game.PlaceVersion) -- Returns 0
Title says it all. I know it returns 0 in studio, but even when I play the game online it still prints 0
Can anyone explain why this would happen?
I’m sure this is based on the Place Version in the Roblox Studio settings, so I would look there first.
Yea it’s suppose to print the latest version. But if the version is like 123, then it should print 123, not 0
Just to verify, is your game active and not just private?
It is active
Strange. Mine works fine.
However, I put a wait(5)
before it prints the place version. Maybe try that?
Have you ever reverted to a previous Version or have you used a previous save file?
PlaceVersion is not replicated across the Client/Server boundary. It states this on it’s Dev Hub page. So accessing it on the server is fine. But doing so on the client will return 0.
Can’t reproduce. Check the PlaceVersion documentation and see if you meet the requirements for it not to be printing out 0. Check your versioning history as well.
Maybe you are checking the server version on the client. The client always returns 0 in my case.
Server:
Client:
What I have noticed is that when I try changing the GUI using gui.Text = game.PlaceVersion in roblox studio is that it will always return 0, but when the game is tested on Roblox app itself, then it works…