Advertisement
KKOWN

Untitled

May 27th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.83 KB | None | 0 0
  1. -- Objects
  2.  
  3. local LuckHub = Instance.new("ScreenGui")
  4. local LoginFrame = Instance.new("Frame")
  5. local bar1 = Instance.new("Frame")
  6. local bar2 = Instance.new("Frame")
  7. local title = Instance.new("TextLabel")
  8. local userbox = Instance.new("TextBox")
  9. local passbox = Instance.new("TextBox")
  10. local submit = Instance.new("TextButton")
  11. local MainFrame = Instance.new("Frame")
  12. local mbar1 = Instance.new("Frame")
  13. local mbar2 = Instance.new("Frame")
  14. local mtitle = Instance.new("TextLabel")
  15. local exebutton1 = Instance.new("TextButton")
  16. local exebutton2 = Instance.new("TextButton")
  17. local credits = Instance.new("TextLabel")
  18. local exitbutton = Instance.new("TextButton")
  19. local ScriptFrame = Instance.new("Frame")
  20. local sbar1 = Instance.new("Frame")
  21. local sbar2 = Instance.new("Frame")
  22. local LT2GUI = Instance.new("TextButton")
  23. local exitbutton2 = Instance.new("TextButton")
  24.  
  25. -- Properties
  26.  
  27. LuckHub.Name = "Luck Hub"
  28. LuckHub.Parent = game.Players.LocalPlayer.PlayerGui
  29.  
  30. LoginFrame.Name = "LoginFrame"
  31. LoginFrame.Parent = LuckHub
  32. LoginFrame.Active = true
  33. LoginFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  34. LoginFrame.BorderSizePixel = 0
  35. LoginFrame.Position = UDim2.new(0.0407155976, 0, 0.287477255, 0)
  36. LoginFrame.Selectable = true
  37. LoginFrame.Size = UDim2.new(0, 293, 0, 355)
  38.  
  39. bar1.Name = "bar1"
  40. bar1.Parent = LoginFrame
  41. bar1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  42. bar1.BorderSizePixel = 0
  43. bar1.Size = UDim2.new(0, 293, 0, 36)
  44.  
  45. bar2.Name = "bar2"
  46. bar2.Parent = LoginFrame
  47. bar2.BackgroundColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  48. bar2.BorderSizePixel = 0
  49. bar2.Position = UDim2.new(0, 0, 0.101408452, 0)
  50. bar2.Size = UDim2.new(0, 293, 0, 6)
  51.  
  52. title.Name = "title"
  53. title.Parent = LoginFrame
  54. title.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  55. title.BorderSizePixel = 0
  56. title.Position = UDim2.new(0.150170654, 0, 0.149295777, 0)
  57. title.Size = UDim2.new(0, 205, 0, 40)
  58. title.Font = Enum.Font.SourceSansBold
  59. title.Text = "LuckHub v1"
  60. title.TextColor3 = Color3.new(1, 1, 1)
  61. title.TextScaled = true
  62. title.TextSize = 14
  63. title.TextWrapped = true
  64.  
  65. userbox.Name = "userbox"
  66. userbox.Parent = LoginFrame
  67. userbox.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  68. userbox.BorderColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  69. userbox.BorderSizePixel = 4
  70. userbox.Position = UDim2.new(0.158703074, 0, 0.391549289, 0)
  71. userbox.Size = UDim2.new(0, 200, 0, 26)
  72. userbox.Font = Enum.Font.SourceSansBold
  73. userbox.Text = "Username"
  74. userbox.TextColor3 = Color3.new(1, 1, 1)
  75. userbox.TextScaled = true
  76. userbox.TextSize = 14
  77. userbox.TextWrapped = true
  78. userbox.TextXAlignment = Enum.TextXAlignment.Left
  79.  
  80. passbox.Name = "passbox"
  81. passbox.Parent = LoginFrame
  82. passbox.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  83. passbox.BorderColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  84. passbox.BorderSizePixel = 4
  85. passbox.Position = UDim2.new(0.148464173, 0, 0.554929554, 0)
  86. passbox.Size = UDim2.new(0, 200, 0, 26)
  87. passbox.Font = Enum.Font.SourceSansBold
  88. passbox.Text = "Password"
  89. passbox.TextColor3 = Color3.new(1, 1, 1)
  90. passbox.TextScaled = true
  91. passbox.TextSize = 14
  92. passbox.TextWrapped = true
  93. passbox.TextXAlignment = Enum.TextXAlignment.Left
  94.  
  95. submit.Name = "submit"
  96. submit.Parent = LoginFrame
  97. submit.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  98. submit.BorderColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  99. submit.BorderSizePixel = 4
  100. submit.Position = UDim2.new(0.235494882, 0, 0.732394338, 0)
  101. submit.Size = UDim2.new(0, 147, 0, 37)
  102. submit.Font = Enum.Font.SourceSansBold
  103. submit.Text = "Login"
  104. submit.TextColor3 = Color3.new(1, 1, 1)
  105. submit.TextSize = 30
  106. submit.TextWrapped = true
  107.  
  108. MainFrame.Name = "MainFrame"
  109. MainFrame.Parent = LuckHub
  110. MainFrame.Active = true
  111. MainFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  112. MainFrame.BorderSizePixel = 0
  113. MainFrame.Position = UDim2.new(0.244293645, 0, 0.244269341, 0)
  114. MainFrame.Selectable = true
  115. MainFrame.Size = UDim2.new(0, 495, 0, 357)
  116. MainFrame.Visible = false
  117.  
  118. mbar1.Name = "mbar 1"
  119. mbar1.Parent = MainFrame
  120. mbar1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  121. mbar1.BorderSizePixel = 0
  122. mbar1.Size = UDim2.new(0, 495, 0, 32)
  123.  
  124. mbar2.Name = "mbar 2"
  125. mbar2.Parent = MainFrame
  126. mbar2.BackgroundColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  127. mbar2.BorderSizePixel = 0
  128. mbar2.Position = UDim2.new(0, 0, 0.0896358564, 0)
  129. mbar2.Size = UDim2.new(0, 495, 0, 8)
  130.  
  131. mtitle.Name = "mtitle"
  132. mtitle.Parent = MainFrame
  133. mtitle.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  134. mtitle.BorderSizePixel = 0
  135. mtitle.Position = UDim2.new(0.0323232338, 0, 0, 0)
  136. mtitle.Size = UDim2.new(0, 129, 0, 32)
  137. mtitle.Font = Enum.Font.SourceSansBold
  138. mtitle.Text = "Luck Hub"
  139. mtitle.TextColor3 = Color3.new(1, 1, 1)
  140. mtitle.TextSize = 25
  141. mtitle.TextXAlignment = Enum.TextXAlignment.Left
  142.  
  143. exebutton1.Name = "exebutton1"
  144. exebutton1.Parent = MainFrame
  145. exebutton1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  146. exebutton1.BorderColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  147. exebutton1.BorderSizePixel = 4
  148. exebutton1.Position = UDim2.new(0.0474747531, 0, 0.577030838, 0)
  149. exebutton1.Size = UDim2.new(0, 200, 0, 50)
  150. exebutton1.Font = Enum.Font.SourceSansBold
  151. exebutton1.Text = "Executor"
  152. exebutton1.TextColor3 = Color3.new(1, 1, 1)
  153. exebutton1.TextSize = 25
  154.  
  155. exebutton2.Name = "exebutton2"
  156. exebutton2.Parent = MainFrame
  157. exebutton2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  158. exebutton2.BorderColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  159. exebutton2.BorderSizePixel = 4
  160. exebutton2.Position = UDim2.new(0.561616182, 0, 0.577030838, 0)
  161. exebutton2.Size = UDim2.new(0, 200, 0, 50)
  162. exebutton2.Font = Enum.Font.SourceSansBold
  163. exebutton2.Text = "Scripts"
  164. exebutton2.TextColor3 = Color3.new(1, 1, 1)
  165. exebutton2.TextSize = 25
  166.  
  167. credits.Name = "credits"
  168. credits.Parent = MainFrame
  169. credits.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  170. credits.BorderSizePixel = 0
  171. credits.Position = UDim2.new(0, 0, 0.938375354, 0)
  172. credits.Size = UDim2.new(0, 129, 0, 16)
  173. credits.Font = Enum.Font.SourceSansBold
  174. credits.Text = "Made By LuckExploit#2315 ©"
  175. credits.TextColor3 = Color3.new(1, 1, 1)
  176. credits.TextSize = 15
  177. credits.TextXAlignment = Enum.TextXAlignment.Left
  178.  
  179. exitbutton.Name = "exitbutton"
  180. exitbutton.Parent = MainFrame
  181. exitbutton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  182. exitbutton.BorderSizePixel = 0
  183. exitbutton.Position = UDim2.new(0.929292917, 0, 0, 0)
  184. exitbutton.Size = UDim2.new(0, 35, 0, 32)
  185. exitbutton.Font = Enum.Font.SourceSansBold
  186. exitbutton.Text = "X"
  187. exitbutton.TextColor3 = Color3.new(1, 1, 1)
  188. exitbutton.TextSize = 25
  189.  
  190. ScriptFrame.Name = "ScriptFrame"
  191. ScriptFrame.Parent = LuckHub
  192. ScriptFrame.Active = true
  193. ScriptFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  194. ScriptFrame.BorderSizePixel = 0
  195. ScriptFrame.Position = UDim2.new(0.576804459, 0, 0.131805152, 0)
  196. ScriptFrame.Selectable = true
  197. ScriptFrame.Size = UDim2.new(0, 302, 0, 344)
  198. ScriptFrame.Visible = false
  199.  
  200. sbar1.Name = "sbar1"
  201. sbar1.Parent = ScriptFrame
  202. sbar1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  203. sbar1.BorderSizePixel = 0
  204. sbar1.Size = UDim2.new(0, 302, 0, 23)
  205.  
  206. sbar2.Name = "sbar2"
  207. sbar2.Parent = ScriptFrame
  208. sbar2.BackgroundColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  209. sbar2.BorderSizePixel = 0
  210. sbar2.Position = UDim2.new(0, 0, 0.0668604672, 0)
  211. sbar2.Size = UDim2.new(0, 302, 0, 9)
  212.  
  213. LT2GUI.Name = "LT2GUI"
  214. LT2GUI.Parent = ScriptFrame
  215. LT2GUI.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  216. LT2GUI.BorderColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  217. LT2GUI.BorderSizePixel = 4
  218. LT2GUI.Position = UDim2.new(0.0529801175, 0, 0.130813986, 0)
  219. LT2GUI.Size = UDim2.new(0, 142, 0, 54)
  220. LT2GUI.Font = Enum.Font.SourceSansBold
  221. LT2GUI.Text = "Lumber Luck"
  222. LT2GUI.TextColor3 = Color3.new(1, 1, 1)
  223. LT2GUI.TextScaled = true
  224. LT2GUI.TextSize = 25
  225. LT2GUI.TextWrapped = true
  226.  
  227. exitbutton2.Name = "exitbutton2"
  228. exitbutton2.Parent = ScriptFrame
  229. exitbutton2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  230. exitbutton2.BorderSizePixel = 0
  231. exitbutton2.Position = UDim2.new(0.88410598, 0, 0, 0)
  232. exitbutton2.Size = UDim2.new(0, 35, 0, 23)
  233. exitbutton2.Font = Enum.Font.SourceSansBold
  234. exitbutton2.Text = "X"
  235. exitbutton2.TextColor3 = Color3.new(1, 1, 1)
  236. exitbutton2.TextSize = 25
  237.  
  238. pass = LuckHub
  239. user = LuckHub
  240.  
  241. submit.MouseButton1Down:connect(function()
  242. if passbox.Text == passbox and userbox.Text == user then
  243. LoginFrame.Visible = false
  244. MainFrame.Visible = true
  245. end
  246. end)
  247. exebutton2.MouseButton1Down:connect(function()
  248. ScriptFrame.Visible = true
  249. MainFrame.Visible = false
  250.  
  251. end)
  252. exitbutton.MouseButton1Down:connect(function()
  253. LuckHub:Destroy()
  254. end)
  255. exebutton2.MouseButton1Down:connect(function()
  256. ScriptFrame.Visible = false
  257. MainFrame.Visible = true
  258. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement