When i try to tween my frame it is invisible when i test it. The frame is visible when i see it not testing in the studio but when i test it is invisible. Here is the code in a localscript(it prints 'hi'). local screengui = game.StarterGui.start
local frame = screengui.Frame local plr = game.Players.LocalPlayer local file = game:GetService('ReplicatedStorage').StarFile wait() if file[plr.Name].playedBefore.Value == false then print('hi') frame:TweenPosition(UDim2.new(0.265, 0,0.09, 0), 'In', 'Linear', 1, false) end
heres a photo showing that it tweened
[EDIT] So I figured out that when it tweens it doesn't move the gui contents it just changes its size. !blue thing is gui
here it will be more simple for u if u dont know where to put in the frame.Visible its all ur script but one tiny change, u can copy paste it
local frame = screengui.Frame local plr = game.Players.LocalPlayer local file = game:GetService('ReplicatedStorage').StarFile wait() if file[plr.Name].playedBefore.Value == false then print('hi') frame.Visible = true end