Advertisement
BoblokDevelopyyyr

Project 4 - OpenShop (Client)

Jun 12th, 2025 (edited)
698
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2. local events = ReplicatedStorage.Events
  3. local ShopEvent = events.ShopGUIEvent
  4.  
  5. local player = game.Players.LocalPlayer
  6. local playerGui = player.PlayerGui
  7. local shopFrame = playerGui:WaitForChild("ShopGui").ShopFrame
  8. ShopEvent.OnClientEvent:Connect(function()
  9.     shopFrame.Visible = true
  10.     print("Event recieved on client!")
  11. end)
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement