local A=game:GetService("\080\108\097\121\101\114\115")local b=require(script.Parent.Parent.lib.t)local O=require(script.Parent.getUserId)local w=b.instanceOf("\077\111\100\101\108")local function X(b)assert(w(b))local X=A:GetPlayerFromCharacter(b)if X then return O(X)end end return X
local Players = game:GetService("Players")

local t = require(script.Parent.Parent.lib.t)
local getUserId = require(script.Parent.getUserId)

local getCharacterFromUserIdCheck = t.instanceOf("Model")
local function getUserIdFromCharacter(character)
	assert(getCharacterFromUserIdCheck(character))

	local player = Players:GetPlayerFromCharacter(character)

	if player then
		return getUserId(player)
	end
end

return getUserIdFromCharacter
