0% found this document useful (0 votes)
16 views19 pages

DarkForge Fly System V2.0 Overview

The DarkForge Fly System V2.0 is a premium loading interface designed for Roblox, featuring a dark theme and various interactive elements. It includes a progress bar, buttons for joining a Discord server and copying an invite link, and animations for user interaction. The system also provides notifications and a safe method for copying the Discord invite link to the clipboard.

Uploaded by

mrjv553
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views19 pages

DarkForge Fly System V2.0 Overview

The DarkForge Fly System V2.0 is a premium loading interface designed for Roblox, featuring a dark theme and various interactive elements. It includes a progress bar, buttons for joining a Discord server and copying an invite link, and animations for user interaction. The system also provides notifications and a safe method for copying the Discord invite link to the clipboard.

Uploaded by

mrjv553
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

-- DarkForge Fly System V2.

0 - Tema Dark Premium


local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = [Link]
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

-- ====== CONFIGURAÇÃO DO TEMA DARK ======


local CONFIG = {
Title = "DARKFORGE FLY SYSTEM",
Subtitle = "Carregando recursos — Versão 2.0",
DiscordInvite = "[Link] -- NOVO LINK DO DISCORD
AutoCopyInvite = true,
Width = 450,
Height = 250,
AccentColor = [Link](148, 0, 211),
DarkAccent = [Link](128, 0, 191),
BackgroundColor = [Link](15, 15, 15),
BorderColor = [Link](60, 60, 60),
TextColor = [Link](220, 220, 220),
ProgressTime = 3.5,
FadeTime = 0.4,
}

-- ====== FUNÇÕES AUXILIARES ======


local function safeCall(fn, ...)
local ok, res = pcall(fn, ...)
if not ok then
warn("DarkForgeLoader: Erro seguro:", res)
end
return ok, res
end

-- Função segura para copiar para área de transferência


local function safeCopyToClipboard(text)
local success = false

-- Tenta diferentes métodos de cópia


if setclipboard then
success = pcall(function()
setclipboard(text)
end)
end

-- Método alternativo para alguns executores


if not success and writeclipboard then
success = pcall(function()
writeclipboard(text)
end)
end

-- Método alternativo 2
if not success and toclipboard then
success = pcall(function()
toclipboard(text)
end)
end
return success
end

local function Create(class, props)


local obj = [Link](class)
if props then
for k,v in pairs(props) do
if type(k) == "string" then
obj[k] = v
end
end
end
return obj
end

-- Remove gui antigo se existir


for _,g in ipairs(PlayerGui:GetChildren()) do
if [Link] == "DarkForgeLoaderV2" then
safeCall(function() g:Destroy() end)
end
end

-- ====== TELA DE CARREGAMENTO PREMIUM ======


local screenGui = Create("ScreenGui", {
Name = "DarkForgeLoaderV2",
ResetOnSpawn = false,
ZIndexBehavior = [Link],
})
[Link] = PlayerGui

-- Fundo escuro fullscreen


local background = Create("Frame", {
Name = "Background",
Parent = screenGui,
Size = [Link](1, 0, 1, 0),
BackgroundColor3 = [Link](5, 5, 5),
BorderSizePixel = 0,
})

-- Container principal
local frame = Create("Frame", {
Name = "MainFrame",
Parent = screenGui,
Size = [Link](0, [Link], 0, [Link]),
Position = [Link](0.5, -[Link]/2, 0.5, -[Link]/2),
BackgroundColor3 = [Link],
BorderColor3 = [Link],
BorderSizePixel = 2,
Active = true,
Draggable = true,
})
local corner = Create("UICorner", {Parent = frame, CornerRadius = [Link](0,12)})

-- Efeito de brilho
local glow = Create("Frame", {
Parent = frame,
Size = [Link](1, 10, 1, 10),
Position = [Link](-0.025, 0, -0.025, 0),
BackgroundColor3 = [Link],
BackgroundTransparency = 0.95,
BorderSizePixel = 0,
ZIndex = -1,
})
local glowCorner = Create("UICorner", {Parent = glow, CornerRadius =
[Link](0,16)})

-- Header
local header = Create("Frame", {
Parent = frame,
Size = [Link](1, 0, 0, 80),
BackgroundTransparency = 1,
})
local title = Create("TextLabel", {
Parent = header,
Size = [Link](1, -20, 0, 40),
Position = [Link](0, 10, 0, 10),
BackgroundTransparency = 1,
Text = [Link],
Font = [Link],
TextSize = 24,
TextColor3 = [Link],
TextStrokeTransparency = 0.7,
})
local subtitle = Create("TextLabel", {
Parent = header,
Size = [Link](1, -20, 0, 30),
Position = [Link](0, 10, 0, 50),
BackgroundTransparency = 1,
Text = [Link],
Font = [Link],
TextSize = 14,
TextColor3 = [Link],
})

-- Barra de progresso
local progressArea = Create("Frame", {
Parent = frame,
Position = [Link](0,20,0,100),
Size = [Link](1, -40, 0, 50),
BackgroundTransparency = 1,
})
local progBg = Create("Frame", {
Parent = progressArea,
Size = [Link](1, 0, 0, 20),
Position = [Link](0,0,0,0),
BackgroundColor3 = [Link](25, 25, 25),
BorderColor3 = [Link],
BorderSizePixel = 1,
})
local progCorner = Create("UICorner", {Parent = progBg, CornerRadius =
[Link](0,8)})
local progFill = Create("Frame", {
Parent = progBg,
Size = [Link](0, 0, 1, 0),
BackgroundColor3 = [Link],
BorderSizePixel = 0,
})
local fillCorner = Create("UICorner", {Parent = progFill, CornerRadius =
[Link](0,8)})
local progText = Create("TextLabel", {
Parent = progressArea,
Size = [Link](1,0,0,30),
Position = [Link](0,0,0,25),
BackgroundTransparency = 1,
Text = "Inicializando DarkForge...",
Font = [Link],
TextSize = 13,
TextColor3 = [Link](150, 150, 150),
})

-- Botões
local buttonsRow = Create("Frame", {
Parent = frame,
Position = [Link](0,20,1,-60),
Size = [Link](1,-40,0,40),
BackgroundTransparency = 1,
})
local joinBtn = Create("TextButton", {
Parent = buttonsRow,
Size = [Link](0.6, -8, 1, 0),
Position = [Link](0,0,0,0),
BackgroundColor3 = [Link],
BorderSizePixel = 0,
Text = "JUNTE-SE AO DISCORD",
Font = [Link],
TextSize = 14,
TextColor3 = [Link](255,255,255),
AutoButtonColor = false,
})
local joinCorner = Create("UICorner", {Parent = joinBtn, CornerRadius =
[Link](0,8)})
local copyBtn = Create("TextButton", {
Parent = buttonsRow,
Size = [Link](0.35, 0, 1, 0),
Position = [Link](0.65, 8, 0, 0),
BackgroundColor3 = [Link](35,35,35),
BorderSizePixel = 0,
Text = "Copiar Link",
Font = [Link],
TextSize = 13,
TextColor3 = [Link],
AutoButtonColor = false,
})
local copyCorner = Create("UICorner", {Parent = copyBtn, CornerRadius =
[Link](0,8)})

-- Label de status do auto-copy


local statusLabel = Create("TextLabel", {
Parent = frame,
Size = [Link](1, -40, 0, 20),
Position = [Link](0, 20, 0, 165),
BackgroundTransparency = 1,
Text = "Aguardando...",
Font = [Link],
TextSize = 11,
TextColor3 = [Link](150, 150, 150),
TextTransparency = 0.7,
})

-- ====== ANIMAÇÕES E LÓGICA ======


local function tween(instance, props, time, style, dir)
local info = [Link](time or [Link], style or
[Link], dir or [Link])
local t = TweenService:Create(instance, info, props)
t:Play()
return t
end

-- Efeitos hover para botões


[Link]:Connect(function()
tween(joinBtn, {BackgroundColor3 = [Link]}, 0.2)
end)
[Link]:Connect(function()
tween(joinBtn, {BackgroundColor3 = [Link]}, 0.2)
end)

[Link]:Connect(function()
tween(copyBtn, {BackgroundColor3 = [Link](50,50,50)}, 0.2)
end)
[Link]:Connect(function()
tween(copyBtn, {BackgroundColor3 = [Link](35,35,35)}, 0.2)
end)

-- Fade in inicial
[Link] = 1
[Link] = 1
tween(background, {BackgroundTransparency = 0}, [Link])
tween(frame, {BackgroundTransparency = 0}, [Link])

-- Sistema de Auto-Copy do Discord


spawn(function()
wait(1.5) -- Aguarda 1.5 segundos antes do auto-copy

if [Link] then
[Link] = "Copiando link do Discord..."
statusLabel.TextColor3 = [Link](255, 255, 0)

local copySuccess = safeCopyToClipboard([Link])

if copySuccess then
[Link] = "✓ Link copiado automaticamente!"
statusLabel.TextColor3 = [Link](0, 255, 0)

-- Feedback visual adicional


tween(joinBtn, {BackgroundColor3 = [Link](0, 200, 83)}, 0.3)
[Link] = "LINK COPIADO!"

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE DISCORD",
Text = "Link copiado automaticamente!",
Duration = 3
})

wait(2)

-- Restaura o botão
tween(joinBtn, {BackgroundColor3 = [Link]}, 0.3)
[Link] = "JUNTE-SE AO DISCORD"
[Link] = "Link pronto para colar!"
statusLabel.TextColor3 = [Link](0, 200, 83)
else
[Link] = "✗ Auto-copy falhou - Clique para copiar"
statusLabel.TextColor3 = [Link](255, 100, 100)

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE DISCORD",
Text = "Clique no botão para copiar o link",
Duration = 3
})
end
end
end)

-- Sequência de carregamento
local loadSteps = {
"Inicializando DarkForge Hub V2.0...",
"Carregando sistemas de voo...",
"Configurando interface dark...",
"Otimizando performance...",
"Verificando compatibilidade...",
"Finalizando carregamento...",
"Pronto para decolar! 🚀"
}

spawn(function()
for i, step in ipairs(loadSteps) do
local progress = i / #loadSteps
[Link] = step

-- Animação suave da barra de progresso


tween(progFill, {Size = [Link](progress, 0, 1, 0)}, 0.8,
[Link], [Link])

-- Efeito de brilho alternado na barra


if i % 2 == 0 then
tween(progFill, {BackgroundColor3 = [Link]}, 0.3)
else
tween(progFill, {BackgroundColor3 = [Link]}, 0.3)
end

wait(0.7)
end

wait(0.5)

-- Fade out suave


for i = 1, 20 do
[Link] = i/20
[Link] = i/20
wait(0.03)
end

screenGui:Destroy()

-- Notificação de sucesso
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE FLY V2.0",
Text = "Sistema carregado! Pressione F para Fly",
Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150",
Duration = 4
})
end)

-- Botão "Junte-se ao Discord"


joinBtn.MouseButton1Click:Connect(function()
safeCall(function()
local copySuccess = safeCopyToClipboard([Link])

if copySuccess then
[Link] = "LINK COPIADO!"
tween(joinBtn, {BackgroundColor3 = [Link](0, 200, 83)}, 0.3)

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE DISCORD",
Text = "Link copiado para a área de transferência!",
Duration = 3
})

wait(2)
[Link] = "JUNTE-SE AO DISCORD"
tween(joinBtn, {BackgroundColor3 = [Link]}, 0.3)
else
-- Se não conseguiu copiar, tenta abrir o link
[Link] = "ABRINDO LINK..."
tween(joinBtn, {BackgroundColor3 = [Link](255, 165, 0)}, 0.3)

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE DISCORD",
Text = "Copie manualmente: " .. [Link],
Duration = 5
})

wait(2)
[Link] = "JUNTE-SE AO DISCORD"
tween(joinBtn, {BackgroundColor3 = [Link]}, 0.3)
end
end)
end)

-- Botão "Copiar Link"


copyBtn.MouseButton1Click:Connect(function()
safeCall(function()
local copySuccess = safeCopyToClipboard([Link])

if copySuccess then
[Link] = "COPIADO!"
tween(copyBtn, {BackgroundColor3 = [Link](0, 200, 83)}, 0.3)

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE DISCORD",
Text = "Link copiado com sucesso!",
Duration = 2
})
wait(2)
[Link] = "Copiar Link"
tween(copyBtn, {BackgroundColor3 = [Link](35,35,35)}, 0.3)
else
[Link] = "ERRO!"
tween(copyBtn, {BackgroundColor3 = [Link](200, 50, 50)}, 0.3)

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "ERRO AO COPIAR",
Text = "Copie manualmente: " .. [Link],
Duration = 5
})

wait(2)
[Link] = "Copiar Link"
tween(copyBtn, {BackgroundColor3 = [Link](35,35,35)}, 0.3)
end
end)
end)

-- ====== SISTEMA DE FLY V2.0 ======


wait([Link] + 1)

-- Aguardar carregamento antes de criar a interface principal


wait(0.5)

-- ========== NOVAS FUNÇÕES DE SEGURANÇA V2.0 ==========


local function getCharacter()
local char = [Link]
if char and char:FindFirstChild("Humanoid") then
return char
end
return nil
end

local function safeHumanoid()


local char = getCharacter()
if char then
return char:FindFirstChildOfClass("Humanoid")
end
return nil
end

-- ========== GUI PRINCIPAL DARKFORGE HUB V2.0 ==========


local main = Create("ScreenGui", {
Name = "DarkForgeHubV2",
ResetOnSpawn = false,
ZIndexBehavior = [Link],
})
[Link] = PlayerGui

-- Cores do tema DarkForge V2.0


local darkBackground = [Link](20, 20, 20)
local darkBorder = [Link](60, 60, 60)
local accentColor = [Link]
local darkAccent = [Link]
local darkButton = [Link](35, 35, 35)
local hoverColor = [Link](50, 50, 50)
local Frame = Create("Frame", {
Parent = main,
BackgroundColor3 = darkBackground,
BorderColor3 = accentColor,
BorderSizePixel = 2,
Position = [Link](0.5, -105, 0.5, -60),
Size = [Link](0, 210, 0, 150),
Active = true,
Draggable = true,
})

-- Adicionar cantos arredondados ao frame principal


local mainCorner = Create("UICorner", {
Parent = Frame,
CornerRadius = [Link](0, 8)
})

-- Efeito de brilho na GUI principal


local mainGlow = Create("Frame", {
Parent = Frame,
Size = [Link](1, 8, 1, 8),
Position = [Link](-0.025, 0, -0.025, 0),
BackgroundColor3 = accentColor,
BackgroundTransparency = 0.95,
BorderSizePixel = 0,
ZIndex = -1,
})
Create("UICorner", {Parent = mainGlow, CornerRadius = [Link](0, 10)})

-- Título do Hub
local TextLabel = Create("TextLabel", {
Parent = Frame,
BackgroundColor3 = darkButton,
BorderColor3 = darkBorder,
Position = [Link](0.05, 0, 0.03, 0),
Size = [Link](0.9, 0, 0, 25),
Font = [Link],
Text = "DARKFORGE V2.0",
TextColor3 = accentColor,
TextScaled = true,
TextSize = 14.000,
TextWrapped = true,
})
Create("UICorner", {Parent = TextLabel, CornerRadius = [Link](0, 6)})

-- Nova Label para informação da tecla F


local keybindInfo = Create("TextLabel", {
Name = "KeybindInfo",
Parent = Frame,
BackgroundColor3 = [Link](30, 30, 30),
BackgroundTransparency = 0.5,
BorderSizePixel = 0,
Position = [Link](0.05, 0, 0.9, 0),
Size = [Link](0.9, 0, 0, 12),
Font = [Link],
Text = "Tecla F: Ativar/Desativar Fly",
TextColor3 = [Link](150, 150, 150),
TextScaled = true,
TextSize = 10.000,
TextWrapped = true,
})
Create("UICorner", {Parent = keybindInfo, CornerRadius = [Link](0, 4)})

-- Botão Discord na GUI principal


local discordBtn = Create("TextButton", {
Name = "DiscordBtn",
Parent = Frame,
BackgroundColor3 = [Link](88, 101, 242),
BorderColor3 = darkBorder,
Position = [Link](0.05, 0, 0.78, 0),
Size = [Link](0.9, 0, 0, 20),
Font = [Link],
Text = "DISCORD",
TextColor3 = [Link](255, 255, 255),
TextSize = 11.000,
AutoButtonColor = false,
})
Create("UICorner", {Parent = discordBtn, CornerRadius = [Link](0, 6)})

discordBtn.MouseButton1Click:Connect(function()
local success = safeCopyToClipboard("[Link]

if success then
[Link] = "LINK COPIADO!"
tween(discordBtn, {BackgroundColor3 = [Link](0, 200, 83)}, 0.3)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE DISCORD",
Text = "Link copiado! Junte-se a nós!",
Duration = 3
})
wait(2)
[Link] = "DISCORD"
tween(discordBtn, {BackgroundColor3 = [Link](88, 101, 242)}, 0.3)
else
[Link] = "ERRO AO COPIAR"
tween(discordBtn, {BackgroundColor3 = [Link](200, 50, 50)}, 0.3)
wait(2)
[Link] = "DISCORD"
tween(discordBtn, {BackgroundColor3 = [Link](88, 101, 242)}, 0.3)
end
end)

-- Controles de Fly
local up = Create("TextButton", {
Name = "up",
Parent = Frame,
BackgroundColor3 = darkButton,
BorderColor3 = darkBorder,
Position = [Link](0.05, 0, 0.22, 0),
Size = [Link](0, 60, 0, 25),
Font = [Link],
Text = "⬆️ UP",
TextColor3 = [Link](255, 255, 255),
TextSize = 12.000,
AutoButtonColor = false,
})
Create("UICorner", {Parent = up, CornerRadius = [Link](0, 6)})
local down = Create("TextButton", {
Name = "down",
Parent = Frame,
BackgroundColor3 = darkButton,
BorderColor3 = darkBorder,
Position = [Link](0.38, 0, 0.22, 0),
Size = [Link](0, 60, 0, 25),
Font = [Link],
Text = "⬇️ DOWN",
TextColor3 = [Link](255, 255, 255),
TextSize = 12.000,
AutoButtonColor = false,
})
Create("UICorner", {Parent = down, CornerRadius = [Link](0, 6)})

local onof = Create("TextButton", {


Name = "onof",
Parent = Frame,
BackgroundColor3 = accentColor,
BorderColor3 = darkBorder,
Position = [Link](0.71, 0, 0.22, 0),
Size = [Link](0, 55, 0, 25),
Font = [Link],
Text = "🚀 FLY",
TextColor3 = [Link](255, 255, 255),
TextSize = 12.000,
AutoButtonColor = false,
})
Create("UICorner", {Parent = onof, CornerRadius = [Link](0, 6)})

local plus = Create("TextButton", {


Name = "plus",
Parent = Frame,
BackgroundColor3 = darkButton,
BorderColor3 = darkBorder,
Position = [Link](0.05, 0, 0.45, 0),
Size = [Link](0, 40, 0, 25),
Font = [Link],
Text = "+",
TextColor3 = [Link](255, 255, 255),
TextScaled = true,
TextSize = 14.000,
TextWrapped = true,
AutoButtonColor = false,
})
Create("UICorner", {Parent = plus, CornerRadius = [Link](0, 6)})

local speed = Create("TextLabel", {


Name = "speed",
Parent = Frame,
BackgroundColor3 = darkButton,
BorderColor3 = accentColor,
Position = [Link](0.3, 0, 0.45, 0),
Size = [Link](0, 60, 0, 25),
Font = [Link],
Text = "1",
TextColor3 = accentColor,
TextScaled = true,
TextSize = 14.000,
TextWrapped = true,
})
Create("UICorner", {Parent = speed, CornerRadius = [Link](0, 6)})

local mine = Create("TextButton", {


Name = "mine",
Parent = Frame,
BackgroundColor3 = darkButton,
BorderColor3 = darkBorder,
Position = [Link](0.68, 0, 0.45, 0),
Size = [Link](0, 40, 0, 25),
Font = [Link],
Text = "-",
TextColor3 = [Link](255, 255, 255),
TextScaled = true,
TextSize = 14.000,
TextWrapped = true,
AutoButtonColor = false,
})
Create("UICorner", {Parent = mine, CornerRadius = [Link](0, 6)})

-- Botões de controle da janela


local closebutton = Create("TextButton", {
Name = "Close",
Parent = Frame,
BackgroundColor3 = [Link](200, 50, 50),
BorderColor3 = darkBorder,
Font = [Link],
Size = [Link](0, 25, 0, 20),
Text = "X",
TextColor3 = [Link](255, 255, 255),
TextSize = 14,
Position = [Link](0.9, 0, 0.02, 0),
AutoButtonColor = false,
})
Create("UICorner", {Parent = closebutton, CornerRadius = [Link](0, 6)})

local mini = Create("TextButton", {


Name = "minimize",
Parent = Frame,
BackgroundColor3 = darkButton,
BorderColor3 = darkBorder,
Font = [Link],
Size = [Link](0, 25, 0, 20),
Text = "_",
TextColor3 = [Link](255, 255, 255),
TextSize = 16,
Position = [Link](0.78, 0, 0.02, 0),
AutoButtonColor = false,
})
Create("UICorner", {Parent = mini, CornerRadius = [Link](0, 6)})

local mini2 = Create("TextButton", {


Name = "minimize2",
Parent = Frame,
BackgroundColor3 = darkButton,
BorderColor3 = darkBorder,
Font = [Link],
Size = [Link](0, 25, 0, 20),
Text = "□",
TextColor3 = [Link](255, 255, 255),
TextSize = 12,
Position = [Link](0.78, 0, 0.02, 0),
Visible = false,
AutoButtonColor = false,
})
Create("UICorner", {Parent = mini2, CornerRadius = [Link](0, 6)})

-- ========== SISTEMA DE TECLA F V2.0 ==========


[Link]:Connect(function(input, gameProcessed)
if not gameProcessed and [Link] == [Link].F then
-- Simular clique no botão fly
onof:Activate()

-- Feedback visual melhorado


tween(onof, {BackgroundColor3 = [Link](255, 215, 0)}, 0.2)
wait(0.3)
if nowe == true then
tween(onof, {BackgroundColor3 = [Link](0, 200, 83)}, 0.2)
else
tween(onof, {BackgroundColor3 = accentColor}, 0.2)
end
end
end)

-- Adicionar efeitos hover V2.0


local function addHoverEffect(button)
[Link]:Connect(function()
if button ~= closebutton and button ~= onof and button ~= discordBtn then
tween(button, {BackgroundColor3 = hoverColor}, 0.2)
elseif button == discordBtn then
tween(button, {BackgroundColor3 = [Link](105, 116, 245)}, 0.2)
end
end)

[Link]:Connect(function()
if button == onof then
if nowe == true then
tween(button, {BackgroundColor3 = [Link](0, 200, 83)}, 0.2)
else
tween(button, {BackgroundColor3 = accentColor}, 0.2)
end
elseif button == closebutton then
tween(button, {BackgroundColor3 = [Link](200, 50, 50)}, 0.2)
elseif button == discordBtn then
tween(button, {BackgroundColor3 = [Link](88, 101, 242)}, 0.2)
else
tween(button, {BackgroundColor3 = darkButton}, 0.2)
end
end)
end

-- Aplicar efeitos hover a todos os botões


local buttons = {up, down, onof, plus, mine, closebutton, mini, mini2, discordBtn}
for _, button in pairs(buttons) do
addHoverEffect(button)
end
-- Variáveis do sistema
local speeds = 1
local nowe = false
local tpwalking = false

-- ========== SISTEMA DE FLY OTIMIZADO V2.0 ==========


local function toggleFly()
if nowe == true then
-- Desativar fly
nowe = false
tpwalking = false

local humanoid = safeHumanoid()


if humanoid then
-- Reativar todos os estados
for _, state in pairs([Link]:GetEnumItems()) do
humanoid:SetStateEnabled(state, true)
end
humanoid:ChangeState([Link])
end

[Link] = "🚀 FLY"


tween(onof, {BackgroundColor3 = accentColor}, 0.3)

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE V2.0",
Text = "Fly Desativado",
Duration = 2
})
else
-- Ativar fly
nowe = true
tpwalking = true

local humanoid = safeHumanoid()


if not humanoid then
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "ERRO",
Text = "Personagem não encontrado!",
Duration = 3
})
return
end

-- Sistema de velocidade V2.0


for i = 1, speeds do
spawn(function()
local hb = [Link]
local chr = getCharacter()
local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")

while tpwalking and hb:Wait() and chr and hum and [Link] do
if [Link] > 0 then
chr:TranslateBy([Link])
end
end
end)
end
-- Desativar animações
local Char = getCharacter()
if Char and Char:FindFirstChild("Animate") then
[Link] = true
end

-- Desativar estados do humanoid


if humanoid then
for _, state in pairs([Link]:GetEnumItems()) do
humanoid:SetStateEnabled(state, false)
end
humanoid:ChangeState([Link])
end

[Link] = "✅ FLY"


tween(onof, {BackgroundColor3 = [Link](0, 200, 83)}, 0.3)

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE V2.0",
Text = "Fly Ativado - Velocidade: " .. speeds,
Duration = 3
})

-- Sistema de fly R6/R15 V2.0


local rigType = [Link]
local bodyPart = rigType == [Link].R6 and
Char:FindFirstChild("Torso") or Char:FindFirstChild("UpperTorso")

if bodyPart then
local flying = true
local ctrl = {f = 0, b = 0, l = 0, r = 0}
local lastctrl = {f = 0, b = 0, l = 0, r = 0}
local maxspeed = 50
local speed = 0

local bg = [Link]("BodyGyro", bodyPart)


bg.P = 9e4
[Link] = [Link](9e9, 9e9, 9e9)
[Link] = [Link]

local bv = [Link]("BodyVelocity", bodyPart)


[Link] = [Link](0, 0.1, 0)
[Link] = [Link](9e9, 9e9, 9e9)

[Link] = true

spawn(function()
while nowe and humanoid and [Link] > 0 do
[Link]:Wait()

if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then


speed = speed + 0.5 + (speed / maxspeed)
if speed > maxspeed then
speed = maxspeed
end
elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and
speed ~= 0 then
speed = speed - 1
if speed < 0 then
speed = 0
end
end

if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then


[Link] =
(([Link] * (ctrl.f + ctrl.b)) +

(([Link] * [Link](ctrl.l + ctrl.r,


(ctrl.f + ctrl.b) * 0.2, 0).p) -

[Link].p)) * speed
lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and
speed ~= 0 then
[Link] =
(([Link] * (lastctrl.f +
lastctrl.b)) +

(([Link] * [Link](lastctrl.l +
lastctrl.r, (lastctrl.f + lastctrl.b) * 0.2, 0).p) -

[Link].p)) * speed
else
[Link] = [Link](0, 0, 0)
end

[Link] = [Link] *
[Link](-[Link]((ctrl.f + ctrl.b) * 50 * speed / maxspeed), 0, 0)
end

-- Cleanup V2.0
if bg then bg:Destroy() end
if bv then bv:Destroy() end
if humanoid then
[Link] = false
end
end)
end
end
end

-- Conectar o botão fly


onof.MouseButton1Click:Connect(toggleFly)

-- Controles de movimento vertical com verificação de segurança V2.0


local tis
up.MouseButton1Down:connect(function()
tis = [Link]:connect(function()
while tis do
wait()
local char = getCharacter()
if char and char:FindFirstChild("HumanoidRootPart") then
[Link] = [Link] *
[Link](0, 1, 0)
end
end
end)
end)
[Link]:connect(function()
if tis then
tis:Disconnect()
tis = nil
end
end)

local dis
down.MouseButton1Down:connect(function()
dis = [Link]:connect(function()
while dis do
wait()
local char = getCharacter()
if char and char:FindFirstChild("HumanoidRootPart") then
[Link] = [Link] *
[Link](0, -1, 0)
end
end
end)
end)

[Link]:connect(function()
if dis then
dis:Disconnect()
dis = nil
end
end)

-- Reset quando o personagem respawna V2.0


game:GetService("Players").[Link]:Connect(function(char)
wait(0.7)
local humanoid = safeHumanoid()
if humanoid then
[Link] = false
end

if char:FindFirstChild("Animate") then
[Link] = false
end

nowe = false
tpwalking = false
[Link] = "🚀 FLY"
tween(onof, {BackgroundColor3 = accentColor}, 0.3)
end)

-- Controles de velocidade com limites V2.0


plus.MouseButton1Click:connect(function()
if speeds < 20 then
speeds = speeds + 1
[Link] = speeds

if nowe == true then


tpwalking = false
wait(0.1)
tpwalking = true

for i = 1, speeds do
spawn(function()
local hb = [Link]
local chr = getCharacter()
local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")

while tpwalking and hb:Wait() and chr and hum and [Link] do
if [Link] > 0 then
chr:TranslateBy([Link])
end
end
end)
end
end

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE V2.0",
Text = "Velocidade: " .. speeds,
Duration = 1
})
else
[Link] = "MAX"
wait(1)
[Link] = speeds
end
end)

mine.MouseButton1Click:connect(function()
if speeds > 1 then
speeds = speeds - 1
[Link] = speeds

if nowe == true then


tpwalking = false
wait(0.1)
tpwalking = true

for i = 1, speeds do
spawn(function()
local hb = [Link]
local chr = getCharacter()
local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")

while tpwalking and hb:Wait() and chr and hum and [Link] do
if [Link] > 0 then
chr:TranslateBy([Link])
end
end
end)
end
end
else
[Link] = "MIN"
wait(1)
[Link] = speeds
end

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE V2.0",
Text = "Velocidade: " .. speeds,
Duration = 1
})
end)

-- Controles da janela
closebutton.MouseButton1Click:Connect(function()
main:Destroy()
end)

mini.MouseButton1Click:Connect(function()
[Link] = false
[Link] = false
[Link] = false
[Link] = false
[Link] = false
[Link] = false
[Link] = false
[Link] = false
[Link] = false
[Link] = true
[Link] = [Link](0, 210, 0, 30)
[Link] = "DF HUB V2.0"
end)

mini2.MouseButton1Click:Connect(function()
[Link] = true
[Link] = true
[Link] = true
[Link] = true
[Link] = true
[Link] = true
[Link] = true
[Link] = true
[Link] = true
[Link] = false
[Link] = [Link](0, 210, 0, 150)
[Link] = "DARKFORGE V2.0"
end)

-- Notificação final V2.0


wait(1)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "DARKFORGE FLY V2.0",
Text = "Sistema carregado! Pressione F para Fly",
Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150",
Duration = 5
})

print("DarkForge Fly System V2.0 carregado com sucesso!")

You might also like