So im trying to make a game like the normal elevator but i cant get my script to work
local floor = math.random(1,2)
local maps = game.ServerStorage.FLOORS
while true do
if floor == 1 then
maps.shronk:Clone(workspace)
wait(30)
game.Workspace.shronk:Destroy()
elseif floor == 2 then
maps.tightrope:Clone(workspace)
wait(30)
game.Workspace.tightrope:Destroy()
end
end
I dont understand why it wont work

1 comment
it doesnt add the stuff into the game