Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local button = script.Parent
- local player = game.Players.LocalPlayer
- local shopGui = player.PlayerGui.ShopGui
- local shopFrame = shopGui.ShopFrame
- button.MouseButton1Click:Connect(function()
- if shopFrame.Visible then
- shopFrame.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement