local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local WinGain = ReplicatedStorage.Event.WinGain
local HealthAdd = ReplicatedStorage.Event.HealthAdd
local Train = ReplicatedStorage.Event.Train
local rebirth = false
local function autoRebirth()
rebirth = not rebirth
if not rebirth then return end
task.spawn(function()
while rebirth do
task.wait(.1)
HealthAdd:FireServer(1)
end
end)
end
local function infiniteTrain()
Train:FireServer(
math.huge
)
end
-- Remote
local function infiniteMoney()
WinGain:FireServer(
math.huge
)
end
local Window = Rayfield:CreateWindow({
Name = "Infinite Money ; Snow Shovel Battle",
Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
LoadingTitle = "Infinite Moeny ; Snow Shovel Battle",
LoadingSubtitle = "by nF7",
ShowText = "Rayfield", -- for mobile users to unhide rayfield, change if you'd like
Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes
ToggleUIKeybind = "K", -- The keybind to toggle the UI visibility (string like "K" or Enum.KeyCode)
DisableRayfieldPrompts = false,
DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface
ConfigurationSaving = {
Enabled = false,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Infinite Moeny ; Snow Shovel Battle"
},
Discord = {
Enabled = false, -- Prompt the user to join your Discord server if their executor supports it
Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD
RememberJoins = true -- Set this to false to make them join the discord every time they load it up
},
KeySystem = false, -- Set this to true to use our key system
KeySettings = {
Title = "Untitled",
Subtitle = "Key System",
Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key
FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})
local MainTab = Window:CreateTab("Infinite", "rocket")
local Section = MainTab:CreateSection("nF7")
local MoneyButton = MainTab:CreateButton({
Name = "Infinite Money",
Callback = function()
infiniteMoney()
end,
})
local MoneyButton = MainTab:CreateButton({
Name = "Infinite Power",
Callback = function()
infiniteTrain()
end,
})
local Toggle = MainTab:CreateToggle({
Name = "Autorebirth",
CurrentValue = false,
Flag = "rebirth", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
autoRebirth()
end,
})
Rayfield:LoadConfiguration()
Comments
No comments yet
Be the first to share your thoughts!