Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Imported Seb's Admin Commands")
- game.Players.SebTDZ500.Chatted:connect(function(message)
- local messageLow = string.lower(message)
- if messageLow:sub(1, 7) == "!break " then
- local TargetPlayer = FindPlayer(message:sub(8))
- local TargetPlayer = game.Players:WaitForChild(TargetPlayer)
- local TargetPlayerH = TargetPlayer.Character:WaitForChild('HumanoidRootPart')
- TargetPlayerH.CFrame = CFrame.new(0, 231321123, 0)
- elseif messageLow:sub(1, 6) == "!lock " then
- local TargetPlayer = FindPlayer(message:sub(7))
- local TargetPlayer = game.Players:WaitForChild(TargetPlayer)
- local TargetPlayerH = TargetPlayer.Character:WaitForChild('HumanoidRootPart')
- TargetPlayerH.Anchored = true
- elseif messageLow:sub(1, 7) == "!block " then
- local TargetPlayer = FindPlayer(message:sub(8))
- Hit(game.Players.SebTDZ500.Name, TargetPlayer)
- elseif messageLow:sub(1, 8) == "!blocks " then
- local TargetPlayer = FindPlayer(message:sub(9))
- Hits(game.Players.SebTDZ500.Name, TargetPlayer)
- elseif messageLow:sub(1, 4) == "!bn " then
- local TargetPlayer = FindPlayer(message:sub(5))
- Hits(game.Players.SebTDZ500.Name, TargetPlayer)
- Hits(game.Players.SebTDZ500.Name, TargetPlayer)
- Hits(game.Players.SebTDZ500.Name, TargetPlayer)
- elseif messageLow:sub(1, 6) == "!grab " then
- local TargetPlayer = FindPlayer(message :sub(7))
- Grab(TargetPlayer)
- end
- end)
- function FindPlayer(FindUser)
- local findUser = string.lower(FindUser)
- local inputsize = string.len(findUser)
- for i, v in pairs(game.Players:GetChildren()) do
- local NameLow = string.lower(v.Name)
- if NameLow:sub(1, inputsize) == findUser:sub(1, inputsize) then
- return v.Name
- end
- end
- end
- function Grab(player)
- --Player1
- plr = game.Players:WaitForChild(player)
- plrH = plr.Character:WaitForChild('HumanoidRootPart')
- --BodyPos
- local Part = plrH
- local Body = Instance.new("BodyPosition")
- Body.Parent = Part
- Body.Position = plrH.Position + Vector3.new(0, 25, 0)
- Body.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000)
- wait(1.5)
- while true do
- Body.Position = game.Players:WaitForChild('SebTDZ500').Character:WaitForChild('HumanoidRootPart').Position + Vector3.new(0, 15, 0)
- wait(0.01)
- end
- end
- function Hit(username1, username2)
- --Player1
- plr1 = game.Players:WaitForChild(username1)
- plr1H = plr1.Character:WaitForChild('HumanoidRootPart')
- --Player2
- plr2 = game.Players:WaitForChild(username2)
- plr2H = plr2.Character:WaitForChild('HumanoidRootPart')
- --New Part
- local NewPart = Instance.new("Part")
- NewPart.Parent = game.Workspace
- NewPart.Position = plr1H.Position + Vector3.new(0, 25, 0)
- NewPart.Material = Enum.Material.Neon
- NewPart.Color = Color3.new(0, 190, 150)
- NewPart.TopSurface = "Smooth"
- NewPart.BottomSurface = "Smooth"
- NewPart.Anchored = false
- NewPart.Size = Vector3.new(4, 4, 4)
- --BodyPos
- local Part = NewPart
- local Body = Instance.new("BodyPosition")
- Body.Parent = Part
- Body.Position = plr1H.Position + Vector3.new(0, 25, 0)
- Body.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000)
- wait(1)
- -- Tweening
- local tweenService = game:GetService("TweenService")
- TweenNewInfo = TweenInfo.new(1.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0)
- NewPartSettings = {Size = Vector3.new(35, 35, 35);}
- TweenCreate = tweenService:Create(NewPart, TweenNewInfo, NewPartSettings)
- TweenCreate:Play()
- wait(1.5)
- --Strike
- Body.Position = Body.Position + Vector3.new(0, 250, 0)
- wait(1)
- NewPart.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100))
- wait(4)
- Body.P = 100000
- Body.Position = plr2H.Position
- wait(10)
- NewPart:Destroy()
- end
- function Hits(username1, username2)
- --Player1
- plr1 = game.Players:WaitForChild(username1)
- plr1H = plr1.Character:WaitForChild('HumanoidRootPart')
- --Player2
- plr2 = game.Players:WaitForChild(username2)
- plr2H = plr2.Character:WaitForChild('HumanoidRootPart')
- --New Part
- local NewPart1 = Instance.new("Part")
- NewPart1.Parent = game.Workspace
- NewPart1.Position = plr1H.Position + Vector3.new(0, 25, 0)
- NewPart1.Material = Enum.Material.Neon
- NewPart1.Color = Color3.new(0, 230, 150)
- NewPart1.TopSurface = "Smooth"
- NewPart1.BottomSurface = "Smooth"
- NewPart1.Anchored = false
- NewPart1.Size = Vector3.new(4, 4, 4)
- --Next
- local NewPart2 = Instance.new("Part")
- NewPart2.Parent = game.Workspace
- NewPart2.Position = plr1H.Position + Vector3.new(0, 25, 0)
- NewPart2.Material = Enum.Material.Neon
- NewPart2.Color = Color3.new(0, 230, 150)
- NewPart2.TopSurface = "Smooth"
- NewPart2.BottomSurface = "Smooth"
- NewPart2.Anchored = false
- NewPart2.Size = Vector3.new(4, 4, 4)
- --Next
- local NewPart3 = Instance.new("Part")
- NewPart3.Parent = game.Workspace
- NewPart3.Position = plr1H.Position + Vector3.new(0, 25, 0)
- NewPart3.Material = Enum.Material.Neon
- NewPart3.Color = Color3.new(0, 230, 150)
- NewPart3.TopSurface = "Smooth"
- NewPart3.BottomSurface = "Smooth"
- NewPart3.Anchored = false
- NewPart3.Size = Vector3.new(4, 4, 4)
- --Next
- local NewPart4 = Instance.new("Part")
- NewPart4.Parent = game.Workspace
- NewPart4.Position = plr1H.Position + Vector3.new(0, 25, 0)
- NewPart4.Material = Enum.Material.Neon
- NewPart4.Color = Color3.new(0, 230, 150)
- NewPart4.TopSurface = "Smooth"
- NewPart4.BottomSurface = "Smooth"
- NewPart4.Anchored = false
- NewPart4.Size = Vector3.new(4, 4, 4)
- --Next
- local NewPart5 = Instance.new("Part")
- NewPart5.Parent = game.Workspace
- NewPart5.Position = plr1H.Position + Vector3.new(0, 25, 0)
- NewPart5.Material = Enum.Material.Neon
- NewPart5.Color = Color3.new(0, 230, 150)
- NewPart5.TopSurface = "Smooth"
- NewPart5.BottomSurface = "Smooth"
- NewPart5.Anchored = false
- NewPart5.Size = Vector3.new(4, 4, 4)
- --BodyPos
- local Part = NewPart1
- local Body1 = Instance.new("BodyPosition")
- Body1.Parent = Part
- Body1.Position = plr1H.Position + Vector3.new(0, 25, 0)
- Body1.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000)
- --Next
- local Part = NewPart2
- local Body2 = Instance.new("BodyPosition")
- Body2.Parent = Part
- Body2.Position = plr1H.Position + Vector3.new(0, 25, 0)
- Body2.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000)
- --Next
- local Part = NewPart3
- local Body3 = Instance.new("BodyPosition")
- Body3.Parent = Part
- Body3.Position = plr1H.Position + Vector3.new(0, 25, 0)
- Body3.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000)
- --Next
- local Part = NewPart4
- local Body4 = Instance.new("BodyPosition")
- Body4.Parent = Part
- Body4.Position = plr1H.Position + Vector3.new(0, 25, 0)
- Body4.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000)
- --Next
- local Part = NewPart5
- local Body5 = Instance.new("BodyPosition")
- Body5.Parent = Part
- Body5.Position = plr1H.Position + Vector3.new(0, 25, 0)
- Body5.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000)
- wait(1)
- -- Tweening
- local tweenService = game:GetService("TweenService")
- TweenNewInfo = TweenInfo.new(1.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0)
- NewPartSettings = {Size = Vector3.new(35, 35, 35);}
- TweenCreate = tweenService:Create(NewPart1, TweenNewInfo, NewPartSettings)
- TweenCreate:Play()
- TweenCreate = tweenService:Create(NewPart2, TweenNewInfo, NewPartSettings)
- TweenCreate:Play()
- TweenCreate = tweenService:Create(NewPart3, TweenNewInfo, NewPartSettings)
- TweenCreate:Play()
- TweenCreate = tweenService:Create(NewPart4, TweenNewInfo, NewPartSettings)
- TweenCreate:Play()
- TweenCreate = tweenService:Create(NewPart5, TweenNewInfo, NewPartSettings)
- TweenCreate:Play()
- wait(1.5)
- --Strike
- Body1.Position = Body1.Position + Vector3.new(0, 250, 0)
- Body2.Position = Body2.Position + Vector3.new(0, 250, 0)
- Body3.Position = Body3.Position + Vector3.new(0, 250, 0)
- Body4.Position = Body4.Position + Vector3.new(0, 250, 0)
- Body5.Position = Body5.Position + Vector3.new(0, 250, 0)
- wait(1)
- NewPart1.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100))
- NewPart2.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100))
- NewPart3.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100))
- NewPart4.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100))
- NewPart5.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100))
- wait(4)
- Body1.P = 100000
- Body1.Position = plr2H.Position
- Body2.P = 100000
- Body2.Position = plr2H.Position
- Body3.P = 100000
- Body3.Position = plr2H.Position
- Body4.P = 100000
- Body4.Position = plr2H.Position
- Body5.P = 100000
- Body5.Position = plr2H.Position
- wait(10)
- NewPart1:Destroy()
- NewPart2:Destroy()
- NewPart3:Destroy()
- NewPart4:Destroy()
- NewPart5:Destroy()
- end
Advertisement
Add Comment
Please, Sign In to add comment