Advertisement
BoblokDevelopyyyr

Project 4 - CloseShop (Client)

Jun 12th, 2025
746
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. local button = script.Parent
  2. local player = game.Players.LocalPlayer
  3. local shopGui = player.PlayerGui.ShopGui
  4. local shopFrame = shopGui.ShopFrame
  5.  
  6. button.MouseButton1Click:Connect(function()
  7.     if shopFrame.Visible then
  8.         shopFrame.Visible = false
  9.     end
  10. end)
Tags: robox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement