local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "Universal Hub",
LoadingTitle = "Presenting The Brookhaven Hub",
LoadingSubtitle = "by gggg8208",
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Brookhavenhub"
},
Discord = {
Enabled = true,
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 = "Oops! You Forgot The Key!",
Subtitle = "Key System",
Note = "Get The Script From Discord",
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 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 = "Successful!",
Content = "The Brookhaven Hub Has Loaded!",
Duration = 5,
Image = 4483362458,
Actions = { -- Notification Buttons
Ignore = {
Name = "Awesome!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})
local Button = MainTab:CreateButton({
Name = "INF 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
_G.infinJumpStarted = true
--Notifies readiness
game.StarterGui:SetCore("SendNotification", {Title="WeAreDevs.net"; Text="The WeAreDevs Infinite Jump exploit is ready!"; Duration=5;})
--The actual infinite jump
local plr = game:GetService('Players').LocalPlayer
local m = plr:GetMouse()
m.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,
})
local Slider = MainTab:CreateSlider({
Name = "WalkSpeed",
Range = {0, 300},
Increment = 1,
Suffix = "Speed",
CurrentValue = 16,
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)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
end, is
})
local Toggle = MainTab:CreateToggle({
Name = "Click To TP (ctrl + click)",
CurrentValue = false,
Flag = "Toggle1", -- 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)
local UIS = game:GetService("UserInputService")
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
function GetCharacter()
return game.Players.LocalPlayer.Character
end
function Teleport(pos)
local Char = GetCharacter()
if Char then
Char:MoveTo(pos)
end
end
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
Teleport(Mouse.Hit.p)
end
end)
end,
})
local HubsTab = Window:CreateTab("Hubs", nil) -- Title, Image
local HubsSection = HubsTab:CreateSection("Very Ower Powered")
local Button = HubsTab:CreateButton({
Name = "Dex v3 (use on inf yield for updated)",
Callback = function()
loadstring(game:HttpGet("https://[Log in to view URL]", true))()
end,
})
local Button = MainTab:CreateButton({
Name = "Invisibility",
Callback = function()
loadstring(game:HttpGet("https://[Log in to view URL]"))()
end,
})
local Button = HubsTab:CreateButton({
Name = "Infinite Yield",
Callback = function()
loadstring(game:HttpGet('https://[Log in to view URL]'))()
end,
})
To embed this project on your website, copy the following code and paste it into your website's HTML: