local w=nil;(coroutine.wrap(function()w=require((game.ReplicatedStorage:WaitForChild("\070\114\097\109\101\119\111\114\107")):WaitForChild("\076\105\098\114\097\114\121"))end))()return function(w,z)if type(w)=="\115\116\114\105\110\103"then w=game.Players:FindFirstChild(w)end if type(z)=="\115\116\114\105\110\103"then z=game.Players:FindFirstChild(z)end if w and(z and(w.Character and z.Character))then local y=w.Character:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local o=z.Character:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")if y and o then return(y.CFrame.p-o.CFrame.p).Magnitude end end end
--[[

	LOWGames Studios
	Date: 27 October 2022
	by Elder
	
]]
--

local u1 = nil
coroutine.wrap(function()
	u1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"))
end)()
return function(p1, p2)
	if type(p1) == "string" then
		p1 = game.Players:FindFirstChild(p1)
	end
	if type(p2) == "string" then
		p2 = game.Players:FindFirstChild(p2)
	end
	if p1 and p2 and p1.Character and p2.Character then
		local l__HumanoidRootPart__1 = p1.Character:FindFirstChild("HumanoidRootPart")
		local l__HumanoidRootPart__2 = p2.Character:FindFirstChild("HumanoidRootPart")
		if l__HumanoidRootPart__1 and l__HumanoidRootPart__2 then
			return (l__HumanoidRootPart__1.CFrame.p - l__HumanoidRootPart__2.CFrame.p).Magnitude
		end
	end
end
