local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "LUCKY BLOCKS",
LoadingTitle = "DarkHub",
LoadingSubtitle = "by Dark Side",
ConfigurationSaving = {
Enabled = false,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "DarkSideYT"
},
Discord = {
Enabled = false,
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",
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 = {"DarkSide"} -- 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", nil) -- Title, Image
local MainSection = MainTab:CreateSection("Main")
Rayfield:Notify({
Title = "...",
Content = "Very good gui",
Duration = 5.
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})
local Button = MainTab:CreateButton({
Name = "I finite Jump",
Callback = function()
-- Toggles the infinite jump between on or off on every script run
_G.Infinjump = not -G.Infinjump
if _G.infinJumpStarted == nil then
--Ensures this only runs once to save resources
--Notifiles readiness
game.StarterGui:SetCore("SendNotification", {Title="YouTube Hub"; Text=Infinite JUMP Activated!"; Duration=5;})
--The actual infinite jump
local plr = game:GetService('Players').LocalPlayer
local m = plr:GetMouse()
=.keyDown:connect(function(k)
. if _G.infinjump then
if k:byte() == 32 then
humanoid = game:GetService'Players'.LocalPlayer.Character:FindFirstChildOfClass('Humanoid')
humanoid:ChangeState('Jumping')
wait()
humanoid:ChangeState('Seated')
end
end
end)
end
end,
})
To embed this project on your website, copy the following code and paste it into your website's HTML: