SHOW:
|
|
- or go back to the newest paste.
1 | if script.Parent.className ~= HopperBin then | |
2 | local h = Instance.new(HopperBin) | |
3 | - | h.Parent = game.Players.MlgNoscoperStabber.Backpack |
3 | + | h.Parent = game.Players.endermites15.Backpack |
4 | h.Name = SuicideBomb | |
5 | local p = Instance.new(Part) | |
6 | p.Parent = game.Workspace.FunctionOffset | |
7 | p.Name = SuicideBomb | |
8 | p.Size = Vector3.new(2,2,1) | |
9 | p.TopSurface = 0 | |
10 | p.BottomSurface = 0 | |
11 | p.Locked = true | |
12 | p.BrickColor = BrickColor.new( Really black ) | |
13 | local w = Instance.new(Weld) | |
14 | w.Parent = p.Parent | |
15 | w.Part0 = p | |
16 | w.Part1 = p.Parent.Torso | |
17 | w.C0 = CFrame.new(0,0,-1) | |
18 | script.Parent = h | |
19 | local d = Instance.new(Decal) | |
20 | d.Parent = p | |
21 | d.Face = Back | |
22 | d.Texture = httpwww.roblox.comassetid=28824625 | |
23 | Instance.new(BlockMesh).Parent = p | |
24 | end | |
25 | ||
26 | tool = script.Parent | |
27 | ||
28 | function click(mouse) | |
29 | if game.Workspace.FunctionOffsetFindFirstChild(SuicideBomb) ~= nil then | |
30 | local s = Instance.new(Sparkles) | |
31 | s.Parent = game.Workspace.FunctionOffset.SuicideBomb | |
32 | s.Color = Color3.new(.5,.5,0) | |
33 | wait(3) | |
34 | local e = Instance.new(Explosion) | |
35 | e.Parent = game.Workspace | |
36 | e.BlastPressure = 1000000 | |
37 | e.BlastRadius = 15 | |
38 | e.Position = game.Workspace.FunctionOffset.SuicideBomb.Position | |
39 | else | |
40 | script.ParentRemove() | |
41 | end | |
42 | end | |
43 | ||
44 | function selected(mouse) | |
45 | mouse.Button1Downconnect(function () click(mouse) end) | |
46 | end | |
47 | ||
48 | tool.Selectedconnect(selected)if script.Parent.className ~= HopperBin then | |
49 | local h = Instance.new(HopperBin) | |
50 | h.Parent = game.Players.Xtherisus.Backpack | |
51 | h.Name = SuicideBomb | |
52 | local p = Instance.new(Part) | |
53 | p.Parent = game.Workspace.FunctionOffset | |
54 | p.Name = SuicideBomb | |
55 | p.Size = Vector3.new(2,2,1) | |
56 | p.TopSurface = 0 | |
57 | p.BottomSurface = 0 | |
58 | p.Locked = true | |
59 | p.BrickColor = BrickColor.new(Really black) | |
60 | local w = Instance.new(Weld) | |
61 | w.Parent = p.Parent | |
62 | w.Part0 = p | |
63 | w.Part1 = p.Parent.Torso | |
64 | w.C0 = CFrame.new(0,0,-1) | |
65 | script.Parent = h | |
66 | local d = Instance.new(Decal) | |
67 | d.Parent = p | |
68 | d.Face = Back | |
69 | d.Texture = httpwww.roblox.comassetid=28824625 | |
70 | Instance.new(BlockMesh).Parent = p | |
71 | end | |
72 | ||
73 | tool = script.Parent | |
74 | ||
75 | function click(mouse) | |
76 | if game.Workspace.FunctionOffsetFindFirstChild(SuicideBomb) ~= nil then | |
77 | local s = Instance.new(Sparkles) | |
78 | s.Parent = game.Workspace.FunctionOffset.SuicideBomb | |
79 | s.Color = Color3.new(.5,.5,0) | |
80 | wait(3) | |
81 | local e = Instance.new(Explosion) | |
82 | e.Parent = game.Workspace | |
83 | e.BlastPressure = 1000000 | |
84 | e.BlastRadius = 15 | |
85 | e.Position = game.Workspace.FunctionOffset.SuicideBomb.Position | |
86 | else | |
87 | script.ParentRemove() | |
88 | end | |
89 | end | |
90 | ||
91 | function selected(mouse) | |
92 | mouse.Button1Downconnect(function () click(mouse) end) | |
93 | end | |
94 | ||
95 | tool.Selectedconnect(selected)if script.Parent.className ~= HopperBin then | |
96 | local h = Instance.new(HopperBin) | |
97 | h.Parent = game.Players.Xtherisus.Backpack | |
98 | h.Name = SuicideBomb | |
99 | local p = Instance.new(Part) | |
100 | p.Parent = game.Workspace.FunctionOffset | |
101 | p.Name = SuicideBomb | |
102 | p.Size = Vector3.new(2,2,1) | |
103 | p.TopSurface = 0 | |
104 | p.BottomSurface = 0 | |
105 | p.Locked = true | |
106 | p.BrickColor = BrickColor.new(Really black) | |
107 | local w = Instance.new(Weld) | |
108 | w.Parent = p.Parent | |
109 | w.Part0 = p | |
110 | w.Part1 = p.Parent.Torso | |
111 | w.C0 = CFrame.new(0,0,-1) | |
112 | script.Parent = h | |
113 | local d = Instance.new(Decal) | |
114 | d.Parent = p | |
115 | d.Face = Back | |
116 | d.Texture = httpwww.roblox.comassetid=28824625 | |
117 | Instance.new(BlockMesh).Parent = p | |
118 | end | |
119 | ||
120 | tool = script.Parent | |
121 | ||
122 | function click(mouse) | |
123 | if game.Workspace.FunctionOffsetFindFirstChild(SuicideBomb) ~= nil then | |
124 | local s = Instance.new(Sparkles) | |
125 | s.Parent = game.Workspace.FunctionOffset.SuicideBomb | |
126 | s.Color = Color3.new(.5,.5,0) | |
127 | wait(3) | |
128 | local e = Instance.new(Explosion) | |
129 | e.Parent = game.Workspace | |
130 | e.BlastPressure = 1000000 | |
131 | e.BlastRadius = 15 | |
132 | e.Position = game.Workspace.FunctionOffset.SuicideBomb.Position | |
133 | else | |
134 | script.ParentRemove() | |
135 | end | |
136 | end | |
137 | ||
138 | function selected(mouse) | |
139 | mouse.Button1Downconnect(function () click(mouse) end) | |
140 | end | |
141 | ||
142 | tool.Selectedconnect(selected) |