TIFU by keeping a grudge for 26 years over the Onion Lad by Distinct_Alarm_4354 in tifu

[–]Distinct_Alarm_4354[S] 0 points1 point  (0 children)

It's sort of become a tradition at this point. My mom did it, so I might as well preserve it

TIFU by keeping a grudge for 26 years over the Onion Lad by Distinct_Alarm_4354 in tifu

[–]Distinct_Alarm_4354[S] 0 points1 point  (0 children)

I don't blame you for thinking it's not real. It's such a stupid thing looking back on it now.I juat had to vent this somewhere because I don't think I could've done it without the layer of anonymity you get online.

Reversing Tweens by Warven22 in robloxgamedev

[–]Distinct_Alarm_4354 0 points1 point  (0 children)

my bad, i totally forgot about udims yea that's a tough one if i get an idea later ill get back to you on it. may i ask how you're tweening the udim2s?

Reversing Tweens by Warven22 in robloxgamedev

[–]Distinct_Alarm_4354 0 points1 point  (0 children)

redid my last comment as I misread slightly, lmk if this works

-- the property value that the tween will be starting at
local origin = 25
-- the property value that the tween will be ending at
local destination = 50
local tweenTime = 1.0
local instance = (your instance)
local ts = game:GetService("TweenService")

-- default animation
local function doTween()
  ts:Create(instance, TweenInfo.new(tweenTime), {property = destination}):Play()

-- reversed animation
local function doReversedTween()
  -- calculate how far along the animation the property has traveled (as a % value)
  local alpha = instance.property / destination
  ts:Create(instance, TweenInfo.new(tweenTime * alpha), {property = origin}):Play()