SHOW:
|
|
- or go back to the newest paste.
| 1 | Tool = Instance.new("Tool")
| |
| 2 | - | Tool.Name = "Bloxy Cola Ice" |
| 2 | + | Tool.Name = "Bloxy Cola Cherry" |
| 3 | Cola = Instance.new("Part")
| |
| 4 | Cola.Name = "Handle" | |
| 5 | Cola.Parent = Tool | |
| 6 | Tool.Parent = owner.Character | |
| 7 | Mesh = Instance.new("SpecialMesh")
| |
| 8 | Cola.Size = Vector3.new(1, 1.2, 2) | |
| 9 | Mesh.Parent = Cola | |
| 10 | Mesh.MeshId = "http://www.roblox.com/asset/?id=10470609" | |
| 11 | - | Mesh.TextureId = "http://www.roblox.com/asset/?id=50973653" |
| 11 | + | Mesh.TextureId = "http://www.roblox.com/asset/?id=17646170" |
| 12 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
| 13 | - | local Brrr = Instance.new("Sound", Cola)
|
| 13 | + | local Shield = Instance.new("Sound", Cola)
|
| 14 | - | Brrr.SoundId = "rbxassetid://633759810" |
| 14 | + | Shield.SoundId = "rbxassetid://2111336915" |
| 15 | - | Brrr.Volume = 1.5 |
| 15 | + | Shield.Volume = 1.5 |
| 16 | local equipped = Instance.new("Sound", Cola)
| |
| 17 | equipped.SoundId = "rbxassetid://10721950" | |
| 18 | equipped.Volume = 1 | |
| 19 | local isTouched = false | |
| 20 | ||
| 21 | local function healPlayer() | |
| 22 | local humanoid = owner.Character:FindFirstChildWhichIsA("Humanoid")
| |
| 23 | if humanoid then | |
| 24 | - | if not isTouched then |
| 24 | + | if humanoid.Health ~= 0 then |
| 25 | - | isTouched = true |
| 25 | + | humanoid.MaxHealth = humanoid.MaxHealth + 25 |
| 26 | - | Brrr:Play() |
| 26 | + | humanoid.Health = humanoid.Health + 12.5 |
| 27 | Shield:Play() | |
| 28 | - | isTouched = false |
| 28 | + | |
| 29 | - | end |
| 29 | + | |
| 30 | end | |
| 31 | ||
| 32 | Tool.Activated:connect(healPlayer) | |
| 33 | ||
| 34 | Tool.Activated:connect(function() | |
| 35 | Tool.GripForward = Vector3.new(0,-.759,-.651) | |
| 36 | - | owner.Character.Humanoid.PlatformStand = true |
| 36 | + | |
| 37 | Tool.GripRight = Vector3.new(1,0,0) | |
| 38 | Tool.GripUp = Vector3.new(0,.651,-.759) | |
| 39 | wait(1.5) | |
| 40 | Tool.GripForward = Vector3.new(-.976,0,-0.217) | |
| 41 | Tool.GripPos = Vector3.new(0.03,0,0) | |
| 42 | Tool.GripRight = Vector3.new(.217,0,0) | |
| 43 | Tool.GripUp = Vector3.new(0,1,0) | |
| 44 | end) | |
| 45 | ||
| 46 | - | owner.Character.Humanoid.PlatformStand = false |
| 46 | + | |
| 47 | equipped:Play() | |
| 48 | end) |