Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tool = Instance.new("Tool")
- local Part = Instance.new("Part")
- Part.Name = "Handle"
- Part.Parent = Tool
- Tool.Parent = owner.Character
- Tool.Name = "London"
- Tool.GripPos = Vector3.new(0,0.75,0)
- local Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Part
- swinging = Instance.new("Sound",owner.Character.Head)
- swinging.SoundId = "rbxassetid://6241709963"
- swinging.Volume = 2.5
- stabbed = Instance.new("Sound",owner.Character.Head)
- stabbed.SoundId = "rbxassetid://7346429615"
- stabbed.Volume = 10
- Mesh.MeshId = "http://www.roblox.com/asset/?id=7701203199"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=7701203374"
- Mesh.Scale = Vector3.new(0.035,0.035,0.035)
- Part.Size = Vector3.new(2,4,1.5)
- Part2 = Instance.new("Part",owner.Character)
- Mesh2 = Instance.new("SpecialMesh")
- Mesh2.Parent = Part2
- Mesh2.MeshId = "http://www.roblox.com/asset/?id=7701203199"
- Mesh2.TextureId = "http://www.roblox.com/asset/?id=7701203374"
- Mesh2.Scale = Vector3.new(0.035,0.035,0.035)
- Part2.Size = Vector3.new(2,4,1.5)
- Part2.Transparency = 1
- Part2.CanCollide = false
- Part2.CanTouch = false
- Part2.CanQuery = false
- Part2.Massless = true
- local knife = Instance.new("Weld", owner.Character["Right Arm"])
- knife.Part0 = owner.Character["Right Arm"]
- knife.Part1 = Part2
- knife.C0 = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(90),0,0)
- local armm = Instance.new("Weld", owner.Character.Torso)
- armm.Part0 = owner.Character.Torso
- armm.Part1 = owner.Character["Right Arm"]
- armm.C0 = CFrame.new(1.5,0,0)
- armm.Name = "armmWeld"
- armm.Enabled = false
- local tweenService = game:GetService("TweenService")
- local timeToFade = 0.5
- local object = armm
- local tweenInfo = TweenInfo.new(timeToFade)
- local goal = {}
- goal.C0 = CFrame.new(1.5,0.75,-0.75) * CFrame.Angles(math.rad(105),0,0) * CFrame.Angles(0,0,math.rad(30))
- local equipped = tweenService:Create(object, tweenInfo, goal)
- local timeToFade4 = 0.5
- local object4 = armm
- local tweenInfo4 = TweenInfo.new(timeToFade4)
- local goal7 = {}
- goal7.C0 = CFrame.new(1.5,0.75,-0.75) * CFrame.Angles(math.rad(65),0,0) * CFrame.Angles(0,math.rad(0),math.rad(35))
- local unequipped = tweenService:Create(object, tweenInfo4, goal7)
- local goal11 = {}
- goal11.C0 = CFrame.new(1.5,0,0) * CFrame.Angles(math.rad(0),0,0) * CFrame.Angles(0,0,math.rad(0))
- local unequipped2 = tweenService:Create(object, tweenInfo4, goal11)
- local goal12 = {}
- goal12.C0 = CFrame.new(1.25,0,-0.75) * CFrame.Angles(math.rad(85),0,0) * CFrame.Angles(0,0,math.rad(-45)) * CFrame.Angles(0,math.rad(-45),0)
- local timeToFade3 = 0.125
- local timeToFadeswing = 0.25
- local object3 = armm
- local tweenInfo3 = TweenInfo.new(timeToFade3)
- local tweenInfoswing = TweenInfo.new(timeToFadeswing)
- local goal6 = {}
- goal6.C0 = CFrame.new(1.5,1,-0.75) * CFrame.Angles(math.rad(165),0,math.rad(15))
- local swing = tweenService:Create(object, tweenInfoswing, goal12)
- local equipped2 = tweenService:Create(object3, tweenInfo3, goal6)
- local timeToFade2 = 0.125
- local tweenInfo2 = TweenInfo.new(timeToFade2)
- local object2 = Tool
- local goal2 = {}
- goal2.Grip = CFrame.Angles(math.rad(-89),0,0)
- local goal4 = {}
- goal4.GripPos = Vector3.new(0,0,1.5)
- local equippedknife = tweenService:Create(object2, tweenInfoswing, goal2)
- local goal10 = {}
- goal10.C0 = CFrame.new(0,-1,-0.5) * CFrame.Angles(math.rad(-46),0,0)
- local object6 = knife
- local unequippedknife = tweenService:Create(object6, tweenInfo2, goal10)
- local equippedknife3 = tweenService:Create(object2, tweenInfoswing, goal4)
- local goal3 = {}
- goal3.Grip = CFrame.Angles(math.rad(-180),0,0)
- local goal5 = {}
- goal5.GripPos = Vector3.new(0,0,-0.5)
- local equippedknife2 = tweenService:Create(object2, tweenInfoswing, goal3)
- local goal3 = {}
- goal3.Grip = CFrame.Angles(math.rad(-180),0,0)
- local goal9 = {}
- goal9.C0 = CFrame.new(0,-1,-0.5) * CFrame.Angles(math.rad(-90),0,0)
- local unequippedknife2 = tweenService:Create(object6, tweenInfo2, goal9)
- local equippedknife4 = tweenService:Create(object2, tweenInfoswing, goal5)
- Tool.Equipped:Connect(function()
- armm.Enabled = true
- equipped:Play()
- wait(0.25)
- equippedknife:Play()
- equippedknife3:Play()
- equipped2:Play()
- swinging.PlaybackSpeed = 2
- swinging:Play()
- wait(0.125)
- equipped:Play()
- swinging.PlaybackSpeed = 1.75
- swinging:Play()
- equippedknife2:Play()
- equippedknife4:Play()
- end)
- Tool.Unequipped:Connect(function()
- armm.Enabled = true
- Tool.Grip = CFrame.Angles(math.rad(0),0,0)
- Part2.Transparency = 0
- unequipped:Play()
- unequippedknife:Play()
- wait(0.25)
- unequippedknife2:Play()
- unequipped2:Play()
- wait(0.5)
- armm.Enabled = false
- knife.C0 = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(90),0,0)
- Part2.Transparency = 1
- end)
- canattack = false
- Tool.Activated:Connect(function()
- swing:Play()
- swinging.PlaybackSpeed = 1.35
- swinging:Play()
- canattack = true
- wait(0.25)
- equipped:Play()
- wait(0.125)
- canattack = false
- end)
- function isplatformstand(PC)
- coroutine.wrap(function()
- PC.Character.Humanoid.PlatformStand = true
- wait(5)
- for i,v in pairs(PC.Character:GetDescendants()) do
- if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
- v.Enabled = true
- end
- end
- PC.Character.Humanoid.PlatformStand = false
- end)()
- end
- local debris = game:GetService("Debris")
- function killfunction(part)
- local Model = part:FindFirstAncestorOfClass("Model")
- if Model then
- local PC = game:GetService("Players"):GetPlayerFromCharacter(Model)
- if PC then
- if PC ~= owner then
- PC.Character.Humanoid.RequiresNeck = false
- PC.Character.Humanoid.BreakJointsOnDeath = false
- local limbcollider = Instance.new("Part", PC.Character:findFirstChild("Right Hand"))
- limbcollider.Size = Vector3.new(0.5,1,1)
- limbcollider.Shape = "Cylinder"
- limbcollider.Transparency = 1
- limbcollider.Name = "LimbCollider"
- local limbcolliderweld = Instance.new("Weld", limbcollider)
- limbcolliderweld.Part0 = PC.Character:findFirstChild("Right Hand")
- limbcolliderweld.Part1 = limbcollider
- limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider = Instance.new("Part", PC.Character:findFirstChild("Right Arm"))
- limbcollider.Size = Vector3.new(1.4,1,1)
- limbcollider.Shape = "Cylinder"
- limbcollider.Transparency = 1
- limbcollider.Name = "LimbCollider"
- local limbcolliderweld = Instance.new("Weld", limbcollider)
- limbcolliderweld.Part0 = PC.Character:findFirstChild("Right Arm")
- limbcolliderweld.Part1 = limbcollider
- limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider2 = Instance.new("Part", PC.Character:findFirstChild("Left Hand"))
- limbcollider2.Size = Vector3.new(0.5,1,1)
- limbcollider2.Shape = "Cylinder"
- limbcollider2.Transparency = 1
- limbcollider2.Name = "LimbCollider"
- local limbcolliderweld2 = Instance.new("Weld", limbcollider)
- limbcolliderweld2.Part0 = PC.Character:findFirstChild("Left Hand")
- limbcolliderweld2.Part1 = limbcollider2
- limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider2 = Instance.new("Part", PC.Character:findFirstChild("Left Arm"))
- limbcollider2.Size = Vector3.new(1.4,1,1)
- limbcollider2.Shape = "Cylinder"
- limbcollider2.Transparency = 1
- limbcollider2.Name = "LimbCollider"
- local limbcolliderweld2 = Instance.new("Weld", limbcollider)
- limbcolliderweld2.Part0 = PC.Character:findFirstChild("Left Arm")
- limbcolliderweld2.Part1 = limbcollider2
- limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider3 = Instance.new("Part", PC.Character:findFirstChild("Right Foot"))
- limbcollider3.Size = Vector3.new(0.4,1,1)
- limbcollider3.Shape = "Cylinder"
- limbcollider3.Transparency = 1
- limbcollider3.Name = "LimbCollider"
- local limbcolliderweld3 = Instance.new("Weld", limbcollider)
- limbcolliderweld3.Part0 = PC.Character:findFirstChild("Right Foot")
- limbcolliderweld3.Part1 = limbcollider3
- limbcolliderweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider3 = Instance.new("Part", PC.Character:findFirstChild("Right Leg"))
- limbcollider3.Size = Vector3.new(1.3,1,1)
- limbcollider3.Shape = "Cylinder"
- limbcollider3.Transparency = 1
- limbcollider3.Name = "LimbCollider"
- local limbcolliderweld3 = Instance.new("Weld", limbcollider)
- limbcolliderweld3.Part0 = PC.Character:findFirstChild("Right Leg")
- limbcolliderweld3.Part1 = limbcollider3
- limbcolliderweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider4 = Instance.new("Part", PC.Character:findFirstChild("Left Foot"))
- limbcollider4.Size = Vector3.new(0.4,1,1)
- limbcollider4.Shape = "Cylinder"
- limbcollider4.Transparency = 1
- limbcollider4.Name = "LimbCollider"
- local limbcolliderweld4 = Instance.new("Weld", limbcollider)
- limbcolliderweld4.Part0 = PC.Character:findFirstChild("Left Foot")
- limbcolliderweld4.Part1 = limbcollider4
- limbcolliderweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider4 = Instance.new("Part", PC.Character:findFirstChild("Left Leg"))
- limbcollider4.Size = Vector3.new(1.3,1,1)
- limbcollider4.Shape = "Cylinder"
- limbcollider4.Transparency = 1
- limbcollider4.Name = "LimbCollider"
- local limbcolliderweld4 = Instance.new("Weld", limbcollider)
- limbcolliderweld4.Part0 = PC.Character:findFirstChild("Left Leg")
- limbcolliderweld4.Part1 = limbcollider4
- limbcolliderweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- debris:AddItem(limbcollider, 5)
- debris:AddItem(limbcollider2, 5)
- debris:AddItem(limbcollider3, 5)
- debris:AddItem(limbcollider4, 5)
- isplatformstand(PC)
- for i,v in pairs(PC.Character:GetDescendants()) do
- if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
- local Socket = Instance.new("BallSocketConstraint")
- local a1 = Instance.new("Attachment")
- local a2 = Instance.new("Attachment")
- a1.Parent = v.Part0
- a2.Parent = v.Part1
- Socket.Parent = v.Parent
- Socket.Attachment0 = a1
- Socket.Attachment1 = a2
- a1.CFrame = v.C0
- a2.CFrame = v.C1
- Socket.LimitsEnabled = true
- Socket.TwistLimitsEnabled = true
- v.Enabled = false
- debris:AddItem(a1, 5)
- debris:AddItem(a2, 5)
- debris:AddItem(Socket, 5)
- end
- end
- end
- end
- end
- end
- Part.Touched:Connect(function(hit)
- if canattack then
- local humanoid = hit.Parent:FindFirstChildWhichIsA("Humanoid")
- if humanoid then
- if humanoid ~= owner.Character.Humanoid then
- canattack = false
- humanoid.Health = humanoid.Health - math.random(45,77.5)
- killfunction(hit)
- stabbed:Play()
- local pe = Instance.new("ParticleEmitter", hit)
- rand = math.random
- pe.Color = ColorSequence.new(Color3.fromRGB(100,0,0))
- pe.LightEmission = 0
- pe.LightInfluence = 1
- pe.EmissionDirection = "Top"
- pe.Orientation = Enum.ParticleOrientation.VelocityParallel
- pe.Size = NumberSequence.new(1,0)
- pe.Texture = "rbxassetid://243132757"
- pe.Transparency = NumberSequence.new(0,0.4)
- pe.Lifetime = NumberRange.new(0.25,0.4)
- pe.Rate = 300
- pe.Rotation = NumberRange.new(90)
- pe.RotSpeed = NumberRange.new(0)
- pe.Speed = NumberRange.new(15)
- pe.SpreadAngle = Vector2.new(-15,15)
- pe.Drag = NumberRange.new(1)
- pe.Acceleration = Vector3.new(rand(-20,20),-50,rand(-20,20))
- game:GetService("Debris"):AddItem(pe,2)
- coroutine.wrap(function()
- for i = 1, 10 do
- local bloodpartfloor = Instance.new("SpawnLocation", workspace)
- bloodpartfloor.Enabled = false
- local random2 = math.random(-5,5)
- bloodpartfloor.Size = Vector3.new(0.05,0.5,0.5)
- bloodpartfloor.CanCollide = false
- bloodpartfloor.Material = "Glass"
- bloodpartfloor.Shape = "Cylinder"
- bloodpartfloor.Anchored = true
- local params = RaycastParams.new()
- params.FilterDescendantsInstances = {hit, owner.Character,bloodpartfloor}
- params.FilterType = Enum.RaycastFilterType.Blacklist
- local result = workspace:Raycast(hit.Position + Vector3.new(random2,0,random2), hit.Position + Vector3.new(random2,-50,random2), params)
- if result then
- bloodpartfloor.Position = result.Position
- local currentRightVector = hit.CFrame.RightVector
- local upVector = result.Normal
- local newFacialVector = currentRightVector:Cross(upVector)
- bloodpartfloor.CFrame = CFrame.fromMatrix(bloodpartfloor.Position, currentRightVector, upVector, newFacialVector) * CFrame.Angles(0,0,math.rad(90))
- bloodpartfloor.BrickColor = BrickColor.new("Maroon")
- game:GetService("Debris"):AddItem(bloodpartfloor,10)
- local tweenService = game:GetService("TweenService")
- local timeToFade = 7.5
- local object = bloodpartfloor
- local tweenInfo = TweenInfo.new(timeToFade)
- local goal = {}
- local random = math.random(1,5)
- goal.Size = Vector3.new(0.05,random,random)
- local grow = tweenService:Create(object, tweenInfo, goal)
- grow:Play()
- end
- end
- end)()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement