I attached a trailer to the truck. I’m trying to make signals, reverse gear and parking lights for the trailer. But I got nothing. (even a error)
When I put this on the model with the truck’s lights, if I don’t weld it, it gets bugged, if I weld it, the truck turns with the trailer (like an AI truck). The same situation happens when I use script.Parent. He can’t see the lights of the trailer.
This sounds more like a scripting problem because your script obviously isn’t recognizing the trailer’s lights.
If so please post this in the Scripting Support forum and copy/paste your script in the post as well. Remember to use 3 backticks (```) before and after your script so it formats correctly.
If you are using something like an A-Chassis vehicle then the script that controls the car’s lights is only going to recognize the lights and other parts of the Model that the A-Chassis is in. Welding the trailer to the car probably makes them visible to the script.