
Key Required

-- Configuration for WinFarm Feature
local TARGET_PART_PATH = game.Workspace.Wins.Pipe -- WinFarm target part
local WIN_TELEPORT_INTERVAL = 6.5 -- WinFarm teleport interval
-- Configuration for Auto Rebirth Feature
local REBIRTH_EVENT = game:GetService("ReplicatedStorage").RebirthEvent
local REBIRTH_FIRE_INTERVAL = 3.5 -- Rebirth fire interval
local REBIRTH_ARGS = {} -- Arguments for FireServer (empty if none required)
-- Configuration for Auto Spin Feature (NEW)
local SPIN_EVENT = game:GetService("ReplicatedStorage").SpinFolder.Spin
local SPIN_FIRE_INTERVAL = 5.0 -- Spin fire interval (Adjust as needed)
local SPIN_ARGS = {} -- Arguments for FireServer (empty if none required)
-- *** BRANDING ***
local CREATOR_NAME = "veemix373"
-- Global control switches
local isWinFarmRunning = false
local isRebirthRunning = false
local isSpinRunning = false -- New switch
local winFarmCoroutine = nil
local rebirthCoroutine = nil
local spinCoroutine = nil -- New coroutine handle
-- Get necessary services
local Players = game:GetService("Players")
local localPlayer = Players.LocalPlayer
-- Check if targets exist
local targetPart = TARGET_PART_PATH
if not targetPart or not targetPart:IsA("BasePart") then
print("FATAL ERROR: Target part 'workspace.Wins.Pipe' not found. WinFarm disabled.")
end
if not REBIRTH_EVENT or not REBIRTH_EVENT:IsA("RemoteEvent") then
print("FATAL ERROR: RebirthEvent not found. Auto Rebirth disabled.")
end
if not SPIN_EVENT or not SPIN_EVENT:IsA("RemoteEvent") then -- New check
print("FATAL ERROR: SpinEvent not found. Auto Spin disabled.")
end
-- Helper function to get the Local Player's HumanoidRootPart
local function getTargetRootPart()
if localPlayer and localPlayer.Character then
return localPlayer.Character:FindFirstChild("HumanoidRootPart")
end
return nil
end
-- 1. WinFarm Teleport Logic
local function teleportLoop()
local pipeCFrame = targetPart.CFrame
while isWinFarmRunning do
local targetRootPart = getTargetRootPart()
if targetRootPart then
targetRootPart.CFrame = pipeCFrame
print("[WinFarm] Teleported " .. localPlayer.Name .. " to the Pipe win zone.")
wait(WIN_TELEPORT_INTERVAL)
else
print("[WinFarm] Character not loaded (or respawning). Waiting...")
wait(5)
end
end
print("[WinFarm] Teleport loop STOPPED.")
end
-- 2. Auto Rebirth Logic
local function autoFireRebirthLoop()
while isRebirthRunning do
REBIRTH_EVENT:FireServer(unpack(REBIRTH_ARGS))
print("[Auto-Rebirth] Fired RebirthEvent.")
wait(REBIRTH_FIRE_INTERVAL)
end
print("[Auto-Rebirth] Loop STOPPED.")
end
-- 3. Auto Spin Logic (NEW)
local function autoFireSpinLoop()
while isSpinRunning do
SPIN_EVENT:FireServer(unpack(SPIN_ARGS))
print("[Auto-Spin] Fired SpinEvent.")
wait(SPIN_FIRE_INTERVAL)
end
print("[Auto-Spin] Loop STOPPED.")
end
-- Load the UI library
local Library = loadstring(game:HttpGet('https://gist.githubusercontent.com/MjContiga1/5b9535166d60560ac884a871cb0dc418/raw/e7fdb16802d9486d8d04d3e41d3607d89e6b4a1b/Libsuck.lua'))()
-- Create main window
local window = Library:Window(CREATOR_NAME .. "'s WinFarm Tool")
-- Create Tabs (Updated)
local winFarmTab = window:Tab({"WinFarm", "rbxassetid://6034176467"})
local rebirthTab = window:Tab({"Auto Rebirth", "rbxassetid://5854746654"})
local spinTab = window:Tab({"Auto Spin", "rbxassetid://8059124317"}) -- New tab with a coin icon (placeholder)
---------------------------------------------------
-- WinFarm Tab Elements
---------------------------------------------------
winFarmTab:Label("Target: workspace.Wins.Pipe")
winFarmTab:Label("Interval: " .. WIN_TELEPORT_INTERVAL .. " Seconds")
-- WinFarm Toggle
winFarmTab:Toggle('Auto Win Teleporter', false, function(state)
if not targetPart then
game.StarterGui:SetCore("SendNotification", {Title = "WinFarm Error", Text = "Target Part ('Pipe') not found!", Duration = 3})
return
end
isWinFarmRunning = state
if state then
winFarmCoroutine = coroutine.wrap(teleportLoop)()
print("WinFarm Teleporter Started.")
else
print("WinFarm Teleporter Stopping...")
end
end)
winFarmTab:Keybind("Toggle Menu", Enum.KeyCode.Insert, function(key)
print("Menu key pressed:", key.Name)
end)
---------------------------------------------------
-- Auto Rebirth Tab Elements
---------------------------------------------------
rebirthTab:Label("Target Event: RebirthEvent")
rebirthTab:Label("Fire Interval: " .. REBIRTH_FIRE_INTERVAL .. " Seconds")
-- Auto Rebirth Toggle
rebirthTab:Toggle('Auto Fire Rebirth', false, function(state)
if not REBIRTH_EVENT or not REBIRTH_EVENT:IsA("RemoteEvent") then
game.StarterGui:SetCore("SendNotification", {Title = "Rebirth Error", Text = "Rebirth Event is missing!", Duration = 3})
return
end
isRebirthRunning = state
if state then
rebirthCoroutine = coroutine.wrap(autoFireRebirthLoop)()
print("Auto Rebirth Started.")
else
print("Auto Rebirth Stopping...")
end
end)
---------------------------------------------------
-- Auto Spin Tab Elements (NEW)
---------------------------------------------------
spinTab:Label("Target Event: ReplicatedStorage.SpinFolder.Spin")
spinTab:Label("Fire Interval: " .. SPIN_FIRE_INTERVAL .. " Seconds")
-- Auto Spin Toggle
spinTab:Toggle('Auto Spin Event Fire', false, function(state)
if not SPIN_EVENT or not SPIN_EVENT:IsA("RemoteEvent") then
game.StarterGui:SetCore("SendNotification", {Title = "Spin Error", Text = "Spin Event is missing!", Duration = 3})
return
end
isSpinRunning = state
if state then
spinCoroutine = coroutine.wrap(autoFireSpinLoop)()
print("Auto Spin Started.")
else
print("Auto Spin Stopping...")
end
end)No comments yet for this script.


