Hi. I've just started doing keybinds and already have got stuck. This keybind should only work when you're sat in VehicleSeat and click "C".
local click = game.Players.LocalPlayer:GetMouse()
local bus = script.Parent.Value.Value
click.KeyDown:connect(function(key)
if key=="c" then
bus.Body.Lights.Blinkers.RightValue.Value = true
end
end)

3 comments
ur not even checking if the player is in the car (and no i dont know yet how to check that, just telling to that u need to add that in)
To check if the player is seated there's a property in humanoids called Sit. I'm not sure how to check if the player is sitting in a specific seat tho
Nevermind there's a property in VehicleSeats called 'Occupant'. It gets the humanoid sitting in the seat