TheRealEprent

for rrctrooper

Jan 30th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. print ' Script executing. '
  2. storage = game.ServerStorage:GetChildren()
  3.  
  4. function choose()  
  5. print'Succesfully read function.'      
  6.     local chosenmap = math.random(1,#storage) --Make sure there is actually stuff for it to find.
  7.                         print(chosenmap.Name)
  8.                         chosenmap:Clone().Parent=workspace
  9. end
  10.  
  11. wait(1)
  12. choose()
Advertisement
Add Comment
Please, Sign In to add comment