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: Stuff

Previous Thread :: Next Thread 
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Nov 2012 12:50 AM
I HATE LUA, LUA, LUA, LUA, IS TERRIBAD

Simple Script:
if(1 > 5) then
print("NOWAI")
else
print("k")
end

Output:
nil

HOW DID THAT HAPPEN
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
22 Nov 2012 01:06 AM
print(1 > 5 and "NOWAI" or "k")

I win. End of discussion.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
22 Nov 2012 01:10 AM
Replace your script with:

print(nil)



Problem solved. You now have expected output.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
22 Nov 2012 01:11 AM
Lol? How did I not think of that?
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
22 Nov 2012 01:13 AM
Because I like to act immature when it's suuuuper late.
I'm trolltastic!
Report Abuse
CaptainSandbox is not online. CaptainSandbox
Joined: 08 Oct 2012
Total Posts: 908
22 Nov 2012 01:29 AM
I used

print(nil)

All it did was...Well print nil...
Report Abuse
UndefinedScripter is not online. UndefinedScripter
Joined: 07 Oct 2012
Total Posts: 115
22 Nov 2012 01:31 AM
I used print nil, all it said was ('UndefinedScripter is the top scripter on roblox'), all I said was nowai?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Nov 2012 12:53 PM
You guys all suck
|Why don't you do it like a man|

for i=100, 0, -1 do
for i, v in pairs(Workspace:GetChildren()) do
while true and wait() do
print(nil)
return
end
end
end
Report Abuse
UndefinedScripter is not online. UndefinedScripter
Joined: 07 Oct 2012
Total Posts: 115
22 Nov 2012 02:51 PM
No no, you sir have the most efficent way of doing it here.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Nov 2012 08:48 PM
I know, I am always the best at everything I do.
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