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

Frame Tween Positioning? Script does not work

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)

1 comment

0

use enums for the EasingStyle and EasingDirection plz

1 answer

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

1 comment

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 ?

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