function CheckName(P)local T=false for N,p in pairs({"\076\101\102\116\070\111\111\116";"\076\101\102\116\072\097\110\100";"\076\101\102\116\076\111\119\101\114\065\114\109";"\076\101\102\116\076\111\119\101\114\076\101\103","\076\101\102\116\085\112\112\101\114\065\114\109";"\076\101\102\116\085\112\112\101\114\076\101\103","\076\111\119\101\114\084\111\114\115\111","\082\105\103\104\116\070\111\111\116","\082\105\103\104\116\072\097\110\100";"\082\105\103\104\116\076\111\119\101\114\065\114\109";"\082\105\103\104\116\076\111\119\101\114\076\101\103";"\082\105\103\104\116\085\112\112\101\114\065\114\109","\082\105\103\104\116\085\112\112\101\114\076\101\103","\085\112\112\101\114\084\111\114\115\111";"\072\101\097\100"})do if string.lower(P.Name)==string.lower(p)then T=true end end if T then return true end end function AddWeld(P,T)if P and T then local N=Instance.new("\087\101\108\100\067\111\110\115\116\114\097\105\110\116",T)N.Part0=P N.Part1=T end end function LockPlayer(P,T)local N=P.Character:FindFirstChildOfClass("\072\117\109\097\110\111\105\100")if P and N then if T==true then N.PlatformStand=true;(P.Character:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")).Anchored=true wait(.5)elseif T==false then N.PlatformStand=false;(P.Character:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")).Anchored=false end end end
--//Functions
function CheckName(Object)
	local NameFound = false
	for _, Name in pairs({
		"LeftFoot",
		"LeftHand",
		"LeftLowerArm",
		"LeftLowerLeg",
		"LeftUpperArm",
		"LeftUpperLeg",
		"LowerTorso",
		"RightFoot",
		"RightHand",
		"RightLowerArm",
		"RightLowerLeg",
		"RightUpperArm",
		"RightUpperLeg",
		"UpperTorso",
		"Head",
	}) do
		if string.lower(Object.Name) == string.lower(Name) then
			NameFound = true
		end
	end
	if NameFound then
		return true
	end
end

function AddWeld(Target, Object)
	if Target and Object then
		local Weld = Instance.new("WeldConstraint", Object)
		Weld.Part0 = Target
		Weld.Part1 = Object
	end
end

function LockPlayer(Player, Value)
	local Humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
	if Player and Humanoid then
		if Value == true then
			Humanoid.PlatformStand = true
			Player.Character:FindFirstChild("HumanoidRootPart").Anchored = true
			wait(0.5)
		elseif Value == false then
			Humanoid.PlatformStand = false
			Player.Character:FindFirstChild("HumanoidRootPart").Anchored = false
		end
	end
end
