--ChopperSwitch


function KeepChopperActive()
	repeat wait()
		ChopperVal.Value = true
	until ChopperSwch.Value == false or Power.Value == false
	ChopperVal.Value = false
end

ChopperSwch.Changed:Connect(function()
	if ChopperSwch.Value == true then
		ChopperSwch.Parent.P1.Transparency = 1
		ChopperSwch.Parent.P2.Transparency = 0
		ClickSound:Play()
		if Power.Value == true then
			KeepChopperActive()
		end
	else
		ChopperSwch.Parent.P1.Transparency = 0
		ChopperSwch.Parent.P2.Transparency = 1
		ClickSound:Play()
		ChopperVal.Value = false
	end
end)
