local y=game.Players.LocalPlayer:GetMouse()local k=script.Parent.Car.Value local S=k.DriveSeat:WaitForChild("\072\111\114\110")local x=workspace.FilteringEnabled local T=k:WaitForChild("\072\111\114\110\095\070\069")y.KeyDown:connect(function(y)if y=="\104"then if x then T:FireServer()else S:Play()end end end);(game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")).InputBegan:connect(function(y,k)if y.KeyCode==Enum.KeyCode.ButtonB and y.UserInputState==Enum.UserInputState.Begin then if x then T:FireServer()else S:Play()end end end)
--[[
		___      _______                _     
	   / _ |____/ ___/ /  ___ ____ ___ (_)__ 
	  / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
	 /_/ |_|   \___/_//_/\_,_/___/___/_/___/
 						SecondLogic @ Inspare
]]

local mouse = game.Players.LocalPlayer:GetMouse()
local car = script.Parent.Car.Value
local horn = car.DriveSeat:WaitForChild("Horn")
local FE = workspace.FilteringEnabled
local handler = car:WaitForChild("Horn_FE")

mouse.KeyDown:connect(function(key)
	if key == "h" then
		if FE then
			handler:FireServer()
		else
			horn:Play()
		end
	end
end)

game:GetService("UserInputService").InputBegan:connect(function(input, IsRobloxFunction)
	if input.KeyCode == Enum.KeyCode.ButtonB and input.UserInputState == Enum.UserInputState.Begin then
		if FE then
			handler:FireServer()
		else
			horn:Play()
		end
	end
end)
