Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function PlayerEntered()
- game.StarterGui.ShopGui.ShopGuiBackground.Visible = false --자신의 GUI이름 입력
- end
- game.Players.PlayerAdded:Connect(PlayerEntered)
- --Gui이를 숨겨요
- local ClickDetector = game.Workspace.Shopkeeper:WaitForChild("ClickDetector")
- ClickDetector.MouseClick:Connect(function()
- script.Parent.Visible = true
- end)
- --GUI이를 상점아저씨 클릭했을때 보이게 하기
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement