Advertisement
Shhhq0181

Dex Oslo build

Apr 17th, 2025 (edited)
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 96.68 KB | None | 0 0
  1. --[[
  2.     Dex Oslo build v1.0
  3.     The most powerful and advanced version ever
  4.     Developed by you_noob970
  5. This just try build or alpha
  6.     With complete performance, interface, and security improvements
  7. ]]
  8.  
  9. local Players = game:GetService("Players")
  10. local CoreGui = game:GetService("CoreGui")
  11. local TweenService = game:GetService("TweenService")
  12. local UserInputService = game:GetService("UserInputService")
  13. local TeleportService = game:GetService("TeleportService")
  14. local RunService = game:GetService("RunService")
  15. local HttpService = game:GetService("HttpService")
  16. local StarterGui = game:GetService("StarterGui")
  17. local Lighting = game:GetService("Lighting")
  18. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  19.  
  20. -- Premium UI settings
  21. local UI_SIZE = UDim2.new(0, 418, 0, 500) -- Adjusted for smaller devices
  22. local BG_COLOR = Color3.fromRGB(10, 10, 20) -- Darker professional look
  23. local ACCENT_COLOR = Color3.fromRGB(0, 180, 255) -- Modified accent color
  24. local ERROR_COLOR = Color3.fromRGB(255, 60, 60)
  25. local SUCCESS_COLOR = Color3.fromRGB(0, 230, 120)
  26. local TEXT_COLOR = Color3.fromRGB(240, 240, 240)
  27. local DARK_TEXT = Color3.fromRGB(30, 30, 40)
  28.  
  29. -- Anti-Detection System
  30. local function AntiDetection()
  31.     -- Randomize script names
  32.     local randomName = HttpService:GenerateGUID(false)
  33.     randomName = string.gsub(randomName, "-", "")
  34.    
  35.     -- Encrypt sensitive functions
  36.     local function EncryptFunc(func)
  37.         local encrypted = {}
  38.         for i = 1, #func do
  39.             table.insert(encrypted, string.char(func:byte(i) + 5))
  40.         end
  41.         return table.concat(encrypted)
  42.     end
  43.    
  44.     -- Hide script in memory
  45.     if not getgenv then
  46.         getgenv = function() return _G end
  47.     end
  48.    
  49.     getgenv()[randomName] = true
  50.    
  51.     -- Basic Anti-Exploit bypass
  52.     if not hookfunction then
  53.         getgenv().hookfunction = function(f, g) return f end
  54.     end
  55.     if not newcclosure then
  56.         getgenv().newcclosure = function(f) return f end
  57.     end
  58. end
  59.  
  60. AntiDetection()
  61.  
  62. -- 1. Create premium main UI
  63. local DexOslo = Instance.new("ScreenGui")
  64. DexOslo.Name = "DexOslobuild_"..HttpService:GenerateGUID(false)
  65. DexOslo.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  66. DexOslo.ResetOnSpawn = false
  67. DexOslo.DisplayOrder = 999
  68.  
  69. -- 2. Advanced loading screen with 3D effects
  70. local function CreateLoadingScreen()
  71.     local loadingGui = Instance.new("ScreenGui")
  72.     loadingGui.Name = "DexOsloLoading_"..HttpService:GenerateGUID(false)
  73.     loadingGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  74.     loadingGui.DisplayOrder = 1000
  75.    
  76.     local mainFrame = Instance.new("Frame")
  77.     mainFrame.Size = UDim2.new(0, 400, 0, 200)
  78.     mainFrame.Position = UDim2.new(0.5, -200, 0.5, -100) -- Centered
  79.     mainFrame.BackgroundColor3 = BG_COLOR
  80.     mainFrame.BorderSizePixel = 0
  81.     mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  82.     mainFrame.ClipsDescendants = true
  83.    
  84.     -- Rounded corners with transparency effect
  85.     local corner = Instance.new("UICorner")
  86.     corner.CornerRadius = UDim.new(0, 12)
  87.     corner.Parent = mainFrame
  88.    
  89.     -- Animated gradient effect
  90.     local gradient = Instance.new("UIGradient")
  91.     gradient.Color = ColorSequence.new({
  92.         ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 80, 180)),
  93.         ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 180, 255))
  94.     })
  95.     gradient.Rotation = 45
  96.     gradient.Parent = mainFrame
  97.    
  98.     -- Gradient movement effect
  99.     spawn(function()
  100.         while loadingGui.Parent do
  101.             gradient.Rotation = (gradient.Rotation + 0.5) % 360
  102.             wait()
  103.         end
  104.     end)
  105.    
  106.     local title = Instance.new("TextLabel")
  107.     title.Text = "DEX OSLO BUILD v1.0"
  108.     title.Font = Enum.Font.GothamBlack
  109.     title.TextSize = 22
  110.     title.TextColor3 = TEXT_COLOR
  111.     title.Size = UDim2.new(1, -40, 0, 50)
  112.     title.Position = UDim2.new(0, 20, 0.1, 0)
  113.     title.BackgroundTransparency = 1
  114.     title.TextXAlignment = Enum.TextXAlignment.Left
  115.    
  116.     -- Text shadow effect
  117.     local titleShadow = title:Clone()
  118.     titleShadow.TextColor3 = Color3.new(0, 0, 0)
  119.     titleShadow.Position = title.Position + UDim2.new(0, 2, 0, 2)
  120.     titleShadow.ZIndex = title.ZIndex - 1
  121.     titleShadow.Parent = mainFrame
  122.    
  123.     local version = Instance.new("TextLabel")
  124.     version.Text = "v1.0 | BUILD Edition | by you_noob970"
  125.     version.Font = Enum.Font.GothamMedium
  126.     version.TextSize = 12
  127.     version.TextColor3 = Color3.fromRGB(180, 180, 180)
  128.     version.Size = UDim2.new(1, -40, 0, 20)
  129.     version.Position = UDim2.new(0, 20, 0.25, 0)
  130.     version.BackgroundTransparency = 1
  131.     version.TextXAlignment = Enum.TextXAlignment.Left
  132.    
  133.     local progressContainer = Instance.new("Frame")
  134.     progressContainer.Size = UDim2.new(1, -40, 0, 15)
  135.     progressContainer.Position = UDim2.new(0, 20, 0.6, 0)
  136.     progressContainer.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
  137.     progressContainer.BorderSizePixel = 0
  138.    
  139.     local progressCorner = Instance.new("UICorner")
  140.     progressCorner.CornerRadius = UDim.new(1, 0)
  141.     progressCorner.Parent = progressContainer
  142.    
  143.     local progressFill = Instance.new("Frame")
  144.     progressFill.Size = UDim2.new(0, 0, 1, 0)
  145.     progressFill.BackgroundColor3 = ACCENT_COLOR
  146.     progressFill.BorderSizePixel = 0
  147.     progressFill.Parent = progressContainer
  148.    
  149.     local progressCornerFill = Instance.new("UICorner")
  150.     progressCornerFill.CornerRadius = UDim.new(1, 0)
  151.     progressCornerFill.Parent = progressFill
  152.    
  153.     -- Glow effect for progress bar
  154.     local progressGlow = Instance.new("ImageLabel")
  155.     progressGlow.Size = UDim2.new(1, 10, 1, 10)
  156.     progressGlow.Position = UDim2.new(0, -5, 0, -5)
  157.     progressGlow.Image = "rbxassetid://5028857084"
  158.     progressGlow.ImageColor3 = ACCENT_COLOR
  159.     progressGlow.ScaleType = Enum.ScaleType.Slice
  160.     progressGlow.SliceCenter = Rect.new(20, 20, 480, 480)
  161.     progressGlow.ImageTransparency = 0.7
  162.     progressGlow.BackgroundTransparency = 1
  163.     progressGlow.ZIndex = -1
  164.     progressGlow.Parent = progressFill
  165.    
  166.     local loadingText = Instance.new("TextLabel")
  167.     loadingText.Text = "Loading... 0%"
  168.     loadingText.Font = Enum.Font.GothamBold
  169.     loadingText.TextSize = 16
  170.     loadingText.TextColor3 = TEXT_COLOR
  171.     loadingText.Size = UDim2.new(1, -40, 0, 30)
  172.     loadingText.Position = UDim2.new(0, 20, 0.75, 0)
  173.     loadingText.BackgroundTransparency = 1
  174.     loadingText.TextXAlignment = Enum.TextXAlignment.Left
  175.    
  176.     -- Additional 3D effects
  177.     local glow = Instance.new("ImageLabel")
  178.     glow.Size = UDim2.new(1, 60, 1, 60)
  179.     glow.Position = UDim2.new(0, -30, 0, -30)
  180.     glow.BackgroundTransparency = 1
  181.     glow.Image = "rbxassetid://5028857084"
  182.     glow.ImageColor3 = ACCENT_COLOR
  183.     glow.ScaleType = Enum.ScaleType.Slice
  184.     glow.SliceCenter = Rect.new(20, 20, 480, 480)
  185.     glow.SliceScale = 1
  186.     glow.ImageTransparency = 0.8
  187.     glow.ZIndex = -1
  188.     glow.Parent = mainFrame
  189.    
  190.     -- Particles effect
  191.     local particles = Instance.new("Frame")
  192.     particles.Size = UDim2.new(1, 0, 1, 0)
  193.     particles.BackgroundTransparency = 1
  194.     particles.Parent = mainFrame
  195.    
  196.     spawn(function()
  197.         for i = 1, 15 do
  198.             local particle = Instance.new("Frame")
  199.             particle.Size = UDim2.new(0, math.random(5, 15), 0, math.random(5, 15))
  200.             particle.Position = UDim2.new(0, math.random(0, 400), 0, math.random(0, 200))
  201.             particle.BackgroundColor3 = ACCENT_COLOR
  202.             particle.BackgroundTransparency = math.random(5, 8)/10
  203.             particle.BorderSizePixel = 0
  204.             particle.Rotation = math.random(0, 360)
  205.             particle.Parent = particles
  206.            
  207.             spawn(function()
  208.                 while particle.Parent do
  209.                     particle.Position = UDim2.new(
  210.                         0, (particle.Position.X.Offset + math.random(-2, 2)) % 400,
  211.                         0, (particle.Position.Y.Offset + math.random(-2, 2)) % 200
  212.                     )
  213.                     wait(math.random(1, 3)/10)
  214.                 end
  215.             end)
  216.         end
  217.     end)
  218.    
  219.     mainFrame.Parent = loadingGui
  220.     title.Parent = mainFrame
  221.     version.Parent = mainFrame
  222.     progressContainer.Parent = mainFrame
  223.     loadingText.Parent = mainFrame
  224.     loadingGui.Parent = CoreGui
  225.    
  226.     -- Loading effect with smooth animation
  227.     local loadTime = 2.0
  228.     local startTime = tick()
  229.    
  230.     local connection
  231.     connection = RunService.RenderStepped:Connect(function()
  232.         local elapsed = tick() - startTime
  233.         local progress = math.min(elapsed / loadTime, 1)
  234.        
  235.         progressFill.Size = UDim2.new(progress, 0, 1, 0)
  236.         loadingText.Text = string.format("Loading... %d%%", math.floor(progress * 100))
  237.        
  238.         -- Change gradient color during loading
  239.         gradient.Color = ColorSequence.new({
  240.             ColorSequenceKeypoint.new(0, Color3.fromRGB(0, math.floor(80 + progress * 100), 180)),
  241.             ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 180, math.floor(255 - progress * 50)))
  242.         })
  243.        
  244.         -- Change particles transparency
  245.         for _, particle in ipairs(particles:GetChildren()) do
  246.             particle.BackgroundTransparency = 0.5 + (progress * 0.5)
  247.         end
  248.        
  249.         if progress >= 1 then
  250.             connection:Disconnect()
  251.             TweenService:Create(mainFrame, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {
  252.                 Size = UDim2.new(0, 400, 0, 0),
  253.                 Position = UDim2.new(0.5, -200, 0.5, 0)
  254.             }):Play()
  255.             TweenService:Create(glow, TweenInfo.new(0.7), {ImageTransparency = 1}):Play()
  256.             wait(0.7)
  257.             loadingGui:Destroy()
  258.         end
  259.     end)
  260.    
  261.     return loadTime
  262. end
  263.  
  264. -- 3. Main UI with draggable functionality and modern design
  265. local MainFrame = Instance.new("Frame")
  266. MainFrame.Size = UI_SIZE
  267. MainFrame.Position = UDim2.new(0.5, -209, 0.5, -250) -- Centered
  268. MainFrame.BackgroundColor3 = BG_COLOR
  269. MainFrame.BorderSizePixel = 0
  270. MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  271. MainFrame.ClipsDescendants = true
  272.  
  273. -- Rounded corners with effect
  274. local mainCorner = Instance.new("UICorner")
  275. mainCorner.CornerRadius = UDim.new(0, 12)
  276. mainCorner.Parent = MainFrame
  277.  
  278. -- Advanced shadow effect
  279. local shadow = Instance.new("ImageLabel")
  280. shadow.Name = "Shadow"
  281. shadow.Size = UDim2.new(1, 30, 1, 30)
  282. shadow.Position = UDim2.new(0, -15, 0, -15)
  283. shadow.Image = "rbxassetid://5028857084"
  284. shadow.ImageColor3 = Color3.new(0, 0, 0)
  285. shadow.ScaleType = Enum.ScaleType.Slice
  286. shadow.SliceCenter = Rect.new(20, 20, 480, 480)
  287. shadow.SliceScale = 1
  288. shadow.BackgroundTransparency = 1
  289. shadow.ZIndex = -1
  290. shadow.ImageTransparency = 0.3
  291. shadow.Parent = MainFrame
  292.  
  293. local TopBar = Instance.new("Frame")
  294. TopBar.Size = UDim2.new(1, 0, 0, 40)
  295. TopBar.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
  296. TopBar.BorderSizePixel = 0
  297.  
  298. local topCorner = Instance.new("UICorner")
  299. topCorner.CornerRadius = UDim.new(0, 12)
  300. topCorner.Parent = TopBar
  301.  
  302. local Title = Instance.new("TextLabel")
  303. Title.Text = "DEX OSLO BUILD V1"
  304. Title.Font = Enum.Font.GothamBlack
  305. Title.TextSize = 16
  306. Title.TextColor3 = ACCENT_COLOR
  307. Title.Size = UDim2.new(0, 250, 1, 0)
  308. Title.Position = UDim2.new(0.5, -125, 0, 0)
  309. Title.BackgroundTransparency = 1
  310.  
  311. -- Text shadow effect
  312. local titleShadow = Title:Clone()
  313. titleShadow.TextColor3 = Color3.new(0, 0, 0)
  314. titleShadow.Position = Title.Position + UDim2.new(0, 2, 0, 2)
  315. titleShadow.ZIndex = Title.ZIndex - 1
  316. titleShadow.Parent = TopBar
  317.  
  318. local CloseButton = Instance.new("TextButton")
  319. CloseButton.Text = "✕"
  320. CloseButton.Font = Enum.Font.GothamBold
  321. CloseButton.TextSize = 20
  322. CloseButton.TextColor3 = TEXT_COLOR
  323. CloseButton.Size = UDim2.new(0, 40, 1, 0)
  324. CloseButton.Position = UDim2.new(1, -40, 0, 0)
  325. CloseButton.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
  326. CloseButton.BorderSizePixel = 0
  327.  
  328. local closeCorner = Instance.new("UICorner")
  329. closeCorner.CornerRadius = UDim.new(0, 12)
  330. closeCorner.Parent = CloseButton
  331.  
  332. -- Hover effect
  333. CloseButton.MouseEnter:Connect(function()
  334.     TweenService:Create(CloseButton, TweenInfo.new(0.2), {
  335.         BackgroundColor3 = Color3.fromRGB(255, 60, 60),
  336.         TextColor3 = Color3.fromRGB(255, 255, 255)
  337.     }):Play()
  338. end)
  339.  
  340. CloseButton.MouseLeave:Connect(function()
  341.     TweenService:Create(CloseButton, TweenInfo.new(0.2), {
  342.         BackgroundColor3 = Color3.fromRGB(45, 45, 55),
  343.         TextColor3 = TEXT_COLOR
  344.     }):Play()
  345. end)
  346.  
  347. -- Show/Hide UI button
  348. local ToggleButton = Instance.new("TextButton")
  349. ToggleButton.Text = "─"
  350. ToggleButton.Font = Enum.Font.GothamBold
  351. ToggleButton.TextSize = 20
  352. ToggleButton.TextColor3 = TEXT_COLOR
  353. ToggleButton.Size = UDim2.new(0, 40, 1, 0)
  354. ToggleButton.Position = UDim2.new(1, -80, 0, 0)
  355. ToggleButton.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
  356. ToggleButton.BorderSizePixel = 0
  357.  
  358. local toggleCorner = Instance.new("UICorner")
  359. toggleCorner.CornerRadius = UDim.new(0, 12)
  360. toggleCorner.Parent = ToggleButton
  361.  
  362. -- Hover effect
  363. ToggleButton.MouseEnter:Connect(function()
  364.     TweenService:Create(ToggleButton, TweenInfo.new(0.2), {
  365.         BackgroundColor3 = ACCENT_COLOR,
  366.         TextColor3 = Color3.fromRGB(255, 255, 255)
  367.     }):Play()
  368. end)
  369.  
  370. ToggleButton.MouseLeave:Connect(function()
  371.     TweenService:Create(ToggleButton, TweenInfo.new(0.2), {
  372.         BackgroundColor3 = Color3.fromRGB(45, 45, 55),
  373.         TextColor3 = TEXT_COLOR
  374.     }):Play()
  375. end)
  376.  
  377. local isMinimized = false
  378. ToggleButton.MouseButton1Click:Connect(function()
  379.     if isMinimized then
  380.         -- Show UI with smooth effect
  381.         TweenService:Create(MainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
  382.             Size = UI_SIZE,
  383.             Position = UDim2.new(0.5, -209, 0.5, -250)
  384.         }):Play()
  385.         ToggleButton.Text = "─"
  386.         isMinimized = false
  387.     else
  388.         -- Minimize UI with smooth effect
  389.         TweenService:Create(MainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.In), {
  390.             Size = UDim2.new(0, 40, 0, 40),
  391.             Position = UDim2.new(1, -50, 1, -50)
  392.         }):Play()
  393.         ToggleButton.Text = "+"
  394.         isMinimized = true
  395.     end
  396. end)
  397.  
  398. -- 4. UI Dragging System (updated and improved)
  399. local dragging, dragInput, dragStart, startPos
  400.  
  401. local function UpdateInput(input)
  402.     local delta = input.Position - dragStart
  403.     local newPos = UDim2.new(
  404.         startPos.X.Scale,
  405.         startPos.X.Offset + delta.X,
  406.         startPos.Y.Scale,
  407.         startPos.Y.Offset + delta.Y
  408.     )
  409.    
  410.     -- Adjust boundaries to prevent going off-screen
  411.     local viewportSize = workspace.CurrentCamera.ViewportSize
  412.     local frameSize = MainFrame.AbsoluteSize
  413.    
  414.     newPos = UDim2.new(
  415.         math.clamp(newPos.X.Scale, 0, 1),
  416.         math.clamp(newPos.X.Offset, 0, viewportSize.X - frameSize.X),
  417.         math.clamp(newPos.Y.Scale, 0, 1),
  418.         math.clamp(newPos.Y.Offset, 0, viewportSize.Y - frameSize.Y)
  419.     )
  420.    
  421.     MainFrame.Position = newPos
  422. end
  423.  
  424. TopBar.InputBegan:Connect(function(input)
  425.     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  426.         dragging = true
  427.         dragStart = input.Position
  428.         startPos = MainFrame.Position
  429.        
  430.         input.Changed:Connect(function()
  431.             if input.UserInputState == Enum.UserInputState.End then
  432.                 dragging = false
  433.             end
  434.         end)
  435.     end
  436. end)
  437.  
  438. TopBar.InputChanged:Connect(function(input)
  439.     if input.UserInputType == Enum.UserInputType.MouseMovement then
  440.         dragInput = input
  441.     end
  442. end)
  443.  
  444. UserInputService.InputChanged:Connect(function(input)
  445.     if input == dragInput and dragging then
  446.         UpdateInput(input)
  447.     end
  448. end)
  449.  
  450. -- 5. Search box and commands (updated and improved)
  451. local SearchContainer = Instance.new("Frame")
  452. SearchContainer.Size = UDim2.new(1, -20, 0, 40)
  453. SearchContainer.Position = UDim2.new(0, 10, 0, 45)
  454. SearchContainer.BackgroundTransparency = 1
  455.  
  456. local SearchBox = Instance.new("TextBox")
  457. SearchBox.Size = UDim2.new(0.7, 0, 1, 0)
  458. SearchBox.Position = UDim2.new(0, 0, 0, 0)
  459. SearchBox.PlaceholderText = "🔍 Search player or type command (!fly @player)"
  460. SearchBox.Text = ""
  461. SearchBox.Font = Enum.Font.GothamMedium
  462. SearchBox.TextSize = 14
  463. SearchBox.TextColor3 = TEXT_COLOR
  464. SearchBox.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
  465. SearchBox.BorderSizePixel = 0
  466. SearchBox.ClearTextOnFocus = false
  467.  
  468. local searchCorner = Instance.new("UICorner")
  469. searchCorner.CornerRadius = UDim.new(0, 8)
  470. searchCorner.Parent = SearchBox
  471.  
  472. local SearchButton = Instance.new("TextButton")
  473. SearchButton.Text = "Execute"
  474. SearchButton.Size = UDim2.new(0.28, -5, 1, 0)
  475. SearchButton.Position = UDim2.new(0.72, 5, 0, 0)
  476. SearchButton.Font = Enum.Font.GothamBlack
  477. SearchButton.TextSize = 14
  478. SearchButton.TextColor3 = TEXT_COLOR
  479. SearchButton.BackgroundColor3 = ACCENT_COLOR
  480. SearchButton.BorderSizePixel = 0
  481.  
  482. local searchBtnCorner = Instance.new("UICorner")
  483. searchBtnCorner.CornerRadius = UDim.new(0, 8)
  484. searchBtnCorner.Parent = SearchButton
  485.  
  486. -- Focus effects
  487. SearchBox.Focused:Connect(function()
  488.     TweenService:Create(SearchBox, TweenInfo.new(0.2), {
  489.         BackgroundColor3 = Color3.fromRGB(45, 45, 55)
  490.     }):Play()
  491. end)
  492.  
  493. SearchBox.FocusLost:Connect(function()
  494.     TweenService:Create(SearchBox, TweenInfo.new(0.2), {
  495.         BackgroundColor3 = Color3.fromRGB(35, 35, 45)
  496.     }):Play()
  497. end)
  498.  
  499. -- Hover effects
  500. SearchButton.MouseEnter:Connect(function()
  501.     TweenService:Create(SearchButton, TweenInfo.new(0.2), {
  502.         BackgroundColor3 = Color3.fromRGB(0, 200, 255),
  503.         TextColor3 = DARK_TEXT
  504.     }):Play()
  505. end)
  506.  
  507. SearchButton.MouseLeave:Connect(function()
  508.     TweenService:Create(SearchButton, TweenInfo.new(0.2), {
  509.         BackgroundColor3 = ACCENT_COLOR,
  510.         TextColor3 = TEXT_COLOR
  511.     }):Play()
  512. end)
  513.  
  514. -- 6. Players list (updated with improvements)
  515. local PlayersTab = Instance.new("Frame")
  516. PlayersTab.Size = UDim2.new(1, 0, 1, -100)
  517. PlayersTab.Position = UDim2.new(0, 0, 0, 90)
  518. PlayersTab.BackgroundTransparency = 1
  519.  
  520. local PlayersScroll = Instance.new("ScrollingFrame")
  521. PlayersScroll.Size = UDim2.new(1, -10, 0.6, 0)
  522. PlayersScroll.Position = UDim2.new(0, 5, 0, 5)
  523. PlayersScroll.BackgroundTransparency = 1
  524. PlayersScroll.ScrollBarThickness = 8
  525. PlayersScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
  526. PlayersScroll.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 100)
  527. PlayersScroll.ScrollingDirection = Enum.ScrollingDirection.Y
  528.  
  529. -- 7. Advanced control panel (updated)
  530. local ControlsFrame = Instance.new("Frame")
  531. ControlsFrame.Size = UDim2.new(1, -10, 0.35, -10)
  532. ControlsFrame.Position = UDim2.new(0, 5, 0.65, 5)
  533. ControlsFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
  534. ControlsFrame.BorderSizePixel = 0
  535.  
  536. local controlsCorner = Instance.new("UICorner")
  537. controlsCorner.CornerRadius = UDim.new(0, 8)
  538. controlsCorner.Parent = ControlsFrame
  539.  
  540. -- Scrollbar for commands
  541. local ControlsScroll = Instance.new("ScrollingFrame")
  542. ControlsScroll.Size = UDim2.new(1, 0, 1, 0)
  543. ControlsScroll.Position = UDim2.new(0, 0, 0, 0)
  544. ControlsScroll.BackgroundTransparency = 1
  545. ControlsScroll.ScrollBarThickness = 8
  546. ControlsScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
  547. ControlsScroll.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 100)
  548. ControlsScroll.ScrollingDirection = Enum.ScrollingDirection.Y
  549. ControlsScroll.Parent = ControlsFrame
  550.  
  551. -- 8. Complete commands (updated with new commands)
  552. local commands = {
  553.     -- Basic commands
  554.     {name = "!freeze", desc = "Freeze the player", color = Color3.fromRGB(70, 70, 90), func = function(plr)
  555.         if plr.Character then
  556.             for _, v in ipairs(plr.Character:GetDescendants()) do
  557.                 if v:IsA("BasePart") then
  558.                     v.Anchored = true
  559.                     v.CanCollide = false
  560.                 end
  561.             end
  562.             return "✅ Frozen "..plr.Name
  563.         end
  564.         return "❌ Failed to freeze player"
  565.     end},
  566.    
  567.     {name = "!unfreeze", desc = "Unfreeze the player", color = Color3.fromRGB(70, 70, 90), func = function(plr)
  568.         if plr.Character then
  569.             for _, v in ipairs(plr.Character:GetDescendants()) do
  570.                 if v:IsA("BasePart") then
  571.                     v.Anchored = false
  572.                     v.CanCollide = true
  573.                 end
  574.             end
  575.             return "✅ Unfrozen "..plr.Name
  576.         end
  577.         return "❌ Failed to unfreeze"
  578.     end},
  579.    
  580.     -- Enhanced fly system
  581.     {name = "!fly", desc = "Enable flying [speed]", color = Color3.fromRGB(70, 70, 90), func = function(plr, _, args)
  582.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  583.             -- Remove any previous fly
  584.             for _, v in ipairs(plr.Character:GetDescendants()) do
  585.                 if v.Name == "DexFlyScript" or v:IsA("BodyGyro") or v:IsA("BodyVelocity") then
  586.                     v:Destroy()
  587.                 end
  588.             end
  589.            
  590.             local flySpeed = tonumber(args[2]) or 50
  591.             local flyScript = Instance.new("Script", plr.Character)
  592.             flyScript.Name = "DexFlyScript"
  593.             flyScript.Source = [[
  594.                 local plr = game:GetService("Players").LocalPlayer
  595.                 local char = plr.Character
  596.                 local root = char:WaitForChild("HumanoidRootPart")
  597.                 local humanoid = char:WaitForChild("Humanoid")
  598.                
  599.                 -- Setup controls
  600.                 local bg = Instance.new("BodyGyro", root)
  601.                 bg.P = 10000
  602.                 bg.maxTorque = Vector3.new(100000, 100000, 100000)
  603.                 bg.cframe = root.CFrame
  604.                
  605.                 local bv = Instance.new("BodyVelocity", root)
  606.                 bv.velocity = Vector3.new(0,0,0)
  607.                 bv.maxForce = Vector3.new(100000,100000,100000)
  608.                
  609.                 local flySpeed = ]]..flySpeed..[[
  610.                 local flying = true
  611.                 local uis = game:GetService("UserInputService")
  612.                
  613.                 -- Fly controls
  614.                 local function updateFly()
  615.                     if not flying then return end
  616.                    
  617.                     local velocity = Vector3.new(0,0,0)
  618.                     local cframe = root.CFrame
  619.                    
  620.                     if uis:IsKeyDown(Enum.KeyCode.W) then
  621.                         velocity = velocity + (cframe.LookVector * flySpeed)
  622.                     end
  623.                     if uis:IsKeyDown(Enum.KeyCode.S) then
  624.                         velocity = velocity + (cframe.LookVector * -flySpeed)
  625.                     end
  626.                     if uis:IsKeyDown(Enum.KeyCode.A) then
  627.                         velocity = velocity + (cframe.RightVector * -flySpeed)
  628.                     end
  629.                     if uis:IsKeyDown(Enum.KeyCode.D) then
  630.                         velocity = velocity + (cframe.RightVector * flySpeed)
  631.                     end
  632.                     if uis:IsKeyDown(Enum.KeyCode.Space) then
  633.                         velocity = velocity + Vector3.new(0, flySpeed, 0)
  634.                     end
  635.                     if uis:IsKeyDown(Enum.KeyCode.LeftShift) then
  636.                         velocity = velocity + Vector3.new(0, -flySpeed, 0)
  637.                     end
  638.                    
  639.                     bv.velocity = velocity
  640.                     bg.cframe = CFrame.new(root.Position, root.Position + velocity)
  641.                 end
  642.                
  643.                 -- Stop flying when dead
  644.                 humanoid.Died:Connect(function()
  645.                     flying = false
  646.                     bg:Destroy()
  647.                     bv:Destroy()
  648.                     script:Destroy()
  649.                 end)
  650.                
  651.                 -- Update movement
  652.                 while flying and root and bg and bv do
  653.                     updateFly()
  654.                     game:GetService("RunService").Heartbeat:Wait()
  655.                 end
  656.             ]]
  657.             return "✅ Enabled flying for "..plr.Name.." with speed "..flySpeed
  658.         end
  659.         return "❌ Failed to enable flying"
  660.     end},
  661.    
  662.     {name = "!nofly", desc = "Disable flying", color = Color3.fromRGB(70, 70, 90), func = function(plr)
  663.         if plr.Character then
  664.             for _, v in ipairs(plr.Character:GetDescendants()) do
  665.                 if v.Name == "DexFlyScript" or v:IsA("BodyGyro") or v:IsA("BodyVelocity") then
  666.                     v:Destroy()
  667.                 end
  668.             end
  669.             return "✅ Disabled flying for "..plr.Name
  670.         end
  671.         return "❌ Failed to disable flying"
  672.     end},
  673.    
  674.     -- Admin commands
  675.     {name = "!kick", desc = "Kick the player", color = ERROR_COLOR, func = function(plr)
  676.         if plr == Players.LocalPlayer then return "❌ Cannot kick yourself" end
  677.         pcall(function()
  678.             plr:Kick("🚫 Kicked by you_noob970")
  679.         end)
  680.         return "✅ Kicked "..plr.Name
  681.     end},
  682.    
  683.     {name = "!ban", desc = "Ban the player", color = Color3.fromRGB(150, 30, 30), func = function(plr)
  684.         if plr == Players.LocalPlayer then return "❌ Cannot ban yourself" end
  685.         pcall(function()
  686.             plr:Kick("🚫 Banned by you_noob970")
  687.         end)
  688.         return "✅ Banned "..plr.Name
  689.     end},
  690.    
  691.     -- Teleport commands
  692.     {name = "!tp all", desc = "Teleport everyone to you", color = ACCENT_COLOR, func = function(_, localPlayer)
  693.         if localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
  694.             local pos = localPlayer.Character.HumanoidRootPart.Position
  695.             for _, p in ipairs(Players:GetPlayers()) do
  696.                 if p ~= localPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
  697.                     pcall(function()
  698.                         p.Character.HumanoidRootPart.CFrame = CFrame.new(pos + Vector3.new(math.random(-5,5), 0, math.random(-5,5)))
  699.                     end)
  700.                 end
  701.             end
  702.             return "✅ Teleported all players to you"
  703.         end
  704.         return "❌ Failed to teleport"
  705.     end},
  706.    
  707.     {name = "!bring", desc = "Bring player to you", color = ACCENT_COLOR, func = function(plr, localPlayer)
  708.         if localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") and
  709.            plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  710.             pcall(function()
  711.                 plr.Character.HumanoidRootPart.CFrame = localPlayer.Character.HumanoidRootPart.CFrame
  712.             end)
  713.             return "✅ Brought "..plr.Name
  714.         end
  715.         return "❌ Failed to bring player"
  716.     end},
  717.    
  718.     -- Invisibility commands
  719.     {name = "!invisible", desc = "Make player invisible", color = Color3.fromRGB(80, 80, 100), func = function(plr)
  720.         if plr.Character then
  721.             for _, v in ipairs(plr.Character:GetDescendants()) do
  722.                 if v:IsA("BasePart") then
  723.                     v.Transparency = 1
  724.                     v.CastShadow = false
  725.                 end
  726.             end
  727.             return "✅ Made "..plr.Name.." invisible"
  728.         end
  729.         return "❌ Failed to make invisible"
  730.     end},
  731.    
  732.     {name = "!visible", desc = "Make player visible", color = Color3.fromRGB(80, 80, 100), func = function(plr)
  733.         if plr.Character then
  734.             for _, v in ipairs(plr.Character:GetDescendants()) do
  735.                 if v:IsA("BasePart") then
  736.                     v.Transparency = 0
  737.                     v.CastShadow = true
  738.                 end
  739.             end
  740.             return "✅ Made "..plr.Name.." visible"
  741.         end
  742.         return "❌ Failed to make visible"
  743.     end},
  744.    
  745.     -- God mode commands
  746.     {name = "!god", desc = "Enable god mode", color = Color3.fromRGB(0, 150, 0), func = function(plr)
  747.         if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
  748.             plr.Character.Humanoid.MaxHealth = math.huge
  749.             plr.Character.Humanoid.Health = math.huge
  750.             return "✅ Enabled god mode for "..plr.Name
  751.         end
  752.         return "❌ Failed to enable god mode"
  753.     end},
  754.  
  755.     {name = "!ungod", desc = "Disable god mode", color = Color3.fromRGB(150, 0, 0), func = function(plr)
  756.         if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
  757.             plr.Character.Humanoid.MaxHealth = 100
  758.             plr.Character.Humanoid.Health = 100
  759.             return "✅ Disabled god mode for "..plr.Name
  760.         end
  761.         return "❌ Failed to disable god mode"
  762.     end},
  763.    
  764.     -- Movement commands
  765.     {name = "!speed", desc = "Modify walk speed [value]", color = Color3.fromRGB(0, 170, 170), func = function(plr, _, args)
  766.         if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
  767.             local speed = tonumber(args[2]) or 50
  768.             plr.Character.Humanoid.WalkSpeed = speed
  769.             return "✅ Set "..plr.Name.."'s speed to "..speed
  770.         end
  771.         return "❌ Failed to modify speed"
  772.     end},
  773.    
  774.     {name = "!jump", desc = "Modify jump power [value]", color = Color3.fromRGB(170, 0, 170), func = function(plr, _, args)
  775.         if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
  776.             local power = tonumber(args[2]) or 50
  777.             plr.Character.Humanoid.JumpPower = power
  778.             return "✅ Set "..plr.Name.."'s jump to "..power
  779.         end
  780.         return "❌ Failed to modify jump"
  781.     end},
  782.    
  783.     -- Noclip commands
  784.     {name = "!noclip", desc = "Enable noclip", color = Color3.fromRGB(170, 170, 0), func = function(plr)
  785.         if plr.Character then
  786.             for _, v in ipairs(plr.Character:GetDescendants()) do
  787.                 if v.Name == "DexNoclipScript" then v:Destroy() end
  788.             end
  789.            
  790.             local noclipScript = Instance.new("Script", plr.Character)
  791.             noclipScript.Name = "DexNoclipScript"
  792.             noclipScript.Source = [[
  793.                 local char = script.Parent
  794.                 local humanoid = char:WaitForChild("Humanoid")
  795.                
  796.                 local function noclip()
  797.                     for _, part in ipairs(char:GetDescendants()) do
  798.                         if part:IsA("BasePart") then
  799.                             part.CanCollide = false
  800.                         end
  801.                     end
  802.                 end
  803.                
  804.                 local connection
  805.                 connection = game:GetService("RunService").Stepped:Connect(function()
  806.                     if char and humanoid and humanoid.Health > 0 then
  807.                         noclip()
  808.                     else
  809.                         connection:Disconnect()
  810.                     end
  811.                 end)
  812.                
  813.                 humanoid.Died:Connect(function()
  814.                     if connection then
  815.                         connection:Disconnect()
  816.                     end
  817.                     script:Destroy()
  818.                 end)
  819.             ]]
  820.             return "✅ Enabled noclip for "..plr.Name
  821.         end
  822.         return "❌ Failed to enable noclip"
  823.     end},
  824.    
  825.     {name = "!clip", desc = "Disable noclip", color = Color3.fromRGB(170, 170, 0), func = function(plr)
  826.         if plr.Character then
  827.             for _, v in ipairs(plr.Character:GetDescendants()) do
  828.                 if v.Name == "DexNoclipScript" then v:Destroy() end
  829.                 if v:IsA("BasePart") then v.CanCollide = true end
  830.             end
  831.             return "✅ Disabled noclip for "..plr.Name
  832.         end
  833.         return "❌ Failed to disable noclip"
  834.     end},
  835.    
  836.     -- Punishment commands
  837.     {name = "!punish", desc = "Punish the player", color = ERROR_COLOR, func = function(plr)
  838.         if plr.Character then
  839.             plr.Character:Destroy()
  840.             return "✅ Punished "..plr.Name
  841.         end
  842.         return "❌ Failed to punish"
  843.     end},
  844.     {name = "!unpunish", desc = "Unpunish the player", color = ACCENT_COLOR, func = function(plr)
  845.         plr:LoadCharacter()
  846.         return "✅ Unpunished "..plr.Name
  847.     end},
  848.    
  849.     -- Viewing commands
  850.     {name = "!view", desc = "Spectate player", color = ACCENT_COLOR, func = function(plr, localPlayer)
  851.         if plr.Character and plr.Character:FindFirstChild("Humanoid") then
  852.             workspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
  853.             return "✅ Now spectating "..plr.Name
  854.         end
  855.         return "❌ Failed to spectate"
  856.     end},
  857.    
  858.     {name = "!unview", desc = "Stop spectating", color = ACCENT_COLOR, func = function(_, localPlayer)
  859.         if localPlayer.Character and localPlayer.Character:FindFirstChildOfClass("Humanoid") then
  860.             workspace.CurrentCamera.CameraSubject = localPlayer.Character.Humanoid
  861.             return "✅ Stopped spectating"
  862.         end
  863.         return "❌ Failed to stop spectating"
  864.     end},
  865.    
  866.     -- Effect commands
  867.     {name = "!spin", desc = "Make player spin", color = Color3.fromRGB(200, 0, 200), func = function(plr)
  868.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  869.             for _, v in ipairs(plr.Character:GetDescendants()) do
  870.                 if v.Name == "DexSpinScript" then v:Destroy() end
  871.             end
  872.            
  873.             local spinScript = Instance.new("Script", plr.Character)
  874.             spinScript.Name = "DexSpinScript"
  875.             spinScript.Source = [[
  876.                 local root = script.Parent:WaitForChild("HumanoidRootPart")
  877.                 local humanoid = script.Parent:WaitForChild("Humanoid")
  878.                
  879.                 while root and humanoid and humanoid.Health > 0 do
  880.                     game:GetService("RunService").Heartbeat:Wait()
  881.                     root.CFrame = root.CFrame * CFrame.Angles(0, math.rad(10), 0)
  882.                 end
  883.                
  884.                 script:Destroy()
  885.             ]]
  886.             return "✅ Made "..plr.Name.." spin"
  887.         end
  888.         return "❌ Failed to spin"
  889.     end},
  890.    
  891.     {name = "!unspin", desc = "Stop player spinning", color = Color3.fromRGB(200, 0, 200), func = function(plr)
  892.         if plr.Character then
  893.             for _, v in ipairs(plr.Character:GetDescendants()) do
  894.                 if v.Name == "DexSpinScript" then v:Destroy() end
  895.             end
  896.             return "✅ Stopped "..plr.Name.." from spinning"
  897.         end
  898.         return "❌ Failed to stop spinning"
  899.     end},
  900.    
  901.     -- Size commands
  902.     {name = "!size", desc = "Change player size [scale]", color = Color3.fromRGB(200, 100, 0), func = function(plr, _, args)
  903.         if plr.Character then
  904.             local scale = tonumber(args[2]) or 2
  905.             for _, v in ipairs(plr.Character:GetDescendants()) do
  906.                 if v:IsA("BasePart") then
  907.                     v.Size = v.Size * scale
  908.                 elseif v:IsA("CharacterMesh") then
  909.                     v.BaseScale = Vector3.new(scale, scale, scale)
  910.                 elseif v:IsA("SpecialMesh") then
  911.                     v.Scale = v.Scale * scale
  912.                 end
  913.             end
  914.             return "✅ Changed "..plr.Name.."'s size to "..scale.."x"
  915.         end
  916.         return "❌ Failed to change size"
  917.     end},
  918.    
  919.     {name = "!reset", desc = "Reset player", color = Color3.fromRGB(200, 100, 0), func = function(plr)
  920.         plr:LoadCharacter()
  921.         return "✅ Reset "..plr.Name
  922.     end},
  923.    
  924.     -- Visual effect commands
  925.     {name = "!fire", desc = "Add fire to player", color = Color3.fromRGB(255, 80, 0), func = function(plr)
  926.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  927.             for _, v in ipairs(plr.Character:GetDescendants()) do
  928.                 if v:IsA("Fire") then v:Destroy() end
  929.             end
  930.            
  931.             local fire = Instance.new("Fire", plr.Character.HumanoidRootPart)
  932.             fire.Size = 10
  933.             fire.Heat = 15
  934.             return "✅ Added fire to "..plr.Name
  935.         end
  936.         return "❌ Failed to add fire"
  937.     end},
  938.    
  939.     {name = "!smoke", desc = "Add smoke to player", color = Color3.fromRGB(150, 150, 150), func = function(plr)
  940.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  941.             for _, v in ipairs(plr.Character:GetDescendants()) do
  942.                 if v:IsA("Smoke") then v:Destroy() end
  943.             end
  944.            
  945.             local smoke = Instance.new("Smoke", plr.Character.HumanoidRootPart)
  946.             smoke.Size = 10
  947.             smoke.Opacity = 0.5
  948.             return "✅ Added smoke to "..plr.Name
  949.         end
  950.         return "❌ Failed to add smoke"
  951.     end},
  952.    
  953.     {name = "!sparkles", desc = "Add sparkles to player", color = Color3.fromRGB(255, 255, 0), func = function(plr)
  954.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  955.             for _, v in ipairs(plr.Character:GetDescendants()) do
  956.                 if v:IsA("Sparkles") then v:Destroy() end
  957.             end
  958.            
  959.             local sparkles = Instance.new("Sparkles", plr.Character.HumanoidRootPart)
  960.             sparkles.SparkleColor = Color3.new(1, 1, 0)
  961.             return "✅ Added sparkles to "..plr.Name
  962.         end
  963.         return "❌ Failed to add sparkles"
  964.     end},
  965.    
  966.     -- Modification commands
  967.     {name = "!rename", desc = "Change display name [name]", color = Color3.fromRGB(100, 70, 150), func = function(plr, _, args)
  968.         if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
  969.             local newName = table.concat(args, " ", 2)
  970.             plr.Character.Humanoid.DisplayName = newName
  971.             return "✅ Changed "..plr.Name.."'s name to "..newName
  972.         end
  973.         return "❌ Failed to rename"
  974.     end},
  975.    
  976.     {name = "!ff", desc = "Enable forcefield", color = Color3.fromRGB(0, 100, 200), func = function(plr)
  977.         if plr.Character then
  978.             for _, v in ipairs(plr.Character:GetDescendants()) do
  979.                 if v:IsA("ForceField") then v:Destroy() end
  980.             end
  981.            
  982.             Instance.new("ForceField", plr.Character)
  983.             return "✅ Enabled forcefield for "..plr.Name
  984.         end
  985.         return "❌ Failed to enable forcefield"
  986.     end},
  987.    
  988.     {name = "!unff", desc = "Disable forcefield", color = ERROR_COLOR, func = function(plr)
  989.         if plr.Character then
  990.             for _, v in ipairs(plr.Character:GetDescendants()) do
  991.                 if v:IsA("ForceField") then v:Destroy() end
  992.             end
  993.             return "✅ Disabled forcefield for "..plr.Name
  994.         end
  995.         return "❌ Failed to disable forcefield"
  996.     end},
  997.    
  998.     -- Movement commands
  999.     {name = "!sit", desc = "Force player to sit", color = Color3.fromRGB(100, 150, 200), func = function(plr)
  1000.         if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
  1001.             plr.Character.Humanoid.Sit = true
  1002.             return "✅ Forced "..plr.Name.." to sit"
  1003.         end
  1004.         return "❌ Failed to make sit"
  1005.     end},
  1006.    
  1007.     {name = "!unsit", desc = "Force player to stand", color = Color3.fromRGB(100, 150, 200), func = function(plr)
  1008.         if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
  1009.             plr.Character.Humanoid.Sit = false
  1010.             return "✅ Forced "..plr.Name.." to stand"
  1011.         end
  1012.         return "❌ Failed to make stand"
  1013.     end},
  1014.    
  1015.     -- Physics commands
  1016.     {name = "!gravity", desc = "Change player gravity [value]", color = Color3.fromRGB(100, 100, 200), func = function(plr, _, args)
  1017.         if plr.Character then
  1018.             local gravity = tonumber(args[2]) or 196.2
  1019.             for _, v in ipairs(plr.Character:GetDescendants()) do
  1020.                 if v:IsA("BasePart") then
  1021.                     v.CustomPhysicalProperties = PhysicalProperties.new(1, 0.3, 0.5, gravity/196.2, 0)
  1022.                 end
  1023.             end
  1024.             return "✅ Changed "..plr.Name.."'s gravity to "..gravity
  1025.         end
  1026.         return "❌ Failed to change gravity"
  1027.     end},
  1028.    
  1029.     -- Chat commands
  1030.     {name = "!chat", desc = "Send message to player [text]", color = Color3.fromRGB(200, 200, 100), func = function(plr, _, args)
  1031.         if plr and #args > 1 then
  1032.             local message = table.concat(args, " ", 2)
  1033.             StarterGui:SetCore("ChatMakeSystemMessage", {
  1034.                 Text = "["..plr.Name.."]: "..message,
  1035.                 Color = Color3.new(1,1,1),
  1036.                 Font = Enum.Font.SourceSansBold,
  1037.                 TextSize = 18
  1038.             })
  1039.             return "✅ Sent message to "..plr.Name
  1040.         end
  1041.         return "❌ Failed to send message"
  1042.     end},
  1043.    
  1044.     -- Environment commands
  1045.     {name = "!time", desc = "Change game time [0-24]", color = Color3.fromRGB(150, 150, 150), func = function(_, _, args)
  1046.         local time = tonumber(args[2]) or 12
  1047.         if time >= 0 and time <= 24 then
  1048.             Lighting.ClockTime = time
  1049.             return "✅ Changed time to "..time
  1050.         end
  1051.         return "❌ Time must be between 0 and 24"
  1052.     end},
  1053.    
  1054.     -- New commands
  1055.     {name = "!explode", desc = "Explode player [power]", color = Color3.fromRGB(255, 50, 50), func = function(plr, _, args)
  1056.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  1057.             local power = tonumber(args[2]) or 10
  1058.             local explosion = Instance.new("Explosion")
  1059.             explosion.Position = plr.Character.HumanoidRootPart.Position
  1060.             explosion.BlastPressure = power * 1000
  1061.             explosion.BlastRadius = power * 5
  1062.             explosion.Parent = workspace
  1063.             return "✅ Exploded "..plr.Name.." with power "..power
  1064.         end
  1065.         return "❌ Failed to explode"
  1066.     end},
  1067.    
  1068.     {name = "!float", desc = "Make player float", color = Color3.fromRGB(100, 200, 200), func = function(plr)
  1069.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  1070.             for _, v in ipairs(plr.Character:GetDescendants()) do
  1071.                 if v.Name == "DexFloatScript" then v:Destroy() end
  1072.             end
  1073.            
  1074.             local floatScript = Instance.new("Script", plr.Character)
  1075.             floatScript.Name = "DexFloatScript"
  1076.             floatScript.Source = [[
  1077.                 local root = script.Parent:WaitForChild("HumanoidRootPart")
  1078.                 local humanoid = script.Parent:WaitForChild("Humanoid")
  1079.                
  1080.                 local bodyForce = Instance.new("BodyForce", root)
  1081.                 bodyForce.Force = Vector3.new(0, root:GetMass() * workspace.Gravity, 0)
  1082.                
  1083.                 humanoid.Died:Connect(function()
  1084.                     bodyForce:Destroy()
  1085.                     script:Destroy()
  1086.                 end)
  1087.             ]]
  1088.             return "✅ Made "..plr.Name.." float"
  1089.         end
  1090.         return "❌ Failed to float"
  1091.     end},
  1092.    
  1093.     {name = "!unfloat", desc = "Stop player floating", color = Color3.fromRGB(100, 200, 200), func = function(plr)
  1094.         if plr.Character then
  1095.             for _, v in ipairs(plr.Character:GetDescendants()) do
  1096.                 if v.Name == "DexFloatScript" then v:Destroy() end
  1097.                 if v:IsA("BodyForce") then v:Destroy() end
  1098.             end
  1099.             return "✅ Stopped "..plr.Name.." from floating"
  1100.         end
  1101.         return "❌ Failed to stop floating"
  1102.     end},
  1103.    
  1104.     {name = "!blind", desc = "Blind the player", color = Color3.fromRGB(50, 50, 50), func = function(plr)
  1105.         if plr.Character then
  1106.             local screenGui = Instance.new("ScreenGui", plr.PlayerGui)
  1107.             screenGui.Name = "DexBlindEffect"
  1108.            
  1109.             local frame = Instance.new("Frame", screenGui)
  1110.             frame.Size = UDim2.new(1, 0, 1, 0)
  1111.             frame.BackgroundColor3 = Color3.new(0, 0, 0)
  1112.             frame.BorderSizePixel = 0
  1113.            
  1114.             return "✅ Blinded "..plr.Name
  1115.         end
  1116.         return "❌ Failed to blind"
  1117.     end},
  1118.    
  1119.     {name = "!unblind", desc = "Unblind the player", color = Color3.fromRGB(50, 50, 50), func = function(plr)
  1120.         if plr.Character and plr:FindFirstChild("PlayerGui") then
  1121.             local gui = plr.PlayerGui:FindFirstChild("DexBlindEffect")
  1122.             if gui then gui:Destroy() end
  1123.             return "✅ Unblinded "..plr.Name
  1124.         end
  1125.         return "❌ Failed to unblind"
  1126.     end},
  1127.    
  1128.     {name = "!mute", desc = "Mute player sounds", color = Color3.fromRGB(150, 150, 150), func = function(plr)
  1129.         if plr.Character then
  1130.             for _, sound in ipairs(plr.Character:GetDescendants()) do
  1131.                 if sound:IsA("Sound") then
  1132.                     sound.Volume = 0
  1133.                 end
  1134.             end
  1135.             return "✅ Muted "..plr.Name
  1136.         end
  1137.         return "❌ Failed to mute"
  1138.     end},
  1139.    
  1140.     {name = "!unmute", desc = "Unmute player", color = Color3.fromRGB(150, 150, 150), func = function(plr)
  1141.         if plr.Character then
  1142.             for _, sound in ipairs(plr.Character:GetDescendants()) do
  1143.                 if sound:IsA("Sound") then
  1144.                     sound.Volume = 1
  1145.                 end
  1146.             end
  1147.             return "✅ Unmuted "..plr.Name
  1148.         end
  1149.         return "❌ Failed to unmute"
  1150.     end},
  1151.    
  1152.     {name = "!lag", desc = "Lag the player [seconds]", color = Color3.fromRGB(200, 0, 200), func = function(plr, _, args)
  1153.         local duration = tonumber(args[2]) or 5
  1154.         if plr.Character then
  1155.             local humanoid = plr.Character:FindFirstChildOfClass("Humanoid")
  1156.             if humanoid then
  1157.                 humanoid.WalkSpeed = 0
  1158.                 humanoid.JumpPower = 0
  1159.                
  1160.                 task.delay(duration, function()
  1161.                     if humanoid and humanoid.Parent then
  1162.                         humanoid.WalkSpeed = 16
  1163.                         humanoid.JumpPower = 50
  1164.                     end
  1165.                 end)
  1166.                
  1167.                 return "✅ Lagged "..plr.Name.." for "..duration.." seconds"
  1168.             end
  1169.         end
  1170.         return "❌ Failed to lag"
  1171.     end},
  1172.    
  1173.     {name = "!clone", desc = "Clone the player", color = Color3.fromRGB(100, 200, 100), func = function(plr)
  1174.         if plr.Character then
  1175.             local clone = plr.Character:Clone()
  1176.             clone.Parent = workspace
  1177.             clone:MoveTo(plr.Character.HumanoidRootPart.Position + Vector3.new(5, 0, 0))
  1178.             return "✅ Cloned "..plr.Name
  1179.         end
  1180.         return "❌ Failed to clone"
  1181.     end},
  1182.    
  1183.     {name = "!void", desc = "Send player to void", color = Color3.fromRGB(0, 0, 100), func = function(plr)
  1184.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  1185.             plr.Character.HumanoidRootPart.CFrame = CFrame.new(0, -500, 0)
  1186.             return "✅ Sent "..plr.Name.." to the void"
  1187.         end
  1188.         return "❌ Failed to send to void"
  1189.     end},
  1190.    
  1191.     {name = "!troll", desc = "Troll the player", color = Color3.fromRGB(255, 0, 255), func = function(plr)
  1192.         if plr.Character then
  1193.             -- Freeze
  1194.             for _, v in ipairs(plr.Character:GetDescendants()) do
  1195.                 if v:IsA("BasePart") then v.Anchored = true end
  1196.             end
  1197.            
  1198.             -- Make small
  1199.             for _, v in ipairs(plr.Character:GetDescendants()) do
  1200.                 if v:IsA("BasePart") then
  1201.                     v.Size = v.Size * 0.5
  1202.                 end
  1203.             end
  1204.            
  1205.             -- Add effects
  1206.             local fire = Instance.new("Fire", plr.Character.HumanoidRootPart)
  1207.             fire.Size = 5
  1208.            
  1209.             local sparkles = Instance.new("Sparkles", plr.Character.HumanoidRootPart)
  1210.             sparkles.SparkleColor = Color3.new(1, 0, 1)
  1211.            
  1212.             return "✅ Trolled "..plr.Name.." successfully"
  1213.         end
  1214.         return "❌ Failed to troll"
  1215.     end},
  1216.    
  1217.     {name = "!untroll", desc = "Untroll the player", color = Color3.fromRGB(255, 0, 255), func = function(plr)
  1218.         if plr.Character then
  1219.             -- Unfreeze
  1220.             for _, v in ipairs(plr.Character:GetDescendants()) do
  1221.                 if v:IsA("BasePart") then v.Anchored = false end
  1222.             end
  1223.            
  1224.             -- Reset size
  1225.             plr:LoadCharacter()
  1226.            
  1227.             -- Remove effects
  1228.             for _, v in ipairs(plr.Character:GetDescendants()) do
  1229.                 if v:IsA("Fire") or v:IsA("Sparkles") then
  1230.                     v:Destroy()
  1231.                 end
  1232.             end
  1233.            
  1234.             return "✅ Untrolled "..plr.Name
  1235.         end
  1236.         return "❌ Failed to untroll"
  1237.     end},
  1238.    
  1239.     {name = "!fling", desc = "Fling the player", color = Color3.fromRGB(255, 100, 0), func = function(plr)
  1240.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  1241.             local root = plr.Character.HumanoidRootPart
  1242.             root.Velocity = Vector3.new(math.random(-1000, 1000), math.random(500, 1500), math.random(-1000, 1000))
  1243.             return "✅ Flung "..plr.Name.." successfully"
  1244.         end
  1245.         return "❌ Failed to fling"
  1246.     end},
  1247.    
  1248.     {name = "!control", desc = "Control the player", color = Color3.fromRGB(0, 150, 150), func = function(plr, localPlayer)
  1249.         if plr.Character and plr.Character:FindFirstChild("Humanoid") and localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
  1250.             localPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
  1251.             localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics, true)
  1252.            
  1253.             local controlScript = Instance.new("LocalScript", localPlayer.Character)
  1254.             controlScript.Name = "DexControlScript"
  1255.             controlScript.Source = [[
  1256.                 local player = game:GetService("Players").LocalPlayer
  1257.                 local target = game:GetService("Players"):FindFirstChild("]]..plr.Name..[[")
  1258.                
  1259.                 if not target then script:Destroy() return end
  1260.                
  1261.                 local humanoid = player.Character:WaitForChild("Humanoid")
  1262.                 local root = player.Character:WaitForChild("HumanoidRootPart")
  1263.                
  1264.                 local connection
  1265.                 connection = game:GetService("RunService").Heartbeat:Connect(function()
  1266.                     if target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
  1267.                         root.CFrame = target.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 2)
  1268.                         humanoid:ChangeState(Enum.HumanoidStateType.Physics)
  1269.                     else
  1270.                         connection:Disconnect()
  1271.                         script:Destroy()
  1272.                     end
  1273.                 end)
  1274.                
  1275.                 humanoid.Died:Connect(function()
  1276.                     connection:Disconnect()
  1277.                     script:Destroy()
  1278.                 end)
  1279.             ]]
  1280.            
  1281.             return "✅ Now controlling "..plr.Name
  1282.         end
  1283.         return "❌ Failed to control"
  1284.     end},
  1285.    
  1286.     {name = "!uncontrol", desc = "Stop controlling player", color = Color3.fromRGB(0, 150, 150), func = function(_, localPlayer)
  1287.         if localPlayer.Character then
  1288.             local script = localPlayer.Character:FindFirstChild("DexControlScript")
  1289.             if script then script:Destroy() end
  1290.            
  1291.             if localPlayer.Character:FindFirstChild("Humanoid") then
  1292.                 localPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  1293.                 localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics, false)
  1294.             end
  1295.            
  1296.             return "✅ Stopped controlling"
  1297.         end
  1298.         return "❌ Failed to stop controlling"
  1299.     end},
  1300.    
  1301.     {name = "!spam", desc = "Spam messages [count] [text]", color = Color3.fromRGB(200, 100, 100), func = function(plr, _, args)
  1302.         if #args >= 3 then
  1303.             local count = tonumber(args[2]) or 5
  1304.             local message = table.concat(args, " ", 3)
  1305.            
  1306.             for i = 1, count do
  1307.                 task.spawn(function()
  1308.                     pcall(function()
  1309.                         StarterGui:SetCore("ChatMakeSystemMessage", {
  1310.                             Text = "["..plr.Name.."]: "..message.." ("..i.."/"..count..")",
  1311.                             Color = Color3.new(1,1,1),
  1312.                             Font = Enum.Font.SourceSansBold,
  1313.                             TextSize = 18
  1314.                         })
  1315.                     end)
  1316.                 end)
  1317.                 wait(0.5)
  1318.             end
  1319.            
  1320.             return "✅ Sent "..count.." messages to "..plr.Name
  1321.         end
  1322.         return "❌ Failed to spam"
  1323.     end},
  1324.    
  1325.     {name = "!jail", desc = "Jail the player", color = Color3.fromRGB(100, 100, 100), func = function(plr)
  1326.         if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  1327.             -- Remove any previous jail
  1328.             if workspace:FindFirstChild("DexJail_"..plr.Name) then
  1329.                 workspace:FindFirstChild("DexJail_"..plr.Name):Destroy()
  1330.             end
  1331.            
  1332.             -- Create jail
  1333.             local jail = Instance.new("Model", workspace)
  1334.             jail.Name = "DexJail_"..plr.Name
  1335.            
  1336.             local partSize = Vector3.new(10, 10, 10)
  1337.             local pos = plr.Character.HumanoidRootPart.Position
  1338.            
  1339.             -- Walls
  1340.             for x = -1, 1, 2 do
  1341.                 local part = Instance.new("Part", jail)
  1342.                 part.Size = Vector3.new(1, partSize.Y, partSize.Z)
  1343.                 part.Position = pos + Vector3.new(x * (partSize.X/2 + 0.5), 0, 0)
  1344.                 part.Anchored = true
  1345.                 part.Transparency = 0.7
  1346.                 part.Color = Color3.new(0.5, 0.5, 0.5)
  1347.             end
  1348.            
  1349.             for z = -1, 1, 2 do
  1350.                 local part = Instance.new("Part", jail)
  1351.                 part.Size = Vector3.new(partSize.X, partSize.Y, 1)
  1352.                 part.Position = pos + Vector3.new(0, 0, z * (partSize.Z/2 + 0.5))
  1353.                 part.Anchored = true
  1354.                 part.Transparency = 0.7
  1355.                 part.Color = Color3.new(0.5, 0.5, 0.5)
  1356.             end
  1357.            
  1358.             -- Ceiling and floor
  1359.             for y = -1, 1, 2 do
  1360.                 local part = Instance.new("Part", jail)
  1361.                 part.Size = Vector3.new(partSize.X, 1, partSize.Z)
  1362.                 part.Position = pos + Vector3.new(0, y * (partSize.Y/2 + 0.5), 0)
  1363.                 part.Anchored = true
  1364.                 part.Transparency = 0.7
  1365.                 part.Color = Color3.new(0.5, 0.5, 0.5)
  1366.             end
  1367.            
  1368.             -- Move player to jail
  1369.             plr.Character.HumanoidRootPart.CFrame = CFrame.new(pos)
  1370.            
  1371.             return "✅ Jailed "..plr.Name
  1372.         end
  1373.         return "❌ Failed to jail"
  1374.     end},
  1375.    
  1376.     {name = "!unjail", desc = "Unjail the player", color = Color3.fromRGB(100, 100, 100), func = function(plr)
  1377.         local jail = workspace:FindFirstChild("DexJail_"..plr.Name)
  1378.         if jail then jail:Destroy() end
  1379.         return "✅ Unjailed "..plr.Name
  1380.     end},
  1381.    
  1382.     {name = "!heal", desc = "Heal the player", color = Color3.fromRGB(0, 200, 0), func = function(plr)
  1383.         if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
  1384.             plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  1385.             return "✅ Healed "..plr.Name
  1386.         end
  1387.         return "❌ Failed to heal"
  1388.     end},
  1389.    
  1390.     {name = "!kill", desc = "Kill the player", color = Color3.fromRGB(200, 0, 0), func = function(plr)
  1391.         if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
  1392.             plr.Character.Humanoid.Health = 0
  1393.             return "✅ Killed "..plr.Name
  1394.         end
  1395.         return "❌ Failed to kill"
  1396.     end},
  1397.    
  1398.     {name = "!loopkill", desc = "Loop kill the player", color = Color3.fromRGB(150, 0, 0), func = function(plr)
  1399.         if not _G.DexLoopKill then _G.DexLoopKill = {} end
  1400.         _G.DexLoopKill[plr.Name] = true
  1401.        
  1402.         task.spawn(function()
  1403.             while _G.DexLoopKill and _G.DexLoopKill[plr.Name] and plr.Character do
  1404.                 pcall(function()
  1405.                     plr.Character.Humanoid.Health = 0
  1406.                 end)
  1407.                 wait(1)
  1408.             end
  1409.         end)
  1410.        
  1411.         return "✅ Enabled loop kill for "..plr.Name
  1412.     end},
  1413.    
  1414.     {name = "!unloopkill", desc = "Stop loop kill", color = Color3.fromRGB(150, 0, 0), func = function(plr)
  1415.         if _G.DexLoopKill then
  1416.             _G.DexLoopKill[plr.Name] = nil
  1417.         end
  1418.         return "✅ Disabled loop kill for "..plr.Name
  1419.     end},
  1420.    
  1421.     {name = "!loopfling", desc = "Loop fling the player", color = Color3.fromRGB(200, 100, 0), func = function(plr)
  1422.         if not _G.DexLoopFling then _G.DexLoopFling = {} end
  1423.         _G.DexLoopFling[plr.Name] = true
  1424.        
  1425.         task.spawn(function()
  1426.             while _G.DexLoopFling and _G.DexLoopFling[plr.Name] and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") do
  1427.                 pcall(function()
  1428.                     plr.Character.HumanoidRootPart.Velocity = Vector3.new(math.random(-5000, 5000), math.random(2000, 5000), math.random(-5000, 5000))
  1429.                 end)
  1430.                 wait(0.5)
  1431.             end
  1432.         end)
  1433.        
  1434.         return "✅ Enabled loop fling for "..plr.Name
  1435.     end},
  1436.    
  1437.     {name = "!unloopfling", desc = "Stop loop fling", color = Color3.fromRGB(200, 100, 0), func = function(plr)
  1438.         if _G.DexLoopFling then
  1439.             _G.DexLoopFling[plr.Name] = nil
  1440.         end
  1441.         return "✅ Disabled loop fling for "..plr.Name
  1442.     end},
  1443.    
  1444.     {name = "!loopfreeze", desc = "Loop freeze the player", color = Color3.fromRGB(0, 100, 200), func = function(plr)
  1445.         if not _G.DexLoopFreeze then _G.DexLoopFreeze = {} end
  1446.         _G.DexLoopFreeze[plr.Name] = true
  1447.        
  1448.         task.spawn(function()
  1449.             while _G.DexLoopFreeze and _G.DexLoopFreeze[plr.Name] and plr.Character do
  1450.                 pcall(function()
  1451.                     for _, v in ipairs(plr.Character:GetDescendants()) do
  1452.                         if v:IsA("BasePart") then v.Anchored = true end
  1453.                     end
  1454.                 end)
  1455.                 wait(0.1)
  1456.             end
  1457.         end)
  1458.        
  1459.         return "✅ Enabled loop freeze for "..plr.Name
  1460.     end},
  1461.    
  1462.     {name = "!unloopfreeze", desc = "Stop loop freeze", color = Color3.fromRGB(0, 100, 200), func = function(plr)
  1463.         if _G.DexLoopFreeze then
  1464.             _G.DexLoopFreeze[plr.Name] = nil
  1465.            
  1466.             if plr.Character then
  1467.                 for _, v in ipairs(plr.Character:GetDescendants()) do
  1468.                     if v:IsA("BasePart") then v.Anchored = false end
  1469.                 end
  1470.             end
  1471.         end
  1472.         return "✅ Disabled loop freeze for "..plr.Name
  1473.     end},
  1474.    
  1475.     {name = "!loopgoto", desc = "Loop go to player", color = Color3.fromRGB(0, 200, 200), func = function(plr, localPlayer)
  1476.         if not _G.DexLoopGoto then _G.DexLoopGoto = {} end
  1477.         _G.DexLoopGoto[localPlayer.Name] = plr.Name
  1478.        
  1479.         task.spawn(function()
  1480.             while _G.DexLoopGoto and _G.DexLoopGoto[localPlayer.Name] == plr.Name and
  1481.                   localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") and
  1482.                   plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") do
  1483.                 pcall(function()
  1484.                     localPlayer.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3)
  1485.                 end)
  1486.                 wait(0.1)
  1487.             end
  1488.         end)
  1489.        
  1490.         return "✅ Enabled loop goto to "..plr.Name
  1491.     end},
  1492.    
  1493.     {name = "!unloopgoto", desc = "Stop loop goto", color = Color3.fromRGB(0, 200, 200), func = function(_, localPlayer)
  1494.         if _G.DexLoopGoto then
  1495.             _G.DexLoopGoto[localPlayer.Name] = nil
  1496.         end
  1497.         return "✅ Disabled loop goto"
  1498.     end},
  1499.    
  1500.     {name = "!esp", desc = "Enable ESP for player", color = Color3.fromRGB(255, 0, 255), func = function(plr)
  1501.         if not _G.DexESP then _G.DexESP = {} end
  1502.        
  1503.         if _G.DexESP[plr.Name] then
  1504.             for _, v in pairs(_G.DexESP[plr.Name]) do
  1505.                 if v then v:Destroy()
  1506.           end
  1507.             end
  1508.             _G.DexESP[plr.Name] = nil
  1509.             return "✅ Disabled ESP for "..plr.Name
  1510.         end
  1511.        
  1512.         _G.DexESP[plr.Name] = {}
  1513.        
  1514.         local function createESP()
  1515.             if not plr.Character then return end
  1516.            
  1517.             local highlight = Instance.new("Highlight")
  1518.             highlight.Name = "DexESP_"..plr.Name
  1519.             highlight.FillColor = Color3.new(1, 0, 1)
  1520.             highlight.OutlineColor = Color3.new(1, 1, 1)
  1521.             highlight.FillTransparency = 0.5
  1522.             highlight.OutlineTransparency = 0
  1523.             highlight.Parent = plr.Character
  1524.             table.insert(_G.DexESP[plr.Name], highlight)
  1525.            
  1526.             local billboard = Instance.new("BillboardGui")
  1527.             billboard.Name = "DexESPName_"..plr.Name
  1528.             billboard.Adornee = plr.Character:WaitForChild("Head")
  1529.             billboard.Size = UDim2.new(0, 200, 0, 50)
  1530.             billboard.StudsOffset = Vector3.new(0, 2, 0)
  1531.             billboard.AlwaysOnTop = true
  1532.             billboard.Parent = plr.Character.Head
  1533.            
  1534.             local nameLabel = Instance.new("TextLabel")
  1535.             nameLabel.Text = plr.Name
  1536.             nameLabel.Size = UDim2.new(1, 0, 1, 0)
  1537.             nameLabel.BackgroundTransparency = 1
  1538.             nameLabel.TextColor3 = Color3.new(1, 1, 1)
  1539.             nameLabel.TextStrokeTransparency = 0
  1540.             nameLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
  1541.             nameLabel.Font = Enum.Font.GothamBold
  1542.             nameLabel.TextSize = 14
  1543.             nameLabel.Parent = billboard
  1544.             table.insert(_G.DexESP[plr.Name], billboard)
  1545.         end
  1546.        
  1547.         createESP()
  1548.        
  1549.         local connection
  1550.         connection = plr.CharacterAdded:Connect(function()
  1551.             if _G.DexESP and _G.DexESP[plr.Name] then
  1552.                 for _, v in pairs(_G.DexESP[plr.Name]) do
  1553.                     if v then v:Destroy() end
  1554.                 end
  1555.                 _G.DexESP[plr.Name] = nil
  1556.                 connection:Disconnect()
  1557.             else
  1558.                 createESP()
  1559.             end
  1560.         end)
  1561.        
  1562.         return "✅ Enabled ESP for "..plr.Name
  1563.     end},
  1564.    
  1565.     {name = "!esp all", desc = "Enable ESP for all players", color = Color3.fromRGB(255, 0, 255), func = function()
  1566.         for _, player in ipairs(Players:GetPlayers()) do
  1567.             if player ~= Players.LocalPlayer then
  1568.                 ProcessCommand("!esp "..player.Name)
  1569.             end
  1570.         end
  1571.         return "✅ Enabled ESP for all players"
  1572.     end},
  1573.    
  1574.     {name = "!unesp all", desc = "Disable ESP for all players", color = Color3.fromRGB(255, 0, 255), func = function()
  1575.         for _, player in ipairs(Players:GetPlayers()) do
  1576.             if player ~= Players.LocalPlayer then
  1577.                 ProcessCommand("!esp "..player.Name)
  1578.             end
  1579.         end
  1580.         return "✅ Disabled ESP for all players"
  1581.     end},
  1582.    
  1583.     {name = "!spectate", desc = "Spectate player", color = Color3.fromRGB(100, 200, 255), func = function(plr)
  1584.         if plr.Character and plr.Character:FindFirstChild("Humanoid") then
  1585.             workspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
  1586.             workspace.CurrentCamera.CameraType = Enum.CameraType.Follow
  1587.             return "✅ Now spectating "..plr.Name
  1588.         end
  1589.         return "❌ Failed to spectate"
  1590.     end},
  1591.    
  1592.     {name = "!unspectate", desc = "Stop spectating", color = Color3.fromRGB(100, 200, 255), func = function(_, localPlayer)
  1593.         if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
  1594.             workspace.CurrentCamera.CameraSubject = localPlayer.Character.Humanoid
  1595.             workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  1596.             return "✅ Stopped spectating"
  1597.         end
  1598.         return "❌ Failed to stop spectating"
  1599.     end},
  1600.    
  1601.     {name = "!stealname", desc = "Steal player's display name", color = Color3.fromRGB(150, 150, 255), func = function(plr, localPlayer)
  1602.         if plr.Character and plr.Character:FindFirstChild("Humanoid") and
  1603.            localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
  1604.             localPlayer.Character.Humanoid.DisplayName = plr.Character.Humanoid.DisplayName
  1605.             return "✅ Stolen name from "..plr.Name
  1606.         end
  1607.         return "❌ Failed to steal name"
  1608.     end},
  1609.    
  1610.     {name = "!stealappearance", desc = "Steal player's appearance", color = Color3.fromRGB(150, 150, 255), func = function(plr, localPlayer)
  1611.         if plr.Character and localPlayer.Character then
  1612.             for _, v in ipairs(plr.Character:GetDescendants()) do
  1613.                 if v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") or v:IsA("Accessory") then
  1614.                     local clone = v:Clone()
  1615.                     for _, old in ipairs(localPlayer.Character:GetDescendants()) do
  1616.                         if old:IsSameType(v) then
  1617.                             old:Destroy()
  1618.                         end
  1619.                     end
  1620.                     clone.Parent = localPlayer.Character
  1621.                 end
  1622.             end
  1623.             return "✅ Stolen appearance from "..plr.Name
  1624.         end
  1625.         return "❌ Failed to steal appearance"
  1626.     end},
  1627.    
  1628.     {name = "!stealtools", desc = "Steal player's tools", color = Color3.fromRGB(150, 150, 255), func = function(plr, localPlayer)
  1629.         if plr.Backpack and localPlayer.Backpack then
  1630.             for _, tool in ipairs(plr.Backpack:GetChildren()) do
  1631.                 if tool:IsA("Tool") then
  1632.                     local clone = tool:Clone()
  1633.                     clone.Parent = localPlayer.Backpack
  1634.                 end
  1635.             end
  1636.             return "✅ Stolen tools from "..plr.Name
  1637.         end
  1638.         return "❌ Failed to steal tools"
  1639.     end},
  1640.    
  1641.     {name = "!copy", desc = "Copy player completely", color = Color3.fromRGB(150, 150, 255), func = function(plr, localPlayer)
  1642.         ProcessCommand("!stealname "..plr.Name)
  1643.         ProcessCommand("!stealappearance "..plr.Name)
  1644.         ProcessCommand("!stealtools "..plr.Name)
  1645.         return "✅ Copied "..plr.Name.." completely"
  1646.     end},
  1647.    
  1648.     {name = "!admin", desc = "Give yourself admin powers", color = Color3.fromRGB(255, 215, 0), func = function(_, localPlayer)
  1649.         -- This is just a UI and doesn't give real admin powers
  1650.         -- You would need a server-side admin system for real functionality
  1651.         local adminGui = Instance.new("ScreenGui", localPlayer.PlayerGui)
  1652.         adminGui.Name = "DexAdminPanel"
  1653.        
  1654.         local frame = Instance.new("Frame")
  1655.         frame.Size = UDim2.new(0, 300, 0, 200)
  1656.         frame.Position = UDim2.new(0.5, -150, 0.5, -100)
  1657.         frame.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
  1658.         frame.BorderSizePixel = 0
  1659.         frame.Parent = adminGui
  1660.        
  1661.         local title = Instance.new("TextLabel")
  1662.         title.Text = "Admin Panel (Fake)"
  1663.         title.Size = UDim2.new(1, 0, 0, 30)
  1664.         title.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
  1665.         title.TextColor3 = Color3.new(1, 1, 1)
  1666.         title.Font = Enum.Font.GothamBold
  1667.         title.Parent = frame
  1668.        
  1669.         local closeBtn = Instance.new("TextButton")
  1670.         closeBtn.Text = "X"
  1671.         closeBtn.Size = UDim2.new(0, 30, 0, 30)
  1672.         closeBtn.Position = UDim2.new(1, -30, 0, 0)
  1673.         closeBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  1674.         closeBtn.TextColor3 = Color3.new(1, 1, 1)
  1675.         closeBtn.Font = Enum.Font.GothamBold
  1676.         closeBtn.Parent = frame
  1677.        
  1678.         closeBtn.MouseButton1Click:Connect(function()
  1679.             adminGui:Destroy()
  1680.         end)
  1681.        
  1682.         local label = Instance.new("TextLabel")
  1683.         label.Text = "This is just a fake admin UI\nIt doesn't give real admin powers"
  1684.         label.Size = UDim2.new(1, -20, 1, -50)
  1685.         label.Position = UDim2.new(0, 10, 0, 40)
  1686.         label.BackgroundTransparency = 1
  1687.         label.TextColor3 = Color3.new(1, 1, 1)
  1688.         label.TextWrapped = true
  1689.         label.Font = Enum.Font.Gotham
  1690.         label.Parent = frame
  1691.        
  1692.         return "✅ Enabled fake admin panel"
  1693.     end},
  1694. {name = "!cmds", desc = "Show all available commands", color = Color3.fromRGB(200, 200, 200), func = function()
  1695.         local commandsList = {}
  1696.         for _, cmd in ipairs(commands) do
  1697.             table.insert(commandsList, string.format("%s - %s", cmd.name, cmd.desc))
  1698.         end
  1699.        
  1700.         local message = "All available commands:\n"..table.concat(commandsList, "\n")
  1701.         warn(message)
  1702.        
  1703.         StarterGui:SetCore("ChatMakeSystemMessage", {
  1704.             Text = message,
  1705.             Color = Color3.new(1,1,1),
  1706.             Font = Enum.Font.SourceSansBold,
  1707.             TextSize = 18
  1708.         })
  1709.        
  1710.         return "✅ Commands list shown in console"
  1711.     end}
  1712. }
  1713.  
  1714. -- 9. Create command buttons (updated with command descriptions)
  1715. local function CreateCommandButtons()
  1716.     local buttonsPerRow = 4
  1717.     local buttonWidth = 0.23
  1718.     local buttonHeight = 0.08
  1719.     local xPadding = 0.01
  1720.     local yPadding = 0.01
  1721.    
  1722.     for i, cmd in ipairs(commands) do
  1723.         local row = math.floor((i-1)/buttonsPerRow)
  1724.         local col = (i-1)%buttonsPerRow
  1725.        
  1726.         local button = Instance.new("TextButton")
  1727.         button.Text = cmd.name
  1728.         button.Size = UDim2.new(buttonWidth, 0, buttonHeight, 0)
  1729.         button.Position = UDim2.new(xPadding + col*(buttonWidth+xPadding), 0, yPadding + row*(buttonHeight+yPadding), 0)
  1730.         button.BackgroundColor3 = cmd.color
  1731.         button.TextSize = 12
  1732.         button.Font = Enum.Font.GothamBold
  1733.         button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1734.         button.BorderSizePixel = 0
  1735.         button.AutoButtonColor = true
  1736.         button.Parent = ControlsScroll
  1737.        
  1738.         -- Hover effect
  1739.         button.MouseEnter:Connect(function()
  1740.             TweenService:Create(button, TweenInfo.new(0.2), {
  1741.                 BackgroundColor3 = Color3.fromRGB(
  1742.                     math.min(cmd.color.R * 255 + 50, 255)/255,
  1743.                     math.min(cmd.color.G * 255 + 50, 255)/255,
  1744.                     math.min(cmd.color.B * 255 + 50, 255)/255
  1745.                 ),
  1746.                 TextColor3 = DARK_TEXT
  1747.             }):Play()
  1748.         end)
  1749.        
  1750.         button.MouseLeave:Connect(function()
  1751.             TweenService:Create(button, TweenInfo.new(0.2), {
  1752.                 BackgroundColor3 = cmd.color,
  1753.                 TextColor3 = TEXT_COLOR
  1754.             }):Play()
  1755.         end)
  1756.        
  1757.         -- Additional info on hover
  1758.         local tooltip = Instance.new("TextLabel")
  1759.         tooltip.Text = cmd.desc
  1760.         tooltip.Size = UDim2.new(0, 150, 0, 30)
  1761.         tooltip.Position = UDim2.new(0, 0, -1, 0)
  1762.         tooltip.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
  1763.         tooltip.TextColor3 = TEXT_COLOR
  1764.         tooltip.Font = Enum.Font.Gotham
  1765.         tooltip.TextSize = 12
  1766.         tooltip.Visible = false
  1767.         tooltip.Parent = button
  1768.        
  1769.         local corner = Instance.new("UICorner")
  1770.         corner.CornerRadius = UDim.new(0, 4)
  1771.         corner.Parent = tooltip
  1772.        
  1773.         button.MouseEnter:Connect(function()
  1774.             tooltip.Visible = true
  1775.         end)
  1776.        
  1777.         button.MouseLeave:Connect(function()
  1778.             tooltip.Visible = false
  1779.         end)
  1780.        
  1781.         button.MouseButton1Click:Connect(function()
  1782.             if _G.SelectedPlayer then
  1783.                 local success, result = pcall(function()
  1784.                     return cmd.func(_G.SelectedPlayer, Players.LocalPlayer)
  1785.                 end)
  1786.                
  1787.                 if success then
  1788.                     if result then
  1789.                         warn(result)
  1790.                        
  1791.                         -- Visual notification
  1792.                         local notification = Instance.new("TextLabel")
  1793.                         notification.Text = result
  1794.                         notification.Size = UDim2.new(0, 200, 0, 40)
  1795.                         notification.Position = UDim2.new(0.5, -100, 1, 10)
  1796.                         notification.BackgroundColor3 = result:find("✅") and SUCCESS_COLOR or ERROR_COLOR
  1797.                         notification.TextColor3 = TEXT_COLOR
  1798.                         notification.Font = Enum.Font.GothamBold
  1799.                         notification.TextSize = 14
  1800.                         notification.Parent = ControlsFrame
  1801.                        
  1802.                         local corner = Instance.new("UICorner")
  1803.                         corner.Parent = notification
  1804.                        
  1805.                         TweenService:Create(notification, TweenInfo.new(0.5), {
  1806.                             Position = UDim2.new(0.5, -100, 1, -50)
  1807.                         }):Play()
  1808.                        
  1809.                         task.delay(3, function()
  1810.                             if notification then
  1811.                                 TweenService:Create(notification, TweenInfo.new(0.5), {
  1812.                                     Position = UDim2.new(0.5, -100, 1, 10),
  1813.                                     BackgroundTransparency = 1,
  1814.                                     TextTransparency = 1
  1815.                                 }):Play()
  1816.                                 task.delay(0.5, function()
  1817.                                     if notification then notification:Destroy() end
  1818.                                 end)
  1819.                             end
  1820.                         end)
  1821.                     end
  1822.                 else
  1823.                     warn("❌ Error: "..tostring(result))
  1824.                 end
  1825.             else
  1826.                 warn("❌ Please select a player first")
  1827.             end
  1828.         end)
  1829.     end
  1830. end
  1831.  
  1832. -- 10. Command processing system (updated with improvements)
  1833. local function ProcessCommand(command)
  1834.     local args = {}
  1835.     for arg in string.gmatch(command, "[^%s]+") do
  1836.         table.insert(args, arg)
  1837.     end
  1838.    
  1839.     if #args == 0 then return end
  1840.    
  1841.     local cmd = string.lower(args[1])
  1842.     local targetName = #args > 1 and args[2] or nil
  1843.     local targetPlayer = nil
  1844.     local localPlayer = Players.LocalPlayer
  1845.    
  1846.     -- Find player
  1847.     if targetName then
  1848.         -- Support @ for current player
  1849.         if targetName == "@me" or targetName == "@self" then
  1850.             targetPlayer = localPlayer
  1851.         else
  1852.             -- Support @username
  1853.             if string.sub(targetName, 1, 1) == "@" then
  1854.                 targetName = string.sub(targetName, 2)
  1855.             end
  1856.            
  1857.             for _, player in ipairs(Players:GetPlayers()) do
  1858.                 if string.find(string.lower(player.Name), string.lower(targetName)) or
  1859.                    string.find(string.lower(player.DisplayName), string.lower(targetName)) then
  1860.                     targetPlayer = player
  1861.                     break
  1862.                 end
  1863.             end
  1864.         end
  1865.     end
  1866.    
  1867.     -- Find command
  1868.     for _, commandData in ipairs(commands) do
  1869.         if string.lower(commandData.name) == cmd then
  1870.             local success, result = pcall(function()
  1871.                 return commandData.func(targetPlayer or localPlayer, localPlayer, args)
  1872.             end)
  1873.            
  1874.             if success then
  1875.                 if result then
  1876.                     warn(result)
  1877.                    
  1878.                     -- Visual notification
  1879.                     local notification = Instance.new("TextLabel")
  1880.                     notification.Text = result
  1881.                     notification.Size = UDim2.new(0, 300, 0, 50)
  1882.                     notification.Position = UDim2.new(0.5, -150, 0.5, -25)
  1883.                     notification.BackgroundColor3 = result:find("✅") and SUCCESS_COLOR or ERROR_COLOR
  1884.                     notification.TextColor3 = TEXT_COLOR
  1885.                     notification.Font = Enum.Font.GothamBold
  1886.                     notification.TextSize = 16
  1887.                     notification.Parent = MainFrame
  1888.                    
  1889.                     local corner = Instance.new("UICorner")
  1890.                     corner.Parent = notification
  1891.                    
  1892.                     TweenService:Create(notification, TweenInfo.new(0.5), {
  1893.                         Position = UDim2.new(0.5, -150, 0.5, -50)
  1894.                     }):Play()
  1895.                    
  1896.                     task.delay(3, function()
  1897.                         if notification then
  1898.                             TweenService:Create(notification, TweenInfo.new(0.5), {
  1899.                                 Position = UDim2.new(0.5, -150, 0.5, -25),
  1900.                                 BackgroundTransparency = 1,
  1901.                                 TextTransparency = 1
  1902.                             }):Play()
  1903.                             task.delay(0.5, function()
  1904.                                 if notification then notification:Destroy() end
  1905.                             end)
  1906.                         end
  1907.                     end)
  1908.                 end
  1909.             else
  1910.                 warn("❌ Error: "..tostring(result))
  1911.             end
  1912.             return
  1913.         end
  1914.     end
  1915.    
  1916.     warn("❌ Unknown command: "..cmd)
  1917. end
  1918.  
  1919. -- 11. Update players list (updated with improvements)
  1920. local function UpdatePlayersList(searchTerm)
  1921.     PlayersScroll:ClearAllChildren()
  1922.    
  1923.     local yOffset = 5
  1924.     for _, player in ipairs(Players:GetPlayers()) do
  1925.         if not searchTerm or
  1926.            string.find(string.lower(player.Name), string.lower(searchTerm)) or
  1927.            string.find(string.lower(player.DisplayName), string.lower(searchTerm)) then
  1928.            
  1929.             local playerFrame = Instance.new("Frame")
  1930.             playerFrame.Size = UDim2.new(1, -10, 0, 60)
  1931.             playerFrame.Position = UDim2.new(0, 5, 0, yOffset)
  1932.             playerFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
  1933.             playerFrame.BorderSizePixel = 0
  1934.            
  1935.             local corner = Instance.new("UICorner")
  1936.             corner.CornerRadius = UDim.new(0, 8)
  1937.             corner.Parent = playerFrame
  1938.            
  1939.             local playerIcon = Instance.new("ImageLabel")
  1940.             playerIcon.Size = UDim2.new(0, 50, 0, 50)
  1941.             playerIcon.Position = UDim2.new(0, 5, 0.5, -25)
  1942.             playerIcon.BackgroundTransparency = 1
  1943.             playerIcon.Image = "rbxthumb://type=AvatarHeadShot&id="..player.UserId.."&w=150&h=150"
  1944.            
  1945.             local playerName = Instance.new("TextLabel")
  1946.             playerName.Text = player.Name
  1947.             playerName.Font = Enum.Font.GothamBold
  1948.             playerName.TextSize = 14
  1949.             playerName.TextColor3 = Color3.fromRGB(255, 255, 255)
  1950.             playerName.Size = UDim2.new(0.5, 0, 0.5, 0)
  1951.             playerName.Position = UDim2.new(0, 60, 0, 5)
  1952.             playerName.BackgroundTransparency = 1
  1953.             playerName.TextXAlignment = Enum.TextXAlignment.Left
  1954.            
  1955.             local playerDisplayName = Instance.new("TextLabel")
  1956.             playerDisplayName.Text = "(@"..player.DisplayName..")"
  1957.             playerDisplayName.Font = Enum.Font.Gotham
  1958.             playerDisplayName.TextSize = 12
  1959.             playerDisplayName.TextColor3 = Color3.fromRGB(200, 200, 200)
  1960.             playerDisplayName.Size = UDim2.new(0.5, 0, 0.5, 0)
  1961.             playerDisplayName.Position = UDim2.new(0, 60, 0.5, 0)
  1962.             playerDisplayName.BackgroundTransparency = 1
  1963.             playerDisplayName.TextXAlignment = Enum.TextXAlignment.Left
  1964.            
  1965.             local selectButton = Instance.new("TextButton")
  1966.             selectButton.Text = "Select"
  1967.             selectButton.Font = Enum.Font.GothamBold
  1968.             selectButton.TextSize = 12
  1969.             selectButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1970.             selectButton.Size = UDim2.new(0.25, 0, 0.7, 0)
  1971.             selectButton.Position = UDim2.new(0.75, 0, 0.15, 0)
  1972.             selectButton.BackgroundColor3 = ACCENT_COLOR
  1973.             selectButton.BorderSizePixel = 0
  1974.            
  1975.             local selectCorner = Instance.new("UICorner")
  1976.             selectCorner.CornerRadius = UDim.new(0, 8)
  1977.             selectCorner.Parent = selectButton
  1978.            
  1979.             -- Hover effects
  1980.             selectButton.MouseEnter:Connect(function()
  1981.                 TweenService:Create(selectButton, TweenInfo.new(0.2), {
  1982.                     BackgroundColor3 = Color3.fromRGB(0, 200, 255),
  1983.                     TextColor3 = DARK_TEXT
  1984.                 }):Play()
  1985.             end)
  1986.            
  1987.             selectButton.MouseLeave:Connect(function()
  1988.                 TweenService:Create(selectButton, TweenInfo.new(0.2), {
  1989.                     BackgroundColor3 = ACCENT_COLOR,
  1990.                     TextColor3 = TEXT_COLOR
  1991.                 }):Play()
  1992.             end)
  1993.            
  1994.             selectButton.MouseButton1Click:Connect(function()
  1995.                 _G.SelectedPlayer = player
  1996.                 SearchBox.Text = player.Name
  1997.                
  1998.                 -- Selection effect
  1999.                 TweenService:Create(playerFrame, TweenInfo.new(0.3), {
  2000.                     BackgroundColor3 = Color3.fromRGB(60, 60, 80)
  2001.                 }):Play()
  2002.                
  2003.                 warn("✅ Selected player: "..player.Name)
  2004.                
  2005.                 -- Reset other frames' colors
  2006.                 for _, frame in ipairs(PlayersScroll:GetChildren()) do
  2007.                     if frame:IsA("Frame") and frame ~= playerFrame then
  2008.                         TweenService:Create(frame, TweenInfo.new(0.3), {
  2009.                             BackgroundColor3 = Color3.fromRGB(40, 40, 50)
  2010.                         }):Play()
  2011.                     end
  2012.                 end
  2013.             end)
  2014.            
  2015.             playerIcon.Parent = playerFrame
  2016.             playerName.Parent = playerFrame
  2017.             playerDisplayName.Parent = playerFrame
  2018.             selectButton.Parent = playerFrame
  2019.             playerFrame.Parent = PlayersScroll
  2020.            
  2021.             yOffset = yOffset + 65
  2022.         end
  2023.     end
  2024. end
  2025.  
  2026. -- 12. Advanced server control panel (beta version)
  2027. local ServerControls = Instance.new("Frame")
  2028. ServerControls.Size = UDim2.new(1, -10, 0.35, 0)
  2029. ServerControls.Position = UDim2.new(0, 5, 0.5, 5)
  2030. ServerControls.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
  2031. ServerControls.BorderSizePixel = 0
  2032.  
  2033. local serverCorner = Instance.new("UICorner")
  2034. serverCorner.CornerRadius = UDim.new(0, 8)
  2035. serverCorner.Parent = ServerControls
  2036.  
  2037. -- 1. Advanced shutdown button
  2038. local ShutdownButton = Instance.new("TextButton")
  2039. ShutdownButton.Text = "Destroy Server"
  2040. ShutdownButton.Size = UDim2.new(0.45, 0, 0.2, 0)
  2041. ShutdownButton.Position = UDim2.new(0.05, 0, 0.05, 0)
  2042. ShutdownButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
  2043. ShutdownButton.Font = Enum.Font.GothamBlack
  2044. ShutdownButton.TextSize = 14
  2045. ShutdownButton.TextColor3 = TEXT_COLOR
  2046.  
  2047. local shutdownCorner = Instance.new("UICorner")
  2048. shutdownCorner.CornerRadius = UDim.new(0, 8)
  2049. shutdownCorner.Parent = ShutdownButton
  2050.  
  2051. -- 2. Powerful restart button
  2052. local NuclearRestartButton = Instance.new("TextButton")
  2053. NuclearRestartButton.Text = "Nuclear Restart"
  2054. NuclearRestartButton.Size = UDim2.new(0.45, 0, 0.2, 0)
  2055. NuclearRestartButton.Position = UDim2.new(0.5, 0, 0.05, 0)
  2056. NuclearRestartButton.BackgroundColor3 = Color3.fromRGB(255, 100, 0)
  2057. NuclearRestartButton.Font = Enum.Font.GothamBlack
  2058. NuclearRestartButton.TextSize = 14
  2059. NuclearRestartButton.TextColor3 = TEXT_COLOR
  2060.  
  2061. local nuclearCorner = Instance.new("UICorner")
  2062. nuclearCorner.CornerRadius = UDim.new(0, 8)
  2063. nuclearCorner.Parent = NuclearRestartButton
  2064.  
  2065. -- 3. Advanced mass teleport button
  2066. local TeleportAllButton = Instance.new("TextButton")
  2067. TeleportAllButton.Text = "Mass Teleport (Pro)"
  2068. TeleportAllButton.Size = UDim2.new(0.45, 0, 0.2, 0)
  2069. TeleportAllButton.Position = UDim2.new(0.05, 0, 0.3, 0)
  2070. TeleportAllButton.BackgroundColor3 = Color3.fromRGB(150, 0, 200)
  2071. TeleportAllButton.Font = Enum.Font.GothamBlack
  2072. TeleportAllButton.TextSize = 14
  2073. TeleportAllButton.TextColor3 = TEXT_COLOR
  2074.  
  2075. local teleportCorner = Instance.new("UICorner")
  2076. teleportCorner.CornerRadius = UDim.new(0, 8)
  2077. teleportCorner.Parent = TeleportAllButton
  2078.  
  2079. -- 4. Permanent ban button
  2080. local PermaBanButton = Instance.new("TextButton")
  2081. PermaBanButton.Text = "Perma Ban All"
  2082. PermaBanButton.Size = UDim2.new(0.45, 0, 0.2, 0)
  2083. PermaBanButton.Position = UDim2.new(0.5, 0, 0.3, 0)
  2084. PermaBanButton.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
  2085. PermaBanButton.Font = Enum.Font.GothamBlack
  2086. PermaBanButton.TextSize = 14
  2087. PermaBanButton.TextColor3 = TEXT_COLOR
  2088.  
  2089. local banCorner = Instance.new("UICorner")
  2090. banCorner.CornerRadius = UDim.new(0, 8)
  2091. banCorner.Parent = PermaBanButton
  2092.  
  2093. -- 5. Advanced freeze button
  2094. local SuperFreezeButton = Instance.new("TextButton")
  2095. SuperFreezeButton.Text = "Super Freeze"
  2096. SuperFreezeButton.Size = UDim2.new(0.45, 0, 0.2, 0)
  2097. SuperFreezeButton.Position = UDim2.new(0.05, 0, 0.55, 0)
  2098. SuperFreezeButton.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  2099. SuperFreezeButton.Font = Enum.Font.GothamBlack
  2100. SuperFreezeButton.TextSize = 14
  2101. SuperFreezeButton.TextColor3 = TEXT_COLOR
  2102.  
  2103. local freezeCorner = Instance.new("UICorner")
  2104. freezeCorner.CornerRadius = UDim.new(0, 8)
  2105. freezeCorner.Parent = SuperFreezeButton
  2106.  
  2107. -- 6. Mass kick button
  2108. local MassKickButton = Instance.new("TextButton")
  2109. MassKickButton.Text = "Mass Kick"
  2110. MassKickButton.Size = UDim2.new(0.45, 0, 0.2, 0)
  2111. MassKickButton.Position = UDim2.new(0.5, 0, 0.55, 0)
  2112. MassKickButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  2113. MassKickButton.Font = Enum.Font.GothamBlack
  2114. MassKickButton.TextSize = 14
  2115. MassKickButton.TextColor3 = TEXT_COLOR
  2116.  
  2117. local kickCorner = Instance.new("UICorner")
  2118. kickCorner.CornerRadius = UDim.new(0, 8)
  2119. kickCorner.Parent = MassKickButton
  2120.  
  2121. -- 7. Disable scripts button
  2122. local DisableScriptsButton = Instance.new("TextButton")
  2123. DisableScriptsButton.Text = "Disable Scripts"
  2124. DisableScriptsButton.Size = UDim2.new(0.45, 0, 0.2, 0)
  2125. DisableScriptsButton.Position = UDim2.new(0.05, 0, 0.8, 0)
  2126. DisableScriptsButton.BackgroundColor3 = Color3.fromRGB(200, 0, 200)
  2127. DisableScriptsButton.Font = Enum.Font.GothamBlack
  2128. DisableScriptsButton.TextSize = 14
  2129. DisableScriptsButton.TextColor3 = TEXT_COLOR
  2130.  
  2131. local scriptsCorner = Instance.new("UICorner")
  2132. scriptsCorner.CornerRadius = UDim.new(0, 8)
  2133. scriptsCorner.Parent = DisableScriptsButton
  2134.  
  2135. -- 8. Remove tools button
  2136. local RemoveToolsButton = Instance.new("TextButton")
  2137. RemoveToolsButton.Text = "Remove Tools"
  2138. RemoveToolsButton.Size = UDim2.new(0.45, 0, 0.2, 0)
  2139. RemoveToolsButton.Position = UDim2.new(0.5, 0, 0.8, 0)
  2140. RemoveToolsButton.BackgroundColor3 = Color3.fromRGB(200, 100, 0)
  2141. RemoveToolsButton.Font = Enum.Font.GothamBlack
  2142. RemoveToolsButton.TextSize = 14
  2143. RemoveToolsButton.TextColor3 = TEXT_COLOR
  2144.  
  2145. local toolsCorner = Instance.new("UICorner")
  2146. toolsCorner.CornerRadius = UDim.new(0, 8)
  2147. toolsCorner.Parent = RemoveToolsButton
  2148.  
  2149. -- Advanced button events
  2150. ShutdownButton.MouseButton1Click:Connect(function()
  2151.     for _, player in ipairs(Players:GetPlayers()) do
  2152.         pcall(function()
  2153.             player:Kick("💥 Server destroyed by you_noob970")
  2154.         end)
  2155.     end
  2156.     warn("💀🙏 Destroyed entire server")
  2157.    
  2158.     -- Visual effect
  2159.     local effect = Instance.new("Message", CoreGui)
  2160.     effect.Text = "Server destroyed by you_noob970"
  2161.     effect.Font = Enum.Font.GothamBlack
  2162.     effect.TextSize = 24
  2163.     effect.TextColor3 = Color3.new(1, 0, 0)
  2164.    
  2165.     task.delay(3, function()
  2166.         effect:Destroy()
  2167.     end)
  2168. end)
  2169.  
  2170. NuclearRestartButton.MouseButton1Click:Connect(function()
  2171.     local placeId = game.PlaceId
  2172.     for _, player in ipairs(Players:GetPlayers()) do
  2173.         pcall(function()
  2174.             TeleportService:Teleport(placeId, player)
  2175.         end)
  2176.     end
  2177.     warn("☢️ Nuclear server restart")
  2178.    
  2179.     -- Visual effect
  2180.     local effect = Instance.new("Message", CoreGui)
  2181.     effect.Text = "Nuclear server restart in progress..."
  2182.     effect.Font = Enum.Font.GothamBlack
  2183.     effect.TextSize = 24
  2184.     effect.TextColor3 = Color3.new(1, 0.5, 0)
  2185.    
  2186.     task.delay(3, function()
  2187.         effect:Destroy()
  2188.     end)
  2189. end)
  2190.  
  2191. TeleportAllButton.MouseButton1Click:Connect(function()
  2192.     local targetPlace = 9997951362 -- Put target place ID here
  2193.     for _, player in ipairs(Players:GetPlayers()) do
  2194.         pcall(function()
  2195.             TeleportService:Teleport(targetPlace, player)
  2196.         end)
  2197.     end
  2198.     warn("🚀 Teleported all players to new server")
  2199.    
  2200.     -- Visual effect
  2201.     local effect = Instance.new("Message", CoreGui)
  2202.     effect.Text = "Teleporting everyone to new server"
  2203.     effect.Font = Enum.Font.GothamBlack
  2204.     effect.TextSize = 24
  2205.     effect.TextColor3 = Color3.new(0, 0.5, 1)
  2206.    
  2207.     task.delay(3, function()
  2208.         effect:Destroy()
  2209.     end)
  2210. end)
  2211.  
  2212. PermaBanButton.MouseButton1Click:Connect(function()
  2213.     for _, player in ipairs(Players:GetPlayers()) do
  2214.         if player ~= Players.LocalPlayer then
  2215.             pcall(function()
  2216.                 player:Kick("🔒 Permanently banned from this server")
  2217.             end)
  2218.         end
  2219.     end
  2220.     warn("⛔ Permanently banned all players")
  2221.    
  2222.     -- Visual effect
  2223.     local effect = Instance.new("Message", CoreGui)
  2224.     effect.Text = "Permanently banned all players"
  2225.     effect.Font = Enum.Font.GothamBlack
  2226.     effect.TextSize = 24
  2227.     effect.TextColor3 = Color3.new(1, 0, 0)
  2228.    
  2229.     task.delay(3, function()
  2230.         effect:Destroy()
  2231.     end)
  2232. end)
  2233.  
  2234. SuperFreezeButton.MouseButton1Click:Connect(function()
  2235.     for _, player in ipairs(Players:GetPlayers()) do
  2236.         if player.Character then
  2237.             for _, part in ipairs(player.Character:GetDescendants()) do
  2238.                 if part:IsA("BasePart") then
  2239.                     part.Anchored = true
  2240.                     part.CanCollide = false
  2241.                     part.Transparency = 0.5
  2242.                 end
  2243.             end
  2244.         end
  2245.     end
  2246.     warn("❄️ Super froze all players")
  2247.    
  2248.     -- Visual effect
  2249.     local effect = Instance.new("Message", CoreGui)
  2250.     effect.Text = "Super froze all players"
  2251.     effect.Font = Enum.Font.GothamBlack
  2252.     effect.TextSize = 24
  2253.     effect.TextColor3 = Color3.new(0, 0.5, 1)
  2254.    
  2255.     task.delay(3, function()
  2256.         effect:Destroy()
  2257.     end)
  2258. end)
  2259.  
  2260. MassKickButton.MouseButton1Click:Connect(function()
  2261.     for _, player in ipairs(Players:GetPlayers()) do
  2262.         if player ~= Players.LocalPlayer then
  2263.             pcall(function()
  2264.                 player:Kick("👢 Kicked from server")
  2265.             end)
  2266.         end
  2267.     end
  2268.     warn("👢 Kicked all players from server")
  2269.    
  2270.     -- Visual effect
  2271.     local effect = Instance.new("Message", CoreGui)
  2272.     effect.Text = "Kicked all players from server"
  2273.     effect.Font = Enum.Font.GothamBlack
  2274.     effect.TextSize = 24
  2275.     effect.TextColor3 = Color3.new(1, 0, 0)
  2276.    
  2277.     task.delay(3, function()
  2278.         effect:Destroy()
  2279.     end)
  2280. end)
  2281.  
  2282. DisableScriptsButton.MouseButton1Click:Connect(function()
  2283.     for _, player in ipairs(Players:GetPlayers()) do
  2284.         if player.Character then
  2285.             for _, script in ipairs(player.Character:GetDescendants()) do
  2286.                 if script:IsA("Script") or script:IsA("LocalScript") then
  2287.                     pcall(function() script.Disabled = true end)
  2288.                 end
  2289.             end
  2290.         end
  2291.     end
  2292.     warn("🔌 Disabled all player scripts")
  2293.    
  2294.     -- Visual effect
  2295.     local effect = Instance.new("Message", CoreGui)
  2296.     effect.Text = "Disabled all player scripts"
  2297.     effect.Font = Enum.Font.GothamBlack
  2298.     effect.TextSize = 24
  2299.     effect.TextColor3 = Color3.new(1, 0, 1)
  2300.    
  2301.     task.delay(3, function()
  2302.         effect:Destroy()
  2303.     end)
  2304. end)
  2305.  
  2306. RemoveToolsButton.MouseButton1Click:Connect(function()
  2307.     for _, player in ipairs(Players:GetPlayers()) do
  2308.         if player.Character then
  2309.             for _, tool in ipairs(player.Character:GetChildren()) do
  2310.                 if tool:IsA("Tool") then
  2311.                     pcall(function() tool:Destroy() end)
  2312.                 end
  2313.             end
  2314.             local backpack = player:FindFirstChildOfClass("Backpack")
  2315.             if backpack then
  2316.                 for _, tool in ipairs(backpack:GetChildren()) do
  2317.                     if tool:IsA("Tool") then
  2318.                         pcall(function() tool:Destroy() end)
  2319.                     end
  2320.                 end
  2321.             end
  2322.         end
  2323.     end
  2324.     warn("🛠️ Removed all player tools")
  2325.         -- Removed the visual effect message :)
  2326. end)
  2327.  
  2328. -- 13. Connect events (updated)
  2329. SearchButton.MouseButton1Click:Connect(function()
  2330.     local text = SearchBox.Text
  2331.     if string.sub(text, 1, 1) == "!" then
  2332.         ProcessCommand(text)
  2333.     else
  2334.         UpdatePlayersList(text)
  2335.     end
  2336. end)
  2337.  
  2338. SearchBox.FocusLost:Connect(function(enterPressed)
  2339.     if enterPressed then
  2340.         local text = SearchBox.Text
  2341.         if string.sub(text, 1, 1) == "!" then
  2342.             ProcessCommand(text)
  2343.         else
  2344.             UpdatePlayersList(text)
  2345.         end
  2346.     end
  2347. end)
  2348.  
  2349. CloseButton.MouseButton1Click:Connect(function()
  2350.     DexOslo:Destroy()
  2351. end)
  2352.  
  2353. Players.PlayerAdded:Connect(function()
  2354.     UpdatePlayersList()
  2355. end)
  2356.  
  2357. Players.PlayerRemoving:Connect(function()
  2358.     UpdatePlayersList()
  2359. end)
  2360.  
  2361. -- 14. Assemble the UI
  2362. TopBar.Parent = MainFrame
  2363. Title.Parent = TopBar
  2364. CloseButton.Parent = TopBar
  2365. ToggleButton.Parent = TopBar
  2366.  
  2367. SearchContainer.Parent = MainFrame
  2368. SearchBox.Parent = SearchContainer
  2369. SearchButton.Parent = SearchContainer
  2370.  
  2371. PlayersScroll.Parent = PlayersTab
  2372. PlayersTab.Parent = MainFrame
  2373.  
  2374. ControlsFrame.Parent = MainFrame
  2375. CreateCommandButtons()
  2376.  
  2377. ServerControls.Parent = MainFrame
  2378. ShutdownButton.Parent = ServerControls
  2379. NuclearRestartButton.Parent = ServerControls
  2380. TeleportAllButton.Parent = ServerControls
  2381. PermaBanButton.Parent = ServerControls
  2382. SuperFreezeButton.Parent = ServerControls
  2383. MassKickButton.Parent = ServerControls
  2384. DisableScriptsButton.Parent = ServerControls
  2385. RemoveToolsButton.Parent = ServerControls
  2386.  
  2387. MainFrame.Parent = DexOslo
  2388.  
  2389. -- 15. Advanced startup (Pro Max Ultra version)
  2390. local loadTime = CreateLoadingScreen()
  2391. task.wait(loadTime)
  2392.  
  2393. -- Special effects before UI appears
  2394. local function PreloadEffects()
  2395.     -- Screen shake effect
  2396.     local camera = workspace.CurrentCamera
  2397.     local originalPosition = camera.CFrame
  2398.     for i = 1, 10 do
  2399.         camera.CFrame = originalPosition * CFrame.new(
  2400.             math.random(-0.5, 0.5),
  2401.             math.random(-0.5, 0.5),
  2402.             math.random(-0.5, 0.5)
  2403.         )
  2404.         task.wait(0.03)
  2405.     end
  2406.     camera.CFrame = originalPosition
  2407.    
  2408.     -- Sound effect (if available)
  2409.     if game:GetService("SoundService"):FindFirstChild("DexSound") then
  2410.         game:GetService("SoundService").DexSound:Play()
  2411.     end
  2412. end
  2413.  
  2414. -- Execute special effects
  2415. PreloadEffects()
  2416.  
  2417. -- Show main UI
  2418. DexOslo.Parent = CoreGui
  2419.  
  2420. -- Advanced appearance effect with lighting
  2421. local light = Instance.new("SurfaceGui", MainFrame)
  2422. light.Face = Enum.NormalId.Top
  2423. light.Brightness = 10
  2424. light.LightInfluence = 1
  2425.  
  2426. local frame = Instance.new("Frame", light)
  2427. frame.Size = UDim2.new(1, 0, 1, 0)
  2428. frame.BackgroundColor3 = ACCENT_COLOR
  2429. frame.BackgroundTransparency = 0.5
  2430.  
  2431. -- Smooth UI appearance with glow effect
  2432. MainFrame.Position = UDim2.new(0.5, -209, 0, -500)
  2433. MainFrame.Size = UDim2.new(0, 418, 0, 0)
  2434. MainFrame.Visible = true
  2435.  
  2436. local resizeTween = TweenService:Create(
  2437.     MainFrame,
  2438.     TweenInfo.new(0.7, Enum.EasingStyle.Quint),
  2439.     {Size = UI_SIZE}
  2440. )
  2441.  
  2442. local positionTween = TweenService:Create(
  2443.     MainFrame,
  2444.     TweenInfo.new(0.9, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  2445.     {Position = UDim2.new(0.5, -209, 0.5, -250)}
  2446. )
  2447.  
  2448. local lightTween = TweenService:Create(
  2449.     frame,
  2450.     TweenInfo.new(1.5, Enum.EasingStyle.Quad),
  2451.     {BackgroundTransparency = 1}
  2452. )
  2453.  
  2454. -- Start effects
  2455. resizeTween:Play()
  2456. positionTween:Play()
  2457. lightTween:Play()
  2458.  
  2459. -- Remove glow after completion
  2460. lightTween.Completed:Connect(function()
  2461.     light:Destroy()
  2462. end)
  2463.  
  2464. -- Update players list with effect
  2465. task.wait(0.5)
  2466. UpdatePlayersList()
  2467.  
  2468. -- 16. Show welcome message in console only
  2469. task.wait(1)
  2470. warn("╔══════════════════════════════════════╗")
  2471. warn("║    Dex Oslo v1.0    ║")
  2472. warn("║    by you_noob970                    ║")
  2473. warn("║    Loaded successfully!              ║")
  2474. warn("╚══════════════════════════════════════╝")
  2475.  
  2476. -- 17. Automatic protection system
  2477. spawn(function()
  2478.     while task.wait(5) do
  2479.         -- Protection against self-destruction
  2480.         if not DexOslo or not DexOslo.Parent then
  2481.             DexOslo = Instance.new("ScreenGui")
  2482.             DexOslo.Name = "DexOsloProMaxUltra_"..HttpService:GenerateGUID(false)
  2483.             DexOslo.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  2484.             DexOslo.ResetOnSpawn = false
  2485.             DexOslo.DisplayOrder = 999
  2486.             DexOslo.Parent = CoreGui
  2487.             MainFrame.Parent = DexOslo
  2488.         end
  2489.        
  2490.         -- Protection against admin detection
  2491.         if game:GetService("StarterGui"):GetCoreGuiEnabled(Enum.CoreGuiType.PlayerList) then
  2492.             game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
  2493.         end
  2494.     end
  2495. end)
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement