Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to make a version of the game that is connected with roblox servers?

Asked by
AIexR32 11
4 years ago

roblox have game version history tab where you can revert version or see the version number

i wanna make textlabel that shows version number from roblox servers

2 answers

Log in to vote
0
Answered by
IcyMizu 122
4 years ago
script.Parent.Text = "Version:".." "..game.PlaceVersion -- script.Parent == the textlabel and then u can choose if u want to write something before version
Ad
Log in to vote
0
Answered by 4 years ago

You can read about Place Version here.

-- display the version number
local placeVersion = game.PlaceVersion
script.Parent.Text = string.format("Server version: %s", placeVersion) -- you might need to change this if your script is not parented to the TextLabel.

Answer this question