Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Login
- main = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
- main.Name = ("ZanikesHubLogin")
- mainf = Instance.new("Frame",main)
- mainf.Name = ("mainFrame")
- zanhub = Instance.new("TextLabel",mainf)
- zanhub.Name = ("zanHub")
- key = Instance.new("TextBox",mainf)
- key.Name = ("keyBox")
- login = Instance.new("TextButton",mainf)
- login.Name = ("loginButton")
- wrong = Instance.new("TextLabel",mainf)
- wrong.Name = ("wrong")
- destroyb = Instance.new("TextButton",mainf)
- destroyb.Name = ("destroyButton")
- --HUB
- hubsg = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
- hubsg.Name = ("ZanikesHub")
- dragbar = Instance.new("TextLabel",hubsg)
- dragbar.Name = ("dragbar")
- hubh = Instance.new("Frame",dragbar)
- hubh.Name = ("hubHome")
- localf = Instance.new("Frame",dragbar)
- localf.Name = ("localFrame")
- hubth = Instance.new("TextLabel",hubh)
- hubth.Name = ("hubTitle")
- phaxx = Instance.new("TextButton",hubh)
- phaxx.Name = ("PrisonHaxx")
- oc = Instance.new("TextButton",hubsg)
- oc.Name = ("Open/Close")
- menub = Instance.new("TextButton",dragbar)
- menub.Name = ("menuButton")
- dark = Instance.new("Frame",dragbar)
- dark.Name = ("dark")
- menuf = Instance.new("Frame",dragbar)
- menuf.Name = ("menuFrame")
- homeb = Instance.new("TextButton",menuf)
- homeb.Name = ("homeButton")
- locala = Instance.new("TextButton",menuf)
- locala.Name = ("localButton")
- xout = Instance.new("TextButton",dragbar)
- xout.Name = ("xOut")
- --GUI Appearance
- mainf.Size = UDim2.new(0,500,0,315)
- mainf.Position = UDim2.new(0.01,0,0.01,0)
- mainf.BackgroundColor3 = Color3.fromRGB(30,30,30)
- mainf.BorderSizePixel = 2
- mainf.BorderColor3 = Color3.fromRGB(255,7,7)
- mainf.Active = true
- mainf.Draggable = true
- zanhub.Size = UDim2.new(0,500,0,50)
- zanhub.Position = UDim2.new(0,0,0,0)
- zanhub.BackgroundColor3 = Color3.fromRGB(30,30,30)
- zanhub.BorderSizePixel = 2
- zanhub.BorderColor3 = Color3.fromRGB(255,7,7)
- zanhub.Text = ("Zanikes HUB - Login")
- zanhub.TextColor3 = Color3.new(1,1,1)
- zanhub.TextScaled = true
- zanhub.Font = Enum.Font.GothamBold
- key.Size = UDim2.new(0,400,0,50)
- key.Position = UDim2.new(0,50,0,75)
- key.BackgroundColor3 = Color3.fromRGB(30,30,30)
- key.BorderSizePixel = 2
- key.BorderColor3 = Color3.fromRGB(255,7,7)
- key.Text = ("Key")
- key.TextColor3 = Color3.new(1,1,1)
- key.TextScaled = true
- key.Font = Enum.Font.GothamBold
- login.Size = UDim2.new(0,200,0,50)
- login.Position = UDim2.new(0,150,0,225)
- login.BackgroundColor3 = Color3.fromRGB(30,30,30)
- login.BorderSizePixel = 2
- login.BorderColor3 = Color3.fromRGB(255,7,7)
- login.Text = ("Login")
- login.TextColor3 = Color3.new(1,1,1)
- login.TextScaled = true
- login.Font = Enum.Font.GothamBold
- wrong.Size = UDim2.new(0,200,0,75)
- wrong.Position = UDim2.new(0,150,0,130)
- wrong.BackgroundColor3 = Color3.fromRGB(30,30,30)
- wrong.BorderSizePixel = 2
- wrong.BorderColor3 = Color3.fromRGB(255,7,7)
- wrong.Text = ("Incorrect key!")
- wrong.TextColor3 = Color3.new(1,1,1)
- wrong.TextScaled = true
- wrong.Font = Enum.Font.GothamBold
- wrong.BackgroundTransparency = 1
- wrong.Visible = false
- destroyb.Size = UDim2.new(0,100,0,50)
- destroyb.Position = UDim2.new(0,400,0,265)
- destroyb.BackgroundColor3 = Color3.fromRGB(30,30,30)
- destroyb.BorderSizePixel = 2
- destroyb.BorderColor3 = Color3.fromRGB(255,7,7)
- destroyb.Text = ("Destroy Gui")
- destroyb.TextColor3 = Color3.new(1,1,1)
- destroyb.TextScaled = true
- destroyb.Font = Enum.Font.GothamBold
- hubsg.Enabled = false
- dragbar.Size = UDim2.new(0,500,0,20)
- dragbar.Position = UDim2.new(0.01,0,0.01,0)
- dragbar.BackgroundColor3 = Color3.fromRGB(30,30,30)
- dragbar.BorderSizePixel = 2
- dragbar.BorderColor3 = Color3.fromRGB(255,7,7)
- dragbar.Text = ("--Drag--")
- dragbar.TextColor3 = Color3.new(1,1,1)
- dragbar.TextScaled = true
- dragbar.Font = Enum.Font.GothamBold
- dragbar.Active = true
- dragbar.Draggable = true
- hubh.Size = UDim2.new(0,500,0,300)
- hubh.Position = UDim2.new(0,0,1.05,0)
- hubh.BackgroundColor3 = Color3.fromRGB(30,30,30)
- hubh.BorderSizePixel = 2
- hubh.BorderColor3 = Color3.fromRGB(255,7,7)
- phaxx.Size = UDim2.new(0,450,0,50)
- phaxx.Position = UDim2.new(0,25,0,75)
- phaxx.BackgroundColor3 = Color3.fromRGB(30,30,30)
- phaxx.BorderSizePixel = 2
- phaxx.BorderColor3 = Color3.fromRGB(255,7,7)
- phaxx.Text = ("PrisonHaxx")
- phaxx.TextColor3 = Color3.new(1,1,1)
- phaxx.Font = Enum.Font.GothamBold
- phaxx.TextScaled = true
- hubth.Size = UDim2.new(0,500,0,50)
- hubth.Position = UDim2.new(0,0,0,0)
- hubth.BackgroundTransparency = 1
- hubth.Text = ("Zanikes Hub - Home")
- hubth.TextColor3 = Color3.new(1,1,1)
- hubth.Font = Enum.Font.GothamBold
- hubth.TextScaled = true
- oc.Position = UDim2.new(0,10,0,550)
- oc.Size = UDim2.new(0,85,0,30)
- oc.BackgroundColor3 = Color3.fromRGB(30,30,30)
- oc.BorderSizePixel = 2
- oc.BorderColor3 = Color3.fromRGB(255,7,7)
- oc.Text = ("Close")
- oc.TextColor3 = Color3.new(1,1,1)
- oc.TextScaled = true
- oc.Font = Enum.Font.GothamBold
- oc.BorderSizePixel = 2.5
- menub.Size = UDim2.new(0,200,0,19)
- menub.BackgroundColor3 = Color3.fromRGB(30,30,30)
- menub.BorderSizePixel = 2
- menub.BorderColor3 = Color3.fromRGB(255,7,7)
- menub.Text = ("--Menu--")
- menub.TextColor3 = Color3.new(1,1,1)
- menub.TextScaled = true
- menub.Font = Enum.Font.GothamBold
- dark.Size = UDim2.new(0,0,0,0)
- dark.Position = UDim2.new(0,200,0,20)
- dark.BorderSizePixel = 0
- dark.BackgroundColor3 = Color3.new(0,0,0)
- dark.BackgroundTransparency = 1
- menuf.Size = UDim2.new(0,200,0,0)
- menuf.Position = UDim2.new(0,0,0,20)
- menuf.BackgroundColor3 = Color3.fromRGB(30,30,30)
- menuf.BorderSizePixel = 0
- menuf.BorderColor3 = Color3.fromRGB(255,7,7)
- homeb.Size = UDim2.new(0,200,0,0)
- homeb.BorderSizePixel = 0
- homeb.Text = ("")
- homeb.TextColor3 = Color3.new(1,1,1)
- homeb.Font = Enum.Font.GothamBold
- homeb.TextScaled = true
- homeb.BackgroundColor3 = Color3.fromRGB(30,30,30)
- locala.Size = UDim2.new(0,200,0,0)
- locala.BorderSizePixel = 0
- locala.Text = ("")
- locala.TextColor3 = Color3.new(1,1,1)
- locala.Font = Enum.Font.GothamBold
- locala.TextScaled = true
- locala.BackgroundColor3 = Color3.fromRGB(30,30,30)
- localf.Size = UDim2.new(0,500,0,300)
- localf.Position = UDim2.new(0,0,1.05,0)
- localf.BackgroundColor3 = Color3.fromRGB(30,30,30)
- localf.BorderSizePixel = 2
- localf.BorderColor3 = Color3.fromRGB(255,7,7)
- localf.Visible = false
- xout.Size = UDim2.new(0,20,0,19)
- xout.Position = UDim2.new(0,480,0,0)
- xout.BackgroundColor3 = Color3.fromRGB(30,30,30)
- xout.BorderSizePixel = 2
- xout.BorderColor3 = Color3.fromRGB(255,7,7)
- xout.Text = ("X")
- xout.TextColor3 = Color3.new(1,1,1)
- xout.TextScaled = true
- xout.Font = Enum.Font.GothamBold
- xout.MouseEnter:connect(function()
- xout.BackgroundColor3 = Color3.new(0.5,1,0.5)
- end)
- xout.MouseLeave:connect(function()
- xout.BackgroundColor3 = Color3.fromRGB(30,30,30)
- end)
- xout.MouseButton1Click:connect(function()
- hubsg:Remove()
- end)
- destroyb.MouseButton1Click:connect(function()
- main:Remove()
- hubsg:Remove()
- end)
- destroyb.MouseEnter:connect(function()
- destroyb.BackgroundColor3 = Color3.new(0.5,1,0.5)
- end)
- destroyb.MouseLeave:connect(function()
- destroyb.BackgroundColor3 = Color3.fromRGB(30,30,30)
- end)
- locala.MouseEnter:connect(function()
- locala.BackgroundColor3 = Color3.new(0.5,1,0.5)
- end)
- locala.MouseLeave:connect(function()
- locala.BackgroundColor3 = Color3.fromRGB(30,30,30)
- end)
- locala.MouseButton1Click:connect(function()
- hubh.Visible = false
- localf.Visible = true
- end)
- homeb.MouseEnter:connect(function()
- homeb.BackgroundColor3 = Color3.new(0.5,1,0.5)
- end)
- homeb.MouseLeave:connect(function()
- homeb.BackgroundColor3 = Color3.fromRGB(30,30,30)
- end)
- homeb.MouseButton1Click:connect(function()
- hubh.Visible = true
- localf.Visible = false
- end)
- local menuopen = false
- menub.MouseButton1Click:connect(function()
- if menuopen == false then
- menuopen = true
- menuf.BorderSizePixel = 2
- homeb.Text = ("Home")
- locala.Text = ("Local Player")
- menuf:TweenSize(UDim2.new(0,200,0,300), 'Out', 'Quad', 0.5)
- dark:TweenSize(UDim2.new(0,300,0,300), 'Out', 'Quad', 0.5)
- homeb:TweenSize(UDim2.new(0,200,0,50), 'Out', 'Quad', 0.5)
- locala:TweenSize(UDim2.new(0,200,0,50), 'Out', 'Quad', 0.5)
- locala:TweenPosition(UDim2.new(0,0,0,50), 'Out', 'Quad', 0.5, true)
- dark.BackgroundTransparency = 0.9
- wait(0.05)
- dark.BackgroundTransparency = 0.8
- wait(0.05)
- dark.BackgroundTransparency = 0.7
- wait(0.05)
- dark.BackgroundTransparency = 0.6
- wait(0.05)
- dark.BackgroundTransparency = 0.5
- wait(0.05)
- dark.BackgroundTransparency = 0.4
- wait(0.05)
- dark.BackgroundTransparency = 0.3
- wait(0.05)
- dark.BackgroundTransparency = 0.2
- elseif menuopen == true then
- menuopen = false
- menuf:TweenSize(UDim2.new(0,200,0,0), 'Out', 'Quad', 0.5)
- dark:TweenSize(UDim2.new(0,0,0,0), 'Out', 'Quad', 0.5)
- homeb:TweenSize(UDim2.new(0,200,0,0), 'Out', 'Quad', 0.5)
- locala:TweenSize(UDim2.new(0,200,0,0), 'Out', 'Quad', 0.5)
- locala:TweenPosition(UDim2.new(0,0,0,0), 'Out', 'Quad', 0.5, true)
- dark.BackgroundTransparency = 0.2
- wait(0.05)
- dark.BackgroundTransparency = 0.3
- wait(0.05)
- dark.BackgroundTransparency = 0.4
- wait(0.05)
- dark.BackgroundTransparency = 0.5
- wait(0.05)
- dark.BackgroundTransparency = 0.6
- wait(0.05)
- dark.BackgroundTransparency = 0.7
- wait(0.05)
- dark.BackgroundTransparency = 0.8
- wait(0.05)
- dark.BackgroundTransparency = 0.9
- wait(0.05)
- dark.BackgroundTransparency = 1
- menuf.BorderSizePixel = 0
- homeb.Text = ("")
- locala.Text = ("")
- end
- end)
- oc.MouseEnter:connect(function()
- oc.BackgroundColor3 = Color3.new(0.5,1,0.5)
- end)
- oc.MouseLeave:connect(function()
- oc.BackgroundColor3 = Color3.fromRGB(30,30,30)
- end)
- local open = true
- oc.MouseButton1Click:connect(function()
- if open == true then
- open = false
- dragbar.Visible = false
- oc.Text = ("Open")
- elseif open == false then
- open = true
- dragbar.Visible = true
- oc.Text = ("Close")
- end
- end)
- phaxx.MouseEnter:connect(function()
- phaxx.BackgroundColor3 = Color3.new(0.5,1,0.5)
- end)
- phaxx.MouseLeave:connect(function()
- phaxx.BackgroundColor3 = Color3.fromRGB(30,30,30)
- end)
- phaxx.MouseButton1Click:connect(function()
- loadstring(game:HttpGet("https://pastebin.com/raw/5HWztjUp", true))()
- end)
- login.MouseEnter:connect(function()
- login.BackgroundColor3 = Color3.new(0.5,1,0.5)
- end)
- login.MouseLeave:connect(function()
- login.BackgroundColor3 = Color3.fromRGB(30,30,30)
- end)
- local keyy = "test"
- login.MouseButton1Click:connect(function()
- if key.Text == keyy then
- hubsg.Enabled = true
- main:Remove()
- else
- wrong.Visible = true
- wait(2)
- wrong.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement