Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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

This discussion is preserved as it was. New answers, comments, and votes are closed.