Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I use UserInputService to turn a players cars lights on?

Asked by
N33H 19
4 years ago

I have a grouped car model, however if multiple people are in the same game with the same car there will be multiple of these models in the Workspace with the same name. How would I get the exact car that the specific player wants to turn only their cars lights on with UserInputService in a Local Script? Where would I put this script and how would I tell it to find the VehicleSeat with the local player in it?

0
Script? Vortex_Vasne 89 — 4y
0
no script attempt why? Vortex_Vasne 89 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

While this isn't a request site I can point you to what you are looking for.

https://developer.roblox.com/en-us/api-reference/class/UserInputService

Ad

Answer this question