Advertisement
Guest User

fds

a guest
Dec 7th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.56 KB | None | 0 0
  1. --Login
  2.  
  3. main = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  4. main.Name = ("ZanikesHubLogin")
  5.  
  6. mainf = Instance.new("Frame",main)
  7. mainf.Name = ("mainFrame")
  8.  
  9. zanhub = Instance.new("TextLabel",mainf)
  10. zanhub.Name = ("zanHub")
  11.  
  12. key = Instance.new("TextBox",mainf)
  13. key.Name = ("keyBox")
  14.  
  15. login = Instance.new("TextButton",mainf)
  16. login.Name = ("loginButton")
  17.  
  18. wrong = Instance.new("TextLabel",mainf)
  19. wrong.Name = ("wrong")
  20.  
  21. destroyb = Instance.new("TextButton",mainf)
  22. destroyb.Name = ("destroyButton")
  23.  
  24. --HUB
  25.  
  26. hubsg = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  27. hubsg.Name = ("ZanikesHub")
  28.  
  29. dragbar = Instance.new("TextLabel",hubsg)
  30. dragbar.Name = ("dragbar")
  31.  
  32. hubh = Instance.new("Frame",dragbar)
  33. hubh.Name = ("hubHome")
  34.  
  35. localf = Instance.new("Frame",dragbar)
  36. localf.Name = ("localFrame")
  37.  
  38. hubth = Instance.new("TextLabel",hubh)
  39. hubth.Name = ("hubTitle")
  40.  
  41. phaxx = Instance.new("TextButton",hubh)
  42. phaxx.Name = ("PrisonHaxx")
  43.  
  44. oc = Instance.new("TextButton",hubsg)
  45. oc.Name = ("Open/Close")
  46.  
  47. menub = Instance.new("TextButton",dragbar)
  48. menub.Name = ("menuButton")
  49.  
  50. dark = Instance.new("Frame",dragbar)
  51. dark.Name = ("dark")
  52.  
  53. menuf = Instance.new("Frame",dragbar)
  54. menuf.Name = ("menuFrame")
  55.  
  56. homeb = Instance.new("TextButton",menuf)
  57. homeb.Name = ("homeButton")
  58.  
  59. locala = Instance.new("TextButton",menuf)
  60. locala.Name = ("localButton")
  61.  
  62. xout = Instance.new("TextButton",dragbar)
  63. xout.Name = ("xOut")
  64.  
  65. --GUI Appearance
  66.  
  67. mainf.Size = UDim2.new(0,500,0,315)
  68. mainf.Position = UDim2.new(0.01,0,0.01,0)
  69. mainf.BackgroundColor3 = Color3.fromRGB(30,30,30)
  70. mainf.BorderSizePixel = 2
  71. mainf.BorderColor3 = Color3.fromRGB(255,7,7)
  72. mainf.Active = true
  73. mainf.Draggable = true
  74.  
  75. zanhub.Size = UDim2.new(0,500,0,50)
  76. zanhub.Position = UDim2.new(0,0,0,0)
  77. zanhub.BackgroundColor3 = Color3.fromRGB(30,30,30)
  78. zanhub.BorderSizePixel = 2
  79. zanhub.BorderColor3 = Color3.fromRGB(255,7,7)
  80. zanhub.Text = ("Zanikes HUB - Login")
  81. zanhub.TextColor3 = Color3.new(1,1,1)
  82. zanhub.TextScaled = true
  83. zanhub.Font = Enum.Font.GothamBold
  84.  
  85. key.Size = UDim2.new(0,400,0,50)
  86. key.Position = UDim2.new(0,50,0,75)
  87. key.BackgroundColor3 = Color3.fromRGB(30,30,30)
  88. key.BorderSizePixel = 2
  89. key.BorderColor3 = Color3.fromRGB(255,7,7)
  90. key.Text = ("Key")
  91. key.TextColor3 = Color3.new(1,1,1)
  92. key.TextScaled = true
  93. key.Font = Enum.Font.GothamBold
  94.  
  95. login.Size = UDim2.new(0,200,0,50)
  96. login.Position = UDim2.new(0,150,0,225)
  97. login.BackgroundColor3 = Color3.fromRGB(30,30,30)
  98. login.BorderSizePixel = 2
  99. login.BorderColor3 = Color3.fromRGB(255,7,7)
  100. login.Text = ("Login")
  101. login.TextColor3 = Color3.new(1,1,1)
  102. login.TextScaled = true
  103. login.Font = Enum.Font.GothamBold
  104.  
  105. wrong.Size = UDim2.new(0,200,0,75)
  106. wrong.Position = UDim2.new(0,150,0,130)
  107. wrong.BackgroundColor3 = Color3.fromRGB(30,30,30)
  108. wrong.BorderSizePixel = 2
  109. wrong.BorderColor3 = Color3.fromRGB(255,7,7)
  110. wrong.Text = ("Incorrect key!")
  111. wrong.TextColor3 = Color3.new(1,1,1)
  112. wrong.TextScaled = true
  113. wrong.Font = Enum.Font.GothamBold
  114. wrong.BackgroundTransparency = 1
  115. wrong.Visible = false
  116.  
  117. destroyb.Size = UDim2.new(0,100,0,50)
  118. destroyb.Position = UDim2.new(0,400,0,265)
  119. destroyb.BackgroundColor3 = Color3.fromRGB(30,30,30)
  120. destroyb.BorderSizePixel = 2
  121. destroyb.BorderColor3 = Color3.fromRGB(255,7,7)
  122. destroyb.Text = ("Destroy Gui")
  123. destroyb.TextColor3 = Color3.new(1,1,1)
  124. destroyb.TextScaled = true
  125. destroyb.Font = Enum.Font.GothamBold
  126.  
  127. hubsg.Enabled = false
  128.  
  129. dragbar.Size = UDim2.new(0,500,0,20)
  130. dragbar.Position = UDim2.new(0.01,0,0.01,0)
  131. dragbar.BackgroundColor3 = Color3.fromRGB(30,30,30)
  132. dragbar.BorderSizePixel = 2
  133. dragbar.BorderColor3 = Color3.fromRGB(255,7,7)
  134. dragbar.Text = ("--Drag--")
  135. dragbar.TextColor3 = Color3.new(1,1,1)
  136. dragbar.TextScaled = true
  137. dragbar.Font = Enum.Font.GothamBold
  138. dragbar.Active = true
  139. dragbar.Draggable = true
  140.  
  141. hubh.Size = UDim2.new(0,500,0,300)
  142. hubh.Position = UDim2.new(0,0,1.05,0)
  143. hubh.BackgroundColor3 = Color3.fromRGB(30,30,30)
  144. hubh.BorderSizePixel = 2
  145. hubh.BorderColor3 = Color3.fromRGB(255,7,7)
  146.  
  147. phaxx.Size = UDim2.new(0,450,0,50)
  148. phaxx.Position = UDim2.new(0,25,0,75)
  149. phaxx.BackgroundColor3 = Color3.fromRGB(30,30,30)
  150. phaxx.BorderSizePixel = 2
  151. phaxx.BorderColor3 = Color3.fromRGB(255,7,7)
  152. phaxx.Text = ("PrisonHaxx")
  153. phaxx.TextColor3 = Color3.new(1,1,1)
  154. phaxx.Font = Enum.Font.GothamBold
  155. phaxx.TextScaled = true
  156.  
  157. hubth.Size = UDim2.new(0,500,0,50)
  158. hubth.Position = UDim2.new(0,0,0,0)
  159. hubth.BackgroundTransparency = 1
  160. hubth.Text = ("Zanikes Hub - Home")
  161. hubth.TextColor3 = Color3.new(1,1,1)
  162. hubth.Font = Enum.Font.GothamBold
  163. hubth.TextScaled = true
  164.  
  165. oc.Position = UDim2.new(0,10,0,550)
  166. oc.Size = UDim2.new(0,85,0,30)
  167. oc.BackgroundColor3 = Color3.fromRGB(30,30,30)
  168. oc.BorderSizePixel = 2
  169. oc.BorderColor3 = Color3.fromRGB(255,7,7)
  170. oc.Text = ("Close")
  171. oc.TextColor3 = Color3.new(1,1,1)
  172. oc.TextScaled = true
  173. oc.Font = Enum.Font.GothamBold
  174. oc.BorderSizePixel = 2.5
  175.  
  176. menub.Size = UDim2.new(0,200,0,19)
  177. menub.BackgroundColor3 = Color3.fromRGB(30,30,30)
  178. menub.BorderSizePixel = 2
  179. menub.BorderColor3 = Color3.fromRGB(255,7,7)
  180. menub.Text = ("--Menu--")
  181. menub.TextColor3 = Color3.new(1,1,1)
  182. menub.TextScaled = true
  183. menub.Font = Enum.Font.GothamBold
  184.  
  185. dark.Size = UDim2.new(0,0,0,0)
  186. dark.Position = UDim2.new(0,200,0,20)
  187. dark.BorderSizePixel = 0
  188. dark.BackgroundColor3 = Color3.new(0,0,0)
  189. dark.BackgroundTransparency = 1
  190.  
  191. menuf.Size = UDim2.new(0,200,0,0)
  192. menuf.Position = UDim2.new(0,0,0,20)
  193. menuf.BackgroundColor3 = Color3.fromRGB(30,30,30)
  194. menuf.BorderSizePixel = 0
  195. menuf.BorderColor3 = Color3.fromRGB(255,7,7)
  196.  
  197. homeb.Size = UDim2.new(0,200,0,0)
  198. homeb.BorderSizePixel = 0
  199. homeb.Text = ("")
  200. homeb.TextColor3 = Color3.new(1,1,1)
  201. homeb.Font = Enum.Font.GothamBold
  202. homeb.TextScaled = true
  203. homeb.BackgroundColor3 = Color3.fromRGB(30,30,30)
  204.  
  205. locala.Size = UDim2.new(0,200,0,0)
  206. locala.BorderSizePixel = 0
  207. locala.Text = ("")
  208. locala.TextColor3 = Color3.new(1,1,1)
  209. locala.Font = Enum.Font.GothamBold
  210. locala.TextScaled = true
  211. locala.BackgroundColor3 = Color3.fromRGB(30,30,30)
  212.  
  213. localf.Size = UDim2.new(0,500,0,300)
  214. localf.Position = UDim2.new(0,0,1.05,0)
  215. localf.BackgroundColor3 = Color3.fromRGB(30,30,30)
  216. localf.BorderSizePixel = 2
  217. localf.BorderColor3 = Color3.fromRGB(255,7,7)
  218. localf.Visible = false
  219.  
  220. xout.Size = UDim2.new(0,20,0,19)
  221. xout.Position = UDim2.new(0,480,0,0)
  222. xout.BackgroundColor3 = Color3.fromRGB(30,30,30)
  223. xout.BorderSizePixel = 2
  224. xout.BorderColor3 = Color3.fromRGB(255,7,7)
  225. xout.Text = ("X")
  226. xout.TextColor3 = Color3.new(1,1,1)
  227. xout.TextScaled = true
  228. xout.Font = Enum.Font.GothamBold
  229.  
  230.  
  231.  
  232.  
  233. xout.MouseEnter:connect(function()
  234. xout.BackgroundColor3 = Color3.new(0.5,1,0.5)
  235. end)
  236.  
  237. xout.MouseLeave:connect(function()
  238. xout.BackgroundColor3 = Color3.fromRGB(30,30,30)
  239. end)
  240.  
  241. xout.MouseButton1Click:connect(function()
  242. hubsg:Remove()
  243. end)
  244.  
  245. destroyb.MouseButton1Click:connect(function()
  246. main:Remove()
  247. hubsg:Remove()
  248. end)
  249.  
  250. destroyb.MouseEnter:connect(function()
  251. destroyb.BackgroundColor3 = Color3.new(0.5,1,0.5)
  252. end)
  253.  
  254. destroyb.MouseLeave:connect(function()
  255. destroyb.BackgroundColor3 = Color3.fromRGB(30,30,30)
  256. end)
  257.  
  258. locala.MouseEnter:connect(function()
  259. locala.BackgroundColor3 = Color3.new(0.5,1,0.5)
  260. end)
  261.  
  262. locala.MouseLeave:connect(function()
  263. locala.BackgroundColor3 = Color3.fromRGB(30,30,30)
  264. end)
  265.  
  266. locala.MouseButton1Click:connect(function()
  267. hubh.Visible = false
  268. localf.Visible = true
  269. end)
  270.  
  271. homeb.MouseEnter:connect(function()
  272. homeb.BackgroundColor3 = Color3.new(0.5,1,0.5)
  273. end)
  274.  
  275. homeb.MouseLeave:connect(function()
  276. homeb.BackgroundColor3 = Color3.fromRGB(30,30,30)
  277. end)
  278.  
  279. homeb.MouseButton1Click:connect(function()
  280. hubh.Visible = true
  281. localf.Visible = false
  282. end)
  283.  
  284. local menuopen = false
  285. menub.MouseButton1Click:connect(function()
  286. if menuopen == false then
  287. menuopen = true
  288. menuf.BorderSizePixel = 2
  289. homeb.Text = ("Home")
  290. locala.Text = ("Local Player")
  291. menuf:TweenSize(UDim2.new(0,200,0,300), 'Out', 'Quad', 0.5)
  292. dark:TweenSize(UDim2.new(0,300,0,300), 'Out', 'Quad', 0.5)
  293. homeb:TweenSize(UDim2.new(0,200,0,50), 'Out', 'Quad', 0.5)
  294. locala:TweenSize(UDim2.new(0,200,0,50), 'Out', 'Quad', 0.5)
  295. locala:TweenPosition(UDim2.new(0,0,0,50), 'Out', 'Quad', 0.5, true)
  296. dark.BackgroundTransparency = 0.9
  297. wait(0.05)
  298. dark.BackgroundTransparency = 0.8
  299. wait(0.05)
  300. dark.BackgroundTransparency = 0.7
  301. wait(0.05)
  302. dark.BackgroundTransparency = 0.6
  303. wait(0.05)
  304. dark.BackgroundTransparency = 0.5
  305. wait(0.05)
  306. dark.BackgroundTransparency = 0.4
  307. wait(0.05)
  308. dark.BackgroundTransparency = 0.3
  309. wait(0.05)
  310. dark.BackgroundTransparency = 0.2
  311. elseif menuopen == true then
  312. menuopen = false
  313. menuf:TweenSize(UDim2.new(0,200,0,0), 'Out', 'Quad', 0.5)
  314. dark:TweenSize(UDim2.new(0,0,0,0), 'Out', 'Quad', 0.5)
  315. homeb:TweenSize(UDim2.new(0,200,0,0), 'Out', 'Quad', 0.5)
  316. locala:TweenSize(UDim2.new(0,200,0,0), 'Out', 'Quad', 0.5)
  317. locala:TweenPosition(UDim2.new(0,0,0,0), 'Out', 'Quad', 0.5, true)
  318. dark.BackgroundTransparency = 0.2
  319. wait(0.05)
  320. dark.BackgroundTransparency = 0.3
  321. wait(0.05)
  322. dark.BackgroundTransparency = 0.4
  323. wait(0.05)
  324. dark.BackgroundTransparency = 0.5
  325. wait(0.05)
  326. dark.BackgroundTransparency = 0.6
  327. wait(0.05)
  328. dark.BackgroundTransparency = 0.7
  329. wait(0.05)
  330. dark.BackgroundTransparency = 0.8
  331. wait(0.05)
  332. dark.BackgroundTransparency = 0.9
  333. wait(0.05)
  334. dark.BackgroundTransparency = 1
  335. menuf.BorderSizePixel = 0
  336. homeb.Text = ("")
  337. locala.Text = ("")
  338. end
  339. end)
  340.  
  341. oc.MouseEnter:connect(function()
  342. oc.BackgroundColor3 = Color3.new(0.5,1,0.5)
  343. end)
  344.  
  345. oc.MouseLeave:connect(function()
  346. oc.BackgroundColor3 = Color3.fromRGB(30,30,30)
  347. end)
  348.  
  349. local open = true
  350. oc.MouseButton1Click:connect(function()
  351. if open == true then
  352. open = false
  353. dragbar.Visible = false
  354. oc.Text = ("Open")
  355. elseif open == false then
  356. open = true
  357. dragbar.Visible = true
  358. oc.Text = ("Close")
  359. end
  360. end)
  361.  
  362. phaxx.MouseEnter:connect(function()
  363. phaxx.BackgroundColor3 = Color3.new(0.5,1,0.5)
  364. end)
  365.  
  366. phaxx.MouseLeave:connect(function()
  367. phaxx.BackgroundColor3 = Color3.fromRGB(30,30,30)
  368. end)
  369.  
  370. phaxx.MouseButton1Click:connect(function()
  371. loadstring(game:HttpGet("https://pastebin.com/raw/5HWztjUp", true))()
  372. end)
  373.  
  374. login.MouseEnter:connect(function()
  375. login.BackgroundColor3 = Color3.new(0.5,1,0.5)
  376. end)
  377.  
  378. login.MouseLeave:connect(function()
  379. login.BackgroundColor3 = Color3.fromRGB(30,30,30)
  380. end)
  381.  
  382. local keyy = "test"
  383.  
  384. login.MouseButton1Click:connect(function()
  385. if key.Text == keyy then
  386. hubsg.Enabled = true
  387. main:Remove()
  388. else
  389. wrong.Visible = true
  390. wait(2)
  391. wrong.Visible = false
  392. end
  393. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement