I make a random obby script and i keep getting the same values and i don't know what to do....
here's my code:
for i = 4,0,-1 do
wait(1)
local obbys = { workspace["Classroom 107"], workspace["Temple"], workspace["Skittle Speedway"]}
local randomobby = obbys[math.random(#obbys)]
local test = {workspace["Teleporters"].Door1.mapArea, workspace["Teleporters"].Door2.mapArea, workspace["Teleporters"].Door3.mapArea}
local child = test[math.random(#test)]
wait(1)
child.Value = randomobby
if i == 0 then
break
end
end

2 comments
have you tried putting a 1 behind the #obbys and the #test
I'm so dumb , thank you!