So I created an Array with loads of names. then used math.random to select a random name but it always gives me a number between 1 and however many there are. Here is the code.
local names={"Tom", "Jesse", "Olivia"}
local randName=math.random(1, #names)
script.Parent.BasePlate.Name=""..randName

1 comment
because randName isn't an actual name it's just a number value.