-- // Services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

-- // Load UI
local Fluent = loadstring(game:HttpGet("https://[Log in to view URL]"))()

-- // Window Setup
local Window = Fluent:CreateWindow({
    Title = "NWR's Hub | +1 Speed Car Escape",
    SubTitle = "by whoisnwr",
    TabWidth = 160,
    Size = UDim2.fromOffset(580, 520),
    Acrylic = false, 
    Theme = "Darker",
    MinimizeKey = Enum.KeyCode.LeftControl
})

local Tabs = {
    Main = Window:AddTab({ Title = "Main", Icon = "home" }),
    Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
}

-- // Remotes
local trainRemote = ReplicatedStorage:WaitForChild("Events"):WaitForChild("StartTrainRequest")
local rebirthRemote = ReplicatedStorage:WaitForChild("RequestRebirth")
local claimRemote = ReplicatedStorage:WaitForChild("RemoteEvents"):WaitForChild("ClaimTimeReward")
local checkpointRemote = ReplicatedStorage:WaitForChild("Events"):WaitForChild("ClaimCheckpoint")

-- // State Management
_G.AutoOlio = false
_G.AutoSpeed = false
_G.AutoRebirth = false
_G.AutoClaim = false
_G.PureTweenFarm = false

-- // CFrames
local TargetClaim_CFrame = CFrame.new(-16.491909, 58.6630249, -9694.48926, 0.999284267, 0.0176398698, 0.0334625579, -0.0378024392, 0.433592767, 0.900315642, 0.0013723271, -0.900936246, 0.433949292)
local Spawn_CFrame = CFrame.new(2.78083944, 3.72192335, -95.6109161)

-- // Helper Functions
local function SmoothTween(targetCFrame, duration)
    local hrp = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
    if hrp then
        local tween = TweenService:Create(hrp, TweenInfo.new(duration, Enum.EasingStyle.Linear), {CFrame = targetCFrame})
        tween:Play()
        tween.Completed:Wait()
    end
end

-- // --- MAIN TAB --- //
local FarmSection = Tabs.Main:AddSection("Optimized Farming")

-- 1. Pure Tween Farm
Tabs.Main:AddToggle("PureTweenToggle", {
    Title = "Pure Tween Farm",
    Description = "Tween to Claim Point -> Spawn",
    Default = false,
    Callback = function(Value)
        _G.PureTweenFarm = Value
        if Value then
            task.spawn(function()
                while _G.PureTweenFarm do
                    local char = LocalPlayer.Character
                    if char and char:FindFirstChild("HumanoidRootPart") then
                        -- Tween from Spawn to the Claim Point
                        SmoothTween(TargetClaim_CFrame, 3.0)
                        
                        task.wait(0.2)
                        
                        -- Fire Remote Claim
                        checkpointRemote:FireServer(11)
                        
                        -- Tween back to Spawn
                        SmoothTween(Spawn_CFrame, 2.5)
                    end
                    task.wait(1.5)
                end
            end)
        end
    end
})

local AutomationSection = Tabs.Main:AddSection("Automation")

-- 2. Auto Train (Olio)
Tabs.Main:AddToggle("AutoOlioToggle", {
    Title = "Auto Train (Olio)",
    Description = "Dont use with Auto Farm",
    Default = false,
    Callback = function(Value)
        _G.AutoOlio = Value
        if Value then
            task.spawn(function()
                while _G.AutoOlio do
                    local args = {"1002", "OlioTrain", 1, false, CFrame.new(0, 0, 0)}
                    trainRemote:FireServer(unpack(args))
                    task.wait(0.5)
                end
            end)
        end
    end
})

-- 3. Auto Train (Speed)
Tabs.Main:AddToggle("AutoSpeedToggle", {
    Title = "Auto Train (Speed)",
    Description = "Dont use with Auto Farm",
    Default = false,
    Callback = function(Value)
        _G.AutoSpeed = Value
        if Value then
            task.spawn(function()
                while _G.AutoSpeed do
                    local args = {"2005", "SpeedTrain", 1, false, CFrame.new(0, 0, 0)}
                    trainRemote:FireServer(unpack(args))
                    task.wait(0.5)
                end
            end)
        end
    end
})

-- 4. Auto Rebirth
Tabs.Main:AddToggle("AutoRebirthToggle", {
    Title = "Auto Rebirth",
    Description = "Auto Ascends for you",
    Default = false,
    Callback = function(Value)
        _G.AutoRebirth = Value
        if Value then
            task.spawn(function()
                while _G.AutoRebirth do
                    rebirthRemote:FireServer(1)
                    task.wait(2)
                end
            end)
        end
    end
})

-- 5. Auto Claim Time Rewards
Tabs.Main:AddToggle("AutoClaimToggle", {
    Title = "Auto Claim Rewards",
    Description = "Claims rewards 1-12 every 20s",
    Default = false,
    Callback = function(Value)
        _G.AutoClaim = Value
        if Value then
            task.spawn(function()
                while _G.AutoClaim do
                    for i = 1, 12 do
                        claimRemote:FireServer(i)
                    end
                    task.wait(20)
                end
            end)
        end
    end
})

-- // --- DEV UTILITIES --- //
local DevSection = Tabs.Main:AddSection("Dev Utilities")

Tabs.Main:AddSlider("WalkSpeed", {
    Title = "Config WalkSpeed",
    Default = 16,
    Min = 16,
    Max = 3000,
    Rounding = 1,
    Callback = function(Value)
        if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
            LocalPlayer.Character.Humanoid.WalkSpeed = Value
        end
    end
})

-- // --- SETTINGS TAB --- //
Tabs.Settings:AddButton({
    Title = "Destroy UI",
    Callback = function()
        _G.AutoOlio = false
        _G.AutoSpeed = false
        _G.AutoRebirth = false
        _G.AutoClaim = false
        _G.PureTweenFarm = false
        Window:Destroy()
    end
})

Window:SelectTab(1)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: