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 4 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 — 4y
0
yes,i need a script Akenaton2400 -6 — 4y
0
which can disable one script and activate another Akenaton2400 -6 — 4y

1 answer

Log in to vote
0
Answered by 4 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