0

# Why does this script not disable the spotlights?

So since i decided to make my own car lights script and i want it to be inside the vehicle seat or just anywhere inside the car. Using a local script, i added 2 spotlights in 2 different meshparts.

local LeftHL = script.Parent.Parent.Body["Rogue Paramount Coupé 300"].FLH.SpotLight
local RightHL = script.Parent.Parent.Body["Rogue Paramount Coupé 300"].FRH.Spotlight
local LightsButton = Enum.KeyCode.L

LeftHL.Enabled = false
RightHL.Enabled = false


This should make it so that they turn off when i enter the vehicle seat, right?

0
Ignore the keycode variable thats for later NICULL897 4 — 5mo
0
Do any errors appear in the output? 2_MMZ 1057 — 5mo