Impossible to resolve this error, help plz thx

Good evening, I currently have these errors when I launch a drug mission with my script but I do not understand the error below… thanks for your help guys :slight_smile:

server :


client :


image

On server, line 310.
The variable “missionSelected” doesn’t receive a value from the math.random function, so it returns nil.

Try the following steps;

  1. Replace the 0 with 1 on the math.random() function. Restart script and check for errors.
  2. Try printing #laboInfo.mission to see if it returns a number.
    2b. If it doesn’t return a number then check where laboInfo.mission is located and what it is, or provide a screenshot of it here.