generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Script Help?

Previous Thread :: Next Thread 
tweetytime is not online. tweetytime
Joined: 19 Apr 2008
Total Posts: 397
24 Dec 2011 09:44 PM
-- out put says :
-- Workspace.GameScript:88: function arguments expected near 'end'
-- Help...


function Choose_map() -- Chooses The map and puts it in the workspace
local Maps = game.Lighting.Maps:getChildren()
local pickedMap = Maps[math.random(1, #Maps)]
local pickedMapClone = pickedMap:clone()
pickedMapClone.Parent = game.Workspace
pickedMapClone:makeJoints()
wait(3)
pickedMapClone.Name = new.PickedMapName
h.Parent = game.Workspace
h.Text = "Map : " ..pickedMapClone.Name.. " has been chosen!"
wait(3)
h:destroy()
--Remane Lobby spawn to LobbySpawn
local LobbySpawn = game.Workspace.LobbySpawns
LobbySpawn:Destroy
end -- LINE 88
Report Abuse
metaplates is not online. metaplates
Joined: 20 Dec 2011
Total Posts: 423
24 Dec 2011 09:51 PM
LobbySpawn:Destroy();


() calls the method. Leaving Destroy open will return table data, etc.

-They say that love is forever, your forever is all that I need.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image