Need a button to preform a action in one vehicle not all of the vehicles

I need help creating a script where you can press a button and It will turn on something like a point light attached to a vehicle (you would get a gui when you sit in the vehicle)

basically my problem is that I cant get a button to only preform an action in the vehicle your driving in from a gui button

key notes:
the vehicles will need to be able to be duplicated

Just have a bool with false value inside your gui button, and when sitting in that specific vehicle, turn that value to true, when sitting in other vehicles, turn that value to false.

When clicking the button, check if the value is true, only then do what you wanted to do

all the vehicles will have the exact same name though