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

i cant get model version, how to get it?

Asked by
AIexR32 11
4 years ago

i already coded script but its dont work because i dont know how to get version of model

local Model = game:GetService("MarketplaceService"):GetProductInfo(MODELID)
script.Parent.Text = "Admin - v1." .. Model.Version .. ".0"

1 answer

Log in to vote
1
Answered by 4 years ago
Edited 4 years ago
--All possible properties(See with cmd bar)

for i,v in pairs(game:GetService("MarketplaceService"):GetProductInfo(185687363))do      
    print(i,v)
    if typeof(v) =="table" then
        print("-->--New Table<--")
        for k,b in pairs(v) do
            print(k,b)
        end
    end
end
0
no i mean like game.placeversion, you just printed all info of model AIexR32 11 — 4y
Ad

Answer this question