【Roblox Studio】Private Serverを判別するscript 例

local function getServerType()
	if game.PrivateServerId ~= "" then
		if game.PrivateServerOwnerId ~= 0 then
			return "VIPServer"
		else
			return "ReservedServer"
		end
	else
		return "StandardServer"
	end
end

参考:

https://devforum.roblox.com/t/how-to-check-if-a-server-is-a-private-server/1813704/2

https://create.roblox.com/docs/reference/engine/classes/DataModel