
KeylessUniversal

-- Admin Commands - Rayfield UI by YT|Deasl
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "Admin Commands - YT|Deasl",
LoadingTitle = "Loading Admin Panel",
LoadingSubtitle = "by YT|Deasl",
ConfigurationSaving = {
Enabled = true,
FolderName = "AdminPanelDeasl",
FileName = "AdminConfig"
},
Discord = {
Enabled = false,
Invite = "noinvite",
RememberJoins = true
},
KeySystem = false
})
-- Player Commands Tab
local PlayerTab = Window:CreateTab("Player")
local PlayerSection = PlayerTab:CreateSection("Player Commands")
local SpeedSlider = PlayerTab:CreateSlider({
Name = "WalkSpeed",
Range = {16, 500},
Increment = 10,
Suffix = "speed",
CurrentValue = 16,
Flag = "WalkSpeed",
Callback = function(Value)
local character = game.Players.LocalPlayer.Character
if character and character:FindFirstChild("Humanoid") then
character.Humanoid.WalkSpeed = Value
end
end,
})
local JumpPowerSlider = PlayerTab:CreateSlider({
Name = "JumpPower",
Range = {50, 500},
Increment = 10,
Suffix = "power",
CurrentValue = 50,
Flag = "JumpPower",
Callback = function(Value)
local character = game.Players.LocalPlayer.Character
if character and character:FindFirstChild("Humanoid") then
character.Humanoid.JumpPower = Value
end
end,
})
local GodModeToggle = PlayerTab:CreateToggle({
Name = "God Mode",
CurrentValue = false,
Flag = "GodMode",
Callback = function(Value)
if Value then
getgenv().GodModeConnection = game:GetService("RunService").Heartbeat:Connect(function()
local character = game.Players.LocalPlayer.Character
if character then
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
humanoid.Health = 100
end
end
end)
else
if getgenv().GodModeConnection then
getgenv().GodModeConnection:Disconnect()
end
end
end,
})
local FlyToggle = PlayerTab:CreateToggle({
Name = "Fly Mode",
CurrentValue = false,
Flag = "FlyMode",
Callback = function(Value)
if Value then
loadstring(game:HttpGet('https://raw.githubusercontent.com/XNEOFF/FlyGuiV3/main/FlyGuiV3.txt'))()
else
if getgenv().FlyEnabled then
getgenv().FlyEnabled = false
end
end
end,
})
local NoClipToggle = PlayerTab:CreateToggle({
Name = "NoClip",
CurrentValue = false,
Flag = "NoClip",
Callback = function(Value)
if Value then
getgenv().NoClipConnection = game:GetService("RunService").Stepped:Connect(function()
local character = game.Players.LocalPlayer.Character
if character then
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
end
end)
else
if getgenv().NoClipConnection then
getgenv().NoClipConnection:Disconnect()
end
end
end,
})
-- Server Commands Tab
local ServerTab = Window:CreateTab("Server")
local ServerSection = ServerTab:CreateSection("Server Commands")
local KickButton = ServerTab:CreateButton({
Name = "Kick All Players",
Callback = function()
for _, player in pairs(game.Players:GetPlayers()) do
if player ~= game.Players.LocalPlayer then
player:Kick("Admin Command")
end
end
Rayfield:Notify({
Title = "Kick All",
Content = "All players have been kicked",
Duration = 5,
Image = 4483362458
})
end,
})
local ServerShutdownButton = ServerTab:CreateButton({
Name = "Server Shutdown",
Callback = function()
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game.Players.LocalPlayer)
Rayfield:Notify({
Title = "Server Shutdown",
Content = "Server is shutting down...",
Duration = 5,
Image = 4483362458
})
end,
})
local ClearMapButton = ServerTab:CreateButton({
Name = "Clear Map",
Callback = function()
for _, obj in pairs(workspace:GetDescendants()) do
if obj:IsA("Part") and obj.Parent ~= game.Players.LocalPlayer.Character then
obj:Destroy()
end
end
Rayfield:Notify({
Title = "Map Cleared",
Content = "All parts have been removed",
Duration = 5,
Image = 4483362458
})
end,
})
-- Teleport Tab
local TeleportTab = Window:CreateTab("Teleport")
local TeleportSection = TeleportTab:CreateSection("Teleport Commands")
local TeleportDropdown = TeleportTab:CreateDropdown({
Name = "Teleport to Player",
Options = {},
CurrentOption = "",
Flag = "PlayerTeleport",
Callback = function(Option)
local targetPlayer = game.Players:FindFirstChild(Option)
if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = targetPlayer.Character.HumanoidRootPart.CFrame
end
end,
})
-- Update player list
spawn(function()
while true do
local players = {}
for _, player in pairs(game.Players:GetPlayers()) do
if player ~= game.Players.LocalPlayer then
table.insert(players, player.Name)
end
end
TeleportDropdown:Refresh(players, true)
wait(5)
end
end)
local SpawnTPButton = TeleportTab:CreateButton({
Name = "Teleport to Spawn",
Callback = function()
local spawn = workspace:FindFirstChild("Spawn") or workspace:FindFirstChild("SpawnLocation")
if spawn then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = spawn.CFrame
else
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 10, 0)
end
end,
})
-- Fun Commands Tab
local FunTab = Window:CreateTab("Fun")
local FunSection = FunTab:CreateSection("Fun Commands")
local GravitySlider = FunTab:CreateSlider({
Name = "Gravity",
Range = {0, 196},
Increment = 10,
Suffix = "gravity",
CurrentValue = 196,
Flag = "Gravity",
Callback = function(Value)
workspace.Gravity = Value
end,
})
local TimeSlider = FunTab:CreateSlider({
Name = "Time of Day",
Range = {0, 24},
Increment = 1,
Suffix = "hours",
CurrentValue = 14,
Flag = "Time",
Callback = function(Value)
game.Lighting.ClockTime = Value
end,
})
local FPSBoostToggle = FunTab:CreateToggle({
Name = "FPS Boost",
CurrentValue = false,
Flag = "FPSBoost",
Callback = function(Value)
if Value then
for _, obj in pairs(workspace:GetDescendants()) do
if obj:IsA("Part") and obj.Material == Enum.Material.Plastic then
obj.Material = Enum.Material.SmoothPlastic
end
end
game.Lighting.GlobalShadows = false
else
game.Lighting.GlobalShadows = true
end
end,
})
-- Credits Tab
local CreditsTab = Window:CreateTab("Credits")
local CreditsSection = CreditsTab:CreateSection("Script Information")
CreditsTab:CreateLabel("Script made by: YT|Deasl")
CreditsTab:CreateLabel("UI: Rayfield Interface")
CreditsTab:CreateLabel("Version: 1.0")
CreditsTab:CreateLabel("Special thanks to all users!")
CreditsTab:CreateLabel("YT|Deasl - Best script developer")
local DestroyButton = CreditsTab:CreateButton({
Name = "Destroy GUI",
Callback = function()
Rayfield:Destroy()
end,
})
Rayfield:Notify({
Title = "Admin Panel Loaded",
Content = "Made by YT|Deasl - Enjoy!",
Duration = 6,
Image = 4483362458
})
print("Admin Commands by YT|Deasl - Loaded Successfully!")No comments yet for this script.



