Free Racing

scriptName



image
docs







script_colors
Skill tree script not included in the package


laptop



script_colors


Racing Script is a powerful tool for creating and managing custom race tracks on your server.

  • Track Builder: Design and save custom race paths with checkpoints and time limits.
  • Multiplayer Racing: Compete with other players in real-time races with leaderboard support.
  • Podium System: Automatic ranking of top racers with visual podium display.
  • Versatile UI: Dynamic user interface supporting full customization and color editing.
  • Skill Tree Integration: Fully compatible with devhub_skillTree to enhance racing abilities.
  • Easy Setup: Smooth installation with comprehensive documentation and dedicated support.


Code is accessible Configs
Subscription-based No
Lines (approximately) Lua: ~2500 UI: ~2500
Requirements devhub_lib
Support Yes
30 Likes

Can’t wait to try this out for fun

2 Likes

nice! perfect with skilltree

1 Like

Changelog devhub_racing

[v1.0.4] - 2025-12-03

Added

  • Added entryFee option to Config.OfficialRaceGenerator – allows setting an entry fee for official races.
  • Added Config.DisableShootingInRace to disable shooting during races (shooting was disabled by default before, now it’s configurable).
  • Added Config.DisableVehicleRadioInRace to disable the vehicle radio while racing.

Fixed

  • Fixed issue with disabling shooting and Config.DisableLocalVehicleDuringRace (if Config.DefaultRaceBucket was set to false) only working if No Collision in Race was enabled.
+ escrowed folder
+ configs/sh.config.lua
+ fxmanifest.lua
2 Likes

nice bro, las rutas configuradas se podran habilitar y deshabilitar cuando uno guste o hay que rehacer todo denuevo?

Hey, map configurations can be saved at any time, and you can always return to the map later and edit it from the saved point.

2 Likes

Cool design :heart:

1 Like

Changelog devhub_racing

[v1.0.5] - 2026-01-09

Fixed

  • UI debug elements were always visible; this has now been resolved.

Removed

  • Disabled two logs that were causing server-side errors to improve overall stability.
+ html folder
+ escrow folder
+ fxmanifest.lua
2 Likes

Changelog devhub_racing

[v1.0.6] - 2026-01-23

Fixed

  • Fixed an issue where the fade-in effect was triggered even if Config.OnRaceEndTeleportToStart was set to false.
+ escrowed folder
1 Like

Changelog devhub_racing

[v1.0.7] - 2026-02-10

Added

  • New export added: exports['devhub_racing']:createRace for creating races programmatically.
  • Config.RaceStartDelay added: allows defining a delay (in seconds) before the race begins.
  • Config.MaxPreRacePlayerShowcase added: sets the maximum number of players shown before the race starts, sorted by MMR.

Modified

  • Adjusted Config.IsAdminPermissionRequired to better reflect common use cases:
    • createMap → true
    • createRace → false

Improved

  • Additional debugging information added to assist with development and troubleshooting.
+ fxmanifest.lua
+ html folder
+ escrowed folder
+ configs/sh.config.lua
1 Like

Changelog devhub_racing

[v1.0.8]

Fixed

  • Fixed an issue where the “race already started” message was incorrectly displayed, preventing players from joining the race.
+ escrowed folder
+ fxmanifest.lua
1 Like

Changelog devhub_racing

[v1.1.0]

Added

  • Added an admin option in the race details menu to cancel a planned race.

  • Added a 20-second grace period after leaving a race vehicle. Players who do not return before the timer expires are removed from the race.

  • Added the open client function ShouldShowJoinUi, allowing server owners to control when the 3D race-join UI is displayed.

  • Added the open client function ShouldShowBlip, allowing server owners to control race blip visibility.

  • Added two exports for creating custom race-joining methods:

    • exports['devhub_racing']:JoinNearestRace()
    • exports['devhub_racing']:JoinRaceById(raceId)

Fixed

  • Fixed incorrect text in the Races tab.
  • Fixed the 3D race-join marker appearing incorrectly when only one race was active.
  • Fixed force-started races triggered through the startRace command not finishing correctly.
  • Fixed the 3D race UI being displayed while the map was open.
  • Fixed race progress reaching 100% before the race was completed.

Improved

  • Improved the appearance of 3D race checkpoints.
  • Improved race progress calculations for more accurate progress values.

Modified

~ configs/c.functions.lua
~ configs/sh.config.lua
~ configs/sh.lang.lua
~ escrowed folder
~ html folder
~ fxmanifest.lua

This is really good, but I don’t know why it teleports me to another world :S, I don’t want that, and I’d also like to be able to not disqualify those who get out of the vehicle or during a race. I didn’t like that, or it would be great if you added it as an option :confused:

I know it would be very cumbersome, but another option could be to generate a blip on the ground for the route, or another recording system that reads the route and automatically generates props every x meters where my vehicle starts and finishes the route.

Thanks for the nice words and suggestions; most of the things you have described are already possible via configuration.

I don’t know why it teleports me to another world

To disable teleporting to a separate bucket’s set Config.DefaultRaceBucket = false

I’d also like to be able to not disqualify those who get out of the vehicle or during a race

We have added this option in the last update; you can set a grace period in which the user has to return to the vehicle to continue the race.
Config.LeaveVehicleGraceTime = 20

As for your last suggestion, it’s a really good idea. I will for sure write it down and look into it when working on the next update. Also, if you will need any more assistance, feel free to join our Discord and open a ticket. We’ll do our best to help you :slight_smile:

1 Like

Bump! DM or reply if you want to know more.

Bumping this up. Questions welcome!

Bumping this up. Questions welcome!

Bump! DM or reply if you want to know more.

Still going strong, check the latest version!

Bumping this up. Questions welcome!