#Fleet Number Help

1 messages · Page 1 of 1 (latest)

shut widget
#
  1. I want to make it so the car numbers flow consecutively. Example I want the first car to be #6274 (As seen in the image) and in the next car, for it to be #6275.

  2. I want to make it so that the first car can only be specific numbers, so the first car can be #6274, and if I respawn the train, the first car cant be #6275 instead.

upbeat crowBOT
#

studio** You are now Level 1! **studio

shut widget
idle spear
#

uhh so you just want each car +1 number higher then the last one?

shut widget
idle spear
#
local number = 6233
local cars = 5

for i = number, number + cars, 1 do
  print(i)
end

@shut widget

shut widget
#

Update:
#2 was completed ✅

Correction for #1:
I want the number generated from LiscencePlateGenerator (Higher circle) to be transferred to CarNumberGenerator (Lower Circle), from there, CarNumberGenerator will use the number from above to change the number by +1, then use the number made to put into the textlabels below.

#

@idle spear heres a correction for #1 if the script u gave wouldn't work, shouldve explained this earlier 😅

idle spear