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

Frame Tween Positioning? Script does not work

Asked by 5 years 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 30 — 5y

1 answer

Log in to vote
0
Answered by 5 years 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 — 5y
Ad

Answer this question