Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14
- mouse = game.Players.LocalPlayer:GetMouse()
- knife = Instance.new("Part", game.Players.LocalPlayer.Character)
- knife.Size = Vector3.new(0.5, 1, 2)
- knife.CanCollide = false
- knife:BreakJoints()
- weld = Instance.new("Weld", knife)
- weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- weld.Part1 = knife
- mesh = Instance.new("SpecialMesh", knife)
- mesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
- mesh.TextureId = "http://www.roblox.com/asset/?id=155519104"
- mesh.Scale = Vector3.new(0.5, 0.7, 0.5)
- weld.C0 = weld.C0 * CFrame.new(0,-1,-0.7) * CFrame.Angles(-1.5,0,0)
- using = false
- plr = game.Players
- char = plr.LocalPlayer.Character
- rig = char.Torso
- khit = Instance.new("Sound", knife)
- khit.SoundId = "rbxassetid://187227291"
- kthrow = Instance.new("Sound", knife)
- kthrow.SoundId = "rbxassetid://187227291"
- function throw(key)
- key = key:lower()
- if key == "q" then
- if not using then
- using = true
- local krot = rig.CFrame
- for i = 0,1 , 0.05 do
- wait()
- workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.new():lerp(CFrame.Angles(0.02,0,0),i)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.08),i)
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.40),i)
- end
- wait(0.3)
- for i = 1,3 do
- wait()
- workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.Angles(-0.05,0,0)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,0.1)
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.40)
- end
- local lookv = game.Players.LocalPlayer.Character.Torso.CFrame
- local knife1 = Instance.new("Part", workspace)
- knife1.Size = Vector3.new(0.5, 1, 0.5)
- knife1.CanCollide = false
- knife1:BreakJoints()
- knife.Transparency = 1
- local mesh1 = Instance.new("SpecialMesh", knife1)
- mesh1.MeshId = "http://www.roblox.com/asset/?id=121944778"
- mesh1.TextureId = "http://www.roblox.com/asset/?id=155519104"
- mesh1.Scale = Vector3.new(0.5, 0.7, 0.5)
- knife1.CFrame = knife.CFrame
- local vel = Instance.new("BodyVelocity", knife1)
- vel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- vel.Velocity = mouse.Hit.lookVector * 80
- local ms = mouse.Hit.lookVector
- knife1.Rotation = mouse.Hit.lookVector
- local vel1 = Instance.new("BodyAngularVelocity", knife1)
- vel1.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- vel1.AngularVelocity = mouse.Hit.rightVector * -8
- kthrow:Play()
- for i = 1,3 do
- wait()
- workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.Angles(-0.05,0,0)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,0.1)
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.40)
- end
- rig["Left Shoulder"].C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- rig["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- local kthrowhit = Instance.new("Sound", knife1)
- kthrowhit.SoundId = "rbxassetid://162135544"
- kthrowhit.TimePosition = 0.55
- local kthrowhith = Instance.new("Sound", knife1)
- kthrowhith.SoundId = "rbxassetid://187227291"
- local candmg = true
- wait(0.02)
- local function stick(part)
- local gr = part.Parent:findFirstChild("Humanoid")
- knife1.Anchored = true
- local pes = knife1.CFrame
- kthrowhit:Play()
- knife1.CanCollide = false
- if gr and candmg then
- candmg = false
- kthrowhit:destroy()
- gr.Health = gr.Health - 200
- kthrowhith:Play()
- knife1.Transparency = 1
- wait(1.3)
- end
- candmg = false
- wait(1.4)
- kthrowhit.Volume = 0
- wait(10)
- for i = 1,100 do
- wait()
- knife1.Transparency = knife1.Transparency + 0.01
- end
- knife1:destroy()
- end
- knife1.Touched:connect(stick)
- wait(1)
- for i = 1,50 do
- wait()
- knife.Transparency = knife.Transparency + -0.03
- end
- using = false
- end
- end
- end
- function stabstabstaab()
- if not using then
- using = true
- for i = 0,1 , 0.1 do
- wait()
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.2),i)
- end
- local sn = Instance.new("Part", knife)
- sn.Size = Vector3.new(0.5, 1, 1)
- sn:BreakJoints()
- local snw = Instance.new("Weld", sn)
- snw.Part0 = knife
- snw.Part1 = sn
- sn.Transparency = 1
- sn.CanCollide = false
- local function kill(part)
- local hum = part.Parent:findFirstChild("Humanoid")
- if hum then
- khit:Play()
- hum.Health = hum.Health - 100
- end
- end
- sn.Touched:connect(kill)
- for i = 0,1 , 0.1 do
- wait()
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.6),i)
- end
- for i = 0,1 , 0.1 do
- wait()
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.4),i)
- end
- using = false
- sn:destroy()
- end
- end
- mouse.Button1Down:connect(stabstabstaab)
- mouse.KeyDown:connect(throw)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement