local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "Brookhaven Hub",
LoadingTitle = "Loading Script...",
LoadingSubtitle = "by Nawaf",
ConfigurationSaving = {
Enabled = true,
FolderName = "BrookhavenConfig",
FileName = "Config"
}
})
-- 1. Music Tab
local MusicTab = Window:CreateTab("Music", nil)
MusicTab:CreateInput({
Name = "Enter Song ID",
PlaceholderText = "e.g., 123456789",
RemoveTextAfterFocusLost = false,
Callback = function(Text)
local player = game.Players.LocalPlayer
if player.Character and player.Character:FindFirstChild("BoomBox", true) then
local boombox = player.Character:FindFirstChild("BoomBox", true)
if boombox:FindFirstChild("Handle") then
local sound = boombox.Handle:FindFirstChildOfClass("Sound")
if sound then
sound.SoundId = "rbxassetid://" .. Text
sound:Play()
end
end
end
end,
})
-- 2. Weather & Shaders Tab
local WeatherTab = Window:CreateTab("Weather & Shaders", nil)
WeatherTab:CreateDropdown({
Name = "Select Weather",
Options = {"Morning", "Night", "Snowy", "Summer"},
CurrentOption = "Morning",
Callback = function(Option)
local Lighting = game:GetService("Lighting")
if Option == "Morning" then
Lighting.TimeOfDay = "12:00:00"
Lighting.Brightness = 2
elseif Option == "Night" then
Lighting.TimeOfDay = "00:00:00"
Lighting.Brightness = 1
elseif Option == "Snowy" then
Lighting.FogEnd = 200
elseif Option == "Summer" then
Lighting.Brightness = 3
end
end,
})
-- 3. Movement Tab
local MovementTab = Window:CreateTab("Movement", nil)
MovementTab:CreateSlider({
Name = "Walk Speed",
Range = {16, 200},
Increment = 1,
Suffix = "Speed",
CurrentValue = 16,
Callback = function(Value)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value
end,
})
-- 4. Camera Tab
local CameraTab = Window:CreateTab("Camera", nil)
CameraTab:CreateButton({
Name = "Enable Freecam",
Callback = function()
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
end,
})
CameraTab:CreateButton({
Name = "Reset Camera",
Callback = function()
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
end,
})
CameraTab:CreateButton({
Name = "Hide GUI",
Callback = function()
Rayfield:Destroy()
end,
})
Comments
No comments yet
Be the first to share your thoughts!