Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Dex Oslo build v1.0
- The most powerful and advanced version ever
- Developed by you_noob970
- This just try build or alpha
- With complete performance, interface, and security improvements
- ]]
- local Players = game:GetService("Players")
- local CoreGui = game:GetService("CoreGui")
- local TweenService = game:GetService("TweenService")
- local UserInputService = game:GetService("UserInputService")
- local TeleportService = game:GetService("TeleportService")
- local RunService = game:GetService("RunService")
- local HttpService = game:GetService("HttpService")
- local StarterGui = game:GetService("StarterGui")
- local Lighting = game:GetService("Lighting")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- -- Premium UI settings
- local UI_SIZE = UDim2.new(0, 418, 0, 500) -- Adjusted for smaller devices
- local BG_COLOR = Color3.fromRGB(10, 10, 20) -- Darker professional look
- local ACCENT_COLOR = Color3.fromRGB(0, 180, 255) -- Modified accent color
- local ERROR_COLOR = Color3.fromRGB(255, 60, 60)
- local SUCCESS_COLOR = Color3.fromRGB(0, 230, 120)
- local TEXT_COLOR = Color3.fromRGB(240, 240, 240)
- local DARK_TEXT = Color3.fromRGB(30, 30, 40)
- -- Anti-Detection System
- local function AntiDetection()
- -- Randomize script names
- local randomName = HttpService:GenerateGUID(false)
- randomName = string.gsub(randomName, "-", "")
- -- Encrypt sensitive functions
- local function EncryptFunc(func)
- local encrypted = {}
- for i = 1, #func do
- table.insert(encrypted, string.char(func:byte(i) + 5))
- end
- return table.concat(encrypted)
- end
- -- Hide script in memory
- if not getgenv then
- getgenv = function() return _G end
- end
- getgenv()[randomName] = true
- -- Basic Anti-Exploit bypass
- if not hookfunction then
- getgenv().hookfunction = function(f, g) return f end
- end
- if not newcclosure then
- getgenv().newcclosure = function(f) return f end
- end
- end
- AntiDetection()
- -- 1. Create premium main UI
- local DexOslo = Instance.new("ScreenGui")
- DexOslo.Name = "DexOslobuild_"..HttpService:GenerateGUID(false)
- DexOslo.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- DexOslo.ResetOnSpawn = false
- DexOslo.DisplayOrder = 999
- -- 2. Advanced loading screen with 3D effects
- local function CreateLoadingScreen()
- local loadingGui = Instance.new("ScreenGui")
- loadingGui.Name = "DexOsloLoading_"..HttpService:GenerateGUID(false)
- loadingGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- loadingGui.DisplayOrder = 1000
- local mainFrame = Instance.new("Frame")
- mainFrame.Size = UDim2.new(0, 400, 0, 200)
- mainFrame.Position = UDim2.new(0.5, -200, 0.5, -100) -- Centered
- mainFrame.BackgroundColor3 = BG_COLOR
- mainFrame.BorderSizePixel = 0
- mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- mainFrame.ClipsDescendants = true
- -- Rounded corners with transparency effect
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(0, 12)
- corner.Parent = mainFrame
- -- Animated gradient effect
- local gradient = Instance.new("UIGradient")
- gradient.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 80, 180)),
- ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 180, 255))
- })
- gradient.Rotation = 45
- gradient.Parent = mainFrame
- -- Gradient movement effect
- spawn(function()
- while loadingGui.Parent do
- gradient.Rotation = (gradient.Rotation + 0.5) % 360
- wait()
- end
- end)
- local title = Instance.new("TextLabel")
- title.Text = "DEX OSLO BUILD v1.0"
- title.Font = Enum.Font.GothamBlack
- title.TextSize = 22
- title.TextColor3 = TEXT_COLOR
- title.Size = UDim2.new(1, -40, 0, 50)
- title.Position = UDim2.new(0, 20, 0.1, 0)
- title.BackgroundTransparency = 1
- title.TextXAlignment = Enum.TextXAlignment.Left
- -- Text shadow effect
- local titleShadow = title:Clone()
- titleShadow.TextColor3 = Color3.new(0, 0, 0)
- titleShadow.Position = title.Position + UDim2.new(0, 2, 0, 2)
- titleShadow.ZIndex = title.ZIndex - 1
- titleShadow.Parent = mainFrame
- local version = Instance.new("TextLabel")
- version.Text = "v1.0 | BUILD Edition | by you_noob970"
- version.Font = Enum.Font.GothamMedium
- version.TextSize = 12
- version.TextColor3 = Color3.fromRGB(180, 180, 180)
- version.Size = UDim2.new(1, -40, 0, 20)
- version.Position = UDim2.new(0, 20, 0.25, 0)
- version.BackgroundTransparency = 1
- version.TextXAlignment = Enum.TextXAlignment.Left
- local progressContainer = Instance.new("Frame")
- progressContainer.Size = UDim2.new(1, -40, 0, 15)
- progressContainer.Position = UDim2.new(0, 20, 0.6, 0)
- progressContainer.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
- progressContainer.BorderSizePixel = 0
- local progressCorner = Instance.new("UICorner")
- progressCorner.CornerRadius = UDim.new(1, 0)
- progressCorner.Parent = progressContainer
- local progressFill = Instance.new("Frame")
- progressFill.Size = UDim2.new(0, 0, 1, 0)
- progressFill.BackgroundColor3 = ACCENT_COLOR
- progressFill.BorderSizePixel = 0
- progressFill.Parent = progressContainer
- local progressCornerFill = Instance.new("UICorner")
- progressCornerFill.CornerRadius = UDim.new(1, 0)
- progressCornerFill.Parent = progressFill
- -- Glow effect for progress bar
- local progressGlow = Instance.new("ImageLabel")
- progressGlow.Size = UDim2.new(1, 10, 1, 10)
- progressGlow.Position = UDim2.new(0, -5, 0, -5)
- progressGlow.Image = "rbxassetid://5028857084"
- progressGlow.ImageColor3 = ACCENT_COLOR
- progressGlow.ScaleType = Enum.ScaleType.Slice
- progressGlow.SliceCenter = Rect.new(20, 20, 480, 480)
- progressGlow.ImageTransparency = 0.7
- progressGlow.BackgroundTransparency = 1
- progressGlow.ZIndex = -1
- progressGlow.Parent = progressFill
- local loadingText = Instance.new("TextLabel")
- loadingText.Text = "Loading... 0%"
- loadingText.Font = Enum.Font.GothamBold
- loadingText.TextSize = 16
- loadingText.TextColor3 = TEXT_COLOR
- loadingText.Size = UDim2.new(1, -40, 0, 30)
- loadingText.Position = UDim2.new(0, 20, 0.75, 0)
- loadingText.BackgroundTransparency = 1
- loadingText.TextXAlignment = Enum.TextXAlignment.Left
- -- Additional 3D effects
- local glow = Instance.new("ImageLabel")
- glow.Size = UDim2.new(1, 60, 1, 60)
- glow.Position = UDim2.new(0, -30, 0, -30)
- glow.BackgroundTransparency = 1
- glow.Image = "rbxassetid://5028857084"
- glow.ImageColor3 = ACCENT_COLOR
- glow.ScaleType = Enum.ScaleType.Slice
- glow.SliceCenter = Rect.new(20, 20, 480, 480)
- glow.SliceScale = 1
- glow.ImageTransparency = 0.8
- glow.ZIndex = -1
- glow.Parent = mainFrame
- -- Particles effect
- local particles = Instance.new("Frame")
- particles.Size = UDim2.new(1, 0, 1, 0)
- particles.BackgroundTransparency = 1
- particles.Parent = mainFrame
- spawn(function()
- for i = 1, 15 do
- local particle = Instance.new("Frame")
- particle.Size = UDim2.new(0, math.random(5, 15), 0, math.random(5, 15))
- particle.Position = UDim2.new(0, math.random(0, 400), 0, math.random(0, 200))
- particle.BackgroundColor3 = ACCENT_COLOR
- particle.BackgroundTransparency = math.random(5, 8)/10
- particle.BorderSizePixel = 0
- particle.Rotation = math.random(0, 360)
- particle.Parent = particles
- spawn(function()
- while particle.Parent do
- particle.Position = UDim2.new(
- 0, (particle.Position.X.Offset + math.random(-2, 2)) % 400,
- 0, (particle.Position.Y.Offset + math.random(-2, 2)) % 200
- )
- wait(math.random(1, 3)/10)
- end
- end)
- end
- end)
- mainFrame.Parent = loadingGui
- title.Parent = mainFrame
- version.Parent = mainFrame
- progressContainer.Parent = mainFrame
- loadingText.Parent = mainFrame
- loadingGui.Parent = CoreGui
- -- Loading effect with smooth animation
- local loadTime = 2.0
- local startTime = tick()
- local connection
- connection = RunService.RenderStepped:Connect(function()
- local elapsed = tick() - startTime
- local progress = math.min(elapsed / loadTime, 1)
- progressFill.Size = UDim2.new(progress, 0, 1, 0)
- loadingText.Text = string.format("Loading... %d%%", math.floor(progress * 100))
- -- Change gradient color during loading
- gradient.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0, Color3.fromRGB(0, math.floor(80 + progress * 100), 180)),
- ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 180, math.floor(255 - progress * 50)))
- })
- -- Change particles transparency
- for _, particle in ipairs(particles:GetChildren()) do
- particle.BackgroundTransparency = 0.5 + (progress * 0.5)
- end
- if progress >= 1 then
- connection:Disconnect()
- TweenService:Create(mainFrame, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {
- Size = UDim2.new(0, 400, 0, 0),
- Position = UDim2.new(0.5, -200, 0.5, 0)
- }):Play()
- TweenService:Create(glow, TweenInfo.new(0.7), {ImageTransparency = 1}):Play()
- wait(0.7)
- loadingGui:Destroy()
- end
- end)
- return loadTime
- end
- -- 3. Main UI with draggable functionality and modern design
- local MainFrame = Instance.new("Frame")
- MainFrame.Size = UI_SIZE
- MainFrame.Position = UDim2.new(0.5, -209, 0.5, -250) -- Centered
- MainFrame.BackgroundColor3 = BG_COLOR
- MainFrame.BorderSizePixel = 0
- MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFrame.ClipsDescendants = true
- -- Rounded corners with effect
- local mainCorner = Instance.new("UICorner")
- mainCorner.CornerRadius = UDim.new(0, 12)
- mainCorner.Parent = MainFrame
- -- Advanced shadow effect
- local shadow = Instance.new("ImageLabel")
- shadow.Name = "Shadow"
- shadow.Size = UDim2.new(1, 30, 1, 30)
- shadow.Position = UDim2.new(0, -15, 0, -15)
- shadow.Image = "rbxassetid://5028857084"
- shadow.ImageColor3 = Color3.new(0, 0, 0)
- shadow.ScaleType = Enum.ScaleType.Slice
- shadow.SliceCenter = Rect.new(20, 20, 480, 480)
- shadow.SliceScale = 1
- shadow.BackgroundTransparency = 1
- shadow.ZIndex = -1
- shadow.ImageTransparency = 0.3
- shadow.Parent = MainFrame
- local TopBar = Instance.new("Frame")
- TopBar.Size = UDim2.new(1, 0, 0, 40)
- TopBar.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
- TopBar.BorderSizePixel = 0
- local topCorner = Instance.new("UICorner")
- topCorner.CornerRadius = UDim.new(0, 12)
- topCorner.Parent = TopBar
- local Title = Instance.new("TextLabel")
- Title.Text = "DEX OSLO BUILD V1"
- Title.Font = Enum.Font.GothamBlack
- Title.TextSize = 16
- Title.TextColor3 = ACCENT_COLOR
- Title.Size = UDim2.new(0, 250, 1, 0)
- Title.Position = UDim2.new(0.5, -125, 0, 0)
- Title.BackgroundTransparency = 1
- -- Text shadow effect
- local titleShadow = Title:Clone()
- titleShadow.TextColor3 = Color3.new(0, 0, 0)
- titleShadow.Position = Title.Position + UDim2.new(0, 2, 0, 2)
- titleShadow.ZIndex = Title.ZIndex - 1
- titleShadow.Parent = TopBar
- local CloseButton = Instance.new("TextButton")
- CloseButton.Text = "✕"
- CloseButton.Font = Enum.Font.GothamBold
- CloseButton.TextSize = 20
- CloseButton.TextColor3 = TEXT_COLOR
- CloseButton.Size = UDim2.new(0, 40, 1, 0)
- CloseButton.Position = UDim2.new(1, -40, 0, 0)
- CloseButton.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
- CloseButton.BorderSizePixel = 0
- local closeCorner = Instance.new("UICorner")
- closeCorner.CornerRadius = UDim.new(0, 12)
- closeCorner.Parent = CloseButton
- -- Hover effect
- CloseButton.MouseEnter:Connect(function()
- TweenService:Create(CloseButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(255, 60, 60),
- TextColor3 = Color3.fromRGB(255, 255, 255)
- }):Play()
- end)
- CloseButton.MouseLeave:Connect(function()
- TweenService:Create(CloseButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(45, 45, 55),
- TextColor3 = TEXT_COLOR
- }):Play()
- end)
- -- Show/Hide UI button
- local ToggleButton = Instance.new("TextButton")
- ToggleButton.Text = "─"
- ToggleButton.Font = Enum.Font.GothamBold
- ToggleButton.TextSize = 20
- ToggleButton.TextColor3 = TEXT_COLOR
- ToggleButton.Size = UDim2.new(0, 40, 1, 0)
- ToggleButton.Position = UDim2.new(1, -80, 0, 0)
- ToggleButton.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
- ToggleButton.BorderSizePixel = 0
- local toggleCorner = Instance.new("UICorner")
- toggleCorner.CornerRadius = UDim.new(0, 12)
- toggleCorner.Parent = ToggleButton
- -- Hover effect
- ToggleButton.MouseEnter:Connect(function()
- TweenService:Create(ToggleButton, TweenInfo.new(0.2), {
- BackgroundColor3 = ACCENT_COLOR,
- TextColor3 = Color3.fromRGB(255, 255, 255)
- }):Play()
- end)
- ToggleButton.MouseLeave:Connect(function()
- TweenService:Create(ToggleButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(45, 45, 55),
- TextColor3 = TEXT_COLOR
- }):Play()
- end)
- local isMinimized = false
- ToggleButton.MouseButton1Click:Connect(function()
- if isMinimized then
- -- Show UI with smooth effect
- TweenService:Create(MainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
- Size = UI_SIZE,
- Position = UDim2.new(0.5, -209, 0.5, -250)
- }):Play()
- ToggleButton.Text = "─"
- isMinimized = false
- else
- -- Minimize UI with smooth effect
- TweenService:Create(MainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.In), {
- Size = UDim2.new(0, 40, 0, 40),
- Position = UDim2.new(1, -50, 1, -50)
- }):Play()
- ToggleButton.Text = "+"
- isMinimized = true
- end
- end)
- -- 4. UI Dragging System (updated and improved)
- local dragging, dragInput, dragStart, startPos
- local function UpdateInput(input)
- local delta = input.Position - dragStart
- local newPos = UDim2.new(
- startPos.X.Scale,
- startPos.X.Offset + delta.X,
- startPos.Y.Scale,
- startPos.Y.Offset + delta.Y
- )
- -- Adjust boundaries to prevent going off-screen
- local viewportSize = workspace.CurrentCamera.ViewportSize
- local frameSize = MainFrame.AbsoluteSize
- newPos = UDim2.new(
- math.clamp(newPos.X.Scale, 0, 1),
- math.clamp(newPos.X.Offset, 0, viewportSize.X - frameSize.X),
- math.clamp(newPos.Y.Scale, 0, 1),
- math.clamp(newPos.Y.Offset, 0, viewportSize.Y - frameSize.Y)
- )
- MainFrame.Position = newPos
- end
- TopBar.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = MainFrame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- TopBar.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- UpdateInput(input)
- end
- end)
- -- 5. Search box and commands (updated and improved)
- local SearchContainer = Instance.new("Frame")
- SearchContainer.Size = UDim2.new(1, -20, 0, 40)
- SearchContainer.Position = UDim2.new(0, 10, 0, 45)
- SearchContainer.BackgroundTransparency = 1
- local SearchBox = Instance.new("TextBox")
- SearchBox.Size = UDim2.new(0.7, 0, 1, 0)
- SearchBox.Position = UDim2.new(0, 0, 0, 0)
- SearchBox.PlaceholderText = "🔍 Search player or type command (!fly @player)"
- SearchBox.Text = ""
- SearchBox.Font = Enum.Font.GothamMedium
- SearchBox.TextSize = 14
- SearchBox.TextColor3 = TEXT_COLOR
- SearchBox.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
- SearchBox.BorderSizePixel = 0
- SearchBox.ClearTextOnFocus = false
- local searchCorner = Instance.new("UICorner")
- searchCorner.CornerRadius = UDim.new(0, 8)
- searchCorner.Parent = SearchBox
- local SearchButton = Instance.new("TextButton")
- SearchButton.Text = "Execute"
- SearchButton.Size = UDim2.new(0.28, -5, 1, 0)
- SearchButton.Position = UDim2.new(0.72, 5, 0, 0)
- SearchButton.Font = Enum.Font.GothamBlack
- SearchButton.TextSize = 14
- SearchButton.TextColor3 = TEXT_COLOR
- SearchButton.BackgroundColor3 = ACCENT_COLOR
- SearchButton.BorderSizePixel = 0
- local searchBtnCorner = Instance.new("UICorner")
- searchBtnCorner.CornerRadius = UDim.new(0, 8)
- searchBtnCorner.Parent = SearchButton
- -- Focus effects
- SearchBox.Focused:Connect(function()
- TweenService:Create(SearchBox, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(45, 45, 55)
- }):Play()
- end)
- SearchBox.FocusLost:Connect(function()
- TweenService:Create(SearchBox, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(35, 35, 45)
- }):Play()
- end)
- -- Hover effects
- SearchButton.MouseEnter:Connect(function()
- TweenService:Create(SearchButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(0, 200, 255),
- TextColor3 = DARK_TEXT
- }):Play()
- end)
- SearchButton.MouseLeave:Connect(function()
- TweenService:Create(SearchButton, TweenInfo.new(0.2), {
- BackgroundColor3 = ACCENT_COLOR,
- TextColor3 = TEXT_COLOR
- }):Play()
- end)
- -- 6. Players list (updated with improvements)
- local PlayersTab = Instance.new("Frame")
- PlayersTab.Size = UDim2.new(1, 0, 1, -100)
- PlayersTab.Position = UDim2.new(0, 0, 0, 90)
- PlayersTab.BackgroundTransparency = 1
- local PlayersScroll = Instance.new("ScrollingFrame")
- PlayersScroll.Size = UDim2.new(1, -10, 0.6, 0)
- PlayersScroll.Position = UDim2.new(0, 5, 0, 5)
- PlayersScroll.BackgroundTransparency = 1
- PlayersScroll.ScrollBarThickness = 8
- PlayersScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
- PlayersScroll.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 100)
- PlayersScroll.ScrollingDirection = Enum.ScrollingDirection.Y
- -- 7. Advanced control panel (updated)
- local ControlsFrame = Instance.new("Frame")
- ControlsFrame.Size = UDim2.new(1, -10, 0.35, -10)
- ControlsFrame.Position = UDim2.new(0, 5, 0.65, 5)
- ControlsFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
- ControlsFrame.BorderSizePixel = 0
- local controlsCorner = Instance.new("UICorner")
- controlsCorner.CornerRadius = UDim.new(0, 8)
- controlsCorner.Parent = ControlsFrame
- -- Scrollbar for commands
- local ControlsScroll = Instance.new("ScrollingFrame")
- ControlsScroll.Size = UDim2.new(1, 0, 1, 0)
- ControlsScroll.Position = UDim2.new(0, 0, 0, 0)
- ControlsScroll.BackgroundTransparency = 1
- ControlsScroll.ScrollBarThickness = 8
- ControlsScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
- ControlsScroll.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 100)
- ControlsScroll.ScrollingDirection = Enum.ScrollingDirection.Y
- ControlsScroll.Parent = ControlsFrame
- -- 8. Complete commands (updated with new commands)
- local commands = {
- -- Basic commands
- {name = "!freeze", desc = "Freeze the player", color = Color3.fromRGB(70, 70, 90), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Anchored = true
- v.CanCollide = false
- end
- end
- return "✅ Frozen "..plr.Name
- end
- return "❌ Failed to freeze player"
- end},
- {name = "!unfreeze", desc = "Unfreeze the player", color = Color3.fromRGB(70, 70, 90), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Anchored = false
- v.CanCollide = true
- end
- end
- return "✅ Unfrozen "..plr.Name
- end
- return "❌ Failed to unfreeze"
- end},
- -- Enhanced fly system
- {name = "!fly", desc = "Enable flying [speed]", color = Color3.fromRGB(70, 70, 90), func = function(plr, _, args)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- -- Remove any previous fly
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v.Name == "DexFlyScript" or v:IsA("BodyGyro") or v:IsA("BodyVelocity") then
- v:Destroy()
- end
- end
- local flySpeed = tonumber(args[2]) or 50
- local flyScript = Instance.new("Script", plr.Character)
- flyScript.Name = "DexFlyScript"
- flyScript.Source = [[
- local plr = game:GetService("Players").LocalPlayer
- local char = plr.Character
- local root = char:WaitForChild("HumanoidRootPart")
- local humanoid = char:WaitForChild("Humanoid")
- -- Setup controls
- local bg = Instance.new("BodyGyro", root)
- bg.P = 10000
- bg.maxTorque = Vector3.new(100000, 100000, 100000)
- bg.cframe = root.CFrame
- local bv = Instance.new("BodyVelocity", root)
- bv.velocity = Vector3.new(0,0,0)
- bv.maxForce = Vector3.new(100000,100000,100000)
- local flySpeed = ]]..flySpeed..[[
- local flying = true
- local uis = game:GetService("UserInputService")
- -- Fly controls
- local function updateFly()
- if not flying then return end
- local velocity = Vector3.new(0,0,0)
- local cframe = root.CFrame
- if uis:IsKeyDown(Enum.KeyCode.W) then
- velocity = velocity + (cframe.LookVector * flySpeed)
- end
- if uis:IsKeyDown(Enum.KeyCode.S) then
- velocity = velocity + (cframe.LookVector * -flySpeed)
- end
- if uis:IsKeyDown(Enum.KeyCode.A) then
- velocity = velocity + (cframe.RightVector * -flySpeed)
- end
- if uis:IsKeyDown(Enum.KeyCode.D) then
- velocity = velocity + (cframe.RightVector * flySpeed)
- end
- if uis:IsKeyDown(Enum.KeyCode.Space) then
- velocity = velocity + Vector3.new(0, flySpeed, 0)
- end
- if uis:IsKeyDown(Enum.KeyCode.LeftShift) then
- velocity = velocity + Vector3.new(0, -flySpeed, 0)
- end
- bv.velocity = velocity
- bg.cframe = CFrame.new(root.Position, root.Position + velocity)
- end
- -- Stop flying when dead
- humanoid.Died:Connect(function()
- flying = false
- bg:Destroy()
- bv:Destroy()
- script:Destroy()
- end)
- -- Update movement
- while flying and root and bg and bv do
- updateFly()
- game:GetService("RunService").Heartbeat:Wait()
- end
- ]]
- return "✅ Enabled flying for "..plr.Name.." with speed "..flySpeed
- end
- return "❌ Failed to enable flying"
- end},
- {name = "!nofly", desc = "Disable flying", color = Color3.fromRGB(70, 70, 90), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v.Name == "DexFlyScript" or v:IsA("BodyGyro") or v:IsA("BodyVelocity") then
- v:Destroy()
- end
- end
- return "✅ Disabled flying for "..plr.Name
- end
- return "❌ Failed to disable flying"
- end},
- -- Admin commands
- {name = "!kick", desc = "Kick the player", color = ERROR_COLOR, func = function(plr)
- if plr == Players.LocalPlayer then return "❌ Cannot kick yourself" end
- pcall(function()
- plr:Kick("🚫 Kicked by you_noob970")
- end)
- return "✅ Kicked "..plr.Name
- end},
- {name = "!ban", desc = "Ban the player", color = Color3.fromRGB(150, 30, 30), func = function(plr)
- if plr == Players.LocalPlayer then return "❌ Cannot ban yourself" end
- pcall(function()
- plr:Kick("🚫 Banned by you_noob970")
- end)
- return "✅ Banned "..plr.Name
- end},
- -- Teleport commands
- {name = "!tp all", desc = "Teleport everyone to you", color = ACCENT_COLOR, func = function(_, localPlayer)
- if localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
- local pos = localPlayer.Character.HumanoidRootPart.Position
- for _, p in ipairs(Players:GetPlayers()) do
- if p ~= localPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
- pcall(function()
- p.Character.HumanoidRootPart.CFrame = CFrame.new(pos + Vector3.new(math.random(-5,5), 0, math.random(-5,5)))
- end)
- end
- end
- return "✅ Teleported all players to you"
- end
- return "❌ Failed to teleport"
- end},
- {name = "!bring", desc = "Bring player to you", color = ACCENT_COLOR, func = function(plr, localPlayer)
- if localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") and
- plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- pcall(function()
- plr.Character.HumanoidRootPart.CFrame = localPlayer.Character.HumanoidRootPart.CFrame
- end)
- return "✅ Brought "..plr.Name
- end
- return "❌ Failed to bring player"
- end},
- -- Invisibility commands
- {name = "!invisible", desc = "Make player invisible", color = Color3.fromRGB(80, 80, 100), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- v.CastShadow = false
- end
- end
- return "✅ Made "..plr.Name.." invisible"
- end
- return "❌ Failed to make invisible"
- end},
- {name = "!visible", desc = "Make player visible", color = Color3.fromRGB(80, 80, 100), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Transparency = 0
- v.CastShadow = true
- end
- end
- return "✅ Made "..plr.Name.." visible"
- end
- return "❌ Failed to make visible"
- end},
- -- God mode commands
- {name = "!god", desc = "Enable god mode", color = Color3.fromRGB(0, 150, 0), func = function(plr)
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
- plr.Character.Humanoid.MaxHealth = math.huge
- plr.Character.Humanoid.Health = math.huge
- return "✅ Enabled god mode for "..plr.Name
- end
- return "❌ Failed to enable god mode"
- end},
- {name = "!ungod", desc = "Disable god mode", color = Color3.fromRGB(150, 0, 0), func = function(plr)
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
- plr.Character.Humanoid.MaxHealth = 100
- plr.Character.Humanoid.Health = 100
- return "✅ Disabled god mode for "..plr.Name
- end
- return "❌ Failed to disable god mode"
- end},
- -- Movement commands
- {name = "!speed", desc = "Modify walk speed [value]", color = Color3.fromRGB(0, 170, 170), func = function(plr, _, args)
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
- local speed = tonumber(args[2]) or 50
- plr.Character.Humanoid.WalkSpeed = speed
- return "✅ Set "..plr.Name.."'s speed to "..speed
- end
- return "❌ Failed to modify speed"
- end},
- {name = "!jump", desc = "Modify jump power [value]", color = Color3.fromRGB(170, 0, 170), func = function(plr, _, args)
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
- local power = tonumber(args[2]) or 50
- plr.Character.Humanoid.JumpPower = power
- return "✅ Set "..plr.Name.."'s jump to "..power
- end
- return "❌ Failed to modify jump"
- end},
- -- Noclip commands
- {name = "!noclip", desc = "Enable noclip", color = Color3.fromRGB(170, 170, 0), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v.Name == "DexNoclipScript" then v:Destroy() end
- end
- local noclipScript = Instance.new("Script", plr.Character)
- noclipScript.Name = "DexNoclipScript"
- noclipScript.Source = [[
- local char = script.Parent
- local humanoid = char:WaitForChild("Humanoid")
- local function noclip()
- for _, part in ipairs(char:GetDescendants()) do
- if part:IsA("BasePart") then
- part.CanCollide = false
- end
- end
- end
- local connection
- connection = game:GetService("RunService").Stepped:Connect(function()
- if char and humanoid and humanoid.Health > 0 then
- noclip()
- else
- connection:Disconnect()
- end
- end)
- humanoid.Died:Connect(function()
- if connection then
- connection:Disconnect()
- end
- script:Destroy()
- end)
- ]]
- return "✅ Enabled noclip for "..plr.Name
- end
- return "❌ Failed to enable noclip"
- end},
- {name = "!clip", desc = "Disable noclip", color = Color3.fromRGB(170, 170, 0), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v.Name == "DexNoclipScript" then v:Destroy() end
- if v:IsA("BasePart") then v.CanCollide = true end
- end
- return "✅ Disabled noclip for "..plr.Name
- end
- return "❌ Failed to disable noclip"
- end},
- -- Punishment commands
- {name = "!punish", desc = "Punish the player", color = ERROR_COLOR, func = function(plr)
- if plr.Character then
- plr.Character:Destroy()
- return "✅ Punished "..plr.Name
- end
- return "❌ Failed to punish"
- end},
- {name = "!unpunish", desc = "Unpunish the player", color = ACCENT_COLOR, func = function(plr)
- plr:LoadCharacter()
- return "✅ Unpunished "..plr.Name
- end},
- -- Viewing commands
- {name = "!view", desc = "Spectate player", color = ACCENT_COLOR, func = function(plr, localPlayer)
- if plr.Character and plr.Character:FindFirstChild("Humanoid") then
- workspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
- return "✅ Now spectating "..plr.Name
- end
- return "❌ Failed to spectate"
- end},
- {name = "!unview", desc = "Stop spectating", color = ACCENT_COLOR, func = function(_, localPlayer)
- if localPlayer.Character and localPlayer.Character:FindFirstChildOfClass("Humanoid") then
- workspace.CurrentCamera.CameraSubject = localPlayer.Character.Humanoid
- return "✅ Stopped spectating"
- end
- return "❌ Failed to stop spectating"
- end},
- -- Effect commands
- {name = "!spin", desc = "Make player spin", color = Color3.fromRGB(200, 0, 200), func = function(plr)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v.Name == "DexSpinScript" then v:Destroy() end
- end
- local spinScript = Instance.new("Script", plr.Character)
- spinScript.Name = "DexSpinScript"
- spinScript.Source = [[
- local root = script.Parent:WaitForChild("HumanoidRootPart")
- local humanoid = script.Parent:WaitForChild("Humanoid")
- while root and humanoid and humanoid.Health > 0 do
- game:GetService("RunService").Heartbeat:Wait()
- root.CFrame = root.CFrame * CFrame.Angles(0, math.rad(10), 0)
- end
- script:Destroy()
- ]]
- return "✅ Made "..plr.Name.." spin"
- end
- return "❌ Failed to spin"
- end},
- {name = "!unspin", desc = "Stop player spinning", color = Color3.fromRGB(200, 0, 200), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v.Name == "DexSpinScript" then v:Destroy() end
- end
- return "✅ Stopped "..plr.Name.." from spinning"
- end
- return "❌ Failed to stop spinning"
- end},
- -- Size commands
- {name = "!size", desc = "Change player size [scale]", color = Color3.fromRGB(200, 100, 0), func = function(plr, _, args)
- if plr.Character then
- local scale = tonumber(args[2]) or 2
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Size = v.Size * scale
- elseif v:IsA("CharacterMesh") then
- v.BaseScale = Vector3.new(scale, scale, scale)
- elseif v:IsA("SpecialMesh") then
- v.Scale = v.Scale * scale
- end
- end
- return "✅ Changed "..plr.Name.."'s size to "..scale.."x"
- end
- return "❌ Failed to change size"
- end},
- {name = "!reset", desc = "Reset player", color = Color3.fromRGB(200, 100, 0), func = function(plr)
- plr:LoadCharacter()
- return "✅ Reset "..plr.Name
- end},
- -- Visual effect commands
- {name = "!fire", desc = "Add fire to player", color = Color3.fromRGB(255, 80, 0), func = function(plr)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("Fire") then v:Destroy() end
- end
- local fire = Instance.new("Fire", plr.Character.HumanoidRootPart)
- fire.Size = 10
- fire.Heat = 15
- return "✅ Added fire to "..plr.Name
- end
- return "❌ Failed to add fire"
- end},
- {name = "!smoke", desc = "Add smoke to player", color = Color3.fromRGB(150, 150, 150), func = function(plr)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("Smoke") then v:Destroy() end
- end
- local smoke = Instance.new("Smoke", plr.Character.HumanoidRootPart)
- smoke.Size = 10
- smoke.Opacity = 0.5
- return "✅ Added smoke to "..plr.Name
- end
- return "❌ Failed to add smoke"
- end},
- {name = "!sparkles", desc = "Add sparkles to player", color = Color3.fromRGB(255, 255, 0), func = function(plr)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("Sparkles") then v:Destroy() end
- end
- local sparkles = Instance.new("Sparkles", plr.Character.HumanoidRootPart)
- sparkles.SparkleColor = Color3.new(1, 1, 0)
- return "✅ Added sparkles to "..plr.Name
- end
- return "❌ Failed to add sparkles"
- end},
- -- Modification commands
- {name = "!rename", desc = "Change display name [name]", color = Color3.fromRGB(100, 70, 150), func = function(plr, _, args)
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
- local newName = table.concat(args, " ", 2)
- plr.Character.Humanoid.DisplayName = newName
- return "✅ Changed "..plr.Name.."'s name to "..newName
- end
- return "❌ Failed to rename"
- end},
- {name = "!ff", desc = "Enable forcefield", color = Color3.fromRGB(0, 100, 200), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("ForceField") then v:Destroy() end
- end
- Instance.new("ForceField", plr.Character)
- return "✅ Enabled forcefield for "..plr.Name
- end
- return "❌ Failed to enable forcefield"
- end},
- {name = "!unff", desc = "Disable forcefield", color = ERROR_COLOR, func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("ForceField") then v:Destroy() end
- end
- return "✅ Disabled forcefield for "..plr.Name
- end
- return "❌ Failed to disable forcefield"
- end},
- -- Movement commands
- {name = "!sit", desc = "Force player to sit", color = Color3.fromRGB(100, 150, 200), func = function(plr)
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
- plr.Character.Humanoid.Sit = true
- return "✅ Forced "..plr.Name.." to sit"
- end
- return "❌ Failed to make sit"
- end},
- {name = "!unsit", desc = "Force player to stand", color = Color3.fromRGB(100, 150, 200), func = function(plr)
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
- plr.Character.Humanoid.Sit = false
- return "✅ Forced "..plr.Name.." to stand"
- end
- return "❌ Failed to make stand"
- end},
- -- Physics commands
- {name = "!gravity", desc = "Change player gravity [value]", color = Color3.fromRGB(100, 100, 200), func = function(plr, _, args)
- if plr.Character then
- local gravity = tonumber(args[2]) or 196.2
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CustomPhysicalProperties = PhysicalProperties.new(1, 0.3, 0.5, gravity/196.2, 0)
- end
- end
- return "✅ Changed "..plr.Name.."'s gravity to "..gravity
- end
- return "❌ Failed to change gravity"
- end},
- -- Chat commands
- {name = "!chat", desc = "Send message to player [text]", color = Color3.fromRGB(200, 200, 100), func = function(plr, _, args)
- if plr and #args > 1 then
- local message = table.concat(args, " ", 2)
- StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "["..plr.Name.."]: "..message,
- Color = Color3.new(1,1,1),
- Font = Enum.Font.SourceSansBold,
- TextSize = 18
- })
- return "✅ Sent message to "..plr.Name
- end
- return "❌ Failed to send message"
- end},
- -- Environment commands
- {name = "!time", desc = "Change game time [0-24]", color = Color3.fromRGB(150, 150, 150), func = function(_, _, args)
- local time = tonumber(args[2]) or 12
- if time >= 0 and time <= 24 then
- Lighting.ClockTime = time
- return "✅ Changed time to "..time
- end
- return "❌ Time must be between 0 and 24"
- end},
- -- New commands
- {name = "!explode", desc = "Explode player [power]", color = Color3.fromRGB(255, 50, 50), func = function(plr, _, args)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- local power = tonumber(args[2]) or 10
- local explosion = Instance.new("Explosion")
- explosion.Position = plr.Character.HumanoidRootPart.Position
- explosion.BlastPressure = power * 1000
- explosion.BlastRadius = power * 5
- explosion.Parent = workspace
- return "✅ Exploded "..plr.Name.." with power "..power
- end
- return "❌ Failed to explode"
- end},
- {name = "!float", desc = "Make player float", color = Color3.fromRGB(100, 200, 200), func = function(plr)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v.Name == "DexFloatScript" then v:Destroy() end
- end
- local floatScript = Instance.new("Script", plr.Character)
- floatScript.Name = "DexFloatScript"
- floatScript.Source = [[
- local root = script.Parent:WaitForChild("HumanoidRootPart")
- local humanoid = script.Parent:WaitForChild("Humanoid")
- local bodyForce = Instance.new("BodyForce", root)
- bodyForce.Force = Vector3.new(0, root:GetMass() * workspace.Gravity, 0)
- humanoid.Died:Connect(function()
- bodyForce:Destroy()
- script:Destroy()
- end)
- ]]
- return "✅ Made "..plr.Name.." float"
- end
- return "❌ Failed to float"
- end},
- {name = "!unfloat", desc = "Stop player floating", color = Color3.fromRGB(100, 200, 200), func = function(plr)
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v.Name == "DexFloatScript" then v:Destroy() end
- if v:IsA("BodyForce") then v:Destroy() end
- end
- return "✅ Stopped "..plr.Name.." from floating"
- end
- return "❌ Failed to stop floating"
- end},
- {name = "!blind", desc = "Blind the player", color = Color3.fromRGB(50, 50, 50), func = function(plr)
- if plr.Character then
- local screenGui = Instance.new("ScreenGui", plr.PlayerGui)
- screenGui.Name = "DexBlindEffect"
- local frame = Instance.new("Frame", screenGui)
- frame.Size = UDim2.new(1, 0, 1, 0)
- frame.BackgroundColor3 = Color3.new(0, 0, 0)
- frame.BorderSizePixel = 0
- return "✅ Blinded "..plr.Name
- end
- return "❌ Failed to blind"
- end},
- {name = "!unblind", desc = "Unblind the player", color = Color3.fromRGB(50, 50, 50), func = function(plr)
- if plr.Character and plr:FindFirstChild("PlayerGui") then
- local gui = plr.PlayerGui:FindFirstChild("DexBlindEffect")
- if gui then gui:Destroy() end
- return "✅ Unblinded "..plr.Name
- end
- return "❌ Failed to unblind"
- end},
- {name = "!mute", desc = "Mute player sounds", color = Color3.fromRGB(150, 150, 150), func = function(plr)
- if plr.Character then
- for _, sound in ipairs(plr.Character:GetDescendants()) do
- if sound:IsA("Sound") then
- sound.Volume = 0
- end
- end
- return "✅ Muted "..plr.Name
- end
- return "❌ Failed to mute"
- end},
- {name = "!unmute", desc = "Unmute player", color = Color3.fromRGB(150, 150, 150), func = function(plr)
- if plr.Character then
- for _, sound in ipairs(plr.Character:GetDescendants()) do
- if sound:IsA("Sound") then
- sound.Volume = 1
- end
- end
- return "✅ Unmuted "..plr.Name
- end
- return "❌ Failed to unmute"
- end},
- {name = "!lag", desc = "Lag the player [seconds]", color = Color3.fromRGB(200, 0, 200), func = function(plr, _, args)
- local duration = tonumber(args[2]) or 5
- if plr.Character then
- local humanoid = plr.Character:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.WalkSpeed = 0
- humanoid.JumpPower = 0
- task.delay(duration, function()
- if humanoid and humanoid.Parent then
- humanoid.WalkSpeed = 16
- humanoid.JumpPower = 50
- end
- end)
- return "✅ Lagged "..plr.Name.." for "..duration.." seconds"
- end
- end
- return "❌ Failed to lag"
- end},
- {name = "!clone", desc = "Clone the player", color = Color3.fromRGB(100, 200, 100), func = function(plr)
- if plr.Character then
- local clone = plr.Character:Clone()
- clone.Parent = workspace
- clone:MoveTo(plr.Character.HumanoidRootPart.Position + Vector3.new(5, 0, 0))
- return "✅ Cloned "..plr.Name
- end
- return "❌ Failed to clone"
- end},
- {name = "!void", desc = "Send player to void", color = Color3.fromRGB(0, 0, 100), func = function(plr)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- plr.Character.HumanoidRootPart.CFrame = CFrame.new(0, -500, 0)
- return "✅ Sent "..plr.Name.." to the void"
- end
- return "❌ Failed to send to void"
- end},
- {name = "!troll", desc = "Troll the player", color = Color3.fromRGB(255, 0, 255), func = function(plr)
- if plr.Character then
- -- Freeze
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then v.Anchored = true end
- end
- -- Make small
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Size = v.Size * 0.5
- end
- end
- -- Add effects
- local fire = Instance.new("Fire", plr.Character.HumanoidRootPart)
- fire.Size = 5
- local sparkles = Instance.new("Sparkles", plr.Character.HumanoidRootPart)
- sparkles.SparkleColor = Color3.new(1, 0, 1)
- return "✅ Trolled "..plr.Name.." successfully"
- end
- return "❌ Failed to troll"
- end},
- {name = "!untroll", desc = "Untroll the player", color = Color3.fromRGB(255, 0, 255), func = function(plr)
- if plr.Character then
- -- Unfreeze
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then v.Anchored = false end
- end
- -- Reset size
- plr:LoadCharacter()
- -- Remove effects
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("Fire") or v:IsA("Sparkles") then
- v:Destroy()
- end
- end
- return "✅ Untrolled "..plr.Name
- end
- return "❌ Failed to untroll"
- end},
- {name = "!fling", desc = "Fling the player", color = Color3.fromRGB(255, 100, 0), func = function(plr)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- local root = plr.Character.HumanoidRootPart
- root.Velocity = Vector3.new(math.random(-1000, 1000), math.random(500, 1500), math.random(-1000, 1000))
- return "✅ Flung "..plr.Name.." successfully"
- end
- return "❌ Failed to fling"
- end},
- {name = "!control", desc = "Control the player", color = Color3.fromRGB(0, 150, 150), func = function(plr, localPlayer)
- if plr.Character and plr.Character:FindFirstChild("Humanoid") and localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
- localPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
- localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics, true)
- local controlScript = Instance.new("LocalScript", localPlayer.Character)
- controlScript.Name = "DexControlScript"
- controlScript.Source = [[
- local player = game:GetService("Players").LocalPlayer
- local target = game:GetService("Players"):FindFirstChild("]]..plr.Name..[[")
- if not target then script:Destroy() return end
- local humanoid = player.Character:WaitForChild("Humanoid")
- local root = player.Character:WaitForChild("HumanoidRootPart")
- local connection
- connection = game:GetService("RunService").Heartbeat:Connect(function()
- if target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
- root.CFrame = target.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 2)
- humanoid:ChangeState(Enum.HumanoidStateType.Physics)
- else
- connection:Disconnect()
- script:Destroy()
- end
- end)
- humanoid.Died:Connect(function()
- connection:Disconnect()
- script:Destroy()
- end)
- ]]
- return "✅ Now controlling "..plr.Name
- end
- return "❌ Failed to control"
- end},
- {name = "!uncontrol", desc = "Stop controlling player", color = Color3.fromRGB(0, 150, 150), func = function(_, localPlayer)
- if localPlayer.Character then
- local script = localPlayer.Character:FindFirstChild("DexControlScript")
- if script then script:Destroy() end
- if localPlayer.Character:FindFirstChild("Humanoid") then
- localPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
- localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics, false)
- end
- return "✅ Stopped controlling"
- end
- return "❌ Failed to stop controlling"
- end},
- {name = "!spam", desc = "Spam messages [count] [text]", color = Color3.fromRGB(200, 100, 100), func = function(plr, _, args)
- if #args >= 3 then
- local count = tonumber(args[2]) or 5
- local message = table.concat(args, " ", 3)
- for i = 1, count do
- task.spawn(function()
- pcall(function()
- StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "["..plr.Name.."]: "..message.." ("..i.."/"..count..")",
- Color = Color3.new(1,1,1),
- Font = Enum.Font.SourceSansBold,
- TextSize = 18
- })
- end)
- end)
- wait(0.5)
- end
- return "✅ Sent "..count.." messages to "..plr.Name
- end
- return "❌ Failed to spam"
- end},
- {name = "!jail", desc = "Jail the player", color = Color3.fromRGB(100, 100, 100), func = function(plr)
- if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
- -- Remove any previous jail
- if workspace:FindFirstChild("DexJail_"..plr.Name) then
- workspace:FindFirstChild("DexJail_"..plr.Name):Destroy()
- end
- -- Create jail
- local jail = Instance.new("Model", workspace)
- jail.Name = "DexJail_"..plr.Name
- local partSize = Vector3.new(10, 10, 10)
- local pos = plr.Character.HumanoidRootPart.Position
- -- Walls
- for x = -1, 1, 2 do
- local part = Instance.new("Part", jail)
- part.Size = Vector3.new(1, partSize.Y, partSize.Z)
- part.Position = pos + Vector3.new(x * (partSize.X/2 + 0.5), 0, 0)
- part.Anchored = true
- part.Transparency = 0.7
- part.Color = Color3.new(0.5, 0.5, 0.5)
- end
- for z = -1, 1, 2 do
- local part = Instance.new("Part", jail)
- part.Size = Vector3.new(partSize.X, partSize.Y, 1)
- part.Position = pos + Vector3.new(0, 0, z * (partSize.Z/2 + 0.5))
- part.Anchored = true
- part.Transparency = 0.7
- part.Color = Color3.new(0.5, 0.5, 0.5)
- end
- -- Ceiling and floor
- for y = -1, 1, 2 do
- local part = Instance.new("Part", jail)
- part.Size = Vector3.new(partSize.X, 1, partSize.Z)
- part.Position = pos + Vector3.new(0, y * (partSize.Y/2 + 0.5), 0)
- part.Anchored = true
- part.Transparency = 0.7
- part.Color = Color3.new(0.5, 0.5, 0.5)
- end
- -- Move player to jail
- plr.Character.HumanoidRootPart.CFrame = CFrame.new(pos)
- return "✅ Jailed "..plr.Name
- end
- return "❌ Failed to jail"
- end},
- {name = "!unjail", desc = "Unjail the player", color = Color3.fromRGB(100, 100, 100), func = function(plr)
- local jail = workspace:FindFirstChild("DexJail_"..plr.Name)
- if jail then jail:Destroy() end
- return "✅ Unjailed "..plr.Name
- end},
- {name = "!heal", desc = "Heal the player", color = Color3.fromRGB(0, 200, 0), func = function(plr)
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
- plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
- return "✅ Healed "..plr.Name
- end
- return "❌ Failed to heal"
- end},
- {name = "!kill", desc = "Kill the player", color = Color3.fromRGB(200, 0, 0), func = function(plr)
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") then
- plr.Character.Humanoid.Health = 0
- return "✅ Killed "..plr.Name
- end
- return "❌ Failed to kill"
- end},
- {name = "!loopkill", desc = "Loop kill the player", color = Color3.fromRGB(150, 0, 0), func = function(plr)
- if not _G.DexLoopKill then _G.DexLoopKill = {} end
- _G.DexLoopKill[plr.Name] = true
- task.spawn(function()
- while _G.DexLoopKill and _G.DexLoopKill[plr.Name] and plr.Character do
- pcall(function()
- plr.Character.Humanoid.Health = 0
- end)
- wait(1)
- end
- end)
- return "✅ Enabled loop kill for "..plr.Name
- end},
- {name = "!unloopkill", desc = "Stop loop kill", color = Color3.fromRGB(150, 0, 0), func = function(plr)
- if _G.DexLoopKill then
- _G.DexLoopKill[plr.Name] = nil
- end
- return "✅ Disabled loop kill for "..plr.Name
- end},
- {name = "!loopfling", desc = "Loop fling the player", color = Color3.fromRGB(200, 100, 0), func = function(plr)
- if not _G.DexLoopFling then _G.DexLoopFling = {} end
- _G.DexLoopFling[plr.Name] = true
- task.spawn(function()
- while _G.DexLoopFling and _G.DexLoopFling[plr.Name] and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") do
- pcall(function()
- plr.Character.HumanoidRootPart.Velocity = Vector3.new(math.random(-5000, 5000), math.random(2000, 5000), math.random(-5000, 5000))
- end)
- wait(0.5)
- end
- end)
- return "✅ Enabled loop fling for "..plr.Name
- end},
- {name = "!unloopfling", desc = "Stop loop fling", color = Color3.fromRGB(200, 100, 0), func = function(plr)
- if _G.DexLoopFling then
- _G.DexLoopFling[plr.Name] = nil
- end
- return "✅ Disabled loop fling for "..plr.Name
- end},
- {name = "!loopfreeze", desc = "Loop freeze the player", color = Color3.fromRGB(0, 100, 200), func = function(plr)
- if not _G.DexLoopFreeze then _G.DexLoopFreeze = {} end
- _G.DexLoopFreeze[plr.Name] = true
- task.spawn(function()
- while _G.DexLoopFreeze and _G.DexLoopFreeze[plr.Name] and plr.Character do
- pcall(function()
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then v.Anchored = true end
- end
- end)
- wait(0.1)
- end
- end)
- return "✅ Enabled loop freeze for "..plr.Name
- end},
- {name = "!unloopfreeze", desc = "Stop loop freeze", color = Color3.fromRGB(0, 100, 200), func = function(plr)
- if _G.DexLoopFreeze then
- _G.DexLoopFreeze[plr.Name] = nil
- if plr.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("BasePart") then v.Anchored = false end
- end
- end
- end
- return "✅ Disabled loop freeze for "..plr.Name
- end},
- {name = "!loopgoto", desc = "Loop go to player", color = Color3.fromRGB(0, 200, 200), func = function(plr, localPlayer)
- if not _G.DexLoopGoto then _G.DexLoopGoto = {} end
- _G.DexLoopGoto[localPlayer.Name] = plr.Name
- task.spawn(function()
- while _G.DexLoopGoto and _G.DexLoopGoto[localPlayer.Name] == plr.Name and
- localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") and
- plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") do
- pcall(function()
- localPlayer.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3)
- end)
- wait(0.1)
- end
- end)
- return "✅ Enabled loop goto to "..plr.Name
- end},
- {name = "!unloopgoto", desc = "Stop loop goto", color = Color3.fromRGB(0, 200, 200), func = function(_, localPlayer)
- if _G.DexLoopGoto then
- _G.DexLoopGoto[localPlayer.Name] = nil
- end
- return "✅ Disabled loop goto"
- end},
- {name = "!esp", desc = "Enable ESP for player", color = Color3.fromRGB(255, 0, 255), func = function(plr)
- if not _G.DexESP then _G.DexESP = {} end
- if _G.DexESP[plr.Name] then
- for _, v in pairs(_G.DexESP[plr.Name]) do
- if v then v:Destroy()
- end
- end
- _G.DexESP[plr.Name] = nil
- return "✅ Disabled ESP for "..plr.Name
- end
- _G.DexESP[plr.Name] = {}
- local function createESP()
- if not plr.Character then return end
- local highlight = Instance.new("Highlight")
- highlight.Name = "DexESP_"..plr.Name
- highlight.FillColor = Color3.new(1, 0, 1)
- highlight.OutlineColor = Color3.new(1, 1, 1)
- highlight.FillTransparency = 0.5
- highlight.OutlineTransparency = 0
- highlight.Parent = plr.Character
- table.insert(_G.DexESP[plr.Name], highlight)
- local billboard = Instance.new("BillboardGui")
- billboard.Name = "DexESPName_"..plr.Name
- billboard.Adornee = plr.Character:WaitForChild("Head")
- billboard.Size = UDim2.new(0, 200, 0, 50)
- billboard.StudsOffset = Vector3.new(0, 2, 0)
- billboard.AlwaysOnTop = true
- billboard.Parent = plr.Character.Head
- local nameLabel = Instance.new("TextLabel")
- nameLabel.Text = plr.Name
- nameLabel.Size = UDim2.new(1, 0, 1, 0)
- nameLabel.BackgroundTransparency = 1
- nameLabel.TextColor3 = Color3.new(1, 1, 1)
- nameLabel.TextStrokeTransparency = 0
- nameLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
- nameLabel.Font = Enum.Font.GothamBold
- nameLabel.TextSize = 14
- nameLabel.Parent = billboard
- table.insert(_G.DexESP[plr.Name], billboard)
- end
- createESP()
- local connection
- connection = plr.CharacterAdded:Connect(function()
- if _G.DexESP and _G.DexESP[plr.Name] then
- for _, v in pairs(_G.DexESP[plr.Name]) do
- if v then v:Destroy() end
- end
- _G.DexESP[plr.Name] = nil
- connection:Disconnect()
- else
- createESP()
- end
- end)
- return "✅ Enabled ESP for "..plr.Name
- end},
- {name = "!esp all", desc = "Enable ESP for all players", color = Color3.fromRGB(255, 0, 255), func = function()
- for _, player in ipairs(Players:GetPlayers()) do
- if player ~= Players.LocalPlayer then
- ProcessCommand("!esp "..player.Name)
- end
- end
- return "✅ Enabled ESP for all players"
- end},
- {name = "!unesp all", desc = "Disable ESP for all players", color = Color3.fromRGB(255, 0, 255), func = function()
- for _, player in ipairs(Players:GetPlayers()) do
- if player ~= Players.LocalPlayer then
- ProcessCommand("!esp "..player.Name)
- end
- end
- return "✅ Disabled ESP for all players"
- end},
- {name = "!spectate", desc = "Spectate player", color = Color3.fromRGB(100, 200, 255), func = function(plr)
- if plr.Character and plr.Character:FindFirstChild("Humanoid") then
- workspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
- workspace.CurrentCamera.CameraType = Enum.CameraType.Follow
- return "✅ Now spectating "..plr.Name
- end
- return "❌ Failed to spectate"
- end},
- {name = "!unspectate", desc = "Stop spectating", color = Color3.fromRGB(100, 200, 255), func = function(_, localPlayer)
- if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
- workspace.CurrentCamera.CameraSubject = localPlayer.Character.Humanoid
- workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
- return "✅ Stopped spectating"
- end
- return "❌ Failed to stop spectating"
- end},
- {name = "!stealname", desc = "Steal player's display name", color = Color3.fromRGB(150, 150, 255), func = function(plr, localPlayer)
- if plr.Character and plr.Character:FindFirstChild("Humanoid") and
- localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
- localPlayer.Character.Humanoid.DisplayName = plr.Character.Humanoid.DisplayName
- return "✅ Stolen name from "..plr.Name
- end
- return "❌ Failed to steal name"
- end},
- {name = "!stealappearance", desc = "Steal player's appearance", color = Color3.fromRGB(150, 150, 255), func = function(plr, localPlayer)
- if plr.Character and localPlayer.Character then
- for _, v in ipairs(plr.Character:GetDescendants()) do
- if v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") or v:IsA("Accessory") then
- local clone = v:Clone()
- for _, old in ipairs(localPlayer.Character:GetDescendants()) do
- if old:IsSameType(v) then
- old:Destroy()
- end
- end
- clone.Parent = localPlayer.Character
- end
- end
- return "✅ Stolen appearance from "..plr.Name
- end
- return "❌ Failed to steal appearance"
- end},
- {name = "!stealtools", desc = "Steal player's tools", color = Color3.fromRGB(150, 150, 255), func = function(plr, localPlayer)
- if plr.Backpack and localPlayer.Backpack then
- for _, tool in ipairs(plr.Backpack:GetChildren()) do
- if tool:IsA("Tool") then
- local clone = tool:Clone()
- clone.Parent = localPlayer.Backpack
- end
- end
- return "✅ Stolen tools from "..plr.Name
- end
- return "❌ Failed to steal tools"
- end},
- {name = "!copy", desc = "Copy player completely", color = Color3.fromRGB(150, 150, 255), func = function(plr, localPlayer)
- ProcessCommand("!stealname "..plr.Name)
- ProcessCommand("!stealappearance "..plr.Name)
- ProcessCommand("!stealtools "..plr.Name)
- return "✅ Copied "..plr.Name.." completely"
- end},
- {name = "!admin", desc = "Give yourself admin powers", color = Color3.fromRGB(255, 215, 0), func = function(_, localPlayer)
- -- This is just a UI and doesn't give real admin powers
- -- You would need a server-side admin system for real functionality
- local adminGui = Instance.new("ScreenGui", localPlayer.PlayerGui)
- adminGui.Name = "DexAdminPanel"
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(0, 300, 0, 200)
- frame.Position = UDim2.new(0.5, -150, 0.5, -100)
- frame.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
- frame.BorderSizePixel = 0
- frame.Parent = adminGui
- local title = Instance.new("TextLabel")
- title.Text = "Admin Panel (Fake)"
- title.Size = UDim2.new(1, 0, 0, 30)
- title.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
- title.TextColor3 = Color3.new(1, 1, 1)
- title.Font = Enum.Font.GothamBold
- title.Parent = frame
- local closeBtn = Instance.new("TextButton")
- closeBtn.Text = "X"
- closeBtn.Size = UDim2.new(0, 30, 0, 30)
- closeBtn.Position = UDim2.new(1, -30, 0, 0)
- closeBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
- closeBtn.TextColor3 = Color3.new(1, 1, 1)
- closeBtn.Font = Enum.Font.GothamBold
- closeBtn.Parent = frame
- closeBtn.MouseButton1Click:Connect(function()
- adminGui:Destroy()
- end)
- local label = Instance.new("TextLabel")
- label.Text = "This is just a fake admin UI\nIt doesn't give real admin powers"
- label.Size = UDim2.new(1, -20, 1, -50)
- label.Position = UDim2.new(0, 10, 0, 40)
- label.BackgroundTransparency = 1
- label.TextColor3 = Color3.new(1, 1, 1)
- label.TextWrapped = true
- label.Font = Enum.Font.Gotham
- label.Parent = frame
- return "✅ Enabled fake admin panel"
- end},
- {name = "!cmds", desc = "Show all available commands", color = Color3.fromRGB(200, 200, 200), func = function()
- local commandsList = {}
- for _, cmd in ipairs(commands) do
- table.insert(commandsList, string.format("%s - %s", cmd.name, cmd.desc))
- end
- local message = "All available commands:\n"..table.concat(commandsList, "\n")
- warn(message)
- StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = message,
- Color = Color3.new(1,1,1),
- Font = Enum.Font.SourceSansBold,
- TextSize = 18
- })
- return "✅ Commands list shown in console"
- end}
- }
- -- 9. Create command buttons (updated with command descriptions)
- local function CreateCommandButtons()
- local buttonsPerRow = 4
- local buttonWidth = 0.23
- local buttonHeight = 0.08
- local xPadding = 0.01
- local yPadding = 0.01
- for i, cmd in ipairs(commands) do
- local row = math.floor((i-1)/buttonsPerRow)
- local col = (i-1)%buttonsPerRow
- local button = Instance.new("TextButton")
- button.Text = cmd.name
- button.Size = UDim2.new(buttonWidth, 0, buttonHeight, 0)
- button.Position = UDim2.new(xPadding + col*(buttonWidth+xPadding), 0, yPadding + row*(buttonHeight+yPadding), 0)
- button.BackgroundColor3 = cmd.color
- button.TextSize = 12
- button.Font = Enum.Font.GothamBold
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.BorderSizePixel = 0
- button.AutoButtonColor = true
- button.Parent = ControlsScroll
- -- Hover effect
- button.MouseEnter:Connect(function()
- TweenService:Create(button, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(
- math.min(cmd.color.R * 255 + 50, 255)/255,
- math.min(cmd.color.G * 255 + 50, 255)/255,
- math.min(cmd.color.B * 255 + 50, 255)/255
- ),
- TextColor3 = DARK_TEXT
- }):Play()
- end)
- button.MouseLeave:Connect(function()
- TweenService:Create(button, TweenInfo.new(0.2), {
- BackgroundColor3 = cmd.color,
- TextColor3 = TEXT_COLOR
- }):Play()
- end)
- -- Additional info on hover
- local tooltip = Instance.new("TextLabel")
- tooltip.Text = cmd.desc
- tooltip.Size = UDim2.new(0, 150, 0, 30)
- tooltip.Position = UDim2.new(0, 0, -1, 0)
- tooltip.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
- tooltip.TextColor3 = TEXT_COLOR
- tooltip.Font = Enum.Font.Gotham
- tooltip.TextSize = 12
- tooltip.Visible = false
- tooltip.Parent = button
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(0, 4)
- corner.Parent = tooltip
- button.MouseEnter:Connect(function()
- tooltip.Visible = true
- end)
- button.MouseLeave:Connect(function()
- tooltip.Visible = false
- end)
- button.MouseButton1Click:Connect(function()
- if _G.SelectedPlayer then
- local success, result = pcall(function()
- return cmd.func(_G.SelectedPlayer, Players.LocalPlayer)
- end)
- if success then
- if result then
- warn(result)
- -- Visual notification
- local notification = Instance.new("TextLabel")
- notification.Text = result
- notification.Size = UDim2.new(0, 200, 0, 40)
- notification.Position = UDim2.new(0.5, -100, 1, 10)
- notification.BackgroundColor3 = result:find("✅") and SUCCESS_COLOR or ERROR_COLOR
- notification.TextColor3 = TEXT_COLOR
- notification.Font = Enum.Font.GothamBold
- notification.TextSize = 14
- notification.Parent = ControlsFrame
- local corner = Instance.new("UICorner")
- corner.Parent = notification
- TweenService:Create(notification, TweenInfo.new(0.5), {
- Position = UDim2.new(0.5, -100, 1, -50)
- }):Play()
- task.delay(3, function()
- if notification then
- TweenService:Create(notification, TweenInfo.new(0.5), {
- Position = UDim2.new(0.5, -100, 1, 10),
- BackgroundTransparency = 1,
- TextTransparency = 1
- }):Play()
- task.delay(0.5, function()
- if notification then notification:Destroy() end
- end)
- end
- end)
- end
- else
- warn("❌ Error: "..tostring(result))
- end
- else
- warn("❌ Please select a player first")
- end
- end)
- end
- end
- -- 10. Command processing system (updated with improvements)
- local function ProcessCommand(command)
- local args = {}
- for arg in string.gmatch(command, "[^%s]+") do
- table.insert(args, arg)
- end
- if #args == 0 then return end
- local cmd = string.lower(args[1])
- local targetName = #args > 1 and args[2] or nil
- local targetPlayer = nil
- local localPlayer = Players.LocalPlayer
- -- Find player
- if targetName then
- -- Support @ for current player
- if targetName == "@me" or targetName == "@self" then
- targetPlayer = localPlayer
- else
- -- Support @username
- if string.sub(targetName, 1, 1) == "@" then
- targetName = string.sub(targetName, 2)
- end
- for _, player in ipairs(Players:GetPlayers()) do
- if string.find(string.lower(player.Name), string.lower(targetName)) or
- string.find(string.lower(player.DisplayName), string.lower(targetName)) then
- targetPlayer = player
- break
- end
- end
- end
- end
- -- Find command
- for _, commandData in ipairs(commands) do
- if string.lower(commandData.name) == cmd then
- local success, result = pcall(function()
- return commandData.func(targetPlayer or localPlayer, localPlayer, args)
- end)
- if success then
- if result then
- warn(result)
- -- Visual notification
- local notification = Instance.new("TextLabel")
- notification.Text = result
- notification.Size = UDim2.new(0, 300, 0, 50)
- notification.Position = UDim2.new(0.5, -150, 0.5, -25)
- notification.BackgroundColor3 = result:find("✅") and SUCCESS_COLOR or ERROR_COLOR
- notification.TextColor3 = TEXT_COLOR
- notification.Font = Enum.Font.GothamBold
- notification.TextSize = 16
- notification.Parent = MainFrame
- local corner = Instance.new("UICorner")
- corner.Parent = notification
- TweenService:Create(notification, TweenInfo.new(0.5), {
- Position = UDim2.new(0.5, -150, 0.5, -50)
- }):Play()
- task.delay(3, function()
- if notification then
- TweenService:Create(notification, TweenInfo.new(0.5), {
- Position = UDim2.new(0.5, -150, 0.5, -25),
- BackgroundTransparency = 1,
- TextTransparency = 1
- }):Play()
- task.delay(0.5, function()
- if notification then notification:Destroy() end
- end)
- end
- end)
- end
- else
- warn("❌ Error: "..tostring(result))
- end
- return
- end
- end
- warn("❌ Unknown command: "..cmd)
- end
- -- 11. Update players list (updated with improvements)
- local function UpdatePlayersList(searchTerm)
- PlayersScroll:ClearAllChildren()
- local yOffset = 5
- for _, player in ipairs(Players:GetPlayers()) do
- if not searchTerm or
- string.find(string.lower(player.Name), string.lower(searchTerm)) or
- string.find(string.lower(player.DisplayName), string.lower(searchTerm)) then
- local playerFrame = Instance.new("Frame")
- playerFrame.Size = UDim2.new(1, -10, 0, 60)
- playerFrame.Position = UDim2.new(0, 5, 0, yOffset)
- playerFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
- playerFrame.BorderSizePixel = 0
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(0, 8)
- corner.Parent = playerFrame
- local playerIcon = Instance.new("ImageLabel")
- playerIcon.Size = UDim2.new(0, 50, 0, 50)
- playerIcon.Position = UDim2.new(0, 5, 0.5, -25)
- playerIcon.BackgroundTransparency = 1
- playerIcon.Image = "rbxthumb://type=AvatarHeadShot&id="..player.UserId.."&w=150&h=150"
- local playerName = Instance.new("TextLabel")
- playerName.Text = player.Name
- playerName.Font = Enum.Font.GothamBold
- playerName.TextSize = 14
- playerName.TextColor3 = Color3.fromRGB(255, 255, 255)
- playerName.Size = UDim2.new(0.5, 0, 0.5, 0)
- playerName.Position = UDim2.new(0, 60, 0, 5)
- playerName.BackgroundTransparency = 1
- playerName.TextXAlignment = Enum.TextXAlignment.Left
- local playerDisplayName = Instance.new("TextLabel")
- playerDisplayName.Text = "(@"..player.DisplayName..")"
- playerDisplayName.Font = Enum.Font.Gotham
- playerDisplayName.TextSize = 12
- playerDisplayName.TextColor3 = Color3.fromRGB(200, 200, 200)
- playerDisplayName.Size = UDim2.new(0.5, 0, 0.5, 0)
- playerDisplayName.Position = UDim2.new(0, 60, 0.5, 0)
- playerDisplayName.BackgroundTransparency = 1
- playerDisplayName.TextXAlignment = Enum.TextXAlignment.Left
- local selectButton = Instance.new("TextButton")
- selectButton.Text = "Select"
- selectButton.Font = Enum.Font.GothamBold
- selectButton.TextSize = 12
- selectButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- selectButton.Size = UDim2.new(0.25, 0, 0.7, 0)
- selectButton.Position = UDim2.new(0.75, 0, 0.15, 0)
- selectButton.BackgroundColor3 = ACCENT_COLOR
- selectButton.BorderSizePixel = 0
- local selectCorner = Instance.new("UICorner")
- selectCorner.CornerRadius = UDim.new(0, 8)
- selectCorner.Parent = selectButton
- -- Hover effects
- selectButton.MouseEnter:Connect(function()
- TweenService:Create(selectButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(0, 200, 255),
- TextColor3 = DARK_TEXT
- }):Play()
- end)
- selectButton.MouseLeave:Connect(function()
- TweenService:Create(selectButton, TweenInfo.new(0.2), {
- BackgroundColor3 = ACCENT_COLOR,
- TextColor3 = TEXT_COLOR
- }):Play()
- end)
- selectButton.MouseButton1Click:Connect(function()
- _G.SelectedPlayer = player
- SearchBox.Text = player.Name
- -- Selection effect
- TweenService:Create(playerFrame, TweenInfo.new(0.3), {
- BackgroundColor3 = Color3.fromRGB(60, 60, 80)
- }):Play()
- warn("✅ Selected player: "..player.Name)
- -- Reset other frames' colors
- for _, frame in ipairs(PlayersScroll:GetChildren()) do
- if frame:IsA("Frame") and frame ~= playerFrame then
- TweenService:Create(frame, TweenInfo.new(0.3), {
- BackgroundColor3 = Color3.fromRGB(40, 40, 50)
- }):Play()
- end
- end
- end)
- playerIcon.Parent = playerFrame
- playerName.Parent = playerFrame
- playerDisplayName.Parent = playerFrame
- selectButton.Parent = playerFrame
- playerFrame.Parent = PlayersScroll
- yOffset = yOffset + 65
- end
- end
- end
- -- 12. Advanced server control panel (beta version)
- local ServerControls = Instance.new("Frame")
- ServerControls.Size = UDim2.new(1, -10, 0.35, 0)
- ServerControls.Position = UDim2.new(0, 5, 0.5, 5)
- ServerControls.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
- ServerControls.BorderSizePixel = 0
- local serverCorner = Instance.new("UICorner")
- serverCorner.CornerRadius = UDim.new(0, 8)
- serverCorner.Parent = ServerControls
- -- 1. Advanced shutdown button
- local ShutdownButton = Instance.new("TextButton")
- ShutdownButton.Text = "Destroy Server"
- ShutdownButton.Size = UDim2.new(0.45, 0, 0.2, 0)
- ShutdownButton.Position = UDim2.new(0.05, 0, 0.05, 0)
- ShutdownButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
- ShutdownButton.Font = Enum.Font.GothamBlack
- ShutdownButton.TextSize = 14
- ShutdownButton.TextColor3 = TEXT_COLOR
- local shutdownCorner = Instance.new("UICorner")
- shutdownCorner.CornerRadius = UDim.new(0, 8)
- shutdownCorner.Parent = ShutdownButton
- -- 2. Powerful restart button
- local NuclearRestartButton = Instance.new("TextButton")
- NuclearRestartButton.Text = "Nuclear Restart"
- NuclearRestartButton.Size = UDim2.new(0.45, 0, 0.2, 0)
- NuclearRestartButton.Position = UDim2.new(0.5, 0, 0.05, 0)
- NuclearRestartButton.BackgroundColor3 = Color3.fromRGB(255, 100, 0)
- NuclearRestartButton.Font = Enum.Font.GothamBlack
- NuclearRestartButton.TextSize = 14
- NuclearRestartButton.TextColor3 = TEXT_COLOR
- local nuclearCorner = Instance.new("UICorner")
- nuclearCorner.CornerRadius = UDim.new(0, 8)
- nuclearCorner.Parent = NuclearRestartButton
- -- 3. Advanced mass teleport button
- local TeleportAllButton = Instance.new("TextButton")
- TeleportAllButton.Text = "Mass Teleport (Pro)"
- TeleportAllButton.Size = UDim2.new(0.45, 0, 0.2, 0)
- TeleportAllButton.Position = UDim2.new(0.05, 0, 0.3, 0)
- TeleportAllButton.BackgroundColor3 = Color3.fromRGB(150, 0, 200)
- TeleportAllButton.Font = Enum.Font.GothamBlack
- TeleportAllButton.TextSize = 14
- TeleportAllButton.TextColor3 = TEXT_COLOR
- local teleportCorner = Instance.new("UICorner")
- teleportCorner.CornerRadius = UDim.new(0, 8)
- teleportCorner.Parent = TeleportAllButton
- -- 4. Permanent ban button
- local PermaBanButton = Instance.new("TextButton")
- PermaBanButton.Text = "Perma Ban All"
- PermaBanButton.Size = UDim2.new(0.45, 0, 0.2, 0)
- PermaBanButton.Position = UDim2.new(0.5, 0, 0.3, 0)
- PermaBanButton.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
- PermaBanButton.Font = Enum.Font.GothamBlack
- PermaBanButton.TextSize = 14
- PermaBanButton.TextColor3 = TEXT_COLOR
- local banCorner = Instance.new("UICorner")
- banCorner.CornerRadius = UDim.new(0, 8)
- banCorner.Parent = PermaBanButton
- -- 5. Advanced freeze button
- local SuperFreezeButton = Instance.new("TextButton")
- SuperFreezeButton.Text = "Super Freeze"
- SuperFreezeButton.Size = UDim2.new(0.45, 0, 0.2, 0)
- SuperFreezeButton.Position = UDim2.new(0.05, 0, 0.55, 0)
- SuperFreezeButton.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
- SuperFreezeButton.Font = Enum.Font.GothamBlack
- SuperFreezeButton.TextSize = 14
- SuperFreezeButton.TextColor3 = TEXT_COLOR
- local freezeCorner = Instance.new("UICorner")
- freezeCorner.CornerRadius = UDim.new(0, 8)
- freezeCorner.Parent = SuperFreezeButton
- -- 6. Mass kick button
- local MassKickButton = Instance.new("TextButton")
- MassKickButton.Text = "Mass Kick"
- MassKickButton.Size = UDim2.new(0.45, 0, 0.2, 0)
- MassKickButton.Position = UDim2.new(0.5, 0, 0.55, 0)
- MassKickButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
- MassKickButton.Font = Enum.Font.GothamBlack
- MassKickButton.TextSize = 14
- MassKickButton.TextColor3 = TEXT_COLOR
- local kickCorner = Instance.new("UICorner")
- kickCorner.CornerRadius = UDim.new(0, 8)
- kickCorner.Parent = MassKickButton
- -- 7. Disable scripts button
- local DisableScriptsButton = Instance.new("TextButton")
- DisableScriptsButton.Text = "Disable Scripts"
- DisableScriptsButton.Size = UDim2.new(0.45, 0, 0.2, 0)
- DisableScriptsButton.Position = UDim2.new(0.05, 0, 0.8, 0)
- DisableScriptsButton.BackgroundColor3 = Color3.fromRGB(200, 0, 200)
- DisableScriptsButton.Font = Enum.Font.GothamBlack
- DisableScriptsButton.TextSize = 14
- DisableScriptsButton.TextColor3 = TEXT_COLOR
- local scriptsCorner = Instance.new("UICorner")
- scriptsCorner.CornerRadius = UDim.new(0, 8)
- scriptsCorner.Parent = DisableScriptsButton
- -- 8. Remove tools button
- local RemoveToolsButton = Instance.new("TextButton")
- RemoveToolsButton.Text = "Remove Tools"
- RemoveToolsButton.Size = UDim2.new(0.45, 0, 0.2, 0)
- RemoveToolsButton.Position = UDim2.new(0.5, 0, 0.8, 0)
- RemoveToolsButton.BackgroundColor3 = Color3.fromRGB(200, 100, 0)
- RemoveToolsButton.Font = Enum.Font.GothamBlack
- RemoveToolsButton.TextSize = 14
- RemoveToolsButton.TextColor3 = TEXT_COLOR
- local toolsCorner = Instance.new("UICorner")
- toolsCorner.CornerRadius = UDim.new(0, 8)
- toolsCorner.Parent = RemoveToolsButton
- -- Advanced button events
- ShutdownButton.MouseButton1Click:Connect(function()
- for _, player in ipairs(Players:GetPlayers()) do
- pcall(function()
- player:Kick("💥 Server destroyed by you_noob970")
- end)
- end
- warn("💀🙏 Destroyed entire server")
- -- Visual effect
- local effect = Instance.new("Message", CoreGui)
- effect.Text = "Server destroyed by you_noob970"
- effect.Font = Enum.Font.GothamBlack
- effect.TextSize = 24
- effect.TextColor3 = Color3.new(1, 0, 0)
- task.delay(3, function()
- effect:Destroy()
- end)
- end)
- NuclearRestartButton.MouseButton1Click:Connect(function()
- local placeId = game.PlaceId
- for _, player in ipairs(Players:GetPlayers()) do
- pcall(function()
- TeleportService:Teleport(placeId, player)
- end)
- end
- warn("☢️ Nuclear server restart")
- -- Visual effect
- local effect = Instance.new("Message", CoreGui)
- effect.Text = "Nuclear server restart in progress..."
- effect.Font = Enum.Font.GothamBlack
- effect.TextSize = 24
- effect.TextColor3 = Color3.new(1, 0.5, 0)
- task.delay(3, function()
- effect:Destroy()
- end)
- end)
- TeleportAllButton.MouseButton1Click:Connect(function()
- local targetPlace = 9997951362 -- Put target place ID here
- for _, player in ipairs(Players:GetPlayers()) do
- pcall(function()
- TeleportService:Teleport(targetPlace, player)
- end)
- end
- warn("🚀 Teleported all players to new server")
- -- Visual effect
- local effect = Instance.new("Message", CoreGui)
- effect.Text = "Teleporting everyone to new server"
- effect.Font = Enum.Font.GothamBlack
- effect.TextSize = 24
- effect.TextColor3 = Color3.new(0, 0.5, 1)
- task.delay(3, function()
- effect:Destroy()
- end)
- end)
- PermaBanButton.MouseButton1Click:Connect(function()
- for _, player in ipairs(Players:GetPlayers()) do
- if player ~= Players.LocalPlayer then
- pcall(function()
- player:Kick("🔒 Permanently banned from this server")
- end)
- end
- end
- warn("⛔ Permanently banned all players")
- -- Visual effect
- local effect = Instance.new("Message", CoreGui)
- effect.Text = "Permanently banned all players"
- effect.Font = Enum.Font.GothamBlack
- effect.TextSize = 24
- effect.TextColor3 = Color3.new(1, 0, 0)
- task.delay(3, function()
- effect:Destroy()
- end)
- end)
- SuperFreezeButton.MouseButton1Click:Connect(function()
- for _, player in ipairs(Players:GetPlayers()) do
- if player.Character then
- for _, part in ipairs(player.Character:GetDescendants()) do
- if part:IsA("BasePart") then
- part.Anchored = true
- part.CanCollide = false
- part.Transparency = 0.5
- end
- end
- end
- end
- warn("❄️ Super froze all players")
- -- Visual effect
- local effect = Instance.new("Message", CoreGui)
- effect.Text = "Super froze all players"
- effect.Font = Enum.Font.GothamBlack
- effect.TextSize = 24
- effect.TextColor3 = Color3.new(0, 0.5, 1)
- task.delay(3, function()
- effect:Destroy()
- end)
- end)
- MassKickButton.MouseButton1Click:Connect(function()
- for _, player in ipairs(Players:GetPlayers()) do
- if player ~= Players.LocalPlayer then
- pcall(function()
- player:Kick("👢 Kicked from server")
- end)
- end
- end
- warn("👢 Kicked all players from server")
- -- Visual effect
- local effect = Instance.new("Message", CoreGui)
- effect.Text = "Kicked all players from server"
- effect.Font = Enum.Font.GothamBlack
- effect.TextSize = 24
- effect.TextColor3 = Color3.new(1, 0, 0)
- task.delay(3, function()
- effect:Destroy()
- end)
- end)
- DisableScriptsButton.MouseButton1Click:Connect(function()
- for _, player in ipairs(Players:GetPlayers()) do
- if player.Character then
- for _, script in ipairs(player.Character:GetDescendants()) do
- if script:IsA("Script") or script:IsA("LocalScript") then
- pcall(function() script.Disabled = true end)
- end
- end
- end
- end
- warn("🔌 Disabled all player scripts")
- -- Visual effect
- local effect = Instance.new("Message", CoreGui)
- effect.Text = "Disabled all player scripts"
- effect.Font = Enum.Font.GothamBlack
- effect.TextSize = 24
- effect.TextColor3 = Color3.new(1, 0, 1)
- task.delay(3, function()
- effect:Destroy()
- end)
- end)
- RemoveToolsButton.MouseButton1Click:Connect(function()
- for _, player in ipairs(Players:GetPlayers()) do
- if player.Character then
- for _, tool in ipairs(player.Character:GetChildren()) do
- if tool:IsA("Tool") then
- pcall(function() tool:Destroy() end)
- end
- end
- local backpack = player:FindFirstChildOfClass("Backpack")
- if backpack then
- for _, tool in ipairs(backpack:GetChildren()) do
- if tool:IsA("Tool") then
- pcall(function() tool:Destroy() end)
- end
- end
- end
- end
- end
- warn("🛠️ Removed all player tools")
- -- Removed the visual effect message :)
- end)
- -- 13. Connect events (updated)
- SearchButton.MouseButton1Click:Connect(function()
- local text = SearchBox.Text
- if string.sub(text, 1, 1) == "!" then
- ProcessCommand(text)
- else
- UpdatePlayersList(text)
- end
- end)
- SearchBox.FocusLost:Connect(function(enterPressed)
- if enterPressed then
- local text = SearchBox.Text
- if string.sub(text, 1, 1) == "!" then
- ProcessCommand(text)
- else
- UpdatePlayersList(text)
- end
- end
- end)
- CloseButton.MouseButton1Click:Connect(function()
- DexOslo:Destroy()
- end)
- Players.PlayerAdded:Connect(function()
- UpdatePlayersList()
- end)
- Players.PlayerRemoving:Connect(function()
- UpdatePlayersList()
- end)
- -- 14. Assemble the UI
- TopBar.Parent = MainFrame
- Title.Parent = TopBar
- CloseButton.Parent = TopBar
- ToggleButton.Parent = TopBar
- SearchContainer.Parent = MainFrame
- SearchBox.Parent = SearchContainer
- SearchButton.Parent = SearchContainer
- PlayersScroll.Parent = PlayersTab
- PlayersTab.Parent = MainFrame
- ControlsFrame.Parent = MainFrame
- CreateCommandButtons()
- ServerControls.Parent = MainFrame
- ShutdownButton.Parent = ServerControls
- NuclearRestartButton.Parent = ServerControls
- TeleportAllButton.Parent = ServerControls
- PermaBanButton.Parent = ServerControls
- SuperFreezeButton.Parent = ServerControls
- MassKickButton.Parent = ServerControls
- DisableScriptsButton.Parent = ServerControls
- RemoveToolsButton.Parent = ServerControls
- MainFrame.Parent = DexOslo
- -- 15. Advanced startup (Pro Max Ultra version)
- local loadTime = CreateLoadingScreen()
- task.wait(loadTime)
- -- Special effects before UI appears
- local function PreloadEffects()
- -- Screen shake effect
- local camera = workspace.CurrentCamera
- local originalPosition = camera.CFrame
- for i = 1, 10 do
- camera.CFrame = originalPosition * CFrame.new(
- math.random(-0.5, 0.5),
- math.random(-0.5, 0.5),
- math.random(-0.5, 0.5)
- )
- task.wait(0.03)
- end
- camera.CFrame = originalPosition
- -- Sound effect (if available)
- if game:GetService("SoundService"):FindFirstChild("DexSound") then
- game:GetService("SoundService").DexSound:Play()
- end
- end
- -- Execute special effects
- PreloadEffects()
- -- Show main UI
- DexOslo.Parent = CoreGui
- -- Advanced appearance effect with lighting
- local light = Instance.new("SurfaceGui", MainFrame)
- light.Face = Enum.NormalId.Top
- light.Brightness = 10
- light.LightInfluence = 1
- local frame = Instance.new("Frame", light)
- frame.Size = UDim2.new(1, 0, 1, 0)
- frame.BackgroundColor3 = ACCENT_COLOR
- frame.BackgroundTransparency = 0.5
- -- Smooth UI appearance with glow effect
- MainFrame.Position = UDim2.new(0.5, -209, 0, -500)
- MainFrame.Size = UDim2.new(0, 418, 0, 0)
- MainFrame.Visible = true
- local resizeTween = TweenService:Create(
- MainFrame,
- TweenInfo.new(0.7, Enum.EasingStyle.Quint),
- {Size = UI_SIZE}
- )
- local positionTween = TweenService:Create(
- MainFrame,
- TweenInfo.new(0.9, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
- {Position = UDim2.new(0.5, -209, 0.5, -250)}
- )
- local lightTween = TweenService:Create(
- frame,
- TweenInfo.new(1.5, Enum.EasingStyle.Quad),
- {BackgroundTransparency = 1}
- )
- -- Start effects
- resizeTween:Play()
- positionTween:Play()
- lightTween:Play()
- -- Remove glow after completion
- lightTween.Completed:Connect(function()
- light:Destroy()
- end)
- -- Update players list with effect
- task.wait(0.5)
- UpdatePlayersList()
- -- 16. Show welcome message in console only
- task.wait(1)
- warn("╔══════════════════════════════════════╗")
- warn("║ Dex Oslo v1.0 ║")
- warn("║ by you_noob970 ║")
- warn("║ Loaded successfully! ║")
- warn("╚══════════════════════════════════════╝")
- -- 17. Automatic protection system
- spawn(function()
- while task.wait(5) do
- -- Protection against self-destruction
- if not DexOslo or not DexOslo.Parent then
- DexOslo = Instance.new("ScreenGui")
- DexOslo.Name = "DexOsloProMaxUltra_"..HttpService:GenerateGUID(false)
- DexOslo.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- DexOslo.ResetOnSpawn = false
- DexOslo.DisplayOrder = 999
- DexOslo.Parent = CoreGui
- MainFrame.Parent = DexOslo
- end
- -- Protection against admin detection
- if game:GetService("StarterGui"):GetCoreGuiEnabled(Enum.CoreGuiType.PlayerList) then
- game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement