Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- / Admin X Created by HappyH0lidays2021 \ --
- local Prefix = "/"
- -- / Services \ --
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local StarterGui = game:GetService("StarterGui")
- local UserInputService = game:GetService("UserInputService")
- -- / Variables \ --
- local InfiniteJumpEnabled = false
- local ExtendSize = 5
- local Player = game.Players.LocalPlayer
- -- / Functions \ --
- local function updateTracker(textLabel, target)
- local highlight = Instance.new("Highlight", target.Character)
- highlight.Enabled = true
- highlight.Name = "locate_highlight"
- highlight.FillTransparency = 0.05
- highlight.FillColor = Color3.new(1, 1, 1)
- highlight.OutlineTransparency = 1
- while task.wait() do
- textLabel.Text = target.Name.." | "..target.Character.Humanoid.Health
- end
- end
- local function extendHitbox()
- while task.wait(1) do
- for _, target in pairs(game.Players:GetPlayers()) do
- if (target ~= Player) and target.Character:FindFirstChild("HumanoidRootPart") then
- local root = target.Character.HumanoidRootPart
- root.Transparency = 0
- root.CastShadow = false
- root.Shape = Enum.PartType.Ball
- root.CanCollide = false
- root.Color = Color3.new(1, 1, 1)
- root.Size = Vector3.new(ExtendSize, ExtendSize, ExtendSize)
- root.Material = Enum.Material.ForceField
- end
- end
- end
- end
- local function createBtools()
- local build = Instance.new("Tool", Player.Backpack)
- build.Name = "Build"
- build.Activated:Connect(function()
- local Part = Instance.new("Part", workspace)
- Part.Position = Player:GetMouse().Hit.Position
- end)
- local clone = Instance.new("Tool", Player.Backpack)
- clone.Name = "Clone"
- clone.Activated:Connect(function()
- if (Player:GetMouse().Target ~= nil) and (Player:GetMouse().Target.Locked == false) then
- local Clone = Player:GetMouse().Target:Clone()
- Clone.Parent = workspace
- end
- end)
- local del = Instance.new("Tool", Player.Backpack)
- del.Name = "Delete"
- del.Activated:Connect(function()
- if (Player:GetMouse().Target ~= nil) and (Player:GetMouse().Target.Locked == false) then
- Player:GetMouse().Target:Destroy()
- end
- end)
- local anc = Instance.new("Tool", Player.Backpack)
- anc.Name = "Anchor"
- anc.Activated:Connect(function()
- if (Player:GetMouse().Target ~= nil) then
- Player:GetMouse().Target.Anchored = true
- end
- end)
- local collision = Instance.new("Tool", Player.Backpack)
- collision.Name = "Collision"
- collision.Activated:Connect(function()
- if (Player:GetMouse().Target ~= nil) then
- if (Player:GetMouse().Target.CanCollide == true) then
- Player:GetMouse().Target.CanCollide = false
- else
- Player:GetMouse().Target.CanCollide = true
- end
- end
- end)
- -- / Logic \ --
- build.RequiresHandle = false
- clone.RequiresHandle = false
- del.RequiresHandle = false
- anc.RequiresHandle = false
- collision.RequiresHandle = false
- end
- -- / Commands \ --
- local Commands = {
- speed = function(value)
- Player.Character.Humanoid.WalkSpeed = tonumber(value[1])
- end,
- jumppower = function(value)
- Player.Character.Humanoid.JumpPower = tonumber(value[1])
- Player.Character.Humanoid.UseJumpPower = true
- end,
- infjump = function(value)
- if (value[1] == "true") then
- InfiniteJumpEnabled = true
- UserInputService.JumpRequest:Connect(function()
- if InfiniteJumpEnabled then
- Player.Character.Humanoid:ChangeState("Jumping")
- end
- end)
- else
- InfiniteJumpEnabled = false
- end
- end,
- locate = function(value)
- local players = {game.Players:FindFirstChild(value[1])}
- if value[1] == "all" then
- for _, target in pairs(game.Players:GetPlayers()) do
- table.insert(players, target)
- end
- end
- for _, target in pairs(players) do
- if target then
- local billboard = Instance.new("BillboardGui", target.Character)
- billboard.Name = "locate_gui"
- billboard.MaxDistance = value[2]
- billboard.Size = UDim2.new(0, 200, 0, 20)
- billboard.StudsOffset = Vector3.new(0, 4, 0)
- billboard.AlwaysOnTop = true
- -- / Text Display \ --
- local text = Instance.new("TextLabel", billboard)
- text.BackgroundTransparency = 1
- text.Size = UDim2.new(1, 0, 1, 0)
- text.Font = Enum.Font.SourceSansBold
- text.Text = target.Name.." | "..target.Character.Humanoid.Health
- text.TextColor3 = Color3.new(1, 1, 1)
- text.TextScaled = true
- text.TextStrokeTransparency = 0
- -- / Automatically Update \ --
- coroutine.wrap(updateTracker)(text, target)
- end
- end
- end,
- extendhitbox = function(value)
- local multi = value[1] * 3
- ExtendSize = multi
- -- / Extend Hitbox \ --
- coroutine.wrap(extendHitbox)()
- end,
- kill = function()
- Player.Character.Humanoid.Health = 0
- local fakeExplosion = Instance.new("Explosion", workspace)
- fakeExplosion.Position = Player.Character.HumanoidRootPart.Position
- fakeExplosion.Visible = false
- fakeExplosion.BlastPressure = 100000
- end,
- freeze = function()
- Player.Character.HumanoidRootPart.Anchored = true
- end,
- unfreeze = function()
- Player.Character.HumanoidRootPart.Anchored = false
- end,
- spin = function(value)
- if (value[1] == nil) then
- value[1] = 30
- end
- if (not Player.Character.HumanoidRootPart:FindFirstChild("_spinthrust")) then
- local BodyThrust = Instance.new("BodyThrust", Player.Character.HumanoidRootPart)
- BodyThrust.Name = "_spinthrust"
- BodyThrust.Force = Vector3.new((value[1] * 2), 0, 0)
- BodyThrust.Location = Vector3.new(0, 0, (value[1] * 2))
- else
- local BodyThrust = Player.Character.HumanoidRootPart:FindFirstChild("_spinthrust")
- BodyThrust.Force = Vector3.new((value[1] * 2), 0, 0)
- BodyThrust.Location = Vector3.new(0, 0, (value[1] * 2))
- end
- end,
- unspin = function(Arguments)
- Player.Character.HumanoidRootPart._spinthrust:Destroy()
- end,
- btools = function()
- coroutine.wrap(createBtools)()
- end,
- dex = function()
- loadstring(game:HttpGet("https://cdn.wearedevs.net/scripts/Dex%20Explorer.txt"))()
- end,
- remotespy = function()
- loadstring(game:HttpGet("https://pastebin.com/raw/66NjbMN7",true))()
- end,
- infiniteyield = function()
- loadstring(game:HttpGet("https://cdn.wearedevs.net/scripts/Infinite%20Yield.txt"))()
- end,
- cmds = function()
- StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = [[Admin X Chat Commands:
- ------------------------
- Speed
- Jump Power
- Infinte Jump
- Locate
- Extend Hitbox
- Kill
- Freeze
- Spin
- Btools
- ------------------------
- Extra Commands
- ------------------------
- Dex
- Remote Spy
- Infinite Yield
- ------------------------
- ]];
- Color = Color3.fromRGB(255, 250, 0);
- FontSize = Enum.FontSize.Size96
- })
- end,
- }
- -- / Logic \ --
- Player.Chatted:Connect(function(message)
- -- / Created Variables \ --
- local Split = string.split(message, " ")
- local PrefixCommand = Split[1]
- local Command = string.split(PrefixCommand, Prefix)
- local Name = Command[2]
- if Commands[string.lower(Name)] then
- local Arguments = {}
- for i = 2, #Split, 1 do
- table.insert(Arguments, Split[i])
- end
- Commands[string.lower(Name)](Arguments)
- end
- end)
- task.wait() -- // Wait until the script loads
- StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = [[Admin X Loaded!
- Chat /cmds for a list of commands.]];
- Color = Color3.fromRGB(255, 0, 0);
- FontSize = Enum.FontSize.Size96
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement