Help with the police car made by roblox

Hello everyone!
I am currently using the Endorsed Vehicles given by roblox, but there is a problem, none of the vehicles have utilities such as lights or blinkers, I really do not care much about this, but I do care that the police siren works, I was trying some ways but I can’t think of any “good” ones.
Thanks in advance!

Do you know how to script? You’ll need to modify the script if you’re going to want it to turn the sound on and off. Another problem you’ll have if you want it to switch on/off is either a GUI or keybind setup. IDK what else to tell you if you don’t know scripting.

If you just want it to be on all the time, you might get by with replacing the engine idle sound file with a siren loop. (but then again, that idle sound might stop when the engine revs up).

I know how to write basic stuff, if adding keyboard shortcuts is too advanced I don’t think I can do it.

Hi there! You’d need to use the “UserInputService” to get inputs (see the links below) and a remote event (again, see below) that the client can fire to the server in order to achieve this. Remember to secure your events!

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

I just took a quick look at one of the Roblox vehicles, if its the same as the car you have this might work.

If you don’t want to script, and if you want the siren to start when they get in automatically you could replaced the ‘idle’ soundID with your siren soundID. Its not the best way to do it, but it won’t require any scripting.

The idle sound is in the Effects folder of the vehicle(if yours is the same).

sorry for answering late, it’s the easiest thing to do, I know, but the police should not always have the siren activated, I already know how to do more or less the script when you press a key the alarm sounds, but the problem is that I don’t know where is the script that detects when you are driving the car

Are there any keyboard commands in the vehicle now? If there are you could search the scripts for that code. I’m not familiar with the vehicles.

yes, press E to get out of the car, but you are in the gui