--// F key, Horn

mouse.KeyUp:connect(function(key)
	if key=="f" then 
		script.Parent.Parent.Horn.TextTransparency = 0.8
		veh.Lightbar.middle.Airhorn:Stop()
		veh.Lightbar.middle.Wail.Volume = 1
		veh.Lightbar.middle.Yelp.Volume = 1
		veh.Lightbar.middle.Priority.Volume = 1
		script.Parent.Parent.MBOV.Visible = true
			script.Parent.Parent.MBOV.Text = "Made by OfficerVargas"
	end
end)

mouse.KeyDown:connect(function(key)
	if key=="j" then 
		veh.Lightbar.middle.Beep:Play()
		if On3 then On3=false else
			On3=true 
			while On3 do
			script.Parent.Parent.Lights.TextTransparency = 0
			 veh.Lightbar.on.Value = true 
			script.Parent.Parent.MBOV.Visible = true
			script.Parent.Parent.MBOV.Text = "Made by OfficerVargas"
			wait(0.01)
			veh.Lightbar.on.Value = false 
			script.Parent.Parent.Lights.TextTransparency = 0.8
			script.Parent.Parent.MBOV.Visible = true
			script.Parent.Parent.MBOV.Text = "Made by OfficerVargas"
		end 
		end
	end
end)

mouse.KeyDown:connect(function(key)
	if key=="k" then 
		veh.Lightbar.middle.Beep:Play()
		if On2 then On2=false else
			On2=true 
			while On2 do
			script.Parent.Parent.TD.TextTransparency = 0
			 veh.Takedown.on.Value = true 
			script.Parent.Parent.MBOV.Visible = true
			script.Parent.Parent.MBOV.Text = "Made by OfficerVargas"
			wait(0.01)
			veh.Takedown.on.Value = false 
			script.Parent.Parent.TD.TextTransparency = 0.8
			script.Parent.Parent.MBOV.Visible = true
			script.Parent.Parent.MBOV.Text = "Made by OfficerVargas"
		end 
		end
	end
end)
