Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By meh (lafur2)
- 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.Position = Vector3.new(99999,999999,99)
- 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=978439445"
- mesh.TextureId = "http://www.roblox.com/asset/?id=978439467"
- mesh.Scale = Vector3.new(0.5, 0.7, 0.5)
- weld.C0 = weld.C0 * CFrame.new(0,-1,-0.7) * CFrame.Angles(0,3.25,1)
- throwing = false
- print(game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0)
- sound = Instance.new("Sound", knife)
- sound.SoundId = "rbxassetid://217095283"
- sound.Volume = 50
- function knoife(key)
- key = key:lower()
- if key == "q" then
- if not throwing then
- throwing = true
- local touched = false
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 7
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- for i = 1,10 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.16)
- end
- for i = 1,5 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(0.2,0,0)
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0.2,0,0)
- end
- wait(0.5)
- for i = 1,3 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.4,0,-0.32)
- end
- knife.Transparency = 1
- local knife1 = Instance.new("Part", workspace)
- knife1.Size = Vector3.new(0.5, 1, 2)
- knife1.CanCollide = false
- local mesh1 = Instance.new("SpecialMesh", knife1)
- mesh1.MeshId = "http://www.roblox.com/asset/?id=20719463"
- mesh1.TextureId = "http://www.roblox.com/asset/?id=20719455"
- mesh1.Scale = Vector3.new(0.5, 0.7, 0.5)
- knife1.Position = knife.Position
- knife1.Rotation = Vector3.new(game.Players.LocalPlayer.Character.Torso.CFrame.x,game.Players.LocalPlayer.Character.Torso.CFrame.y,game.Players.LocalPlayer.Character.Torso.CFrame.z)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- local velocity = Instance.new("BodyVelocity", knife1)
- velocity.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 95
- velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- knife1.RotVelocity = Vector3.new(0,150,0)
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.4,0,-0.60)
- end
- local function stick()
- knife1.Anchored = true
- wait(10)
- for i = 1,100 do
- wait()
- knife1.Transparency = knife1.Transparency + 0.01
- end
- end
- knife1.Touched:connect(stick)
- wait(0.5)
- local function hit(blade)
- local humanoid = blade.Parent:FindFirstChild("Humanoid")
- if humanoid then
- sound:Play()
- knife1.Transparency = 1
- humanoid.Health = 0
- end
- end
- knife1.Touched:connect(hit)
- wait(2)
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- for i = 1,20 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0.05,0,-0.04)
- end
- for i = 1,5 do
- weld.C0 = weld.C0 * CFrame.Angles(-0.2,0,0)
- end
- knife1.TouchInterest:destroy()
- knife.Transparency = 0
- for i = 1,20 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0,0.04)
- end
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- throwing = false
- end
- end
- if key == "e" then
- if not throwing then
- throwing = true
- local damage = Instance.new("Part", workspace)
- damage.Position = Vector3.new(9999,9999,0)
- damage.Size = Vector3.new(0.1,0.1,0.1)
- damage.Transparency = 1
- local welding = Instance.new("Weld", knife)
- welding.Part0 = damage
- welding.Part1 = knife
- local function dmg(knf)
- local hum = knf.Parent:FindFirstChild("Humanoid")
- if hum then
- sound:Play()
- hum.Health = 0
- end
- end
- damage.Touched:connect(dmg)
- for i = 1,10 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.16)
- end
- for i = 1,10 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.38)
- end
- for i = 1,14 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.16)
- end
- damage:destroy()
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- throwing = false
- end
- end
- end
- mouse.KeyDown:connect(knoife)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement