smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
| |
|
|
| 23 Jul 2014 09:38 AM |
A 2 second wiki search tells me no.
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 23 Jul 2014 09:43 AM |
oh so theres no way to see if a local script broke? |
|
|
| Report Abuse |
|
|
truman89
|
  |
| Joined: 18 May 2008 |
| Total Posts: 531 |
|
|
| 23 Jul 2014 09:48 AM |
Use print() and else/else if statements. Works for me.
|
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
| |
|
truman89
|
  |
| Joined: 18 May 2008 |
| Total Posts: 531 |
|
|
| 23 Jul 2014 09:53 AM |
I'll explain it. Let's say you have this.
if statement == true then --do your stuff here print("Worked") else print("didn't work") end |
|
|
| Report Abuse |
|
|
truman89
|
  |
| Joined: 18 May 2008 |
| Total Posts: 531 |
|
|
| 23 Jul 2014 09:54 AM |
| Posted too soon, sorry. Well, if you can understand that, you get the general idea of it. If not, I can explain more. |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 23 Jul 2014 10:00 AM |
my script is over 1000 lines long
|
|
|
| Report Abuse |
|
|
truman89
|
  |
| Joined: 18 May 2008 |
| Total Posts: 531 |
|
|
| 23 Jul 2014 10:15 AM |
| Oh, well then, it MIGHT not work... Try anyway, though. |
|
|
| Report Abuse |
|
|
Stefan631
|
  |
| Joined: 23 Dec 2010 |
| Total Posts: 1350 |
|
| |
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 23 Jul 2014 10:16 AM |
You gave me an idea though. I think it only breaks right at the start when loading stuff. So what I'll do it put a value inside and then make it true at a certain point..
hmm yes |
|
|
| Report Abuse |
|
|
Geodesic
|
  |
| Joined: 02 Jun 2013 |
| Total Posts: 998 |
|
|
| 23 Jul 2014 10:17 AM |
| use logservice.messageout..? |
|
|
| Report Abuse |
|
|
truman89
|
  |
| Joined: 18 May 2008 |
| Total Posts: 531 |
|
|
| 23 Jul 2014 10:18 AM |
@Stefan omg i'm a failure i forgot about pcalls. worst scripter NA GG.
But, Stefan has a point. pcalls might be able to find your error. |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 23 Jul 2014 10:18 AM |
http://wiki.roblox.com/index.php?title=RBX.lua.LogService_(Service)
this? how would i use it? |
|
|
| Report Abuse |
|
|
Stefan631
|
  |
| Joined: 23 Dec 2010 |
| Total Posts: 1350 |
|
| |
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
| |
|
Stefan631
|
  |
| Joined: 23 Dec 2010 |
| Total Posts: 1350 |
|
|
| 23 Jul 2014 11:05 AM |
Make a TextLabel gui for the MessageOut.
and then do
game:GetService'LogService'.MessageOut:connect(function(hi) TextLabel.Text = hi; end);
|
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 23 Jul 2014 11:09 AM |
What I want to do is if a certain local script errors then it gets disabled and re-enabled. Possible? |
|
|
| Report Abuse |
|
|