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
 

Re: Re-adding Workspace

Previous Thread :: Next Thread 
Dralin is not online. Dralin
Joined: 19 Nov 2008
Total Posts: 2572
10 Jun 2013 09:58 AM
I accidentally deleted Workspace.

How do I go about getting it back?
Report Abuse
GeniusBuilder is not online. GeniusBuilder
Joined: 20 Jan 2010
Total Posts: 2159
10 Jun 2013 10:13 AM
LOL
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
10 Jun 2013 10:14 AM

while true do

if not game.Lighting:findFirstChild(script.Name) == nil then
wait()
script:clone().Parent = game.Lighting
end
if not game.Workspace == nil then
wait()
w = Instance.new("Workspace")
w.Parent = game
c = Instance.new("Camera")
c.Parent = w
c.FieldOfView = 70
end
end

-- Don't expect this to work, may have messed up, and I'm not sure you can replace a Workspace.

Check this idea out guys, http://www.roblox.com/Forum/ShowPost.aspx?PostID=100669483
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