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: Useless.lua

Previous Thread :: Next Thread 
RA2lover is not online. RA2lover
Joined: 09 Nov 2008
Total Posts: 1254
25 Jan 2012 11:31 AM
Basically the goal of this thread is to create a totally useless lua library, created with roblox-player-made functions posted by other players.

i'll start with

function return(a,b,c)
return a,b,c
end
Report Abuse
PsychoBob is not online. PsychoBob
Joined: 08 Jul 2009
Total Posts: 11047
25 Jan 2012 11:58 AM
function lagmaker()
i = 1
while true do
i = i+1
end
Report Abuse
PsychoBob is not online. PsychoBob
Joined: 08 Jul 2009
Total Posts: 11047
25 Jan 2012 11:58 AM
Forgot to add an extra end. Silly me.

function lagmaker()
i = 1
while true do
i = i+1
end
end --Now it's fixed.
Report Abuse
Cyrok is not online. Cyrok
Joined: 11 Jan 2012
Total Posts: 630
25 Jan 2012 02:01 PM
while "This thread is stupid" do -- Infinite loop
end
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
25 Jan 2012 03:14 PM
function addpoop(number1,number2)
print(number1+number2)
end

addpoop(5,1)
Report Abuse
Techboy6601 is not online. Techboy6601
Joined: 29 Jun 2009
Total Posts: 4914
25 Jan 2012 03:20 PM
function die()
print "you cant kill plastic blocks, you idiot"
end
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
25 Jan 2012 03:21 PM
game.Players.PlayerAdded:connect(function(p)
end)

SO USELESS!!
Report Abuse
crazytomato4 is not online. crazytomato4
Joined: 09 Feb 2011
Total Posts: 1368
25 Jan 2012 03:23 PM
>none of you have pointed out that the script in the op won't even work

:l
Report Abuse
Cyrok is not online. Cyrok
Joined: 11 Jan 2012
Total Posts: 630
25 Jan 2012 03:29 PM
Oh yeah.

"function return"

"return"
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
25 Jan 2012 05:00 PM
You can't use any of the reserved Lua keywords as identifiers, therefore, you can't create a function and name it 'return'.

Also, please post this in this forum, next time: http://www.roblox.com/Forum/ShowForum.aspx?ForumID=38 .
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
25 Jan 2012 05:02 PM
[ Content Deleted ]
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
25 Jan 2012 05:07 PM
function forkb()
Spawn(forkb)
Spawn(forkb)
end
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
25 Jan 2012 05:34 PM
"getfenv()["return"] = function()
print("umad")
end"

Won't work. It won't error, but it still won't work. :)
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
25 Jan 2012 05:34 PM
function getObject(object)
return object
end

~Atheist, dutch, canadian, programmer, "markuper"
Report Abuse
RA2lover is not online. RA2lover
Joined: 09 Nov 2008
Total Posts: 1254
25 Jan 2012 05:47 PM
function Spawn(f)
f()--YAHICANFIXSTUFF!
end
Report Abuse
DrAgonmoray is not online. DrAgonmoray
Joined: 29 Jul 2008
Total Posts: 17428
25 Jan 2012 06:21 PM
""getfenv()["return"] = function()
print("umad")
end"
Won't work. It won't error, but it still won't work. :)"

..And that's why this thread is for useless scripts? :D
Report Abuse
xSIXxStorage is not online. xSIXxStorage
Joined: 22 Aug 2010
Total Posts: 1811
25 Jan 2012 06:25 PM
functoin a()
end
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
25 Jan 2012 10:37 PM
local oldPrint = print
function print(...)
if math.random(1,100000) == 1 then
error("Attempt to index a nil value")
else
oldPrint(...)
end
end
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
25 Jan 2012 10:46 PM
^lul

function print(b)
print(b)
end


~I've been to nil and back.
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
25 Jan 2012 10:47 PM
oh woops :P

function display(b)
print(b)
end

~I've been to nil and back.
Report Abuse
Legend26 is not online. Legend26
Joined: 08 Sep 2008
Total Posts: 10586
25 Jan 2012 11:44 PM
(function (Obj) return Obj:IsA"Stravant" end)(GetUser"Stravant")

>true
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
26 Jan 2012 12:46 AM
"..And that's why this thread is for useless scripts? :D"

No... This thread is for creating an useless LIBRARY, not useless scripts. And what he posted couldn't be put in the library.
Report Abuse
TheMyrco is not online. TheMyrco
Joined: 13 Aug 2011
Total Posts: 15105
26 Jan 2012 06:51 AM
function themostusefullscriptofrobloxunobdontudaretodisagreewithmebecauseicanseeeverything()
print("Myrco was here :o")
end

Report Abuse
RMDXData is not online. RMDXData
Joined: 21 Nov 2011
Total Posts: 97
26 Jan 2012 08:22 AM
function a()
hax = "coroutine.resume(coroutine.create(function() for i=1,1000 do "
for i=1,10 do
hax = hax .. hax
end
hax2 = " end end)) "
for i=1,10 do
hax2 = hax2 .. hax2
end
hax = hax .. print("trollfaic") .. hax2
loadstring(hax)()
end
Report Abuse
getkoed is not online. getkoed
Joined: 18 Feb 2010
Total Posts: 2298
26 Jan 2012 08:31 AM
game:remove()

ololololol
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