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: What does it mean when the output says nothing?

Previous Thread :: Next Thread 
Rushour3 is not online. 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 is not online. 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
lIlllIlIlIlIlIlIIIlI is not online. lIlllIlIlIlIlIlIIIlI
Joined: 01 Sep 2012
Total Posts: 54
05 Sep 2012 06:08 PM
print("String")
Report Abuse
Rushour3 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. crusada91
Joined: 04 Sep 2010
Total Posts: 684
05 Sep 2012 06:35 PM
make sure game.Workspace.Message Exists, btw
Report Abuse
Rushour3 is not online. Rushour3
Joined: 13 Jan 2009
Total Posts: 55501
05 Sep 2012 06:37 PM
Oh, I see.

Thank you!
Report Abuse
crusada91 is not online. crusada91
Joined: 04 Sep 2010
Total Posts: 684
05 Sep 2012 06:37 PM
You're Welcome =)
Report Abuse
Rushour3 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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
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