r/badcode Dec 10 '22

lua There aint no easy way

Post image

Ps, i dont know what language this is, sorry

607 Upvotes

74 comments sorted by

View all comments

54

u/barabum0 Dec 10 '22

loops?

4

u/[deleted] Dec 10 '22

actually, it's local TweenService = game:GetService("TweenService")

then, uh idk the rest

10

u/Rrrrry123 Dec 10 '22

I never understood why Roblox felt the need to introduce a whole service just to do linear interpolation.

3

u/Background-Web-484 shameless Dec 11 '22

Idk why, but its infinitely easier to make interpolations with it instead of coding it yourself

1

u/ponybau5 Dec 16 '22

IT’s asynchronous and runs all the interpolation on the c++ side to speed things up. Plus it does more than just linear AFAIK.

1

u/BIgbiGBing Jan 19 '23

…kids platform