local B=import("\046\047\066\097\115\101\073\110\115\116\097\110\099\101")local A=import("\046\046\047\073\110\115\116\097\110\099\101\080\114\111\112\101\114\116\121")local v=B:extend("\080\108\097\121\101\114")function v.init(v,B,A)if A~=nil then if type(A)~="\110\117\109\098\101\114"then error("\117\115\101\114\073\100 \109\117\115\116 \098\101 \097\110 \105\110\116\054\052",2)end;(getmetatable(B)).instance.properties.UserId=A end end v.properties.UserId=A.readOnly({getDefault=function()return 0 end})return v
local BaseInstance = import("./BaseInstance")
local InstanceProperty = import("../InstanceProperty")
local Player = BaseInstance:extend("Player")

function Player:init(instance, userId)
	if userId ~= nil then
		if type(userId) ~= "number" then
			error("userId must be an int64", 2)
		end

		getmetatable(instance).instance.properties.UserId = userId
	end
end

Player.properties.UserId = InstanceProperty.readOnly({
	getDefault = function()
		return 0
	end,
})

return Player