--Thanks for this, Zeph. Hope you don't mind that I essentially stole this :P


local IntWait = 1
local MD = script.Parent.WPR.SS.Motor
local MD2 = script.Parent.WPR2.SS.Motor

script.Parent.Parent.DriveSeat.Wipers.Changed:Connect(function()
	if script.Parent.Parent.DriveSeat.Wipers.Value == true then
		repeat 
			MD.DesiredAngle = -1.51
			MD2.DesiredAngle = -1.51
			script.Parent.WPR.wiper2["Wiper Sound"]:Play()
			wait(IntWait)
			MD.DesiredAngle = 0
			MD2.DesiredAngle = 0					
			wait(IntWait/2)
		until script.Parent.Parent.DriveSeat.Wipers.Value == false 
		MD.DesiredAngle = 0
		MD2.DesiredAngle = 0
		script.Parent.WPR.wiper2["Wiper Sound"]:Stop()
	end
end)
