local frame = game.StarterGui.Tutorial.Frame_Tutorial
frame:TweenPosition(UDim2.new(0.079, 0,0.098, 0),"Out","Quint",1)
✓ ANSWER ACCEPTED
Why is simple tween - pos not working i have no idea could anyone help me?
1 answer
✓ Accepted answer
You cannot use startergui when manipulating the gui. You must use PlayerGui
as such.
You must have the script located as a local script inside StarterPlayerScripts so that it is inside the Player
local player = game.Players.LocalPlayer
local frame = player.PlayerGui:WaitForChild("Tutuorial"):WaitForChild("Frame_Tutorial")
frame:TweenPosition(UDim2.new(0.079, 0,0.098, 0),"Out","Quint",1)
This discussion is preserved as it was. New answers, comments, and votes are closed.
