Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Main GUI Script using Custom Linoria Library
- -- Modular structure with modern, colorful, and futuristic design
- local HttpService = game:GetService("HttpService")
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local UserInputService = game:GetService("UserInputService")
- -- Configuration
- local CONFIG_PATH = "LinoriaGUI_Config.json"
- local API_URL = "https://pastebin.com/raw/YourPastebinLink" -- Replace with your Pastebin URL
- local GUI_NAME = "FuturisticLinoriaGUI"
- -- Initialize Custom Linoria Library
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/wally-rblx/LinoriaLib/main/Library.lua"))()
- local ThemeManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/wally-rblx/LinoriaLib/main/addons/ThemeManager.lua"))()
- local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/wally-rblx/LinoriaLib/main/addons/SaveManager.lua"))()
- -- Custom Modified Theme with Futuristic Effects
- local CustomThemes = {
- Dark = {
- MainFrame = Color3.fromRGB(20, 20, 30),
- Accent = Color3.fromRGB(0, 170, 255),
- Text = Color3.fromRGB(255, 255, 255),
- Shadow = Color3.fromRGB(0, 0, 0),
- Glow = Color3.fromRGB(0, 255, 255)
- },
- Light = {
- MainFrame = Color3.fromRGB(240, 240, 245),
- Accent = Color3.fromRGB(100, 200, 255),
- Text = Color3.fromRGB(0, 0, 0),
- Shadow = Color3.fromRGB(50, 50, 50),
- Glow = Color3.fromRGB(150, 255, 255)
- }
- }
- -- Key System Module
- local KeySystem = {}
- function KeySystem:Initialize()
- local success, result = pcall(function()
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = GUI_NAME .. "_KeySystem"
- ScreenGui.Parent = game.CoreGui
- ScreenGui.IgnoreGuiInset = true
- local MainFrame = Instance.new("Frame")
- MainFrame.Size = UDim2.new(0, 300, 0, 200)
- MainFrame.Position = UDim2.new(0.5, -150, 0.5, -100)
- MainFrame.BackgroundColor3 = CustomThemes.Dark.MainFrame
- MainFrame.BackgroundTransparency = 0.2
- MainFrame.Parent = ScreenGui
- MainFrame.ClipsDescendants = true
- -- Futuristic Effects
- local UICorner = Instance.new("UICorner")
- UICorner.CornerRadius = UDim.new(0, 12)
- UICorner.Parent = MainFrame
- local Glow = Instance.new("UIStroke")
- Glow.Thickness = 2
- Glow.Color = CustomThemes.Dark.Glow
- Glow.Transparency = 0.5
- Glow.Parent = MainFrame
- local Shadow = Instance.new("UIStroke")
- Shadow.Thickness = 4
- Shadow.Color = CustomThemes.Dark.Shadow
- Shadow.Transparency = 0.7
- Shadow.Parent = MainFrame
- local KeyInput = Library:CreateTextBox({
- Title = "Enter Key",
- Placeholder = "Paste your key here...",
- Parent = MainFrame,
- Position = UDim2.new(0.5, -100, 0.4, 0),
- Size = UDim2.new(0, 200, 0, 30)
- })
- local SubmitButton = Library:CreateButton({
- Title = "Verify Key",
- Parent = MainFrame,
- Position = UDim2.new(0.5, -50, 0.7, 0),
- Size = UDim2.new(0, 100, 0, 30),
- Callback = function()
- local success, response = pcall(function()
- local key = KeyInput.Value
- local validKeys = HttpService:JSONDecode(game:HttpGet(API_URL))
- if table.find(validKeys, key) then
- ScreenGui:Destroy()
- MainGUI:Initialize()
- else
- Library:Notify("Invalid Key!", 3)
- end
- end)
- if not success then
- Library:Notify("Error verifying key: " .. tostring(response), 3)
- end
- end
- })
- -- Animation
- local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
- MainFrame.Position = UDim2.new(0.5, -150, 0.3, -100)
- TweenService:Create(MainFrame, tweenInfo, {Position = UDim2.new(0.5, -150, 0.5, -100)}):Play()
- end)
- if not success then
- Library:Notify("Error initializing KeySystem: " .. tostring(result), 5)
- end
- end
- -- Main GUI Module
- local MainGUI = {}
- function MainGUI:Initialize()
- local success, result = pcall(function()
- local Window = Library:CreateWindow({
- Title = GUI_NAME,
- Center = true,
- AutoShow = true,
- Size = UDim2.new(0, 600, 0, 400)
- })
- -- Apply Futuristic Styling
- local MainFrame = Window.MainFrame
- MainFrame.BackgroundTransparency = 0.1
- local UICorner = Instance.new("UICorner")
- UICorner.CornerRadius = UDim.new(0, 12)
- UICorner.Parent = MainFrame
- local Glow = Instance.new("UIStroke")
- Glow.Thickness = 2
- Glow.Color = CustomThemes.Dark.Glow
- Glow.Transparency = 0.5
- Glow.Parent = MainFrame
- -- Tabs
- local Tabs = {
- Main = Window:AddTab("Main"),
- Teleport = Window:AddTab("Teleport"),
- Combat = Window:AddTab("Combat"),
- Misc = Window:AddTab("Misc")
- }
- -- Main Tab
- local MainGroup = Tabs.Main:AddLeftGroupbox("Main Features")
- MainGroup:AddToggle("AutoFarm", {
- Text = "Auto Farm",
- Default = false,
- Callback = function(state)
- pcall(function()
- -- Add your auto farm logic here
- Library:Notify("Auto Farm: " .. (state and "Enabled" or "Disabled"), 2)
- end)
- end
- })
- -- Teleport Tab
- local TeleportGroup = Tabs.Teleport:AddLeftGroupbox("Teleport Options")
- TeleportGroup:AddDropdown("TeleportLocations", {
- Text = "Select Location",
- Values = {"Spawn", "Safe Zone", "Boss Area"},
- Default = 1,
- Callback = function(value)
- pcall(function()
- local player = Players.LocalPlayer
- local locations = {
- Spawn = Vector3.new(0, 5, 0),
- ["Safe Zone"] = Vector3.new(100, 5, 100),
- ["Boss Area"] = Vector3.new(200, 5, 200)
- }
- player.Character.HumanoidRootPart.CFrame = CFrame.new(locations[value])
- Library:Notify("Teleported to " .. value, 2)
- end)
- end
- })
- -- Combat Tab
- local CombatGroup = Tabs.Combat:AddLeftGroupbox("Combat Features")
- CombatGroup:AddToggle("KillAura", {
- Text = "Kill Aura",
- Default = false,
- Callback = function(state)
- pcall(function()
- -- Add kill aura logic here
- Library:Notify("Kill Aura: " .. (state and "Enabled" or "Disabled"), 2)
- end)
- end
- })
- -- Misc Tab
- local MiscGroup = Tabs.Misc:AddLeftGroupbox("Miscellaneous")
- local ColorPicker = MiscGroup:AddColorPicker("AccentColor", {
- Text = "Accent Color",
- Default = CustomThemes.Dark.Accent,
- Callback = function(color)
- pcall(function()
- ThemeManager:SetCustomTheme({Accent = color})
- Library:Notify("Accent color updated!", 2)
- end)
- end
- })
- local ThemeDropdown = MiscGroup:AddDropdown("ThemeSelector", {
- Text = "Select Theme",
- Values = {"Dark", "Light"},
- Default = 1,
- Callback = function(theme)
- pcall(function()
- ThemeManager:SetCustomTheme(CustomThemes[theme])
- Library:Notify("Theme switched to " .. theme, 2)
- end)
- end
- })
- -- Save/Load Config
- SaveManager:SetLibrary(Library)
- SaveManager:BuildConfigSection(Tabs.Misc)
- -- Auto-Hide on Death
- local function checkPlayerDeath()
- local player = Players.LocalPlayer
- if player.Character and player.Character:FindFirstChild("Humanoid") then
- local humanoid = player.Character.Humanoid
- humanoid.Died:Connect(function()
- pcall(function()
- Window:Hide()
- humanoid.HealthChanged:Wait()
- Window:Show()
- end)
- end)
- end
- end
- Players.LocalPlayer.CharacterAdded:Connect(checkPlayerDeath)
- checkPlayerDeath()
- -- Responsive Design
- local function adjustForResolution()
- local viewportSize = game.Workspace.CurrentCamera.ViewportSize
- local scale = math.min(viewportSize.X / 1920, viewportSize.Y / 1080)
- MainFrame.Size = UDim2.new(0, 600 * scale, 0, 400 * scale)
- end
- game.Workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(adjustForResolution)
- adjustForResolution()
- -- Animated Transitions
- local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
- MainFrame.Position = UDim2.new(0.5, -300, 0.3, -200)
- TweenService:Create(MainFrame, tweenInfo, {Position = UDim2.new(0.5, -300, 0.5, -200)}):Play()
- end)
- if not success then
- Library:Notify("Error initializing GUI: " .. tostring(result), 5)
- end
- end
- -- Initialize GUI
- local function init()
- local success, result = pcall(function()
- KeySystem:Initialize()
- ThemeManager:SetLibrary(Library)
- ThemeManager:ApplyTheme("Dark")
- SaveManager:LoadAutoloadConfig()
- end)
- if not success then
- Library:Notify("Error starting GUI: " .. tostring(result), 5)
- end
- end
- init()
Advertisement
Add Comment
Please, Sign In to add comment