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

i cant get model version, how to get it?

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

--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

1 comment

0

no i mean like game.placeversion, you just printed all info of model

This discussion is preserved as it was. New answers, comments, and votes are closed.