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

Deploy system with game running in the back?

Asked by 4 years ago

So i want to make a deploy system at click and key , game is running i the back , so if i make a script that will destroy the gui , can it be reversable? like the gui appear again after the round ended and the script destroy it again when you press space or click the button?

0
Should probably not destroy the gui, would instead suggest you either disable the ScreenGui or set the gui frame to not visible. ForeverBrown 356 — 4y

1 answer

Log in to vote
0
Answered by
Torren_Mr 334 Moderation Voter
4 years ago
Edited 4 years ago

Hello, so, you shouldn't destroy the GUI. You should just make it invisible. There are 2 ways to do this. If you want to make the whole GUI invisible: ScreenGui.Enabled = false To revert this: ScreenGui.Enabled = true If you want to make a specific part of the GUI invisible: ScreenGui.Frame.Visible = false To revert this: ScreenGui.Frame.Visible = true

If you have any questions ask me. Don't forget to accept and upvote if the answer helped.

Ad

Answer this question