What is the issue? Everything in script seems to work fine as it’s intended to, except the fact that even if Visible property is enabled for the frame, it does not appear on screen (shown here):
ScreenGUIs are enabled for all these type of menus, as all other menus don’t work too and share a similar code to the one in the end of the post.
I have not stepped upon this game for past 2 months and only now I have realized that the frames stopped working - could this perhaps be a Roblox update that broke it? Could be, but UI in the main game (as this one shown in first pic is a tester ground game) still function well, so maybe I did last minute changes before taking a break (which could be a main frame I implemented for buttons as a parent, but even without the frame the buttons don’t function anymore, so I don’t believe this is the cause for this invisible frame issue). Tried looking for help in Devforum, there’s only one post regarding my issue and hasn’t been solved. ZIndex is not the problem here, nor are the Real lines.
Is this a script error at all??? Will appreciate any try in helping me out.
local Real = true
script.Parent.MouseButton1Click:Connect(function()
if Real then
game.StarterGui.Quests.Frame:TweenPosition(UDim2.new(0.019, 0, 0.359, 0),"Out","Quint",1,true)
script.Parent.Rotation = 7
else
game.StarterGui.Quests.Frame:TweenPosition(UDim2.new(-0.2, 0, 0.359, 0),"Out","Quint",1,true)
script.Parent.Rotation = 0
Real = not Real
end
end)```
Looking a little closer, is this a localscript or a serverscript. If it’s supposed to be dealing with a GUI in the player then isn’t that GUI in the player, not the Starterscripts?
StarterGui gets cloned and then replicated into Player.PlayerGui so anything that effects StarterGui will not effect PlayerGui. Change the script to the following and it should work.