Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- owner = game.Players["TheOfficialSeb"]
- 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
- owner.Chatted:connect(function(message)
- local messageLow = string.lower(message)
- if messageLow:sub(1, 5) == ".get " then
- HitmanPlr(game:FindFirstChildOfClass("Players")[FindPlayer(message:sub(6))])
- end
- end)
- function HitmanPlr(target)
- local Char = Instance.new("Model", workspace)
- Char.Name = "Hitman"
- local Human = Instance.new("Humanoid", Char)
- local Head = Instance.new("Part", Char)
- Head.Name = "Head"
- Head.Size = Vector3.new(2.5,1.5,1.5)
- local Face = Instance.new("Decal", Head)
- Face.Name = "Face"
- Face.Texture = "http://www.roblox.com/asset/?id=10749463"
- local Mesh1 = Instance.new("SpecialMesh", Head)
- Mesh1.MeshType = Enum.MeshType.Head
- local Torso = Instance.new("Part", Char)
- Torso.Name = "Torso"
- Torso.Size = Vector3.new(2,2.5,1)
- Torso.CanCollide = false
- local Shirt = Instance.new("Shirt", Char)
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=3510515487"
- local Pants = Instance.new("Pants", Char)
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=3510519325"
- local HumanRoot = Instance.new("Part", Char)
- HumanRoot.Name = "HumanoidRootPart"
- HumanRoot.Size = Vector3.new(2,2.5,1)
- HumanRoot.Transparency = 1
- local Weld0 = Instance.new("Weld", Char)
- Weld0.Part0 = HumanRoot
- Weld0.Part1 = Torso
- local Weld1 = Instance.new("Weld", Char)
- Weld1.Part0 = Torso
- Weld1.Part1 = Head
- Weld1.C1 = CFrame.new(0,-2,0)
- local RightArm = Instance.new("Part", Char)
- RightArm.Name = "Right Arm"
- RightArm.Size = Vector3.new(1,2.5,1)
- RightArm.CanCollide = false
- local Weld2 = Instance.new("Weld", Char)
- Weld2.Part0 = Torso
- Weld2.Part1 = RightArm
- Weld2.C1 = CFrame.new(-1.5,0,0)
- local LeftArm = Instance.new("Part", Char)
- LeftArm.Name = "Left Arm"
- LeftArm.Size = Vector3.new(1,2.5,1)
- LeftArm.CanCollide = false
- local Weld3 = Instance.new("Weld", Char)
- Weld3.Part0 = Torso
- Weld3.Part1 = LeftArm
- Weld3.C1 = CFrame.new(1.5,0,0)
- local RightLeg = Instance.new("Part", Char)
- RightLeg.Name = "Right Leg"
- RightLeg.Size = Vector3.new(1,2.5,1)
- RightLeg.CanCollide = false
- local Weld4 = Instance.new("Weld", Char)
- Weld4.Part0 = Torso
- Weld4.Part1 = RightLeg
- Weld4.C1 = CFrame.new(-0.5,2.5,0)
- local LeftLeg = Instance.new("Part", Char)
- LeftLeg.Name = "Left Leg"
- LeftLeg.Size = Vector3.new(1,2.5,1)
- LeftLeg.CanCollide = false
- local Weld5 = Instance.new("Weld", Char)
- Weld5.Part0 = Torso
- Weld5.Part1 = LeftLeg
- Weld5.C1 = CFrame.new(0.5,2.5,0)
- HumanRoot.CFrame = owner.Character.HumanoidRootPart.CFrame + Vector3.new(5,0,0)
- wait(5)
- local path = game:GetService("PathfindingService"):FindPathAsync(Torso.Position,target.Character.HumanoidRootPart.Position)
- local Points = path:GetWaypoints()
- if path.Status == Enum.PathStatus.Success then
- target.Character.HumanoidRootPart.Anchored = true
- for i,p in pairs(Points) do
- Human:MoveTo(p.Position)
- Human.MoveToFinished:wait()
- if p.Action == Enum.PathWaypointAction.Jump then
- Human.Jump = true
- end
- end
- end
- target.Character.Humanoid.Health = -1
- Char:Remove()
- wait(5)
- while true do
- target.Character = nil
- wait(0.1)
- end
- end
Add Comment
Please, Sign In to add comment