--Takeshi's admin function GET_PLAYER(NAME, plr) local gPlayers = game:GetService("Players") local NAME_TABLE = {} NAME = NAME:lower() if NAME ~= "all" then for i,v in pairs(gPlayers:GetPlayers()) do local L_NAME = v.Name:lower() local F = L_NAME:find(NAME) if F == 1 then table.insert(NAME_TABLE, v) end end elseif NAME == "all" then for i,v in pairs(gPlayers:GetPlayers()) do table.insert(NAME_TABLE, v) end elseif NAME == "me" then return {plr} end return NAME_TABLE end commands = { "/kill player name -- kills a player", "/ex player name -- explode's a player", "/shutdown -- shuts down the server", "/ff player name -- gives you an ff", "/unff player name -- removes ur ff", "/pn player name -- punishes you from the server", "/god player name -- gives god mode", "/freeze player name -- freezes character", "/freecam player name -- gives player freecam", "/unfreeze player name -- unfreezes player", "/unfreecam player name -- makes player back to normal", "/ungod player name -- ungod's player", "/flash player name -- gives player super speed", "/unflash player name -- gives player normal speed", "/bird player name -- gives player a high jump power", "/unbird player name -- gives player normal jump power", "/superman player name -- gives player inf health and super speed and jump power", "/unsuperman player name -- unsuperman's player", "/kill all -- kills all players in game", "/day -- makes the time do day", "/night -- makes the time do night", "/sit -- makes ur player sit", "/lag -- Kicks / Lags the player lmao", "/bob -- MAKES SOMEONE BOBV2!!", "/clean -- Clears da workspace", "/heal -- Heals the player", "/re player -- Respawns the player", "/ragdoll player -- Press r for ragdoll", } wait(0) print("Thanks for using my script") wait(0) print("Made by - Takeshi199one") wait(0) print("Type /cmds for commands") wait(.2) local Admins = {"Player1"} -- Put ur name HERE :D local Prefix = "/" -- What ur command will start off for i,v in pairs(Admins) do -- To get the Admins game.Players[v].Chatted:connect(function(msg)-- Making so tables "{}" work :D if msg:lower():sub(1, 9) == Prefix .. "shutdown" then -- it makes so that :kill mE workspace local name = msg:sub(10) workspace.Gravity = 0/0 print("Game shut down complete") end if msg:lower():sub(1, 4) == Prefix .. "ff " then -- it makes so that :kill mE workspace local name = msg:sub(5) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do Instance.new("ForceField",player.Character) -- give player an ff end print("Force field complete") end if msg:lower():sub(1, 6) == Prefix .. "unff " then -- it makes so that :kill mE workspace local name = msg:sub(7) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do while player.Character:FindFirstChild("ForceField") do player.Character.ForceField:Destroy() print("ForceField NOW GONE!") end end end if msg:lower():sub(1, 4) == Prefix .. "pn " then -- it makes so that :kill mE workspace local name = msg:sub(5) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Parent = game.Lighting print("Player PUNISHED!") end end if msg:lower():sub(1, 5) == Prefix .. "lol " then -- it makes so that :kill mE workspace local name = msg:sub(6) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do local pls = game:service("Players") c = player.Character local rj = c.HumanoidRootPart:FindFirstChild("RootJoint") local x = Instance.new("Sound", c.HumanoidRootPart) x.SoundId = "rbxassetid://146263172" x.Pitch = 1 x.Volume = 1 x.Looped = true wait(0.1) x:Play() wait(0.9) while wait() do rj.C1 = CFrame.Angles(math.random(1, 6), math.random(1, 6), math.random(1, 6)) * CFrame.new() end print("Player PUNISHED!") end end if msg:lower():sub(1, 6) == Prefix .. "kill " then -- it makes so that :kill mE workspace local name = msg:sub(7) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character:BreakJoints() print("Player KILLED!") end end if msg:lower():sub(1, 9) == Prefix .. "ragdoll " then -- it makes so that :kill mE workspace local name = msg:sub(10) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do repeat wait(0.2) until player.Character local chr = player.Character mouse = player:GetMouse() selected = true human = chr:FindFirstChild("Humanoid") ragged = true local movindamover = false local coolindown = false local togglecamshake = false local warudo = false waruding = false rootpart = chr:WaitForChild("HumanoidRootPart") torso = chr:WaitForChild("Torso") rarm = chr:WaitForChild("Right Arm") larm = chr:WaitForChild("Left Arm") rleg = chr:WaitForChild("Right Leg") lleg = chr:WaitForChild("Left Leg") local nscale = Instance.new("NumberValue") nscale.Value = 1 nscale.Parent = nil RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) nscale.Changed:connect(function() RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) end) function test() if selected == false then return end if waruding == true then return end if ragged == false then ragged = true human.PlatformStand = true if rarm and torso:FindFirstChild("Right Shoulder") then torso:FindFirstChild("Right Shoulder"):Destroy() makegloo(torso, RightShoulderC0, RightShoulderC1, torso, rarm, "Right Shoulder") maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0)) end if larm and torso:FindFirstChild("Left Shoulder") then torso:FindFirstChild("Left Shoulder"):Destroy() makegloo(torso, LeftShoulderC0, LeftShoulderC1, torso, larm, "Left Shoulder") maketouchy(larm, larm, CFrame.new(0, 0.5, 0)) end if rleg and torso:FindFirstChild("Right Hip") then torso:FindFirstChild("Right Hip"):Destroy() makegloo(torso, RightHipC0, RightHipC1, torso, rleg, "Right Hip") maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0)) end if lleg and torso:FindFirstChild("Left Hip") then torso:FindFirstChild("Left Hip"):Destroy() makegloo(torso, LeftHipC0, LeftHipC1, torso, lleg, "Left Hip") maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0)) end elseif ragged == true then ragged = false human.Jump = true if rarm and torso:FindFirstChild("Right Shoulder") then torso:FindFirstChild("Right Shoulder"):Destroy() makejoint(torso, RightShoulderC0, RightShoulderC1, torso, rarm, "Right Shoulder") rarm:FindFirstChild("touchy"):Destroy() end if larm and torso:FindFirstChild("Left Shoulder") then torso:FindFirstChild("Left Shoulder"):Destroy() makejoint(torso, LeftShoulderC0, LeftShoulderC1, torso, larm, "Left Shoulder") larm:FindFirstChild("touchy"):Destroy() end if rleg and torso:FindFirstChild("Right Hip") then torso:FindFirstChild("Right Hip"):Destroy() makejoint(torso, RightHipC0, RightHipC1, torso, rleg, "Right Hip") rleg:FindFirstChild("touchy"):Destroy() end if lleg and torso:FindFirstChild("Left Hip") then torso:FindFirstChild("Left Hip"):Destroy() makejoint(torso, LeftHipC0, LeftHipC1, torso, lleg, "Left Hip") lleg:FindFirstChild("touchy"):Destroy() end end end function makegloo(paren, co, ci, parto, parti, nam) local gloo = Instance.new("Glue") gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end function makejoint(paren, co, ci, parto, parti, nam) local gloo = Instance.new("Motor6D") gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end function maketouchy(parent, limb, cframe) local pr = Instance.new("Part") pr.Name = "touchy" pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) pr.Transparency = 1 pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) pr.CanCollide = true pr.Anchored = false pr.Parent = parent local w = Instance.new("Weld") w.Part0 = pr w.Part1 = limb w.C0 = cframe w.Parent = pr end function movinit() if ragged == true then do local bodyp = Instance.new("BodyPosition") bodyp.MaxForce = Vector3.new(100000, 100000, 100000) bodyp.Position = mouse.Hit.p bodyp.P = 100 bodyp.Name = "bodehforce" bodyp.D = 20 bodyp.Parent = rootpart delay(0.01, function() bodyp:Destroy() end) end end end mouse.KeyDown:connect(function(key) if key == "r" then test() end end) print("Press r for ragdoll") end end if msg:lower():sub(1, 5) == Prefix .. "god " then -- it makes so that :kill mE workspace local name = msg:sub(6) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.MaxHealth = math.huge wait(1) player.Character.Humanoid.Health = math.huge print("God mode done!") end end if msg:lower():sub(1, 4) == Prefix .. "ex " then -- it makes so that :kill mE workspace local name = msg:sub(5) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do local explosion = Instance.new("Explosion", workspace) explosion.Position = player.Character.Torso.Position print("BOOM!") end end if msg:lower():sub(1, 8) == Prefix .. "freeze " then -- it makes so that :kill mE workspace local name = msg:sub(9) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Torso.Anchored = true print("Freezed Player!") end end if msg:lower():sub(1, 9) == Prefix .. "freecam " then -- it makes so that :kill mE workspace local name = msg:sub(10) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Torso.Anchored = true player.Character.HumanoidRootPart.Anchored = true print("KAPAW!") end end if msg:lower():sub(1, 11) == Prefix .. "unfreecam " then -- it makes so that :kill mE workspace local name = msg:sub(12) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Torso.Anchored = false player.Character.HumanoidRootPart.Anchored = false print("KAPAW!") end end if msg:lower():sub(1, 5) == Prefix .. "bob " then -- it makes so that :kill mE workspace local name = msg:sub(6) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do local mesh = Instance.new("SpecialMesh", player.Character.Torso) mesh.MeshType = 'Cylinder' mesh.Scale = Vector3.new(1, 2, 2) local mesh = Instance.new("SpecialMesh", player.Character['Left Arm']) mesh.MeshType = 'Cylinder' mesh.Scale = Vector3.new(1, 2, 2) local mesh = Instance.new("SpecialMesh", player.Character['Right Arm']) mesh.MeshType = 'Cylinder' mesh.Scale = Vector3.new(1, 2, 2) local mesh = Instance.new("SpecialMesh", player.Character['Left Leg']) mesh.MeshType = 'Cylinder' mesh.Scale = Vector3.new(1, 2, 2) local mesh = Instance.new("SpecialMesh", player.Character.Head) mesh.MeshType = 'Cylinder' mesh.Scale = Vector3.new(1, 1, 2) local mesh = Instance.new("SpecialMesh", player.Character['Right Leg']) mesh.MeshType = 'Cylinder' mesh.Scale = Vector3.new(1, 2, 2) player.Character.Torso.BrickColor = BrickColor.new("Grey") player.Character['Left Arm'].BrickColor = BrickColor.new("Grey") player.Character['Right Arm'].BrickColor = BrickColor.new("Grey") player.Character['Left Leg'].BrickColor = BrickColor.new("Grey") player.Character['Right Leg'].BrickColor = BrickColor.new("Grey") player.Character.Head.BrickColor = BrickColor.new("Grey") print("KAPAW!") end end if msg:lower():sub(1, 7) == Prefix .. "ungod " then -- it makes so that :kill mE workspace local name = msg:sub(8) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.MaxHealth = 100 wait(1) player.Character.Humanoid.Health = 100 print("UnGod mode done!") end end if msg:lower():sub(1, 4) == Prefix .. "re " then -- it makes so that :kill mE workspace local name = msg:sub(5) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player:LoadCharacter() print("Respawned Player") end end if msg:lower():sub(1, 7) == Prefix .. "flash " then -- it makes so that :kill mE workspace local name = msg:sub(8) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.WalkSpeed = 170 print("The fastest man alive!") end end if msg:lower():sub(1, 9) == Prefix .. "unflash " then -- it makes so that :kill mE workspace local name = msg:sub(10) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.WalkSpeed = 16 print("Normal mode") end end if msg:lower():sub(1, 6) == Prefix .. "bird " then -- it makes so that :kill mE workspace local name = msg:sub(7) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.JumpPower = 174 print("Flying mode on") end end if msg:lower():sub(1, 5) == Prefix .. "lag " then -- it makes so that :kill mE workspace local name = msg:sub(6) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.HipHeight = 0/0 for i = 1, 1000 do Instance.new("HopperBin", player.Backpack) end print("Lagged Player") end end if msg:lower():sub(1, 8) == Prefix .. "unbird " then -- it makes so that :kill mE workspace local name = msg:sub(9) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.JumpPower = 60 print("Flying mode off") end end if msg:lower():sub(1, 6) == Prefix .. "heal " then -- it makes so that :kill mE workspace local name = msg:sub(7) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.MaxHealth = 100 wait(1) player.Character.Humanoid.Health = 100 print("Player Healed") end end if msg:lower():sub(1, 10) == Prefix .. "superman " then -- it makes so that :kill mE workspace local name = msg:sub(11) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.JumpPower = 174 player.Character.Humanoid.WalkSpeed = 170 print("SUPERMAN AWAYY!!!!") end end if msg:lower():sub(1, 12) == Prefix .. "unsuperman " then -- it makes so that :kill mE workspace local name = msg:sub(13) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.JumpPower = 60 player.Character.Humanoid.WalkSpeed = 16 print("No more super powers") end end if msg:lower():sub(1, 5) == Prefix .. "cmds" then -- it makes so that :kill mE workspace local name = msg:sub(6) for i,v in pairs(commands) do print(v) end end if msg:lower():sub(1, 4) == Prefix .. "day" then -- it makes so that :kill mE workspace local name = msg:sub(5) game.Lighting.TimeOfDay = 12 print("Its now DAY TIME!") end if msg:lower():sub(1, 6) == Prefix .. "night" then -- it makes so that :kill mE workspace local name = msg:sub(7) game.Lighting.TimeOfDay = 1 print("Its now NIGHT TIME!") end if msg:lower():sub(1, 6) == Prefix .. "clean" then -- it makes so that :kill mE workspace local name = msg:sub(7) game.Workspace:ClearAllChildren() print("Forced clean!!") end if msg:lower():sub(1, 5) == Prefix .. "sit " then -- it makes so that :kill mE workspace local name = msg:sub(6) local players = GET_PLAYER(name, game.Players[v]) for i, player in pairs(players) do player.Character.Humanoid.Sit = true print("Player now sitting") end end end) end