Headlight script not working

Just access the PointLight through workspace (instead of checking the script’s parent).

1 Like

yeah but there’s a problem to it, whenever I turn on the headlight using the gui through the workspace, every single headlight part turns on all the tanks I have in Workspace…
Which is why im trying to use script.parent so it uniquely identifies that specific tank instead of every single instance present in Workspace…