DUXPLIMA Documentation

uxrVehicleSystemPack

A vehicle dealership economy with a catalog, ownership, spawn pads, fuel, radar, trunks and auctions.

A full vehicle economy in one folder. Players browse a dealership, buy cars with your game's currency, spawn them on pads, recolor them, plate them, fuel them, fill their trunks, get fined by roadside radars and auction them off to each other.

Two config files hold everything a designer touches: Settings.luau for the system and VehicleData.luau for the catalog. Everything else is engine code.

Pages

What it does

CatalogOne row per vehicle: price, stats, brand, category, access rules
DealershipsAs many storefronts as you like, each with its own access gate and stock
OwnershipServer-authoritative, saved per player, keyed on the vehicle id
MoneyIts own balance, or your game's leaderstats stat
EarningCoins per second while driving, with Premium, gamepass, group and team multipliers
SpawningFree spawn in front of the player, or pad groups with occupancy checks
Test drivesA timed loan of a car the player does not own
CustomizationBody recolor from a palette or a free picker, plus typed number plates
FuelLitres or kWh, draining while driving, refuelled at a station part
RadarRoadside speed boards that fine drivers and flash their lights
TrunksPer-vehicle tool storage with sharing and optional police inspection
AuctionsList an owned car, other players bid, the top bid wins
AdminAn in-game panel for coins, vehicles and profile wipes

The shape of it

The package installs itself. On the first server start it copies Shared into ReplicatedStorage, moves Storage into ServerStorage, deploys the ScreenGui into StarterGui, creates the remotes and builds a single Workspace folder that holds both your build and the runtime spawn folder.

Everything the player touches goes through one RemoteFunction. There is no OnServerEvent handler at all: the RemoteEvent is server to client only, so a client cannot invent an event the server will act on.

You supply the vehicles

The package ships six catalog rows and no models. Storage/Vehicles is an empty folder waiting for your Models, named to match each row's ModelName.

A row whose model is missing fails at spawn time with a "no model" notice, so the catalog and the folder have to be kept in step.