[FREE] Light Sync System

Tommy’s Light Sync v1.0 :izakaya_lantern:

This script syncs the lights of emergency vehicles similar to the real life bluePRINT Sync system. This script simply syncs the start time of the lighting sequence of each vehicle. Therefore, this will work very well for you if you use a vehicle pack where all the vehicles were made by the same dev, otherwise the effect may not look as good.

Escrow Encrypted: Yes
Requirements: None
This has only been tested to work with Luxart Vehicle Control, however it should work with any lighting control script. (THIS WILL NOT WORK WITH ELS)

Configuration

config.lua

--[[ Tommy's Lights v1.0

  _______                              _       _      _       _     _
 |__   __|                            ( )     | |    (_)     | |   | |
    | | ___  _ __ ___  _ __ ___  _   _|/ ___  | |     _  __ _| |__ | |_ ___
    | |/ _ \| '_ ` _ \| '_ ` _ \| | | | / __| | |    | |/ _` | '_ \| __/ __|
    | | (_) | | | | | | | | | | | |_| | \__ \ | |____| | (_| | | | | |_\__ \
    |_|\___/|_| |_| |_|_| |_| |_|\__, | |___/ |______|_|\__, |_| |_|\__|___/
                                  __/ |                  __/ |
                                 |___/                  |___/
--]]
-- Developed by https://github.com/tommy141x

refreshRate = 5000 -- How often to sync lights (in ms)
  • The script must detect a person in an emergency vehicle at least once during the refresh interval, so if you just spawn a car and jump right out of it to see the sync it probably won’t work until you sit in each vehicle for a few seconds.

Comp 2_00001
Comp 2_00002

Code is accessible No
Subscription-based No
Lines (approximately) 100+
Requirements None
Support Yes
4 Likes

Sooo you made a thread that triggers a server event that triggers a client event to disable and enable all the clients emergency lights so they sync? For 7.99?

5 Likes

Any chance you could add the ability to add vehicles to the config so only certain vehicles use it?

Yeah, I can include the ability to configure vehicle whitelisting and event grouping certain vehicles to only sync with other certain vehicles. This will come in the next update :+1:

I would hope state bags would be used by now…

how are the MS ? whit a server whit a lot player

This is the resmon on my roleplay server, I’ve never seen it go above 0. :+1:
image

Any idea when 2.0 will be out?

I use your light sync script with lvc and it cuts off my sirens???

Great script but it kills my sirens with LVC is there an idea on a fix?

you cant eupload it encrypted but not with cfx? i dont have money to pay patreon key

Whens the next update? I just bought it and really wanna use it but dont want it on all cars.

Hey buddy, I would like to download the script, but it sends me to an insecure link, could you please update the post and add a reliable link or direct download, thanks u!!

Says it’s free. It’s not. Clickbait.

1 Like

idk what you mean. It is free.

Nice Script but it kills my sirens when the script tries to sync the lights.

Like everyone is saying, this kills your sirens within 2-3 seconds. Need’s and update.

any update to this?

You should open source the code so I can fix it…

2 Likes

dead script

works but dead so if u got problem it’s over

1 Like