local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "Combat Initiation Script by juan",
LoadingTitle = "Combat Initiation script",
LoadingSubtitle = "by juan",
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Combat Initiation Script"
},
Discord = {
Enabled = true,
Invite = "tKhgCnPDg7", -- 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 = "Combat Initiation Script KeySystem",
Subtitle = "Key in discord",
Note = "Join The discord or you wont get the fucking key",
FileName = "Combat Initiation Script", -- 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 will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})
local MainTab = Window:CreateTab("🏡Home", 4483362458) -- Title, Image,nil
local MainSection = MainTab:CreateSection("Main")
Rayfield:Notify({
Title = "Script sucessfully Executed",
Content = "Join discord for key",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},},
})
local Button = MainTab:CreateButton({
Name = "Infinite Yield",
Callback = function()
loadstring(game:HttpGet("https://[Log in to view URL]"))()
end,
})
local Slider = Tab:CreateSlider({
Name = "Slider Example",
Range = {0, 100},
Increment = 10,
Suffix = "Bananas",
CurrentValue = 10,
Flag = "Slider1", -- 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)
-- The function that takes place when the slider changes
-- The variable (Value) is a number which correlates to the value the slider is currently at
end,
})
To embed this project on your website, copy the following code and paste it into your website's HTML: