Skip to content

Instantly share code, notes, and snippets.

@LoggeL
Created February 20, 2019 15:03
Show Gist options
  • Save LoggeL/a9f97d88ae8ce06e5b546d56f0d16e98 to your computer and use it in GitHub Desktop.
Save LoggeL/a9f97d88ae8ce06e5b546d56f0d16e98 to your computer and use it in GitHub Desktop.
3 Year old meme project
if 1466280000 < os.time() then _ = false if FileExist(SPRITE_PATH.."/ClownFiesta.png") then ___ = CreateSpriteFromFile("//ClownFiesta.png",1) _ = true else DownloadFileAsync("https://raw.githubusercontent.com/ProjectClownFiesta/ClownFiesta/master/sprite_name.png",SPRITE_PATH.."//ClownFiesta.png", function() DelayAction(function() ___ = CreateSpriteFromFile("//ClownFiesta.png",1) end,1) end) DownloadFileAsync("https://github.com/ProjectClownFiesta/ClownFiesta/raw/master/sound_name.wav",SPRITE_PATH.."//ClownFiesta.wav", function() _=true end) end OnDraw(function() if ___ then __ = Vector(0,0,200) __=__:rotated(0,os.clock()%(2*math.pi),0) DrawSprite(___,GetResolution().x/2-__.x-265,GetResolution().y/2-300-__.z,0,0,0,0,GoS.White) end if _ then PlaySound(SPRITE_PATH .. "ClownFiesta.wav") _=false end end) end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment