|
| 19 Sep 2017 08:05 PM |
Im making a FPS game, and Im making it so that the top bar changes from saying messages to other messages (like an announcement). I just need a simple script that can target the 'Visible' checkbox in a Frame in StarterGui. Thanks
Howdy Folks |
|
|
| Report Abuse |
|
|
|
| 19 Sep 2017 08:10 PM |
--local script in your gui
local player = game.Players.LocalPlayer local plrgui = player.PlayerGui local frame = plrgui.ScreenGui.[insert name]
frame.Visible = true/false |
|
|
| Report Abuse |
|
|
|
| 19 Sep 2017 08:14 PM |
do i put it into the StarterGui?
Howdy Folks |
|
|
| Report Abuse |
|
|
|
| 19 Sep 2017 08:17 PM |
did you read the first thing i put your welcome :) |
|
|
| Report Abuse |
|
|
|
| 19 Sep 2017 08:19 PM |
uh well my gui has multiple parts to it. TextBox Frame ScreenGui
Howdy Folks |
|
|
| Report Abuse |
|
|
|
| 19 Sep 2017 08:20 PM |
wait nvm i found out how I just do this in a script
game.StarterGui.Credits.Enabled = False
Thanks for helping though.
Howdy Folks |
|
|
| Report Abuse |
|
|
|
| 19 Sep 2017 08:24 PM |
actually, it doesnt really matter where you put it as long as its in your gui also, that script isnt gonna work in actual servers. |
|
|
| Report Abuse |
|
|
| |
|