You will need to change this line:
to I believe:
local randomObject = Models:GetChildren()[math.random(1, #Models:GetChildren())]
You will need to change this line:
to I believe:
local randomObject = Models:GetChildren()[math.random(1, #Models:GetChildren())]