Need help with a vehicle gui system

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