Rushour3
|
  |
| Joined: 13 Jan 2009 |
| Total Posts: 55501 |
|
|
| 05 Sep 2012 06:04 PM |
| I ran a script, and it printed nothing. Any help? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 05 Sep 2012 06:07 PM |
do u have print() scripts if not it meant it ran good
if u do have print() and it says nothing
check if the scripts is disabled, or check if u have an error |
|
|
| Report Abuse |
|
|
| |
|
Rushour3
|
  |
| Joined: 13 Jan 2009 |
| Total Posts: 55501 |
|
|
| 05 Sep 2012 06:20 PM |
@cnt
I do have a print, but it's not showing an error or anything.
I messed up the "print ' '" part, but now it's only printing "Hellow, world!" |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 06:26 PM |
so, can you show me how you put scripts, ut should be like:
print("Text") |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 06:26 PM |
ohh and btw, Prints dont show in localscripts
so if your srcript is a local script, it wont show |
|
|
| Report Abuse |
|
|
Rushour3
|
  |
| Joined: 13 Jan 2009 |
| Total Posts: 55501 |
|
|
| 05 Sep 2012 06:30 PM |
@crusada
I use: print ' '
It is not a local script. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 06:31 PM |
try print() or you can put up the script [only if its under 50 lines =(] |
|
|
| Report Abuse |
|
|
Rushour3
|
  |
| Joined: 13 Jan 2009 |
| Total Posts: 55501 |
|
|
| 05 Sep 2012 06:33 PM |
@crusada
So far, it's under 50.
m = game.Workspace.Message
function blockExploitCA() a = game.Workspace:GetChildren() if a:IsA(SelectionBox) then for i = 1, #a do a[i]:Destroy() print 'Exploit Class A identified and destroyed.' m.Text = "ClassA Exploit identified and removed." wait(2) m.Text = "" end end end
|
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 06:34 PM |
m = game.Workspace.Message
function blockExploitCA() a = game.Workspace:GetChildren()
for i = 1, #a do if a[i]:IsA("SelectionBox") then a[i]:Destroy() print 'Exploit Class A identified and destroyed.' m.Text = "ClassA Exploit identified and removed." wait(2) m.Text = "" end end end
while true and wait() do blockExploitCA() end |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 06:35 PM |
| make sure game.Workspace.Message Exists, btw |
|
|
| Report Abuse |
|
|
Rushour3
|
  |
| Joined: 13 Jan 2009 |
| Total Posts: 55501 |
|
| |
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
| |
|
Rushour3
|
  |
| Joined: 13 Jan 2009 |
| Total Posts: 55501 |
|
|
| 05 Sep 2012 06:38 PM |
@crusada
"make sure game.Workspace.Message Exists"
It does; I put it inside the script with instructions.
Although, I should just make it automatically move to Workspace. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 06:39 PM |
| i added that to the script anyways, so just copy that and try, if it doesnt work, tell me the output |
|
|
| Report Abuse |
|
|
TDFall
|
  |
| Joined: 07 May 2009 |
| Total Posts: 16218 |
|
|
| 05 Sep 2012 06:40 PM |
If there's no output and it's not a local script, it means there has been a logic error made by the scripter.
|
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 06:41 PM |
| but he didnt say it didnt work, i mean, my update.. idk though, i think it should |
|
|
| Report Abuse |
|
|
Rushour3
|
  |
| Joined: 13 Jan 2009 |
| Total Posts: 55501 |
|
|
| 05 Sep 2012 06:46 PM |
@crusada
I think I see another error... I want the SelectionBox to be found in the children, not to be the children... That's why it wasn't working; I put the test object inside a Part.
When I put it into Workspace, it ran smoothly. Thanks again. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 06:46 PM |
| ur welcome, sorry for my mess up, i didnt know what u wanted to happen |
|
|
| Report Abuse |
|
|
Rushour3
|
  |
| Joined: 13 Jan 2009 |
| Total Posts: 55501 |
|
|
| 05 Sep 2012 06:48 PM |
@crusada
No, you fixed my mistake.
Nothing is your fault here. |
|
|
| Report Abuse |
|
|