--[ Hooks ]--
-- Controls

Mouse.KeyDown:connect(function(Key)
	if (Hold ~= nil) then return end
	if (string.upper(Key) ~= "Z") and (string.lower(Key) ~= " ") then return end
	Hold = true

	if (Torso:FindFirstChild("LegWeld") == nil) and (string.lower(Key) ~= " ") then
		-- Right Leg
		RH.Part1 = nil
		CreateWeld(RL, CFrame.new(-0.4, 1.25, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),-0.25,0))

		-- Left Leg
		LH.Part1 = nil
		CreateWeld(LL, CFrame.new(0.4, 1.25, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),0.25,0))
		
		-- Lower Character
		RJ.C0 = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
		RJ.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
		
		-- Slow Walk Speed
		Humanoid.CameraOffset = Vector3.new(0, -2, 0)
		Humanoid.WalkSpeed = 4
		
	else
		StandUp()
		Humanoid.WalkSpeed = 16
		-- Normal Walk Speed
		if Humanoid.CameraOffset == Vector3.new(0,1.25,0) then
		Humanoid.CameraOffset = Vector3.new(0, 0, 0)
		Humanoid.WalkSpeed = 16
		end
		
		
	end

	wait(0.5)

	Hold = nil
end)
