local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "+1 Speed Motorcycle Escape wins",
LoadingTitle = "Loading System...",
LoadingSubtitle = "by kaba",
ConfigurationSaving = { Enabled = false },
KeySystem = false
})
-- Control Variables
_G.AutoWin = false
local RunService = game:GetService("RunService")
local Tab = Window:CreateTab("Farmer", 4483362458)
Tab:CreateToggle({
Name = "win farm",
CurrentValue = false,
Flag = "WinFarmToggle",
Callback = function(Value)
_G.AutoWin = Value
if Value then
task.spawn(function()
while _G.AutoWin do
pcall(function()
local winsFolder = workspace.Wins:GetChildren()
local bestTarget = nil
local maxDist = -1
-- Logic to find the furthest part (the real end of the track)
for _, obj in pairs(winsFolder) do
-- Ignore anything that looks like a Robux/Premium shop button
if not obj.Name:find("Robux") and not obj.Name:find("Product") and not obj.Name:find("Gamepass") then
local part = obj:IsA("BasePart") and obj or obj:FindFirstChild("Part") or obj:FindFirstChildWhichIsA("BasePart")
if part then
-- We look for the part furthest from the map center (usually the best win)
local dist = (part.Position).Magnitude
if dist > maxDist then
maxDist = dist
bestTarget = part
end
end
end
end
local hrp = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if hrp and bestTarget then
hrp.CFrame = bestTarget.CFrame
end
end)
RunService.Stepped:Wait()
end
end)
end
end,
})
Rayfield:Notify({
Title = "Success",
Content = "Robux buttons ignored. Targeting furthest win!",
Duration = 5
})
Comments
okay i fixed it, it should be working rn. Sorry guys that the script broke
imma try and work on it but i dont think i will get it to work
Note: the script is rlly buggy