Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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:

01elseif event == "deselect" and can == true then
02 
03        can = false
04        selected = false
05 
06        part.s.Transparency = 1
07 
08 
09        for i = 0,1,.1 do
10 
11            wait()
12            game.Players.LocalPlayer.PlayerGui.TRIGGER_grabFishingPole.a.b.TextTransparency = i
13 
14        end
15 
View all 27 lines...

all help is appreciated thx

0
the gui is fine i tested everything, i testing n otweening it still works, its not the gui problem AlexanderYar 788 — 4y
0
I might be wrong but isn't it TweenSize Zelt3q 31 — 4y
0
Or tweenposition Zelt3q 31 — 4y
0
TweenService allows you to create a tween with any instance, and any property. deeskaalstickman649 475 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

The tween you have created is never played, and therefore never changes the properties. You will need to play the tween, by calling the :Play() function of the tween you have created

0
thanks i forgot lol AlexanderYar 788 — 4y
Ad

Answer this question