Advertisement
ZOUK_AG

Roblox Studio GUI Show or Hide

May 31st, 2020
1,711
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function PlayerEntered()
  2.  
  3. game.StarterGui.ShopGui.ShopGuiBackground.Visible = false --자신의 GUI이름 입력
  4. end
  5.  
  6. game.Players.PlayerAdded:Connect(PlayerEntered)
  7. --Gui이를 숨겨요
  8. local ClickDetector = game.Workspace.Shopkeeper:WaitForChild("ClickDetector")
  9.  
  10.  
  11. ClickDetector.MouseClick:Connect(function()
  12.  
  13. script.Parent.Visible = true
  14. end)
  15. --GUI이를 상점아저씨 클릭했을때 보이게 하기
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement