Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Change gui with pressing a button?

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

3 comments

0

Could you provide your script?

0

yes,i need a script

0

which can disable one script and activate another

1 answer

✓ Accepted answer

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)

This discussion is preserved as it was. New answers, comments, and votes are closed.