tarekscripter control panel
Key Required

tarekscripter control panel

[🚂] Cart RideTarekscripterTarekscripter 874 views 1.3K executesUpdated May 24, 2026
Unrated
00
Lua Script•274 lines (9798 chars)
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()

local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")

local LocalPlayer = Players.LocalPlayer

local isRunningSpeed9999 = false
local isRunningStart = false
local isRunningFling = false
local isRunningForward = false
local isRunningBackward = false
local isRunningSpawner = false
local isRunningFloating = false
local isRunningAura = false
local auraDistance = 20
local targetValues = {}
local backwardCounters = {}

local function cacheValues()
    table.clear(targetValues)
    if LocalPlayer then
        for _, obj in pairs(LocalPlayer:GetDescendants()) do
            if (obj:IsA("IntValue") or obj:IsA("NumberValue")) and (obj.Name:lower():find("capacity") or obj.Name:lower():find("max")) then
                table.insert(targetValues, obj)
            end
        end
    end
end

local heartbeatConnection
heartbeatConnection = RunService.Heartbeat:Connect(function()
    local CurrentActiveCarts = Workspace:FindFirstChild("ActiveCarts")
    local character = LocalPlayer.Character
    local rootPart = character and character:FindFirstChild("HumanoidRootPart")

    if CurrentActiveCarts then
        for _, cart in pairs(CurrentActiveCarts:GetChildren()) do
            local buttons = cart:FindFirstChild("Buttons")
            if buttons then
                local cartId = cart:GetDebugId()
                
                local shouldFlingThisCart = isRunningFling
                if isRunningAura and rootPart then
                    local cartModel = cart:IsA("Model") and cart or cart:FindFirstChildWhichIsA("BasePart", true)
                    if cartModel then
                        local cartPos = cart:IsA("Model") and cart:GetPivot().Position or cart.Position
                        if (rootPart.Position - cartPos).Magnitude <= auraDistance then
                            shouldFlingThisCart = true
                        end
                    end
                end

                if isRunningSpeed9999 then
                    local upButton = buttons:FindFirstChild("Up")
                    local clickDetectorUp = upButton and upButton:FindFirstChildOfClass("ClickDetector")
                    if clickDetectorUp then fireclickdetector(clickDetectorUp) end
                end
                
                if isRunningStart then
                    local startButton = buttons:FindFirstChild("Start")
                    local clickDetectorStart = startButton and startButton:FindFirstChildOfClass("ClickDetector")
                    if clickDetectorStart then fireclickdetector(clickDetectorStart) end
                end

                if shouldFlingThisCart then
                    local upButton = buttons:FindFirstChild("Up")
                    local clickDetectorUp = upButton and upButton:FindFirstChildOfClass("ClickDetector")
                    if clickDetectorUp then fireclickdetector(clickDetectorUp) end
                    local startButton = buttons:FindFirstChild("Start")
                    local clickDetectorStart = startButton and startButton:FindFirstChildOfClass("ClickDetector")
                    if clickDetectorStart then fireclickdetector(clickDetectorStart) end
                end

                if isRunningForward then
                    local startButton = buttons:FindFirstChild("Start")
                    local clickDetectorStart = startButton and startButton:FindFirstChildOfClass("ClickDetector")
                    if clickDetectorStart then fireclickdetector(clickDetectorStart) end
                end

                if isRunningBackward then
                    if not backwardCounters[cartId] then backwardCounters[cartId] = 0 end
                    if backwardCounters[cartId] < 10 then
                        local downButton = buttons:FindFirstChild("Down")
                        local clickDetectorDown = downButton and downButton:FindFirstChildOfClass("ClickDetector")
                        if clickDetectorDown then
                            fireclickdetector(clickDetectorDown)
                            backwardCounters[cartId] = backwardCounters[cartId] + 1
                        end
                    end
                    local startButton = buttons:FindFirstChild("Start")
                    local clickDetectorStart = startButton and startButton:FindFirstChildOfClass("ClickDetector")
                    if clickDetectorStart then fireclickdetector(clickDetectorStart) end
                end
            end
        end
    end
    
    if isRunningSpawner then
        local foundSpawners = {}
        for _, object in pairs(Workspace:GetChildren()) do
            if object.Name == "Cart Spawner" then table.insert(foundSpawners, object) end
        end
        for i = 2, #foundSpawners do
            local spawner = foundSpawners[i]
            local clickDetector = spawner:FindFirstChildOfClass("ClickDetector") or spawner:FindFirstChildWhichIsA("ClickDetector", true)
            if clickDetector then fireclickdetector(clickDetector) end
        end
    end

    if isRunningFloating then
        pcall(function()
            local targetPart = Workspace.EndArea.Paths.Blue.Detector
            if targetPart and LocalPlayer and LocalPlayer.Character then
                local characterRoot = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
                if characterRoot then
                    firetouchinterest(characterRoot, targetPart, 0)
                    firetouchinterest(characterRoot, targetPart, 1)
                end
            end
        end)
    end
    
    if isRunningSpeed9999 or isRunningStart or isRunningFling or isRunningForward or isRunningBackward or isRunningSpawner or isRunningFloating or isRunningAura then
        for i = 1, #targetValues do targetValues[i].Value = 9999 end
    end
end)

local Window = Rayfield:CreateWindow({
    Name = "TAREKSCRIPTER",
    LoadingTitle = "TAREKSCRIPTER Hub",
    LoadingSubtitle = "by TAREK",
    ConfigurationSaving = {
        Enabled = false,
        FolderName = nil,
        FileName = "MatrixDrive"
    },
    Discord = {
        Enabled = false,
        Invite = "noinvitelink",
        RememberJoins = true
    },
    KeySystem = false
})

local MainTab = Window:CreateTab("الميزات الرئيسية", 4483345998)
local WinnerTab = Window:CreateTab("عرضك كفائز", 4483345998)

MainTab:CreateToggle({
    Name = "سرعة العربات 9999",
    CurrentValue = isRunningSpeed9999,
    Flag = "SpeedToggle",
    Callback = function(Value)
        isRunningSpeed9999 = Value
        if isRunningSpeed9999 then cacheValues() end
    end,
})

MainTab:CreateToggle({
    Name = "تشغيل العربات",
    CurrentValue = isRunningStart,
    Flag = "StartToggle",
    Callback = function(Value)
        isRunningStart = Value
        if isRunningStart then cacheValues() end
    end,
})

MainTab:CreateToggle({
    Name = "قذف العربات",
    CurrentValue = isRunningFling,
    Flag = "FlingToggle",
    Callback = function(Value)
        isRunningFling = Value
        if isRunningFling then cacheValues() end
    end,
})

MainTab:CreateToggle({
    Name = "هالة قذف العربات",
    CurrentValue = isRunningAura,
    Flag = "AuraToggle",
    Callback = function(Value)
        isRunningAura = Value
        if isRunningAura then cacheValues() end
    end,
})

MainTab:CreateInput({
    Name = "مدى الهالة (بلوكات)",
    PlaceholderText = "20",
    RemoveTextAfterFocusLost = false,
    Callback = function(Text)
        local num = tonumber(Text)
        if num then auraDistance = num end
    end,
})

MainTab:CreateToggle({
    Name = "تفعيل للأمام",
    CurrentValue = isRunningForward,
    Flag = "ForwardToggle",
    Callback = function(Value)
        isRunningForward = Value
        if isRunningForward then cacheValues() end
    end,
})

MainTab:CreateToggle({
    Name = "تفعيل للوراء",
    CurrentValue = isRunningBackward,
    Flag = "BackwardToggle",
    Callback = function(Value)
        isRunningBackward = Value
        if isRunningBackward then
            table.clear(backwardCounters)
            cacheValues()
        end
    end,
})

MainTab:CreateToggle({
    Name = "رسبونر العربات",
    CurrentValue = isRunningSpawner,
    Flag = "SpawnerToggle",
    Callback = function(Value)
        isRunningSpawner = Value
        if isRunningSpawner then cacheValues() end
    end,
})

MainTab:CreateToggle({
    Name = "الأرض العائمة FE",
    CurrentValue = isRunningFloating,
    Flag = "FloatingToggle",
    Callback = function(Value)
        isRunningFloating = Value
        if isRunningFloating then cacheValues() end
    end,
})

MainTab:CreateButton({
    Name = "إغلاق السكربت",
    Callback = function()
        isRunningSpeed9999 = false
        isRunningStart = false
        isRunningFling = false
        isRunningForward = false
        isRunningBackward = false
        isRunningSpawner = false
        isRunningFloating = false
        isRunningAura = false
        table.clear(backwardCounters)
        if heartbeatConnection then heartbeatConnection:Disconnect() end
        Rayfield:Destroy()
    end,
})

WinnerTab:CreateButton({
    Name = "فوز الآن",
    Callback = function()
        pcall(function()
            local targetDetector = Workspace:FindFirstChild("WinnerDetector")
            if targetDetector and LocalPlayer and LocalPlayer.Character then
                local characterRoot = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
                if characterRoot then
                    firetouchinterest(characterRoot, targetDetector, 0)
                    firetouchinterest(characterRoot, targetDetector, 1)
                end
            end
        end)
    end,
})

Features & Information

you can control the map!

Community Comments (0)

No comments yet for this script.

More Scripts for [🚂] Cart Ride