Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

How to TweenPosition for GUIs Button/Text inside of BillBoard GUI?

Asked by 4 days ago

I want to have a button slide down using Tween Position

button.MouseButton1Click:Connect(function()
    local b = game.Players.LocalPlayer.Character:WaitForChild("Head").BillboardGui.Button
    b:TweenPosition(UDim2.new(0,0,0,0))
end)

But the output shows " - Unable to cast string to token"

How can I tween the position for Gui inside of Billboard GUI?

0
I do not think you can tween a billboardgui in the workspace NathanBlox_Studios 113 — 4d
0
I would downvote this, but sadly I can't downvote comments. You CAN tween stuff under workspace, it doesn't matter what it is. matiss112233 243 — 4d
0
Are you sure this is the right line? I set up an environment that creates all the "dependencies" for this script to work without altering this snippet, and it works completely fine. Fifkee 2016 — 4d
0
You can tween like.. almost everything... Try using tweenservice instead of tweenposition if you still can't get this to work greatneil80 2240 — 4d

Answer this question