Universal Fly Gui Forex | Universal Roblox Script
Key RequiredUniversal

Universal Fly Gui Forex | Universal Roblox Script

Universal Scriptstrooper_o213strooper_o213 947 views 6.9K executesUpdated Oct 1, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•282 lines (9952 chars)
-- Modern Neon Minimalist UI (Fly + Noclip)
local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local RootPart = Character:WaitForChild("HumanoidRootPart")

-- Clean up existing instances to prevent overlays
local existing = CoreGui:FindFirstChild("ModernCheatMenu") or (LocalPlayer:FindFirstChild("PlayerGui") and LocalPlayer.PlayerGui:FindFirstChild("ModernCheatMenu"))
if existing then existing:Destroy() end

-- Create Main Elements
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "ModernCheatMenu"
ScreenGui.Parent = CoreGui or LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ResetOnSpawn = false

local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 18)
MainFrame.Position = UDim2.new(0.05, 0, 0.35, 0)
MainFrame.Size = UDim2.new(0, 240, 0, 280)
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.Draggable = true

local UICorner_Main = Instance.new("UICorner")
UICorner_Main.CornerRadius = UDim.new(0, 12)
UICorner_Main.Parent = MainFrame

local UIStroke_Main = Instance.new("UIStroke")
UIStroke_Main.Color = Color3.fromRGB(35, 35, 45)
UIStroke_Main.Thickness = 1
UIStroke_Main.Parent = MainFrame

-- Header/Title Bar
local Header = Instance.new("Frame")
Header.Name = "Header"
Header.Parent = MainFrame
Header.BackgroundTransparency = 1
Header.Size = UDim2.new(1, 0, 0, 45)

local Title = Instance.new("TextLabel")
Title.Name = "Title"
Title.Parent = Header
Title.BackgroundTransparency = 1
Title.Position = UDim2.new(0, 16, 0, 0)
Title.Size = UDim2.new(1, -32, 1, 0)
Title.Font = Enum.Font.GothamBold
Title.Text = "FOREX TAB"
Title.TextColor3 = Color3.fromRGB(240, 240, 245)
Title.TextSize = 14
Title.TextXAlignment = Enum.TextXAlignment.Left

local Divider = Instance.new("Frame")
Divider.Name = "Divider"
Divider.Parent = MainFrame
Divider.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
Divider.BorderSizePixel = 0
Divider.Position = UDim2.new(0, 16, 0, 45)
Divider.Size = UDim2.new(1, -32, 0, 1)

-- Helper function to generate clean modern buttons
local function createFeatureButton(name, labelText, yPosition)
    local Container = Instance.new("Frame")
    Container.Name = name .. "Container"
    Container.Parent = MainFrame
    Container.BackgroundTransparency = 1
    Container.Position = UDim2.new(0, 16, 0, yPosition)
    Container.Size = UDim2.new(1, -32, 0, 42)

    local Button = Instance.new("TextButton")
    Button.Name = name .. "Button"
    Button.Parent = Container
    Button.BackgroundColor3 = Color3.fromRGB(24, 24, 30)
    Button.Size = UDim2.new(1, 0, 1, 0)
    Button.BorderSizePixel = 0
    Button.Font = Enum.Font.GothamMedium
    Button.Text = "  " .. labelText
    Button.TextColor3 = Color3.fromRGB(180, 180, 190)
    Button.TextSize = 13
    Button.TextXAlignment = Enum.TextXAlignment.Left

    local BtnCorner = Instance.new("UICorner")
    BtnCorner.CornerRadius = UDim.new(0, 8)
    BtnCorner.Parent = Button

    local BtnStroke = Instance.new("UIStroke")
    BtnStroke.Color = Color3.fromRGB(35, 35, 45)
    BtnStroke.Thickness = 1
    BtnStroke.Parent = Button

    -- Visual Status Indicator Indicator Pill
    local Indicator = Instance.new("Frame")
    Indicator.Name = "Indicator"
    Indicator.Parent = Button
    Indicator.BackgroundColor3 = Color3.fromRGB(239, 68, 68) -- Crimson Default
    Indicator.Position = UDim2.new(1, -32, 0.5, -5)
    Indicator.Size = UDim2.new(0, 16, 0, 10)
    
    local IndCorner = Instance.new("UICorner")
    IndCorner.CornerRadius = UDim.new(1, 0)
    IndCorner.Parent = Indicator

    return Button, Indicator
end

local FlyButton, FlyIndicator = createFeatureButton("Fly", "Toggle Flight Mode", 65)
local NoclipButton, NoclipIndicator = createFeatureButton("Noclip", "Toggle Noclip Mode", 120)

-- Interactive Speed Configuration Input
local SpeedContainer = Instance.new("Frame")
SpeedContainer.Name = "SpeedContainer"
SpeedContainer.Parent = MainFrame
SpeedContainer.BackgroundTransparency = 1
SpeedContainer.Position = UDim2.new(0, 16, 0, 185)
SpeedContainer.Size = UDim2.new(1, -32, 0, 42)

local SpeedLabel = Instance.new("TextLabel")
SpeedLabel.Parent = SpeedContainer
SpeedLabel.BackgroundTransparency = 1
SpeedLabel.Size = UDim2.new(0.5, 0, 1, 0)
SpeedLabel.Font = Enum.Font.GothamMedium
SpeedLabel.Text = "Flight Velocity"
SpeedLabel.TextColor3 = Color3.fromRGB(150, 150, 160)
SpeedLabel.TextSize = 13
SpeedLabel.TextXAlignment = Enum.TextXAlignment.Left

local SpeedInput = Instance.new("TextBox")
SpeedInput.Parent = SpeedContainer
SpeedInput.BackgroundColor3 = Color3.fromRGB(24, 24, 30)
SpeedInput.Position = UDim2.new(0.6, 0, 0.1, 0)
SpeedInput.Size = UDim2.new(0.4, 0, 0.8, 0)
SpeedInput.BorderSizePixel = 0
SpeedInput.Font = Enum.Font.GothamBold
SpeedInput.Text = "50"
SpeedInput.TextColor3 = Color3.fromRGB(0, 200, 255)
SpeedInput.TextSize = 13

local InputCorner = Instance.new("UICorner")
InputCorner.CornerRadius = UDim.new(0, 6)
InputCorner.Parent = SpeedInput

local InputStroke = Instance.new("UIStroke")
InputStroke.Color = Color3.fromRGB(45, 45, 55)
InputStroke.Thickness = 1
InputStroke.Parent = SpeedInput

-- Footer Hint
local HintLabel = Instance.new("TextLabel")
HintLabel.Parent = MainFrame
HintLabel.BackgroundTransparency = 1
HintLabel.Position = UDim2.new(0, 0, 1, -35)
HintLabel.Size = UDim2.new(1, 0, 0, 20)
HintLabel.Font = Enum.Font.Gotham
HintLabel.Text = "Use W, A, S, D, Space, Shift to Fly"
HintLabel.TextColor3 = Color3.fromRGB(80, 80, 95)
HintLabel.TextSize = 11

---------------- CORE SYSTEM EXECUTION ----------------
local Flying = false
local Noclipping = false
local FlySpeed = 50
local KeysPressed = {}
local NoclipConnection = nil

local BodyVelocity = Instance.new("BodyVelocity")
BodyVelocity.MaxForce = Vector3.new(0, 0, 0)
BodyVelocity.Velocity = Vector3.new(0, 0, 0)
BodyVelocity.Parent = RootPart

local BodyGyro = Instance.new("BodyGyro")
BodyGyro.MaxTorque = Vector3.new(0, 0, 0)
BodyGyro.CFrame = RootPart.CFrame
BodyGyro.Parent = RootPart

local function updateReferences(newChar)
    Character = newChar
    Humanoid = Character:WaitForChild("Humanoid")
    RootPart = Character:WaitForChild("HumanoidRootPart")
    BodyVelocity.Parent = RootPart
    BodyGyro.Parent = RootPart
    if Flying then
        BodyVelocity.MaxForce = Vector3.new(4e5, 4e5, 4e5)
        BodyGyro.MaxTorque = Vector3.new(4e5, 4e5, 4e5)
        Humanoid.PlatformStand = true
    end
end
LocalPlayer.CharacterAdded:Connect(updateReferences)

-- Smooth UI Color Transitions
local function tweenStatus(indicator, targetColor)
    TweenService:Create(indicator, TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
        BackgroundColor3 = targetColor
    }):Play()
end

local function toggleFly()
    Flying = not Flying
    if Flying then
        tweenStatus(FlyIndicator, Color3.fromRGB(34, 197, 94)) -- Smooth Emerald Green
        BodyVelocity.MaxForce = Vector3.new(4e5, 4e5, 4e5)
        BodyGyro.MaxTorque = Vector3.new(4e5, 4e5, 4e5)
        Humanoid.PlatformStand = true
    else
        tweenStatus(FlyIndicator, Color3.fromRGB(239, 68, 68)) -- Smooth Crimson
        BodyVelocity.MaxForce = Vector3.new(0, 0, 0)
        BodyGyro.MaxTorque = Vector3.new(0, 0, 0)
        Humanoid.PlatformStand = false
    end
end

local function toggleNoclip()
    Noclipping = not Noclipping
    if Noclipping then
        tweenStatus(NoclipIndicator, Color3.fromRGB(34, 197, 94))
        NoclipConnection = RunService.Stepped:Connect(function()
            if Character and Noclipping then
                for _, part in ipairs(Character:GetDescendants()) do
                    if part:IsA("BasePart") and part.CanCollide then
                        part.CanCollide = false
                    end
                end
            end
        end)
    else
        tweenStatus(NoclipIndicator, Color3.fromRGB(239, 68, 68))
        if NoclipConnection then
            NoclipConnection:Disconnect()
            NoclipConnection = nil
        end
    end
end

-- UI Component Connections
FlyButton.MouseButton1Click:Connect(toggleFly)
NoclipButton.MouseButton1Click:Connect(toggleNoclip)

SpeedInput.FocusLost:Connect(function()
    local numericValue = tonumber(SpeedInput.Text)
    if numericValue then
        FlySpeed = numericValue
    else
        SpeedInput.Text = tostring(FlySpeed)
    end
end)

UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    KeysPressed[input.KeyCode] = true
end)

UserInputService.InputEnded:Connect(function(input)
    KeysPressed[input.KeyCode] = nil
end)

RunService.RenderStepped:Connect(function()
    if not Flying or not RootPart then return end
    
    local cameraCFrame = workspace.CurrentCamera.CFrame
    local direction = Vector3.new(0, 0, 0)
    
    if KeysPressed[Enum.KeyCode.W] then direction = direction + cameraCFrame.LookVector end
    if KeysPressed[Enum.KeyCode.S] then direction = direction - cameraCFrame.LookVector end
    if KeysPressed[Enum.KeyCode.A] then direction = direction - cameraCFrame.RightVector end
    if KeysPressed[Enum.KeyCode.D] then direction = direction + cameraCFrame.RightVector end
    if KeysPressed[Enum.KeyCode.Space] then direction = direction + Vector3.new(0, 1, 0) end
    if KeysPressed[Enum.KeyCode.LeftShift] then direction = direction - Vector3.new(0, 1, 0) end
    
    BodyGyro.CFrame = cameraCFrame
    BodyVelocity.Velocity = direction.Unit * FlySpeed
    
    if direction == Vector3.new(0, 0, 0) then
        BodyVelocity.Velocity = Vector3.new(0, 0, 0)
    end
end)

Features & Information

- Fly Toggle - Noclip Toggle
#script#fly#noclip#roblox#new

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts