llocal Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "+1 drain per click 😭",
Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
LoadingTitle = "BEST SCRIPT",
LoadingSubtitle = "by FRIEND",
ShowText = "ORANDIE", -- for mobile users to unhide Rayfield, change if you'd like
Theme = "Amethyst", -- Check https://[Log in to view URL]
ToggleUIKeybind = "K", -- The keybind to toggle the UI visibility (string like "K" or Enum.KeyCode)
DisableRayfieldPrompts = false,
DisableBuildWarnings = false, -- Prevents Rayfield from emitting warnings when the script has a version mismatch with the interface.
-- Heartbeat = "https://[Log in to view URL] token>", -- Pings your Sentivel heartbeat while Rayfield is open, so you can see whether your script is running
-- ScriptID = "sid_xxxxxxxxxxxx", -- Your Script ID from developer.sirius.menu — enables analytics, managed keys, and script hosting
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "DRINK"
},
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 = TRUE, -- Set this to true to use our key system
KeySettings = {
Title = "KEYSESTEM",
Subtitle = "Key System",
Note = "https://[Log in to view URL]", -- 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 = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
Key = {"https://[Log in to view URL]"} -- List of keys that the system will accept, can be RAW file links (pastebin, github, etc.) or simple strings ("hello", "key22")
}
})
Rayfield:Notify({
Title = "BEST SCRIPT",
Content = "Notification Content",
Duration = 2.2,
Image = 27477757,
})
local FARMTab = Window:CreateTab("FARM🧑🌾", 4483362458) -- Title, Image
local FARMSection = FARMTab:CreateSection("FARM🧑🌾")
local FARMToggle = FARMTab:CreateToggle({
Name = "Auto Click",
CurrentValue = false,
Flag = "Toggle1",
Callback = function(Value)
running = Value
if not Value then return end
task.spawn(function()
while running do
local args = {
17
}
game:GetService("ReplicatedStorage"):WaitForChild("Remote"):WaitForChild("Event"):WaitForChild("Level"):WaitForChild("[C-S]Click"):FireServer(unpack(args))
task.wait(0.1)
end
end)
end,
})
To embed this project on your website, copy the following code and paste it into your website's HTML: