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

i got this tween size script from my friend and am trying to make it work on a text button ?

Asked by 3 years ago

my friend gave me this script.

TS:Create(Interactables.Button, TweenInfo.new(0.06), { Size = UDim2.new(0.96, 0, 0, 25) }):Play() wait(.07) TS:Create(Interactables.Button, TweenInfo.new(0.06), { Size = UDim2.new(1, 0, 0, 30) }):Play()

im trying to put it into a gui button but it doesnt work.

1 answer

Log in to vote
0
Answered by 3 years ago

Replace Interactables.Button with script.Parent. The first parameter for tween:Create refers to the object receiving the tween.

Ad

Answer this question