Advertisement
vxid

Untitled

Aug 25th, 2019
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.04 KB | None | 0 0
  1. --[ Local Variables ]--
  2.  
  3. local hidden = false
  4. local placeId = DataModel.PlaceId
  5.  
  6. local supportedGames = {
  7.     606849621 = {
  8.         name = "Jailbreak",
  9.         gamesFrame = "jailBreakFrame"
  10.     }
  11.  
  12. }
  13.  
  14. --[ On GUI Init ]--
  15.  
  16. titleBar.Draggable = true
  17. titleBar.Active = true
  18.  
  19. uNameLabel.Text = game.Players.LocalPlayer.Name .. "!"
  20. SpecialBox.Text = string.format(
  21.    "Thank you for using Fade!\n\n",
  22.    "--Version 0.1--\n",
  23.    "•Created Script Executor\n",
  24.    "•Games Frame Added\n\n",
  25.    "--Credits--\n",
  26.    "Main Developer: x5nv#4564",
  27.    "Main Developer: Pwoon#7561"
  28. )
  29.  
  30. --[ On Click Buttons ]--
  31.  
  32. -- minimizeButton.MouseButton1Click:Connect(function()
  33. --     if hidden == false then
  34.        
  35. --      --[ Hide ]--
  36. --      local children = contentFrame:GetChildren()
  37. --         for i, child in ipairs(children) do
  38. --          child.Visible = false
  39. --      end
  40.        
  41. --      contentFrame:TweenSize(UDim2.new(0, 724, 0, 0))
  42. --      wait(1)
  43. --      titleBar:TweenSize(UDim2.new(0, 190 ,0, 43))
  44.        
  45. --      minimizeButton:TweenPosition(UDim2.new(0.719, 0, -0.182, 0))
  46. --      closeButton:TweenPosition(UDim2.new(0.861, 0, -0.089, 0))
  47.        
  48. --      hidden = true
  49.    
  50. --  else
  51.        
  52.        
  53. --      --[ Show ]--       
  54. --      titleBar:TweenSize(UDim2.new(0, 724 , 0, 43))
  55.        
  56. --      minimizeButton:TweenPosition(UDim2.new(0.919, 0 , -0.182, 0))
  57. --      closeButton:TweenPosition(UDim2.new(0.955, 0, -0.066, 0))
  58.        
  59. --      hidden = false
  60. --      wait(1)
  61. --      mainMenu:TweenSize(UDim2.new(0, 724 , 0, 410))
  62. --      wait(1)
  63.        
  64. --      local children = mainMenu:GetChildren()
  65. --      for i, child in ipairs(children) do
  66. --          child.Visible = true
  67. --      end
  68.    
  69. --      local children = mainMenu:GetChildren()
  70. --      for i, child in ipairs(children) do
  71. --          if child.Name ~= "sideBarMenu" then
  72. --              child.Visible = false
  73. --          end
  74. --      end
  75. --      homeFrame.Visible = true
  76. --  end
  77. -- end)
  78.  
  79. closeButton.MouseButton1Click:Connect(function()
  80.     Fade:Destroy()
  81. end)
  82.  
  83. executeButton.MouseButton1Click:Connect(function()
  84.     loadstring(scriptBox.Text)
  85. end)
  86.  
  87. clearButton.MouseButton1Click:Connect(function()
  88.     scriptBox.Text = ""
  89. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement