Advertisement
dubleeyrblxx

Random Load Maps -- Roblox

Jan 20th, 2023
867
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. local maps = game.ServerStorage:WaitForChild('RandomMaps'):GetChildren() --  change RandomMaps with the map folder
  2.  
  3. while true do
  4.    
  5.     wait()
  6.    
  7.     local mapchose = maps[math.random(1, #maps)]:Clone()
  8.    
  9.     mapchose.Parent = workspace
  10.    
  11.     wait(100)
  12.    
  13.     mapchose:Destroy()
  14.    
  15.     wait(1)
  16.    
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement