function CheckName(z)local T=false for f,X 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(z.Name)==string.lower(X)then T=true end end if T then return true end end function AddWeld(z,T)if z and T then local f=Instance.new("\087\101\108\100\067\111\110\115\116\114\097\105\110\116",T)f.Part0=z f.Part1=T end end function LockPlayer(z,T)local f=z.Character:FindFirstChildOfClass("\072\117\109\097\110\111\105\100")if z and f then if T==true then f.PlatformStand=true;(z.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 f.PlatformStand=false;(z.Character:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")).Anchored=false end end end

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

