rayfield
Key RequiredUniversal

rayfield

Universal ScriptSigmaPenguinSigmaPenguin 2K views 45 executesUpdated Feb 21, 2026
0.0/ 5(1 votes)
010% Positive
Lua Script•397 lines (10831 chars)
--[[

	Rayfield Interface Premium
	

	Sirius | GUI
    magickidd | elements
    local tier = Premium
]]

--========================================================
-- RAYFIELD LOADER
--========================================================

local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()

--========================================================
-- WINDOW (BIGGER GUI + FORCE RESIZE)
--========================================================
local MainWindow = Rayfield:CreateWindow({
    Name = "Rayfield Universal [Premium]",
    LoadingTitle = "Loading...",
    LoadingSubtitle = "by magickidd",
    Size = UDim2.new(0, 900, 0, 657), -- Bigger window
    ConfigurationSaving = {
        Enabled = true,
        FolderName = nil,
        FileName = "universal Hub"
    },
    Discord = {
        Enabled = false,
        Invite = "noinvitelink",
        RememberJoins = true
    },
    KeySystem = false, -- set this to true if updated
    KeySettings = {
        Title = "Magic's Key System",
        Subtitle = "this is a key system for protection",
        Note = "Key: MAIN-PREMIUM",
        FileName = "SiriusKey",
        SaveKey = true,
        GrabKeyFromSite = false,
        Key = "MAIN-PREMIUM"
    }
})

-- Force Rayfield to keep the large size
task.delay(0.25, function()
    MainWindow:SetSize(UDim2.new(0, 900, 0, 650))
end)

--========================================================
-- TABS (6)
--========================================================
local MainTab = MainWindow:CreateTab("🏠Home", nil)
local MiscTab = MainWindow:CreateTab("⚙️Misc", nil)
local PlayerTab = MainWindow:CreateTab("🎮Player", nil)
local MoreTab = MainWindow:CreateTab("More✅", nil)
local PlayersServerTab = MainWindow:CreateTab("👥Players (Server)", nil)
local TogglesTab = Window:CreateTab("▶️ Toggles", nil)

--========================================================
-- HUMANOID HELPER
--========================================================
local function getHumanoid()
    local plr = game.Players.LocalPlayer
    local char = plr.Character or plr.CharacterAdded:Wait()
    local hum = char:FindFirstChildOfClass("Humanoid")
    if hum then return hum end
    char.ChildAdded:Wait()
    return char:FindFirstChildOfClass("Humanoid")
end

--========================================================
-- WALKSPEED SLIDER
--========================================================
MainTab:CreateSlider({
    Name = "Walkspeed",
    Range = {16, 250},
    Increment = 10,
    Suffix = "Speed",
    CurrentValue = 16,
    Flag = "Slider_Walkspeed",
    Callback = function(v)
        local hum = getHumanoid()
        hum.WalkSpeed = v
    end,
})

--========================================================
-- JUMPPOWER OVERRIDE SYSTEM
--========================================================
local JP_Override_Enabled = false
local JP_Value = 50

task.spawn(function()
    while true do
        task.wait()
        if JP_Override_Enabled then
            local hum = getHumanoid()
            hum.UseJumpPower = true
            hum.JumpPower = JP_Value
        end
    end
end)

MainTab:CreateSlider({
    Name = "JumpPower",
    Range = {50, 500},
    Increment = 10,
    Suffix = "Power",
    CurrentValue = 50,
    Flag = "Slider_JumpPower",
    Callback = function(v)
        JP_Value = v
        JP_Override_Enabled = true
    end,
})

--========================================================
-- BUTTON
--========================================================
MainTab:CreateButton({
    Name = "print Hello World!",
    Callback = function()
        print("Hello World!")
    end,
})

--========================================================
-- FULLBRIGHT SYSTEM
--========================================================
local Lighting = game:GetService("Lighting")

local Original = {
    Brightness = Lighting.Brightness,
    ClockTime = Lighting.ClockTime,
    FogEnd = Lighting.FogEnd,
    GlobalShadows = Lighting.GlobalShadows,
    Ambient = Lighting.Ambient
}

local function ApplyFullbright()
    Lighting.Brightness = 2
    Lighting.ClockTime = 14
    Lighting.FogEnd = 100000
    Lighting.GlobalShadows = false
    Lighting.Ambient = Color3.new(1, 1, 1)
end

local function RestoreLighting()
    Lighting.Brightness = Original.Brightness
    Lighting.ClockTime = Original.ClockTime
    Lighting.FogEnd = Original.FogEnd
    Lighting.GlobalShadows = Original.GlobalShadows
    Lighting.Ambient = Original.Ambient
end

Lighting:GetPropertyChangedSignal("Brightness"):Connect(function()
    if _G.FullbrightEnabled then
        ApplyFullbright()
    end
end)

MainTab:CreateToggle({
    Name = "Fullbright",
    CurrentValue = false,
    Flag = "Toggle_Fullbright",
    Callback = function(Value)
        _G.FullbrightEnabled = Value
        if Value then
            ApplyFullbright()
        else
            RestoreLighting()
        end
    end,
})

--========================================================
-- MISC TAB
--========================================================
MiscTab:CreateButton({
    Name = "Print LocalPlayer Name",
    Callback = function()
        print(game.Players.LocalPlayer.Name)
    end,
})

--========================================================
-- ESP FUNCTIONS
--========================================================
local function applyESP(character)
    if not character then return end
    if character:FindFirstChild("ESP_Highlight") then return end

    local highlight = Instance.new("Highlight")
    highlight.Name = "ESP_Highlight"
    highlight.FillColor = Color3.fromRGB(255, 0, 0)
    highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
    highlight.FillTransparency = 0.5
    highlight.OutlineTransparency = 0
    highlight.Parent = character
end

local function removeESP(character)
    if not character then return end
    local h = character:FindFirstChild("ESP_Highlight")
    if h then h:Destroy() end
end

local function enableESP()
    for _, player in ipairs(game.Players:GetPlayers()) do
        if player.Character then
            applyESP(player.Character)
        end
        player.CharacterAdded:Connect(function(char)
            applyESP(char)
        end)
    end
end

local function disableESP()
    for _, player in ipairs(game.Players:GetPlayers()) do
        if player.Character then
            removeESP(player.Character)
        end
    end
end

--========================================================
-- PLAYER TAB (ESP)
--========================================================
PlayerTab:CreateToggle({
    Name = "ESP",
    CurrentValue = false,
    Flag = "Toggle_ESP",
    Callback = function(state)
        if state then
            enableESP()
            print("ESP Enabled")
        else
            disableESP()
            print("ESP Disabled")
        end
    end,
})

--========================================================
-- MORE TAB
--========================================================
MoreTab:CreateButton({
    Name = "DESTROY",
    Callback = function()
        Rayfield:Destroy()
    end,
})

MoreTab:CreateButton({
    Name = "Yield",
    Callback = function()
        loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
    end,
})

MoreTab:CreateButton({
    Name = "sirius",
    Callback = function()
        loadstring(game:HttpGet("https://sirius.menu/script"))()
    end,
})

MoreTab:CreateDropdown({
    Name = "select wait method",
    Options = {"task.wait", "wait"},
    CurrentOption = {"task.wait"},
    MultipleOptions = false,
    Flag = "Dropdown1",
    Callback = function(Options)
    end,
})

--========================================================
-- PLAYERS (SERVER) TAB
--========================================================
local function getPlayerNames()
    local names = {}
    for _, plr in ipairs(game.Players:GetPlayers()) do
        table.insert(names, plr.Name)
    end
    return names
end

local SelectedPlayer = nil

local PlayerDropdown = PlayersServerTab:CreateDropdown({
    Name = "Select Player",
    Options = getPlayerNames(),
    CurrentOption = {},
    MultipleOptions = false,
    Flag = "Dropdown_SelectPlayer",
    Callback = function(option)
        SelectedPlayer = option[1]
    end,
})

game.Players.PlayerAdded:Connect(function()
    PlayerDropdown:Set(getPlayerNames())
end)

game.Players.PlayerRemoving:Connect(function()
    PlayerDropdown:Set(getPlayerNames())
end)

PlayersServerTab:CreateButton({
    Name = "Print Selected Player",
    Callback = function()
        if SelectedPlayer then
            print("Selected Player:", SelectedPlayer)
        else
            print("No player selected.")
        end
    end,
})

PlayersServerTab:CreateButton({
    Name = "Teleport to Player",
    Callback = function()
        if not SelectedPlayer then
            warn("No player selected.")
            return
        end

        local target = game.Players:FindFirstChild(SelectedPlayer)
        local localChar = game.Players.LocalPlayer.Character

        if target and target.Character and localChar then
            localChar:PivotTo(target.Character:GetPivot())
        end
    end,
})

--========================================================
-- SIMPLE ANIMATION BUTTON (More Tab)
--========================================================

MoreTab:CreateButton({
    Name = "Play Animation",
    Callback = function()
        local player = game.Players.LocalPlayer
        local char = player.Character or player.CharacterAdded:Wait()
        local hum = char:FindFirstChildOfClass("Humanoid")

        if not hum then
            warn("No Humanoid found.")
            return
        end

        -- CHANGE THIS TO ANY ANIMATION YOU WANT
        local animId = "rbxassetid://84538571583014" -- Floss

        -- Create animation object
        local anim = Instance.new("Animation")
        anim.AnimationId = animId

        -- Stop old animation if playing
        if _G.SimpleAnimTrack then
            _G.SimpleAnimTrack:Stop()
        end

        -- Load + play
        local track = hum:LoadAnimation(anim)
        _G.SimpleAnimTrack = track
        track:Play()

        print("Playing animation:", animId)
    end,
})

local Button = MoreTab:CreateButton({
    Name = "Insert Part",
    Callback = function()
        local spawn = workspace:FindFirstChildOfClass("SpawnLocation")

        if spawn then
            local part = Instance.new("Part")
            part.Size = Vector3.new(5, 1, 5)
            part.Anchored = true
            part.Color = Color3.fromRGB(255, 0, 0)
            part.Position = spawn.Position + Vector3.new(0, 3, 0)
            part.Parent = workspace

            print("Part inserted at spawn!")
        else
            warn("No SpawnLocation found in workspace.")
        end
    end,
})

Features & Information

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalot of features

Community Comments (1)

SigmaPenguinSigmaPenguinFeb 28, 2026

Note: this is the beta version. please use the full version

More Scripts for Universal Scripts