local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "[ Ball Game ]",
LoadingTitle = "Loading...",
LoadingSubtitle = "",
ConfigurationSaving = {
Enabled = false
},
Discord = {
Enabled = false
},
KeySystem = false
})
local MainTab = Window:CreateTab("Main", "sparkle")
-- valuables
local CashAutoFarm = false
local CashDelay = 0.01
local CashMultiplier = 100
local AutoRebirth = false
local RebirthDelay = 1
local AutoEquipBest = false
local AutoEquipDelay = 1
-- ui elements
MainTab:CreateToggle({
Name = "Cash Auto Farm",
CurrentValue = false,
Flag = "ToggleCashFarm",
Callback = function(Value)
CashAutoFarm = Value
if CashAutoFarm then
task.spawn(function()
while CashAutoFarm do
game:GetService("ReplicatedStorage").BallLandedEvent:FireServer(CashMultiplier)
task.wait(CashDelay)
end
end)
end
end,
})
MainTab:CreateSlider({
Name = "Cash Gain Delay",
Range = {0.01, 1},
CurrentValue = 0.01,
Increment = 0.01,
ValueName = "s.",
Flag = "SliderCashDelay",
Callback = function(Value)
CashDelay = Value
end,
})
MainTab:CreateSlider({
Name = "Cash Gain Multiplier",
Range = {100, 100000},
CurrentValue = 100,
Increment = 100,
ValueName = "x",
Flag = "SliderCashMult",
Callback = function(Value)
CashMultiplier = Value
end,
})
MainTab:CreateToggle({
Name = "Auto Rebirth",
CurrentValue = false,
Flag = "ToggleAutoRebirth",
Callback = function(Value)
AutoRebirth = Value
if AutoRebirth then
task.spawn(function()
while AutoRebirth do
game:GetService("ReplicatedStorage").RebirthEvent:InvokeServer()
task.wait(RebirthDelay)
end
end)
end
end,
})
MainTab:CreateSlider({
Name = "Rebirth Attempt Delay",
Range = {1, 30},
CurrentValue = 1,
Increment = 1,
ValueName = "s.",
Flag = "SliderRebirthDelay",
Callback = function(Value)
RebirthDelay = Value
end,
})
MainTab:CreateToggle({
Name = "Auto Equip Best",
CurrentValue = false,
Flag = "ToggleEquipBest",
Callback = function(Value)
AutoEquipBest = Value
if AutoEquipBest then
task.spawn(function()
while AutoEquipBest do
game:GetService("ReplicatedStorage").EquipBestEvent:FireServer()
task.wait(AutoEquipDelay)
end
end)
end
end,
})
MainTab:CreateSlider({
Name = "Auto Equip Best Delay",
Range = {1, 30},
CurrentValue = 1,
Increment = 1,
ValueName = "s.",
Flag = "SliderEquipDelay",
Callback = function(Value)
AutoEquipDelay = Value
end,
})
Comments
No comments yet
Be the first to share your thoughts!