Is there something better than TweenService so that I can tell my mom that I'm proud of myelf?

Is there any sort of way to animate better without using TweenService?

I learned about math.sin and math.cos to make smooth animations but it’s that all?

Best,
XMLcard

yeah use while loops its more performant

I don’t think TweenService is bad if you use it on the client. Its code looks something like this:

local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")

local TweenModel = function(model: Model, goal: CFrame, time: number,
 easingStyle: Enum.EasingStyle, easingDirection: Enum.EasingDirection, 
 callback: () -> ())
 
 local elapsed = 0
 local start_pos = model:GetPivot()
 
 coroutine.wrap(function()
  local connect; connect = RunService.Heartbeat:Connect(function(dt)
   elapsed += dt

   if elapsed >= time then 
    connect:Disconnect()
    if callback then callback() end
   end

   local alpha = elapsed / time
   alpha = TweenService:GetValue(alpha, easingStyle, easingDirection)

   model:PivotTo(start_pos:Lerp(goal, alpha))
  end)
 end)()
end

alexander lindholt made a tweening library

just use for loops and exponential growth for tweening

even matt kaufman could figure that out

Hi everyone, thanks for helping me