function CreateWeld(u,k)local F=Instance.new("\087\101\108\100")F.Name="\076\101\103\087\101\108\100"F.Parent=Torso F.Part0=Torso F.Part1=u F.C1=k end function StandUp()Humanoid.CameraOffset=Vector3.new(0,0,0)RH.Part1=RL LH.Part1=LL for u,k in pairs(Torso:GetChildren())do if k.Name=="\076\101\103\087\101\108\100"and k.ClassName=="\087\101\108\100"then k:Destroy()end end RJ.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)RJ.C1=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)end

function CreateWeld(Part, CF)
	local w = Instance.new("Weld")
	w.Name = "LegWeld"
	w.Parent = Torso
	w.Part0 = Torso
	w.Part1 = Part
	w.C1 = CF
end

function StandUp()
	Humanoid.CameraOffset = Vector3.new(0, 0, 0)
	-- Right Leg
	RH.Part1 = RL

	-- Left Leg
	LH.Part1 = LL

	-- Delete Welds
	for i, s in pairs(Torso:GetChildren()) do
		if (s.Name == "LegWeld") and (s.ClassName == "Weld") then
			s:Destroy()
		end
	end

	-- Raise Character
	RJ.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
	RJ.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
end
