OnFireRobloxScriptin

Exit button script

Mar 24th, 2026
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. --//Variables
  2. local exitButton = script.Parent
  3. local frame = exitButton.Parent
  4.  
  5. --//Function
  6. exitButton.MouseButton1Click:Connect(function()
  7.     frame.Visible = false
  8. end)
Advertisement
Add Comment
Please, Sign In to add comment