-- Decompiled with the Synapse X Luau decompiler.


local l__mouse__1 = game.Players.LocalPlayer:GetMouse();
local l__Value__2 = script.Parent.Car.Value;
local l__Horn_FE__3 = l__Value__2:WaitForChild("Horn_FE");
local l__Horn__1 = l__Value__2.DriveSeat:WaitForChild("Horn");
l__mouse__1.KeyDown:connect(function(p1)
	if p1 == "h" then
		l__Horn__1:Play();
	end;
end);
l__mouse__1.KeyUp:connect(function(p2)
	if p2 == "h" then
		l__Horn__1:Stop();
	end;
end);
local l__FilteringEnabled__2 = workspace.FilteringEnabled;
game:GetService("UserInputService").InputBegan:connect(function(p3, p4)
	if p3.KeyCode == Enum.KeyCode.H and p3.UserInputState == Enum.UserInputState.Begin then
		if not l__FilteringEnabled__2 then
			l__Horn__1:Play();
			return;
		end;
	else
		return;
	end;
	l__Horn_FE__3:FireServer(true);
end);
game:GetService("UserInputService").InputEnded:connect(function(p5, p6)
	if p5.KeyCode == Enum.KeyCode.H and p5.UserInputState == Enum.UserInputState.End then
		if not l__FilteringEnabled__2 then
			l__Horn__1:Stop();
			return;
		end;
	else
		return;
	end;
	l__Horn_FE__3:FireServer(false);
end);
