|
| 09 Mar 2015 09:39 PM |
I have a map located in Lighting that I want to move to workspace when loaded. I found this function;
game.Lighting["Map"..i]:clone().Parent = workspace
But I don't know how to change it to work with the admin command or even apparently how to get it running in the first place, as it runs an error when entered.
Current definitions of the admin command;
{'load','boot','insert'},{'Loads a map for users to play on.','load Map1'},2,{'string\a'}, string\a means it reads the first word of the sequence of characters afterwards, in case you were wondering |
|
|
| Report Abuse |
|
|
|
| 09 Mar 2015 10:04 PM |
Scripths admin is garbage
Stop using lighting as storage |
|
|
| Report Abuse |
|
|
|
| 09 Mar 2015 11:16 PM |
| Wow, you're a fun guy. I think the coolest part was when you didn't actually help at all. Thanks! |
|
|
| Report Abuse |
|
|
|
| 09 Mar 2015 11:20 PM |
Coding is fun to learn. A good thing to know though, is that Lighting was never intended as storage for models and scripts.
ServerStorage is where you should put anything you want to later clone that is not a script
and anything that is a script, ServerScriptService |
|
|
| Report Abuse |
|
|