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

Frame Tween Positioning? Script does not work

Asked by 1 year ago

Script does not work any help?

frame = script.Parent.Parent.Parent.Hide
Camera = game.Workspace.CurrentCamera

script.Parent.MouseButton1Click:Connect(function()
    frame:TweenPosition(UDim2.new({0, 0},{0, 0}),'Out','Quint',1.2)
    Camera.CFrame = game.Workspace.CameraMenu2.CFrame
wait(0.5)
frame:TweenPosition(UDim2.new({-1, 0},{0, 0}),'Out','Quint',1.2)
end)
0
use enums for the EasingStyle and EasingDirection plz User#23365 10 — 1y

1 answer

Log in to vote
0
Answered by 1 year ago

well, you cant use the '{}' in tweens, so it would be like frame:TweenPosition(UDim2.new(-1, 0,0, 0),'Out','Quint',1.2) and etc, you cant use the {} in the positions for tweens

0
Hey But the last frame:TweenPosition(UDim2.new({-1, 0},{0, 0}),'Out','Quint',1.2) i mean it moves away that from screen does not work ? User#21499 0 — 1y
Ad

Answer this question