local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CoreGui = game:GetService("CoreGui")
local player = Players.LocalPlayer
local remotes = ReplicatedStorage.Remotes
local rebirthRemote = remotes.RebirthInit
local purchaseRemote = remotes.PurchaseTrailWins
local equipRemote = remotes.EquipTrail
local trailNames = {"GreenTrail", "RedTrail", "BlueTrail", "YellowTrail", "PurpleTrail", "RainbowTrail"}
local waypoint = nil
local rebirthActive = false
local autoWinActive = false
local trailsActive = false
local winCFrame = CFrame.new(-1582.1, -4.3, 213.5)
local function getRoot()
local char = player.Character
return char and char:FindFirstChild("HumanoidRootPart")
end
local function notify(msg)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Void Scripts",
Text = msg,
Duration = 2
})
end
local function toggleWaypoint()
local root = getRoot()
if waypoint then
waypoint = nil
notify("Waypoint cleared")
elseif root then
waypoint = root.CFrame
notify("Waypoint set")
else
notify("Character not found")
end
end
local function toggleRebirth()
if not waypoint then
notify("Set waypoint first")
return
end
rebirthActive = not rebirthActive
if rebirthActive then
notify("Auto Farm enabled")
task.spawn(function()
while rebirthActive do
local root = getRoot()
if root and waypoint then
root.CFrame = waypoint
end
rebirthRemote:FireServer()
task.wait()
end
end)
else
notify("Auto Farm disabled")
end
end
local function toggleTrails()
trailsActive = not trailsActive
if not trailsActive then
notify("Trails process stopped")
return
end
notify("Starting auto buying trails")
task.spawn(function()
while trailsActive do
for _, name in ipairs(trailNames) do
if not trailsActive then break end
purchaseRemote:InvokeServer(name)
equipRemote:FireServer(name)
if name == "RainbowTrail" then
notify("RainbowTrail equipped - Stopped")
trailsActive = false
break
end
task.wait(0.1)
end
if trailsActive then task.wait(0.5) end
end
end)
end
local function toggleAutoWin()
autoWinActive = not autoWinActive
if autoWinActive then
notify("Auto Win enabled")
task.spawn(function()
while autoWinActive do
local root = getRoot()
if root then
root.CFrame = winCFrame
end
task.wait()
end
end)
else
notify("Auto Win disabled")
end
end
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "VoidMobileGui"
screenGui.ResetOnSpawn = false
pcall(function()
screenGui.Parent = CoreGui
end)
if not screenGui.Parent then
screenGui.Parent = player:WaitForChild("PlayerGui")
end
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 130, 0, 180)
frame.Position = UDim2.new(0.05, 0, 0.3, 0)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui
local uiCorner = Instance.new("UICorner")
uiCorner.CornerRadius = UDim.new(0, 8)
uiCorner.Parent = frame
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 30)
title.Text = "Void Mobile"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.BackgroundTransparency = 1
title.Font = Enum.Font.SourceSansBold
title.TextSize = 16
title.Parent = frame
local function createButton(text, pos, callback)
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(0.9, 0, 0, 30)
btn.Position = pos
btn.Text = text
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
btn.Font = Enum.Font.SourceSans
btn.TextSize = 14
btn.Parent = frame
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 5)
btnCorner.Parent = btn
btn.MouseButton1Click:Connect(callback)
return btn
end
local btnWP = createButton("Set WP", UDim2.new(0.05, 0, 0, 35), toggleWaypoint)
local btnFarm = createButton("Auto Farm", UDim2.new(0.05, 0, 0, 70), toggleRebirth)
local btnTrails = createButton("Trails", UDim2.new(0.05, 0, 0, 105), toggleTrails)
local btnWin = createButton("Auto Win", UDim2.new(0.05, 0, 0, 140), toggleAutoWin)
task.spawn(function()
while task.wait(0.2) do
btnFarm.BackgroundColor3 = rebirthActive and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(50, 50, 50)
btnTrails.BackgroundColor3 = trailsActive and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(50, 50, 50)
btnWin.BackgroundColor3 = autoWinActive and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(50, 50, 50)
btnWP.BackgroundColor3 = waypoint and Color3.fromRGB(0, 100, 150) or Color3.fromRGB(50, 50, 50)
end
end)
notify("Script executed perfectly!")
Comments
Looks Great🙂