Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Change gui with pressing a button?

Asked by 3 years ago

I don't find a gui script , when i press button disable a gui and enable other gui

0
Could you provide your script? charizardstar87 16 — 3y
0
yes,i need a script Akenaton2400 -6 — 3y
0
which can disable one script and activate another Akenaton2400 -6 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

You didn't give any information or a script so this is how it's usually done:

local gui1 = -- first gui location
local gui2 = -- second gui location
script.MouseButton1Click:Connect(function() -- When button clicked
gui1.Enabled = false -- Disable gui1
gui2.Enabled = true -- Enable gui2
end)
Ad

Answer this question