Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- // Made by Jake, The One and Only
- -- [[ Initialization ]] --
- print("---------------------------------------------")
- print("[LVX1] - Loading User Interface...")
- print("[LVX1] - Preparing external callbacks...")
- print("---------------------------------------------")
- print("[LVX1] - Successfully loaded!")
- print("---------------------------------------------")
- -- [[ Variable Storage ]] --
- local Player = game.Players.LocalPlayer
- local PlayerGUI = Player:WaitForChild("PlayerGui")
- -- Will resume variable storage after UI has been inserted.
- -- [[ Code ]] --
- function CreateUserInterface()
- local Interface = Instance.new("ScreenGui", PlayerGUI)
- Interface.Name = "LVX1_UserInterface"
- local CreditsPage = Instance.new("Frame", Interface)
- CreditsPage.Name = "Core_CreditsPage"
- CreditsPage.Size = UDim2.new(0, 300, 0, 200)
- CreditsPage.Position = UDim2.new(0.5, -150, 1, 0)
- CreditsPage.BackgroundColor3 = Color3.new(225/255, 225/255, 225/255)
- CreditsPage.BorderSizePixel = 0
- local Credits_HeaderRibbon = Instance.new("Frame", CreditsPage)
- Credits_HeaderRibbon.Name = "HeaderRibbon"
- Credits_HeaderRibbon.Size = UDim2.new(1, 0, 0, 10)
- Credits_HeaderRibbon.Position = UDim2.new(0, 0, 0, 0)
- Credits_HeaderRibbon.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- Credits_HeaderRibbon.BorderSizePixel = 0
- local Credits_NoticeLabel = Instance.new("TextLabel", CreditsPage)
- Credits_NoticeLabel.Name = "NoticeLabel"
- Credits_NoticeLabel.Size = UDim2.new(1, -20, 1, -30)
- Credits_NoticeLabel.Position = UDim2.new(0, 10, 0, 20)
- Credits_NoticeLabel.BackgroundTransparency = 1
- Credits_NoticeLabel.BorderSizePixel = 0
- Credits_NoticeLabel.TextColor3 = Color3.new(50/255, 50/255, 50/255)
- Credits_NoticeLabel.Font = "SourceSansBold"
- Credits_NoticeLabel.FontSize = "Size24"
- Credits_NoticeLabel.Text = "LVX-1 was created by Barry Allen with help from Kylie. Do not attempt to claim this as your own. Rememeber to not sell or share your whitelist to prevent being blacklisted."
- Credits_NoticeLabel.TextWrapped = true
- local LoginPage = Instance.new("Frame", Interface)
- LoginPage.Name = "Core_LoginPage"
- LoginPage.Size = UDim2.new(0, 500, 0, 300)
- LoginPage.Position = UDim2.new(0.5, -250, 1, 0)
- LoginPage.BackgroundColor3 = Color3.new(225/255, 225/255, 225/255)
- LoginPage.BorderSizePixel = 0
- local Login_HeaderRibbon = Instance.new("Frame", LoginPage)
- Login_HeaderRibbon.Name = "HeaderRibbon"
- Login_HeaderRibbon.Size = UDim2.new(1, 0, 0, 30)
- Login_HeaderRibbon.Position = UDim2.new(0, 0, 0, 0)
- Login_HeaderRibbon.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- Login_HeaderRibbon.BorderSizePixel = 0
- local Login_HeaderRibbon_HeadingLabel = Instance.new("TextLabel", Login_HeaderRibbon)
- Login_HeaderRibbon_HeadingLabel.Name = "HeadingLabel"
- Login_HeaderRibbon_HeadingLabel.Size = UDim2.new(1, -10, 1, 0)
- Login_HeaderRibbon_HeadingLabel.Position = UDim2.new(0, 10, 0, 0)
- Login_HeaderRibbon_HeadingLabel.BackgroundTransparency = 1
- Login_HeaderRibbon_HeadingLabel.BorderSizePixel = 0
- Login_HeaderRibbon_HeadingLabel.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- Login_HeaderRibbon_HeadingLabel.Font = "SourceSansBold"
- Login_HeaderRibbon_HeadingLabel.FontSize = "Size18"
- Login_HeaderRibbon_HeadingLabel.Text = "LVX-1"
- Login_HeaderRibbon.HeadingLabel.TextXAlignment = "Left"
- local UsernameBox = Instance.new("TextBox", LoginPage)
- UsernameBox.Name = "UsernameBox"
- UsernameBox.Size = UDim2.new(0, 200, 0, 40)
- UsernameBox.Position = UDim2.new(0.5, -100, 0.5, -60)
- UsernameBox.BorderSizePixel = 0
- UsernameBox.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- UsernameBox.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- UsernameBox.Font = "SourceSansBold"
- UsernameBox.FontSize = "Size24"
- UsernameBox.Text = "Username"
- local PasswordBox = Instance.new("TextBox", LoginPage)
- PasswordBox.Name = "PasswordBox"
- PasswordBox.Size = UDim2.new(0, 200, 0, 40)
- PasswordBox.Position = UDim2.new(0.5, -100, 0.5, 0)
- PasswordBox.BorderSizePixel = 0
- PasswordBox.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- PasswordBox.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- PasswordBox.Font = "SourceSansBold"
- PasswordBox.FontSize = "Size24"
- PasswordBox.Text = "Password"
- local LoginButton = Instance.new("TextButton", LoginPage)
- LoginButton.Name = "LoginButton"
- LoginButton.Size = UDim2.new(0, 120, 0, 30)
- LoginButton.Position = UDim2.new(0.5, -60, 0.5, 60)
- LoginButton.BorderSizePixel = 0
- LoginButton.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- LoginButton.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- LoginButton.Font = "SourceSansBold"
- LoginButton.FontSize = "Size18"
- LoginButton.Text = "Login"
- local MenuPage = Instance.new("Frame", Interface)
- MenuPage.Name = "Core_MenuPage"
- MenuPage.Size = UDim2.new(0, 500, 0, 300)
- MenuPage.Position = UDim2.new(0.5, -250, 1, 0)
- MenuPage.BackgroundColor3 = Color3.new(225/255, 225/255, 225/255)
- MenuPage.BorderSizePixel = 0
- MenuPage.ClipsDescendants = true
- MenuPage.Active = true
- MenuPage.Draggable = true
- local Menu_HeaderRibbon = Instance.new("Frame", MenuPage)
- Menu_HeaderRibbon.Name = "HeaderRibbon"
- Menu_HeaderRibbon.Size = UDim2.new(1, 0, 0, 30)
- Menu_HeaderRibbon.Position = UDim2.new(0, 0, 0, 0)
- Menu_HeaderRibbon.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- Menu_HeaderRibbon.BorderSizePixel = 0
- local Menu_HeaderRibbon_HeadingLabel = Instance.new("TextLabel", Menu_HeaderRibbon)
- Menu_HeaderRibbon_HeadingLabel.Name = "HeadingLabel"
- Menu_HeaderRibbon_HeadingLabel.Size = UDim2.new(1, -10, 1, 0)
- Menu_HeaderRibbon_HeadingLabel.Position = UDim2.new(0, 10, 0, 0)
- Menu_HeaderRibbon_HeadingLabel.BackgroundTransparency = 1
- Menu_HeaderRibbon_HeadingLabel.BorderSizePixel = 0
- Menu_HeaderRibbon_HeadingLabel.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- Menu_HeaderRibbon_HeadingLabel.Font = "SourceSansBold"
- Menu_HeaderRibbon_HeadingLabel.FontSize = "Size18"
- Menu_HeaderRibbon_HeadingLabel.Text = "LVX-1"
- Menu_HeaderRibbon.HeadingLabel.TextXAlignment = "Left"
- local MinimizePage = Instance.new("TextButton", Menu_HeaderRibbon)
- MinimizePage.Name = "MinimizePage"
- MinimizePage.Size = UDim2.new(0, 30, 0, 30)
- MinimizePage.Position = UDim2.new(1, -40, 0, 0)
- MinimizePage.BorderSizePixel = 0
- MinimizePage.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- MinimizePage.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- MinimizePage.Font = "SourceSansBold"
- MinimizePage.FontSize = "Size28"
- MinimizePage.Text = "-"
- local Page_Buttons = Instance.new("Frame", MenuPage)
- Page_Buttons.Name = "Page_Buttons"
- Page_Buttons.Size = UDim2.new(1, 0, 1, -30)
- Page_Buttons.Position = UDim2.new(0, 0, 0, 30)
- Page_Buttons.BackgroundTransparency = 1
- Page_Buttons.BorderSizePixel = 0
- local AddCash = Instance.new("TextButton", Page_Buttons)
- AddCash.Name = "AddCash"
- AddCash.Size = UDim2.new(0, 120, 0, 30)
- AddCash.Position = UDim2.new(0.5, -210, 0, 20)
- AddCash.BorderSizePixel = 0
- AddCash.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- AddCash.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- AddCash.Font = "SourceSansBold"
- AddCash.FontSize = "Size18"
- AddCash.Text = "Add Cash"
- local GetWeapon = Instance.new("TextButton", Page_Buttons)
- GetWeapon.Name = "GetWeapon"
- GetWeapon.Size = UDim2.new(0, 120, 0, 30)
- GetWeapon.Position = UDim2.new(0.5, -210, 0, 20)
- GetWeapon.BorderSizePixel = 0
- GetWeapon.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- GetWeapon.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- GetWeapon.Font = "SourceSansBold"
- GetWeapon.FontSize = "Size18"
- GetWeapon.Text = "Get Weapon"
- GetWeapon.Visible = false
- local Page_Cash = Instance.new("Frame", MenuPage)
- Page_Cash.Name = "Page_Cash"
- Page_Cash.Size = UDim2.new(1, 0, 1, -30)
- Page_Cash.Position = UDim2.new(0, 0, 1, 0)
- Page_Cash.BackgroundTransparency = 1
- Page_Cash.BorderSizePixel = 0
- local HeadingLabel = Instance.new("TextLabel", Page_Cash)
- HeadingLabel.Name = "HeadingLabel"
- HeadingLabel.Size = UDim2.new(1, 0, 0, 40)
- HeadingLabel.Position = UDim2.new(0, 0, 0, 5)
- HeadingLabel.BackgroundTransparency = 1
- HeadingLabel.BorderSizePixel = 0
- HeadingLabel.TextColor3 = Color3.new(50/255, 50/255, 50/255)
- HeadingLabel.Font = "SourceSansBold"
- HeadingLabel.FontSize = "Size28"
- HeadingLabel.Text = "Cash Adder"
- local CashAmount = Instance.new("TextBox", Page_Cash)
- CashAmount.Name = "CashAmount"
- CashAmount.Size = UDim2.new(0, 200, 0, 30)
- CashAmount.Position = UDim2.new(0.5, -100, 0.5, -45)
- CashAmount.BackgroundTransparency = 1
- CashAmount.BorderSizePixel = 0
- CashAmount.TextColor3 = Color3.new(50/255, 50/255, 50/255)
- CashAmount.Font = "SourceSansBold"
- CashAmount.FontSize = "Size18"
- CashAmount.Text = "Amount"
- local CashAmount_BorderRibbon = Instance.new("Frame", CashAmount)
- CashAmount_BorderRibbon.Name = "BorderRibbon"
- CashAmount_BorderRibbon.Size = UDim2.new(1, 0, 0, 3)
- CashAmount_BorderRibbon.Position = UDim2.new(0, 0, 1, 5)
- CashAmount_BorderRibbon.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- CashAmount_BorderRibbon.BorderSizePixel = 0
- local Cash_Execute = Instance.new("TextButton", Page_Cash)
- Cash_Execute.Name = "Execute"
- Cash_Execute.Size = UDim2.new(0, 120, 0, 30)
- Cash_Execute.Position = UDim2.new(0.5, -60, 0.5, 30)
- Cash_Execute.BorderSizePixel = 0
- Cash_Execute.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- Cash_Execute.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- Cash_Execute.Font = "SourceSansBold"
- Cash_Execute.FontSize = "Size18"
- Cash_Execute.Text = "Execute"
- local Cash_Previous = Instance.new("TextButton", Page_Cash)
- Cash_Previous.Name = "PreviousPage"
- Cash_Previous.Size = UDim2.new(0, 30, 0, 30)
- Cash_Previous.Position = UDim2.new(0, 10, 1, -40)
- Cash_Previous.BorderSizePixel = 0
- Cash_Previous.BackgroundColor3 = Color3.new(50/255, 50/255, 50/255)
- Cash_Previous.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- Cash_Previous.Font = "SourceSansBold"
- Cash_Previous.FontSize = "Size24"
- Cash_Previous.Text = "<"
- end
- CreateUserInterface()
- -- [[ Variable Storage | Cont. ]] --
- local UserInterface = PlayerGUI:WaitForChild("LVX1_UserInterface")
- local CreditsPage = UserInterface:WaitForChild("Core_CreditsPage")
- local LoginPage = UserInterface:WaitForChild("Core_LoginPage")
- local MenuPage = UserInterface:WaitForChild("Core_MenuPage")
- local UsernameBox = LoginPage:WaitForChild("UsernameBox")
- local PasswordBox = LoginPage:WaitForChild("PasswordBox")
- local LoginButton = LoginPage:WaitForChild("LoginButton")
- local ButtonsPage = MenuPage:WaitForChild("Page_Buttons")
- local AddCash = ButtonsPage:WaitForChild("AddCash")
- local CashPage = MenuPage:WaitForChild("Page_Cash")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local Events = ReplicatedStorage:WaitForChild("Events")
- local Whitelist = {
- {"Jake", "hershey26"},
- {"Kylie", "pussydestroyer69"},
- {"hotshotqq", "omneypixel123"}
- }
- -- [[ Code | Cont. ]] --
- function FindButtons(Root)
- for _,v in pairs(Root:GetChildren()) do
- if v:IsA("TextButton") then
- v.MouseButton1Down:connect(function()
- local Sound = Instance.new("Sound", Player)
- Sound.Name = "ClickEffect"
- Sound.SoundId = "rbxassetid://266319270"
- Sound.Volume = 1
- Sound:Play()
- wait(0.5)
- Sound:Destroy()
- end)
- end
- FindButtons(v)
- end
- end
- FindButtons(UserInterface)
- --------------------------------------------------
- LoginPage:TweenPosition(UDim2.new(0.5, -250, 0.5, -150), "Out", "Sine", 0.5)
- function LoginVerified(Username, Password)
- for _,v in pairs(Whitelist) do
- if v[1] == Username and v[2] == Password then
- return true
- end
- end
- return false
- end
- LoginButton.MouseButton1Down:connect(function()
- if LoginVerified(UsernameBox.Text, PasswordBox.Text) then
- LoginPage:TweenPosition(UDim2.new(0.5, -250, 1, 0), "Out", "Sine", 0.5)
- CreditsPage:TweenPosition(UDim2.new(0.5, -150, 0.5, -100), "Out", "Sine", 0.5)
- wait(3)
- CreditsPage:TweenPosition(UDim2.new(0.5, -150, 1, 0), "Out", "Sine", 0.5)
- MenuPage:TweenPosition(UDim2.new(0.5, -250, 0.5, -150), "Out", "Sine", 0.5)
- else
- UsernameBox.TextColor3 = Color3.new(255/255, 0/255, 0/255)
- PasswordBox.TextColor3 = Color3.new(255/255, 0/255, 0/255)
- UsernameBox.Text = "Incorrect"
- PasswordBox.Text = "Incorrect"
- wait(0.5)
- UsernameBox.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- PasswordBox.TextColor3 = Color3.new(225/255, 225/255, 225/255)
- UsernameBox.Text = "Username"
- PasswordBox.Text = "Password"
- end
- end)
- --------------------------------------------------
- AddCash.MouseButton1Down:connect(function()
- ButtonsPage:TweenPosition(UDim2.new(0, 0, 1, 0), "Out", "Sine", 0.25)
- CashPage:TweenPosition(UDim2.new(0, 0, 0, 30), "Out", "Sine", 0.25)
- end)
- CashPage.Execute.MouseButton1Down:connect(function()
- if tonumber(CashPage.CashAmount.Text) then
- if tonumber(CashPage.CashAmount.Text) > 300000 then return end
- if tonumber(CashPage.CashAmount.Text) <= 0 then return end
- Events.GuiHandler:FireServer(true, "BlackJack")
- Events.MoneyRequest:FireServer(tonumber(CashPage.CashAmount.Text), "Money")
- wait()
- Events.GuiHandler:FireServer(false, "BlackJack")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement