Reverse light won't work

Hello. While scripting a light system for like 50+ cars in my game, I ran into a problem with the reverse lights.

local seat = script.Parent.Parent.Parent:FindFirstChild("VehicleSeat")

	if seat.Throttle == -1 then
		script.Parent.Material = Enum.Material.Neon
	elseif seat.Throttle == 0 or seat.Throttle == 1 then
		script.Parent.Material = Enum.Material.SmoothPlastic


Would changing :FindFirstChild() to WaitForChild() work?

I got this warning when changing it to WaitForChild():

I replicated your code on an A-Chassis vehicle and adding an extra Parent to the seat variable allowed it to work. Try that.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.