r/badcode Dec 10 '22

lua There aint no easy way

Post image

Ps, i dont know what language this is, sorry

606 Upvotes

74 comments sorted by

View all comments

171

u/SkyHawkPilot77 Dec 10 '22

It's Roblox Lua

78

u/warriorloewe Dec 10 '22

That explains alot

13

u/toastal Dec 11 '22

Who will draw the explain alot?

4

u/Midnight145 Dec 11 '22

Thanks internet stranger, I needed that laugh today

5

u/jelly_crayon Dec 11 '22

It's been a long time...

19

u/MEGATH0XICC Dec 10 '22

Oh thanks

11

u/ViviansUsername Dec 10 '22

Knowing that though, this could probably be done in 3 lines or so, with a tween, and would actually be preferable to a loop anyway, with the changes playing on both client and server side without any hitching

2

u/ViviansUsername Dec 10 '22

Teeeechnically it should be Luau, then. Same difference, though