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

How to make a Hidden GUI?

Asked by 10 years ago

For my FPS game I want to make it so the GUI is hidden but not removed. Is there anyway I can change the position of the Backpack?

2 answers

Log in to vote
0
Answered by 10 years ago

To hide any GUI object, set it's Visible property to false. To make it reappear, set Visible to true.

1
But how, what's the script? StarterGUI.Visible=false? Realixty 0 — 10y
Ad
Log in to vote
0
Answered by
Uroxus 350 Moderation Voter
10 years ago

Click on the GUI You wish to make invisible, View the properties and find the one that says Visible Which should be above the 'Behaviour' part of the properties. Deselect Visible and it will be gone

EDIT: Well I only know how to remove the backpack, But im not entirely sure if you can move it. I always thought it was either there or gone.. This is the code you'd use to remove it anyhow...

game.StarterGui:SetCoreGuiEnabled("Backpack",false)

Backpack is a CoreGUIaswell as Leaderboard and chat. You can remove any of them using the script above and just changing one of the 3 things you want gone

0
I want to do this to the Backpack. Realixty 0 — 10y
0
I've eddited my post with how you'd REMOVE the backpack. I didnt think you could just move it... Uroxus 350 — 10y

Answer this question