COMMUNITY QUESTION
How do I make it so that the former frame closes when I click a button to open a new frame?
Asked 107 views0 answers
Current Script:
function onClick()
if (script.Parent.Parent.Parent.BuildFrame.Visible)then
script.Parent.Parent.Parent.BuildFrame.Visible = false
else
script.Parent.Parent.Parent.BuildFrame.Visible = true
end
end
script.Parent.MouseButton1Down:Connect(onClick)
https://roblox.com/games/7112939740/PurchaseHub
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.