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

How to find Server Version?

Asked by 10 years ago

Im trying to check to version of the server but nothing is worksing. heres my script:

while true do
local Asset = game:GetService("MarketplaceService"):GetProductInfo(Game.placeId,1)
if Asset.PlaceVersion ~= game.PlaceVersion then
for i,v in pairs(game.Players:GetChildren() ) do
v:Kick() end
end end

its not working

1 answer

Log in to vote
1
Answered by 10 years ago
  • I don't know if you can do that, but you can look at the Place Version like this:
print(game.PlaceVersion)

A link to some support on this subject:

http://wiki.roblox.com/index.php?title=GetProductInfo_(Method)

Ad

Answer this question