Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local prefix = ';'
- local mouse = game.Players.LocalPlayer:GetMouse();
- local UserInput = game:GetService("UserInputService");
- local settings = {
- vfly = false;
- prefix = Enum.KeyCode.Semicolon;
- superspeed = false;
- superjump = false;
- noclip = true;
- noclipenable = false;
- }
- local UIAdmin = Instance.new("ScreenGui")
- local Holder = Instance.new("Frame")
- local title = Instance.new("TextLabel")
- local cmdbar = Instance.new("TextBox")
- local Commands = Instance.new("ScrollingFrame")
- local Commands_2 = Instance.new("TextLabel")
- local Fly = Instance.new("TextLabel")
- local Unfly = Instance.new("TextLabel")
- local Vfly = Instance.new("TextLabel")
- local Unvfly = Instance.new("TextLabel")
- local Noclip = Instance.new("TextLabel")
- local Gravity = Instance.new("TextLabel")
- local SuperSpeed = Instance.new("TextLabel")
- local SuperJump = Instance.new("TextLabel")
- local RejoinRj = Instance.new("TextLabel")
- local NaturalDisastersUIndsui = Instance.new("TextLabel")
- local JailbreakUI = Instance.new("TextLabel")
- local ArsenalUI = Instance.new("TextLabel")
- local PrisonlifeUI = Instance.new("TextLabel")
- local UnSuperSpeed = Instance.new("TextLabel")
- local UnSuperJump = Instance.new("TextLabel")
- UIAdmin.Name = "UIAdmin"
- UIAdmin.Parent = game.CoreGui
- UIAdmin.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Holder.Name = "Holder"
- Holder.Parent = UIAdmin
- Holder.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- Holder.BorderColor3 = Color3.fromRGB(133, 34, 255)
- Holder.Position = UDim2.new(1, -244, 1, -290)
- Holder.Size = UDim2.new(0, 244, 0, 290)
- title.Name = "title"
- title.Parent = Holder
- title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- title.BackgroundTransparency = 1.000
- title.Size = UDim2.new(0, 244, 0, 29)
- title.Font = Enum.Font.SourceSans
- title.Text = "epik cmds"
- title.TextColor3 = Color3.fromRGB(255, 255, 255)
- title.TextSize = 20.000
- cmdbar.Name = "cmdbar"
- cmdbar.Parent = Holder
- cmdbar.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
- cmdbar.BackgroundTransparency = 0.400
- cmdbar.BorderSizePixel = 0
- cmdbar.Position = UDim2.new(0, 0, 0.100000001, 0)
- cmdbar.Size = UDim2.new(0, 244, 0, 27)
- cmdbar.Font = Enum.Font.SourceSans
- cmdbar.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
- cmdbar.PlaceholderText = "CommandBar"
- cmdbar.Text = ""
- cmdbar.TextColor3 = Color3.fromRGB(178, 178, 178)
- cmdbar.TextSize = 20.000
- Commands.Name = "Commands"
- Commands.Parent = Holder
- Commands.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Commands.BackgroundTransparency = 1.000
- Commands.BorderColor3 = Color3.fromRGB(133, 51, 255)
- Commands.Position = UDim2.new(0, 0, 0.193103448, 0)
- Commands.Size = UDim2.new(0, 244, 0, 234)
- Commands.CanvasSize = UDim2.new(0, 0, 60, 0)
- Commands_2.Name = "Commands"
- Commands_2.Parent = Commands
- Commands_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Commands_2.BackgroundTransparency = 1.000
- Commands_2.Size = UDim2.new(0, 244, 0, 29)
- Commands_2.Font = Enum.Font.SourceSans
- Commands_2.Text = "Commands"
- Commands_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Commands_2.TextSize = 17.000
- Fly.Name = "Fly"
- Fly.Parent = Commands
- Fly.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Fly.BackgroundTransparency = 1.000
- Fly.Position = UDim2.new(0, 0, 0.0152873546, 0)
- Fly.Size = UDim2.new(0, 244, 0, 29)
- Fly.Font = Enum.Font.SourceSans
- Fly.Text = "Fly"
- Fly.TextColor3 = Color3.fromRGB(255, 255, 255)
- Fly.TextSize = 17.000
- Unfly.Name = "Unfly"
- Unfly.Parent = Commands
- Unfly.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Unfly.BackgroundTransparency = 1.000
- Unfly.Position = UDim2.new(0, 0, 0.0171839092, 0)
- Unfly.Size = UDim2.new(0, 244, 0, 29)
- Unfly.Font = Enum.Font.SourceSans
- Unfly.Text = "Unfly"
- Unfly.TextColor3 = Color3.fromRGB(255, 255, 255)
- Unfly.TextSize = 17.000
- Vfly.Name = "Vfly"
- Vfly.Parent = Commands
- Vfly.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Vfly.BackgroundTransparency = 1.000
- Vfly.Position = UDim2.new(0, 0, 0.0119540226, 0)
- Vfly.Size = UDim2.new(0, 244, 0, 29)
- Vfly.Font = Enum.Font.SourceSans
- Vfly.Text = "Vfly / Vehicle Fly"
- Vfly.TextColor3 = Color3.fromRGB(255, 255, 255)
- Vfly.TextSize = 17.000
- Unvfly.Name = "Unvfly"
- Unvfly.Parent = Commands
- Unvfly.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Unvfly.BackgroundTransparency = 1.000
- Unvfly.Position = UDim2.new(0, 0, 0.0136206876, 0)
- Unvfly.Size = UDim2.new(0, 244, 0, 29)
- Unvfly.Font = Enum.Font.SourceSans
- Unvfly.Text = "Unvfly / UnVehicle Fly"
- Unvfly.TextColor3 = Color3.fromRGB(255, 255, 255)
- Unvfly.TextSize = 17.000
- Noclip.Name = "Noclip"
- Noclip.Parent = Commands
- Noclip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Noclip.BackgroundTransparency = 1.000
- Noclip.Position = UDim2.new(0, 0, 0.0102873556, 0)
- Noclip.Size = UDim2.new(0, 244, 0, 29)
- Noclip.Font = Enum.Font.SourceSans
- Noclip.Text = "Noclip"
- Noclip.TextColor3 = Color3.fromRGB(255, 255, 255)
- Noclip.TextSize = 17.000
- Gravity.Name = "Gravity"
- Gravity.Parent = Commands
- Gravity.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Gravity.BackgroundTransparency = 1.000
- Gravity.Position = UDim2.new(0, 0, 0.00862069055, 0)
- Gravity.Size = UDim2.new(0, 244, 0, 29)
- Gravity.Font = Enum.Font.SourceSans
- Gravity.Text = "Gravity / Grav"
- Gravity.TextColor3 = Color3.fromRGB(255, 255, 255)
- Gravity.TextSize = 17.000
- SuperSpeed.Name = "Super Speed"
- SuperSpeed.Parent = Commands
- SuperSpeed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SuperSpeed.BackgroundTransparency = 1.000
- SuperSpeed.Position = UDim2.new(0, 0, 0.00528735621, 0)
- SuperSpeed.Size = UDim2.new(0, 244, 0, 29)
- SuperSpeed.Font = Enum.Font.SourceSans
- SuperSpeed.Text = "Super Speed"
- SuperSpeed.TextColor3 = Color3.fromRGB(255, 255, 255)
- SuperSpeed.TextSize = 17.000
- SuperJump.Name = "Super Jump"
- SuperJump.Parent = Commands
- SuperJump.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SuperJump.BackgroundTransparency = 1.000
- SuperJump.Position = UDim2.new(0, 0, 0.00166666671, 0)
- SuperJump.Size = UDim2.new(0, 244, 0, 29)
- SuperJump.Font = Enum.Font.SourceSans
- SuperJump.Text = "Super Jump"
- SuperJump.TextColor3 = Color3.fromRGB(255, 255, 255)
- SuperJump.TextSize = 17.000
- RejoinRj.Name = "Rejoin / Rj"
- RejoinRj.Parent = Commands
- RejoinRj.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- RejoinRj.BackgroundTransparency = 1.000
- RejoinRj.Position = UDim2.new(0, 0, 0.0188505761, 0)
- RejoinRj.Size = UDim2.new(0, 244, 0, 29)
- RejoinRj.Font = Enum.Font.SourceSans
- RejoinRj.Text = "Rejoin / Rj"
- RejoinRj.TextColor3 = Color3.fromRGB(255, 255, 255)
- RejoinRj.TextSize = 17.000
- NaturalDisastersUIndsui.Name = "Natural Disasters UI/ nds ui"
- NaturalDisastersUIndsui.Parent = Commands
- NaturalDisastersUIndsui.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- NaturalDisastersUIndsui.BackgroundTransparency = 1.000
- NaturalDisastersUIndsui.Position = UDim2.new(0, 0, 0.0205172431, 0)
- NaturalDisastersUIndsui.Size = UDim2.new(0, 244, 0, 29)
- NaturalDisastersUIndsui.Font = Enum.Font.SourceSans
- NaturalDisastersUIndsui.Text = "Natural Disasters UI/ Nds UI"
- NaturalDisastersUIndsui.TextColor3 = Color3.fromRGB(255, 255, 255)
- NaturalDisastersUIndsui.TextSize = 17.000
- JailbreakUI.Name = "Jailbreak UI"
- JailbreakUI.Parent = Commands
- JailbreakUI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- JailbreakUI.BackgroundTransparency = 1.000
- JailbreakUI.Position = UDim2.new(0, 0, 0.02218391, 0)
- JailbreakUI.Size = UDim2.new(0, 244, 0, 29)
- JailbreakUI.Font = Enum.Font.SourceSans
- JailbreakUI.Text = "Jailbreak UI"
- JailbreakUI.TextColor3 = Color3.fromRGB(255, 255, 255)
- JailbreakUI.TextSize = 17.000
- ArsenalUI.Name = "Arsenal UI"
- ArsenalUI.Parent = Commands
- ArsenalUI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ArsenalUI.BackgroundTransparency = 1.000
- ArsenalUI.Position = UDim2.new(0, 0, 0.023850577, 0)
- ArsenalUI.Size = UDim2.new(0, 244, 0, 29)
- ArsenalUI.Font = Enum.Font.SourceSans
- ArsenalUI.Text = "Arsenal UI"
- ArsenalUI.TextColor3 = Color3.fromRGB(255, 255, 255)
- ArsenalUI.TextSize = 17.000
- PrisonlifeUI.Name = "Prison life UI"
- PrisonlifeUI.Parent = Commands
- PrisonlifeUI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PrisonlifeUI.BackgroundTransparency = 1.000
- PrisonlifeUI.Position = UDim2.new(0, 0, 0.0255172439, 0)
- PrisonlifeUI.Size = UDim2.new(0, 244, 0, 29)
- PrisonlifeUI.Font = Enum.Font.SourceSans
- PrisonlifeUI.Text = "Prison life UI"
- PrisonlifeUI.TextColor3 = Color3.fromRGB(255, 255, 255)
- PrisonlifeUI.TextSize = 17.000
- UnSuperSpeed.Name = "UnSuper Speed"
- UnSuperSpeed.Parent = Commands
- UnSuperSpeed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- UnSuperSpeed.BackgroundTransparency = 1.000
- UnSuperSpeed.Position = UDim2.new(0, 0, 0.00695402315, 0)
- UnSuperSpeed.Size = UDim2.new(0, 244, 0, 29)
- UnSuperSpeed.Font = Enum.Font.SourceSans
- UnSuperSpeed.Text = "UnSuper Speed"
- UnSuperSpeed.TextColor3 = Color3.fromRGB(255, 255, 255)
- UnSuperSpeed.TextSize = 17.000
- UnSuperJump.Name = "UnSuper Jump"
- UnSuperJump.Parent = Commands
- UnSuperJump.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- UnSuperJump.BackgroundTransparency = 1.000
- UnSuperJump.Position = UDim2.new(0, 0, 0.00333333341, 0)
- UnSuperJump.Size = UDim2.new(0, 244, 0, 29)
- UnSuperJump.Font = Enum.Font.SourceSans
- UnSuperJump.Text = "UnSuper Jump"
- UnSuperJump.TextColor3 = Color3.fromRGB(255, 255, 255)
- UnSuperJump.TextSize = 17.000
- vflyspeed = 1
- vehicleflyspeed = 1
- function sFLY(vfly)
- repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart') and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid')
- repeat wait() until mouse
- local T = game.Players.LocalPlayer.Character.HumanoidRootPart
- local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- local SPEED = 0
- local function FLY()
- settings.vfly = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- if not vfly then
- game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
- end
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not settings.vfly
- CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end)
- end
- mouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- if vfly then
- CONTROL.F = vehicleflyspeed
- else
- CONTROL.F = vflyspeed
- end
- elseif KEY:lower() == 's' then
- if vfly then
- CONTROL.B = - vehicleflyspeed
- else
- CONTROL.B = - vflyspeed
- end
- elseif KEY:lower() == 'a' then
- if vfly then
- CONTROL.L = - vehicleflyspeed
- else
- CONTROL.L = - vflyspeed
- end
- elseif KEY:lower() == 'd' then
- if vfly then
- CONTROL.R = vehicleflyspeed
- else
- CONTROL.R = vflyspeed
- end
- elseif KEY:lower() == 'e' then
- if vfly then
- CONTROL.Q = vehicleflyspeed*2
- else
- CONTROL.Q = vflyspeed*2
- end
- elseif KEY:lower() == 'q' then
- if vfly then
- CONTROL.E = -vehicleflyspeed*2
- else
- CONTROL.E = -vflyspeed*2
- end
- end
- end)
- mouse.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- elseif KEY:lower() == 'e' then
- CONTROL.Q = 0
- elseif KEY:lower() == 'q' then
- CONTROL.E = 0
- end
- end)
- FLY()
- end
- function NOFLY()
- settings.vfly = false
- game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- game.Players.LocalPlayer.Chatted:Connect(function(msg)
- if msg == prefix.."fly" then
- settings.vfly = true
- sFLY()
- elseif msg == prefix.."unfly" then
- settings.vfly = false;
- NOFLY()
- elseif msg == prefix.."vfly" then
- settings.vfly = true
- sFLY(true)
- elseif msg == prefix.."unvfly" then
- settings.vfly = false;
- NOFLY()
- elseif msg == prefix.."nds ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/AWAveD98'),true))()
- elseif msg == prefix.."natural disasters ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/AWAveD98'),true))()
- elseif msg == prefix.."arsenal ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/nMkXx2hM'),true))()
- elseif msg == prefix.."jailbreak ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/JbzZL18s'),true))()
- elseif msg == prefix.."prison life ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/80FnKHrR'),true))()
- elseif msg == prefix.."rejoin" then
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- elseif msg == prefix.."rj" then
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- elseif msg == prefix.."super speed" then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 90
- elseif msg == prefix.."unsuper speed" then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- elseif msg == prefix.."super jump" then
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 150
- elseif msg == prefix.."unsuper jump" then
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- elseif msg == prefix.."noclip" then
- settings.noclipenable = true
- settings.noclip = false
- if settings.noclipenable then
- local function NoclipLoop()
- if settings.noclip == false and game.Players.LocalPlayer.Character ~= nil then
- for _, child in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if child:IsA("BasePart") and child.CanCollide == true then
- child.CanCollide = false
- end
- end
- end
- end
- Noclipping = game:GetService('RunService').Stepped:connect(NoclipLoop)
- else
- if Noclipping then
- Noclipping:Disconnect()
- end
- end
- elseif msg == prefix.."clip" then
- settings.noclipenable = true
- settings.noclip = true
- end
- end)
- UserInput.InputBegan:Connect(function(key, gp)
- if key.KeyCode == settings.prefix then
- if UserInput:GetFocusedTextBox() == nil then
- game.CoreGui.UIAdmin.Holder.cmdbar:CaptureFocus()
- wait()
- game.CoreGui.UIAdmin.Holder.cmdbar.Text = ''
- end
- end
- end)
- game.CoreGui.UIAdmin.Holder.cmdbar.FocusLost:Connect(function()
- if cmdbar.Text == "fly" then
- settings.vfly = true
- sFLY()
- elseif cmdbar.Text == "unfly" then
- settings.vfly = false
- NOFLY()
- elseif cmdbar.Text == 'rj' then
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- elseif cmdbar.Text == "rejoin" then
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- elseif cmdbar.Text == "vfly" then
- settings.vfly = true
- sFLY(true)
- elseif cmdbar.Text == "unvfly" then
- settings.vfly = false
- NOFLY()
- elseif cmdbar.Text == "super speed" then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 90
- elseif cmdbar.Text == "unsuper speed" then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- elseif cmdbar.Text == "super jump" then
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 150
- elseif cmdbar.Text == "unsuper jump" then
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- elseif cmdbar.Text == "nds ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/AWAveD98'),true))()
- elseif cmdbar.Text == "natural disasters ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/AWAveD98'),true))()
- elseif cmdbar.Text == "arsenal ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/nMkXx2hM'),true))()
- elseif cmdbar.Text == "jailbreak ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/JbzZL18s'),true))()
- elseif cmdbar.Text == "prison life ui" then
- loadstring(game:HttpGet(('https://pastebin.com/raw/80FnKHrR'),true))()
- elseif cmdbar.Text == "noclip" then
- settings.noclipenable = true
- settings.noclip = false
- if settings.noclipenable then
- local function NoclipLoop()
- if settings.noclip == false and game.Players.LocalPlayer.Character ~= nil then
- for _, child in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if child:IsA("BasePart") and child.CanCollide == true then
- child.CanCollide = false
- end
- end
- end
- end
- Noclipping = game:GetService('RunService').Stepped:connect(NoclipLoop)
- else
- if Noclipping then
- Noclipping:Disconnect()
- end
- end
- elseif cmdbar.Text == "clip" then
- settings.noclipenable = false
- settings.noclip = true
- elseif cmdbar.Text == "" then
- warn("enter a valid command synapse dick rider!")
- end
- wait(.2)
- cmdbar.Text = ''
- end)
- local cmds = game.CoreGui.UIAdmin.Holder.Commands
- local search = game.CoreGui.UIAdmin.Holder.cmdbar
- local filter_cmds = function(type)
- local n = 0
- if type == "Text" then
- for i, v in pairs(cmds:GetChildren()) do
- if v.Name:lower():match(search.Text:lower()) and string ~= "" then
- v.Visible = true
- n = n + 1
- else
- v.Visible = false
- end
- if v.Visible == true then
- v.Position = UDim2.new(0, 10, 0, -20 + n * 20)
- else
- v.Position = UDim2.new(0, 10, 0, -20 + i * 20)
- end
- end
- end
- end
- search.Changed:Connect(filter_cmds)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement