Step 1 - Insert a ScreenGui inside of StarterGui.
Step 2 - Insert a Frame inside of the ScreenGui.
Step 3 - Insert a TextButton inside of the frame.
Step 4 - Insert a script inside of the TextButton
Step 5 - Put this code in the script -
local btn = script. Parent --The TextButton local frame = btn.Parent btn.MouseButton1Click:Connect(function() frame.Visible = false -- sets Frame and TextButton invisible end)
Top comments (0)