I’m not sure why this is happening, but this error happens when using math.random(). The error happens on the local randomX
line. Help
local money = game.ReplicatedStorage.Money
while wait() do
local droptime = math.random(30,60)
task.wait(droptime)
local drop = money:Clone()
local randomX = math.random(236,24)
local randomY = math.random(-35,-248)
drop.Parent = workspace
drop.Position = Vector3.new(randomX, 2.5, randomY)
end
Sorry if this is a topic already.