SHOW:
|
|
- or go back to the newest paste.
1 | Tool = Instance.new("Tool") | |
2 | - | Tool.Name = "Bloxy Cola Ice" |
2 | + | Tool.Name = "Bloxy Cola Ghost" |
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=0" |
12 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
13 | local Brrr = Instance.new("Sound", Cola) | |
14 | - | Brrr.SoundId = "rbxassetid://633759810" |
14 | + | Brrr.SoundId = "rbxassetid://3823529284" |
15 | Brrr.Volume = 1.5 | |
16 | local equipped = Instance.new("Sound", Cola) | |
17 | equipped.SoundId = "rbxassetid://10721950" | |
18 | equipped.Volume = 1 | |
19 | - | local isTouched = false |
19 | + | local Boo = [[ |
20 | Tool = script.Parent.Parent.Character:WaitForChild("Bloxy Cola Ghost") | |
21 | - | local function healPlayer() |
21 | + | active = false |
22 | - | local humanoid = owner.Character:FindFirstChildWhichIsA("Humanoid") |
22 | + | Tool.Activated:Connect(function() |
23 | - | if humanoid then |
23 | + | active = true |
24 | - | if not isTouched then |
24 | + | wait(10) |
25 | - | isTouched = true |
25 | + | active = false |
26 | - | Brrr:Play() |
26 | + | |
27 | game:GetService("RunService").RenderStepped:Connect(function() | |
28 | - | isTouched = false |
28 | + | if active then |
29 | - | end |
29 | + | script.Parent.Parent.Character.Humanoid:ChangeState(11) |
30 | end | |
31 | end) | |
32 | ]] | |
33 | - | Tool.Activated:connect(healPlayer) |
33 | + | local parent |
34 | Tool.Equipped:Connect(function() | |
35 | if parent ~= game:GetService("Players"):GetPlayerFromCharacter(Tool.Parent) then | |
36 | - | owner.Character.Humanoid.PlatformStand = true |
36 | + | parent = game:GetService("Players"):GetPlayerFromCharacter(Tool.Parent) |
37 | NLS(Boo,parent.PlayerGui) | |
38 | end | |
39 | end) | |
40 | Tool.Activated:connect(function() | |
41 | Tool.GripForward = Vector3.new(0,-.759,-.651) | |
42 | Tool.GripPos = Vector3.new(1.5,-.5,.3) | |
43 | Tool.GripRight = Vector3.new(1,0,0) | |
44 | Tool.GripUp = Vector3.new(0,.651,-.759) | |
45 | Brrr:Play() | |
46 | - | owner.Character.Humanoid.PlatformStand = false |
46 | + | |
47 | Tool.GripForward = Vector3.new(-.976,0,-0.217) | |
48 | Tool.GripPos = Vector3.new(0.03,0,0) | |
49 | Tool.GripRight = Vector3.new(.217,0,0) | |
50 | Tool.GripUp = Vector3.new(0,1,0) | |
51 | end) | |
52 | ||
53 | Tool.Equipped:Connect(function() | |
54 | equipped:Play() | |
55 | end) |