Advertisement
Free-Scripts

Page script

Jul 9th, 2022
1,823
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.25 KB | None | 0 0
  1. local Home = script.Parent.Pages.Home
  2. local exe = script.Parent.Pages.Exe
  3. local hub = script.Parent.Pages.Hub
  4. local setting = script.Parent.Pages.Settings
  5. local credits = script.Parent.Pages.Credits
  6.  
  7. local home = script.Parent.Buttons.Home
  8. local executor = script.Parent.Buttons.EXE
  9. local scripthub = script.Parent.Buttons.Hub
  10. local stngs = script.Parent.Buttons.Settings
  11. local credit = script.Parent.Buttons.Credits
  12.  
  13.  
  14. home.MouseButton1Click:Connect(function()
  15.     Home.Visible = true
  16.     exe.Visible = false
  17.     hub.Visible = false
  18.     setting.Visible = false
  19.     credits.Visible = false
  20. end)
  21.  
  22. executor.MouseButton1Click:Connect(function()
  23.     Home.Visible = false
  24.     exe.Visible = true
  25.     hub.Visible = false
  26.     setting.Visible = false
  27.     credits.Visible = false
  28. end)
  29.  
  30. scripthub.MouseButton1Click:Connect(function()
  31.     Home.Visible = false
  32.     exe.Visible = false
  33.     hub.Visible = true
  34.     setting.Visible = false
  35.     credits.Visible = false
  36. end)
  37.  
  38. stngs.MouseButton1Click:Connect(function()
  39.     Home.Visible = false
  40.     exe.Visible = false
  41.     hub.Visible = false
  42.     setting.Visible = true
  43.     credits.Visible = false
  44. end)
  45.  
  46. credit.MouseButton1Click:Connect(function()
  47.     Home.Visible = false
  48.     exe.Visible = false
  49.     hub.Visible = false
  50.     setting.Visible = false
  51.     credits.Visible = true
  52. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement