Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Lib = {}
- local FutureUI = Instance.new("ScreenGui")
- FutureUI.Name = "Future UI"
- FutureUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- FutureUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- FutureUI.ResetOnSpawn = false
- local Logos = Instance.new("ImageLabel")
- Logos.Name = "Logos"
- Logos.Parent = FutureUI
- Logos.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Logos.BackgroundTransparency = 1.000
- Logos.Size = UDim2.new(0, 176, 0, 101)
- Logos.Visible = true
- Logos.Image = "http://www.roblox.com/asset/?id=4832322413"
- local am = 0
- for i = 1,10 do
- Logos.ImageTransparency = am
- am = am + 0.1
- wait(0.05)
- end
- Logos.Visible = false
- wait(0.2)
- local Title_2 = Instance.new("TextLabel")
- Title_2.Name = "Title"
- Title_2.Parent = FutureUI
- Title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title_2.BackgroundTransparency = 1.000
- Title_2.Size = UDim2.new(0, 120, 0, 18)
- Title_2.Font = Enum.Font.GothamBold
- Title_2.Text = "Future v ROBLOX"
- Title_2.TextColor3 = Color3.fromRGB(169, 37, 39)
- Title_2.TextScaled = true
- Title_2.TextSize = 14.000
- Title_2.TextWrapped = true
- function Lib:CreateWindow(name)
- wait(0.6)
- local pos = 0.015
- local get = FutureUI:GetChildren()
- if FutureUI:FindFirstChild("MContainer") ~= nil then -- checking if there is already a menu
- for i = 1, #get do
- pos = pos + 0.125
- end
- else
- pos = 0.015
- end
- local MContainer = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local ImageButton = Instance.new("ImageButton")
- local Container = Instance.new("Frame")
- local UIListLayout_2 = Instance.new("UIListLayout")
- MContainer.Name = "MContainer"
- MContainer.Parent = FutureUI
- MContainer.BackgroundColor3 = Color3.fromRGB(194, 42, 45)
- MContainer.Position = UDim2.new(pos, 0, 0.0256776027, 0)
- MContainer.Size = UDim2.new(0, 150, 0, 26)
- Title.Name = "Title"
- Title.Parent = MContainer
- Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title.BackgroundTransparency = 1.000
- Title.Size = UDim2.new(0.800000012, 0, 1, 0)
- Title.Font = Enum.Font.GothamBold
- Title.Text = "Exploiting is fun"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextScaled = true
- Title.TextSize = 14.000
- Title.TextWrapped = true
- Title.TextXAlignment = Enum.TextXAlignment.Left
- ImageButton.Parent = MContainer
- ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageButton.BackgroundTransparency = 1.000
- ImageButton.BorderSizePixel = 0
- ImageButton.Position = UDim2.new(0.800000012, 0, 0, 0)
- ImageButton.Size = UDim2.new(0, 30, 0, 26)
- ImageButton.Image = "http://www.roblox.com/asset/?id=4832349921"
- ImageButton.ScaleType = Enum.ScaleType.Fit
- Container.Name = "Container"
- Container.Parent = MContainer
- Container.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
- Container.BackgroundTransparency = 0.600
- Container.Position = UDim2.new(0, 0, 1, 0)
- Container.Size = UDim2.new(0, 150, 0, 0)
- Container.ClipsDescendants = true
- UIListLayout_2.Parent = Container
- UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
- local N00B = {}
- function N00B:Hack(name,option,callback)
- callback = callback or function() end
- local Button = Instance.new("TextButton")
- Button.Name = "Button"
- Button.Parent = Container
- Button.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
- Button.BackgroundTransparency = 0.600
- Button.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Button.Size = UDim2.new(0, 150, 0, 26)
- Button.Font = Enum.Font.SourceSansSemibold
- Button.TextColor3 = Color3.fromRGB(255, 255, 255)
- Button.TextScaled = true
- Button.TextSize = 14.000
- Button.TextWrapped = true
- Button.TextXAlignment = Enum.TextXAlignment.Left
- Button.Text = name
- Container.Size.Y.Offset = Container.Size.Y.Offset + Button.Size.Y.Offset
- local togg = 0
- Button.MouseButton1Click:Connect(function()
- if option == "Toggle" then
- if togg == 0 then
- togg = 1
- Button.BackgroundColor3 = Color3.fromRGB(194, 42, 45)
- Button.BackgroundTransparency = 0.4
- callback()
- else
- togg = 0
- Button.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
- Button.BackgroundTransparency = 0.6
- end
- elseif option == "Button" then
- Button.BackgroundColor3 = Color3.fromRGB(194, 42, 45)
- local tim = 1
- for i = 1,10 do
- wait(0.005)
- Button.BackgroundTransparency = tim
- tim = tim - 0.1
- end
- callback()
- for i = 1,10 do
- wait(0.005)
- Button.BackgroundTransparency = tim
- tim = tim + 0.1
- end
- for i = 1,4 do
- wait(0.005)
- Button.BackgroundTransparency = tim
- tim = tim - 0.1
- end
- Button.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
- end
- end)
- local op = true
- local rot = 180
- local save = Container.Size
- ImageButton.MouseButton1Click:Connect(function()
- if op == false then
- op = true
- for i = 1,45 do
- wait(0.01)
- ImageButton.Rotation = rot
- rot = rot + 4
- end
- Container:TweenSize(save, "Out", 4,0.5,false,nil)
- else
- op = false
- for i = 1,45 do
- wait(0.01)
- ImageButton.Rotation = rot
- rot = rot - 4
- end
- Container:TweenSize(UDim2.new(0,150,0,0), "In", 4,0.5,false,nil)
- end
- end)
- end
- return N00B;
- end
- return Lib;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement