Advertisement
OnFireRobloxScriptin

Open shop with proximity prompt and touchpad local script

Feb 19th, 2024
728
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. --//Variables
  2. local remoteEvent = game.ReplicatedStorage:WaitForChild("OpenShop")
  3. local shop = script.Parent.ShopFrame
  4. local exit = shop.Exit
  5.  
  6. --//Open
  7. remoteEvent.OnClientEvent:Connect(function()
  8.     shop.Visible = true
  9. end)
  10.  
  11. --//Close
  12. exit.MouseButton1Click:Connect(function()
  13.     shop.Visible = false
  14. end)
  15.  
  16. --Full Video: https://youtu.be/YNAUAVvMa38
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement