Tweening - Why wont my tweening animation script work? how to fix it?
Asked by
4 years ago Edited 4 years ago
im trying to make an animation thing, and i did some debugging, but no errors are left, so i checked through my code using print but everything does what its supposed to and script after the tween works, but why wont the tween work? i looked it up. here is part of my card trust me this is all youll need. I will answer questions.
i feel like this is one of those painfully obvious simple answers, but i just cant figure it out.
part of script:
01 | elseif event = = "deselect" and can = = true then |
06 | part.s.Transparency = 1 |
12 | game.Players.LocalPlayer.PlayerGui.TRIGGER_grabFishingPole.a.b.TextTransparency = i |
17 | ts = game.TweenService |
18 | ti = TweenInfo.new( 1 , Enum.EasingStyle.Elastic, Enum.EasingDirection.Out) |
19 | properties = { Position = UDim 2. new(- 0.11 , 0 , 0.789 , 0 ) } |
20 | tween = ts:Create(game.Players.LocalPlayer.PlayerGui.TRIGGER_grabFishingPole.a, ti, properties) |
25 | game.Players.LocalPlayer.PlayerGui.TRIGGER_grabFishingPole.Enabled = false |
all help is appreciated thx