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 » Scripters
Home Search
 

Re: What is the most pointless line of lua code ever? ? ? ?

Previous Thread :: Next Thread 
Kipyko is not online. Kipyko
Joined: 01 Jun 2014
Total Posts: 249
03 Feb 2015 03:51 AM
First there was cavemen but what would the cavemen era of lua code be?
what would be the most pointless line of lua code ever?
like i mean a workable line of lua code that has no point to it at all.
i understand there's
Print "Hello World!" -- but that has a point to it aka printing Hello World
and only using while true do is something i like to do to crash my game. :D
it's a really dumb question if u look at it and think about it
but what would the answer be? T_T
Report Abuse
vividtrip is not online. vividtrip
Joined: 14 Oct 2008
Total Posts: 2890
03 Feb 2015 04:30 AM
do end
^^^^^^
That line of script, it does absolutely nothing.
Report Abuse
MillerSoRock is not online. MillerSoRock
Joined: 27 Feb 2010
Total Posts: 4888
03 Feb 2015 04:37 AM
wait()
Report Abuse
earthyreuben is not online. earthyreuben
Joined: 17 Jan 2010
Total Posts: 669
03 Feb 2015 04:50 AM
wait() has a use. I would say these more likely (if typed exactly like thus):

while false do end

if false then end
Report Abuse
zKevin is online. zKevin
Joined: 24 Jan 2011
Total Posts: 201
03 Feb 2015 06:11 AM
script.Parent.Script.Parent.Script.Parent.Script.Parent...
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
03 Feb 2015 06:58 AM
if script.Parent.Script.Parent.Script.Parent.Script then do end if true or false then while false do do end end end end

:D
Report Abuse
Kipyko is not online. Kipyko
Joined: 01 Jun 2014
Total Posts: 249
03 Feb 2015 07:39 AM
game.workspace.Value =

WORKSPACE DOESNT HAVE A VALUE WHAAAAAAA
Report Abuse
FunkiAndrew is not online. FunkiAndrew
Joined: 01 Dec 2013
Total Posts: 2318
03 Feb 2015 07:52 AM
"script.Parent.Script.Parent.Script.Parent.Script.Parent..." LOL
Report Abuse
Kipyko is not online. Kipyko
Joined: 01 Jun 2014
Total Posts: 249
03 Feb 2015 07:58 AM
XDXD
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
03 Feb 2015 08:41 AM
--
Report Abuse
LogicClock is not online. LogicClock
Joined: 07 Feb 2012
Total Posts: 190
03 Feb 2015 08:43 AM
wait() or ~..
Report Abuse
FunkiAndrew is not online. FunkiAndrew
Joined: 01 Dec 2013
Total Posts: 2318
03 Feb 2015 09:04 AM
@above, wait() has a use and ~= means is not, == means is, without ~ we would be confuzzeled. ~ has a use.

if script.Parent.script.Parent.script.Parent ~= nil then end

:DDDDD
Report Abuse
gskw is not online. gskw
Joined: 05 Jan 2013
Total Posts: 1364
03 Feb 2015 09:44 AM
I was about to say an empty line, but that helps you read the code.
Report Abuse
ProCoder is not online. ProCoder
Joined: 17 Oct 2013
Total Posts: 16
03 Feb 2015 10:31 AM
game.Workspace.Parent = game
Report Abuse
SLY3 is not online. SLY3
Joined: 10 Jul 2008
Total Posts: 1700
03 Feb 2015 10:33 AM
most pointless line ever:

theGame = game
Report Abuse
parkiet3 is not online. parkiet3
Joined: 16 Jul 2011
Total Posts: 832
03 Feb 2015 10:36 AM
print("Lua">"Javascript")
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
03 Feb 2015 11:48 AM
setfenv(1,getfenv(1))
Report Abuse
davisky2 is not online. davisky2
Joined: 04 Mar 2012
Total Posts: 4710
03 Feb 2015 11:49 AM
This is most useless line ever:

while true do end


^It makes you crash
Report Abuse
Crythox is not online. Crythox
Joined: 03 Oct 2011
Total Posts: 1188
03 Feb 2015 12:34 PM
x=function()
end


Best function in the history of functions. It does absolutely nothing.
Report Abuse
TheRobloxian909 is not online. TheRobloxian909
Joined: 08 Aug 2013
Total Posts: 2444
03 Feb 2015 12:36 PM
--

'--' creates a note, which does nothing,

Report Abuse
Kipyko is not online. Kipyko
Joined: 01 Jun 2014
Total Posts: 249
04 Feb 2015 04:10 AM
monkey = game
game = game.Workspace
Workspace is now classified MONKEY
Report Abuse
Kipyko is not online. Kipyko
Joined: 01 Jun 2014
Total Posts: 249
04 Feb 2015 11:30 AM
while true do end
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
04 Feb 2015 11:32 AM
--[[]]
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
04 Feb 2015 11:36 AM
All of your infinite loops can actually be used to freeze Roblox, and thus they have a purpose. Those aren't pointless. Comments have a point, or we wouldn't use them. So comments are not pointless either. Blank comments are sometimes used as dividers, so blank comments have a purpose too.

setfenv(1,getfenv(1))
is the most pointless line that I can think of. It does pretty much nothing. It doesn't change the way it works like an infinite loop would, and it isn't to make it easier to read like a comment is.

There is of course the
do end
and
if false then end
but I don't think those are creative enough.
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
04 Feb 2015 11:36 AM
no, the most pointless line would be

while false do

end

Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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