SHOW:
|
|
- or go back to the newest paste.
| 1 | Tool = Instance.new("Tool")
| |
| 2 | - | Tool.Name = "Sword" |
| 2 | + | Tool.Name = "Bloxy Cola Grape" |
| 3 | - | LastAttack = 0 |
| 3 | + | Cola = Instance.new("Part")
|
| 4 | - | Knife = Instance.new("Part")
|
| 4 | + | Cola.Name = "Handle" |
| 5 | - | Knife.Name = "Handle" |
| 5 | + | Cola.Parent = Tool |
| 6 | - | Knife.Parent = Tool |
| 6 | + | Tool.Parent = owner.Character |
| 7 | - | Tool.Parent = owner.Character |
| 7 | + | |
| 8 | - | Tool.Grip = CFrame.Angles(0,math.rad(90),math.rad(90)) |
| 8 | + | Cola.Size = Vector3.new(1, 1.2, 2) |
| 9 | - | Tool.GripUp = Vector3.new(0, 0, 1.5, 0, 0, -1, -1, 0, 0, 0, -1, 0) |
| 9 | + | Mesh.Parent = Cola |
| 10 | - | Tool.GripPos = Vector3.new(0,0,-1.5) |
| 10 | + | Mesh.MeshId = "http://www.roblox.com/asset/?id=10470609" |
| 11 | Mesh.TextureId = "http://www.roblox.com/asset/?id=5921670361" | |
| 12 | - | Knife.Size = Vector3.new(2, 1, 4) |
| 12 | + | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) |
| 13 | - | Mesh.Parent = Knife |
| 13 | + | local Heal = Instance.new("Sound", Cola)
|
| 14 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=12221720" |
| 14 | + | Heal.SoundId = "rbxassetid://186883063" |
| 15 | - | Mesh.TextureId = "http://www.roblox.com/asset/?id=12224218" |
| 15 | + | Heal.Volume = 1.5 |
| 16 | - | Mesh.Scale = Vector3.new(1, 1, 1) |
| 16 | + | local equipped = Instance.new("Sound", Cola)
|
| 17 | - | myhum = owner.Character.Humanoid |
| 17 | + | equipped.SoundId = "rbxassetid://10721950" |
| 18 | - | local stab = Instance.new("Sound", owner.character.Head)
|
| 18 | + | |
| 19 | - | stab.SoundId = "rbxassetid://12222216" |
| 19 | + | |
| 20 | - | stab.Volume = 1 |
| 20 | + | local function healPlayer() |
| 21 | - | local equipped = Instance.new("Sound", owner.character.Head)
|
| 21 | + | local humanoid = owner.Character:FindFirstChildWhichIsA("Humanoid")
|
| 22 | - | equipped.SoundId = "rbxassetid://12222225" |
| 22 | + | if humanoid then |
| 23 | if not isTouched then | |
| 24 | - | local Lunge = Instance.new("Sound", owner.character.Head)
|
| 24 | + | |
| 25 | - | Lunge.SoundId = "rbxassetid://12222208" |
| 25 | + | |
| 26 | - | Lunge.Volume = 1 |
| 26 | + | humanoid.Health = humanoid.Health + 25 |
| 27 | - | candamage = false |
| 27 | + | Heal:Play() |
| 28 | - | islunging = false |
| 28 | + | |
| 29 | isTouched = false | |
| 30 | end | |
| 31 | - | local Tick = game:GetService("RunService").Stepped:wait()
|
| 31 | + | |
| 32 | - | if (Tick - LastAttack) < .5 then |
| 32 | + | |
| 33 | - | coroutine.wrap(function() |
| 33 | + | |
| 34 | - | islunging = true |
| 34 | + | |
| 35 | - | Lunge:Stop() |
| 35 | + | Tool.Activated:connect(healPlayer) |
| 36 | - | Lunge:Play() |
| 36 | + | |
| 37 | - | Tool.Grip = CFrame.Angles(0,math.rad(180),math.rad(90)) |
| 37 | + | |
| 38 | - | Tool.GripPos = Vector3.new(0,0,-1.75) |
| 38 | + | Tool.GripForward = Vector3.new(0,-.759,-.651) |
| 39 | - | local Anim = Instance.new("StringValue")
|
| 39 | + | Tool.GripPos = Vector3.new(1.5,-.5,.3) |
| 40 | - | Anim.Name = "toolanim" |
| 40 | + | Tool.GripRight = Vector3.new(1,0,0) |
| 41 | - | Anim.Value = "Lunge" |
| 41 | + | Tool.GripUp = Vector3.new(0,.651,-.759) |
| 42 | - | Anim.Parent = Tool |
| 42 | + | wait(0.85) |
| 43 | - | wait(0.25) |
| 43 | + | Tool.GripForward = Vector3.new(-.976,0,-0.217) |
| 44 | - | islunging = false |
| 44 | + | Tool.GripPos = Vector3.new(0.03,0,0) |
| 45 | - | wait(0.40) |
| 45 | + | Tool.GripRight = Vector3.new(.217,0,0) |
| 46 | - | Tool.Grip = CFrame.Angles(0,math.rad(90),math.rad(90)) |
| 46 | + | Tool.GripUp = Vector3.new(0,1,0) |
| 47 | - | Tool.GripPos = Vector3.new(0,0,-1.5) |
| 47 | + | |
| 48 | - | end)() |
| 48 | + | |
| 49 | - | else |
| 49 | + | |
| 50 | - | coroutine.wrap(function() |
| 50 | + | |
| 51 | - | stab:Stop() |
| 51 | + | end) |