Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 09 Nov 2011 05:58 PM |
| How can you see your mistake using a local script? My script wouldn't work in scripts so yeah... Can anyone tell me how codes wouldn't work on scripts, and work in Local only |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2011 06:05 PM |
| What exactly are you trying to do that requires local scripting. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2011 06:06 PM |
Tools>Test>Play Solo
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and Helper of Scripting::]-
|
|
|
| Report Abuse |
|
|
|
| 09 Nov 2011 06:06 PM |
If your asking in what places local scripts run: In a player's Backpack In a player's character model In a player's PlayerGui |
|
|
| Report Abuse |
|
|
Meriadoc
|
  |
| Joined: 24 Sep 2008 |
| Total Posts: 710 |
|
|
| 09 Nov 2011 06:07 PM |
| Only way I know of is to put the code in a normal script. But that probably isn't much help to you. Sorry. =/ |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2011 06:07 PM |
| You can also do what swimguy said. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 09 Nov 2011 06:07 PM |
| Jelly, I'm trying to make a sword, and it wouldn't work unless it's in local, so I click a few times, then I couldn't see my mistakes too, so whenever I unequip, and equip it back again, it won't let me click again. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2011 06:08 PM |
LocalScripts don't show errors on the output, seeing as they're client-sided, not server-sides as the output is.
I think LocalScript errors are shown on logs on your computer or something, but as for the file path, I do not know. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 09 Nov 2011 06:08 PM |
| Jelly, thanks for telling where it works, that'll help |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2011 06:08 PM |
COUGH
TOOL>TEST>PLAY SOLO
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2011 06:09 PM |
| swim, as I posted, that is wrong. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 09 Nov 2011 06:10 PM |
Few questions,
I use Server > Player, should I use test solo?
How do I open up 'Logs'
If local doesn't work in test, will it only work in server? |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2011 06:10 PM |
Play Solo treats EVERYTHING like it's client sided. That's how I test Tools/Hopperbins/Guis and it works just fine. You just have to make sure that you have a wait(2) at the top or they won't run.
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
| |
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 09 Nov 2011 06:13 PM |
Questions,
On every functions? Like put a wait? |
|
|
| Report Abuse |
|
|
| |
|
DXPower
|
  |
| Joined: 21 Oct 2008 |
| Total Posts: 2866 |
|
|
| 09 Nov 2011 06:25 PM |
| You don't have to put a wait on all functions... Some things just require waits... |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
| |
|
|
| 09 Nov 2011 06:43 PM |
Ignore DX.
There should be a wait(3) or something at the top of every LocalScript, due to server/client issues. They often break for that reason. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
| |
|
|
| 11 Nov 2011 06:54 PM |
| If the Play Solo mode in Roblox Studio runs on a client, you couldn't tell if your script was working as a local script, you would have to start a server. |
|
|
| Report Abuse |
|
|
|
| 11 Nov 2011 06:56 PM |
| And I may have a method that loads a local script into a tool once a player joins so if you need to know that script let me know. [Jellyfish403 - Intermediate Roblox Lua Scripter] |
|
|
| Report Abuse |
|
|
|
| 11 Nov 2011 07:11 PM |
| you could creates hints throughout your local script to display what you need if you wanted to test it in server. |
|
|
| Report Abuse |
|
|