function CloneMeteor()
local Meteor = game.ServerStorage.Fireball
local Clone = Meteor:Clone()
local xPos = math.random(21, -21) -- Error comes on this line
local yPos = 20
local zPos = math.random(99, -99)
Clone.Parent = workspace
Clone.Position = Vector3.new(xPos, yPos, zPos)
end
Whenever I run this code in a test server I get this error: bad argument #2 to 'random' (interval is empty)
I'm not sure what this means, I'm running this as a ServerScript in ServerScriptService. If anyone could help me that'd be great, thanks!

1 comment
-21 is lower than 21, not higher. To fix this, do this. math.random(-21,21) as it goes from lowest to highest.