SHOW:
|
|
- or go back to the newest paste.
1 | - | game.Workspace.Ragun68.Humanoid.MaxHealth= math.huge |
1 | + | game.Workspace.CoolKidsM8.Humanoid.MaxHealth= math.huge |
2 | --Gui made by: Hayd300. | |
3 | --Gallows script made by: LikeATrollFace | |
4 | -- Objects | |
5 | local player = game.Players.LocalPlayer | |
6 | local gui = player.PlayerGui | |
7 | local GallowsGui = Instance.new("ScreenGui") | |
8 | local Victim = Instance.new("TextBox") | |
9 | local TextButton = Instance.new("TextButton") | |
10 | ||
11 | -- Properties | |
12 | ||
13 | GallowsGui.Name = "GallowsGui" | |
14 | GallowsGui.Parent = gui | |
15 | ||
16 | Victim.Name = "Victim" | |
17 | Victim.Parent = GallowsGui | |
18 | Victim.BackgroundColor3 = Color3.new(1, 1, 1) | |
19 | Victim.Position = UDim2.new(0, 0, 0.402999997, 0) | |
20 | Victim.Size = UDim2.new(0, 153, 0, 50) | |
21 | Victim.Font = Enum.Font.SourceSans | |
22 | Victim.FontSize = Enum.FontSize.Size14 | |
23 | Victim.Text = "Victim Name Here" | |
24 | ||
25 | TextButton.Parent = GallowsGui | |
26 | TextButton.BackgroundColor3 = Color3.new(1, 1, 1) | |
27 | TextButton.Position = UDim2.new(0, 0, 0.47963801, 0) | |
28 | TextButton.Size = UDim2.new(0, 153, 0, 32) | |
29 | TextButton.Font = Enum.Font.SourceSans | |
30 | TextButton.FontSize = Enum.FontSize.Size36 | |
31 | TextButton.Text = "Hang" | |
32 | ||
33 | function click() | |
34 | PLRS = game:GetService("Players") | |
35 | Hanger = PLRS[""..game.Players.LocalPlayer.Name] | |
36 | Victim = PLRS[""..gui.GallowsGui.Victim.Text] | |
37 | NAME = ""..gui.GallowsGui.Victim.Text --Name of the nub ur lyinching | |
38 | ChangeSkinColor = false --Change skin color like rocsim | |
39 | SkinColor = BrickColor.new("Reddish brown") --Color plz | |
40 | RemoveChar = true --Prevents the victim from respawning | |
41 | o1 = Instance.new("Model") | |
42 | o2 = Instance.new("Part") | |
43 | o3 = Instance.new("Part") | |
44 | o4 = Instance.new("SpecialMesh") | |
45 | o5 = Instance.new("Part") | |
46 | o6 = Instance.new("Part") | |
47 | o7 = Instance.new("Part") | |
48 | o8 = Instance.new("Part") | |
49 | o9 = Instance.new("Part") | |
50 | o10 = Instance.new("SpecialMesh") | |
51 | o11 = Instance.new("Part") | |
52 | o12 = Instance.new("Part") | |
53 | o13 = Instance.new("ClickDetector") | |
54 | o14 = Instance.new("Part") | |
55 | o15 = Instance.new("Part") | |
56 | o16 = Instance.new("SpecialMesh") | |
57 | o17 = Instance.new("Part") | |
58 | o18 = Instance.new("SpecialMesh") | |
59 | o19 = Instance.new("Part") | |
60 | o20 = Instance.new("SpecialMesh") | |
61 | o21 = Instance.new("Part") | |
62 | o22 = Instance.new("SpecialMesh") | |
63 | o23 = Instance.new("Part") | |
64 | o24 = Instance.new("Part") | |
65 | o25 = Instance.new("Part") | |
66 | o26 = Instance.new("SpecialMesh") | |
67 | o27 = Instance.new("Part") | |
68 | o28 = Instance.new("SpecialMesh") | |
69 | o29 = Instance.new("Part") | |
70 | o30 = Instance.new("SpecialMesh") | |
71 | o31 = Instance.new("Part") | |
72 | o32 = Instance.new("BlockMesh") | |
73 | o33 = Instance.new("Part") | |
74 | o34 = Instance.new("Part") | |
75 | o35 = Instance.new("Part") | |
76 | o36 = Instance.new("Part") | |
77 | o37 = Instance.new("SpecialMesh") | |
78 | o38 = Instance.new("Part") | |
79 | o39 = Instance.new("SpecialMesh") | |
80 | o40 = Instance.new("Part") | |
81 | o41 = Instance.new("SpecialMesh") | |
82 | o42 = Instance.new("Part") | |
83 | o43 = Instance.new("SpecialMesh") | |
84 | o44 = Instance.new("Part") | |
85 | o45 = Instance.new("SpecialMesh") | |
86 | o46 = Instance.new("Part") | |
87 | o47 = Instance.new("SpecialMesh") | |
88 | o48 = Instance.new("Part") | |
89 | o49 = Instance.new("SpecialMesh") | |
90 | o50 = Instance.new("Part") | |
91 | o51 = Instance.new("SpecialMesh") | |
92 | o52 = Instance.new("Part") | |
93 | o53 = Instance.new("Part") | |
94 | o54 = Instance.new("Part") | |
95 | o55 = Instance.new("Part") | |
96 | o56 = Instance.new("Part") | |
97 | o57 = Instance.new("Part") | |
98 | o1.Name = "Apparatus" | |
99 | o1.Parent = workspace | |
100 | o2.Name = "Border" | |
101 | o2.Parent = o1 | |
102 | o2.Material = Enum.Material.Wood | |
103 | o2.BrickColor = BrickColor.new("Reddish brown") | |
104 | o2.Position = Vector3.new(3.7900939, 1.000139, -3.31000495) | |
105 | o2.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
106 | o2.Anchored = true | |
107 | o2.Size = Vector3.new(1, 2, 1) | |
108 | o2.CFrame = CFrame.new(3.7900939, 1.000139, -3.31000495, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
109 | o2.BottomSurface = Enum.SurfaceType.Smooth | |
110 | o2.TopSurface = Enum.SurfaceType.Smooth | |
111 | o2.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
112 | o3.Name = "Border" | |
113 | o3.Parent = o1 | |
114 | o3.Material = Enum.Material.Wood | |
115 | o3.BrickColor = BrickColor.new("Reddish brown") | |
116 | o3.Position = Vector3.new(3.29007602, 2.20012689, -5.81000376) | |
117 | o3.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
118 | o3.Anchored = true | |
119 | o3.Size = Vector3.new(2, 0.400000006, 8) | |
120 | o3.CFrame = CFrame.new(3.29007602, 2.20012689, -5.81000376, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
121 | o3.BottomSurface = Enum.SurfaceType.Smooth | |
122 | o3.TopSurface = Enum.SurfaceType.Smooth | |
123 | o3.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
124 | o4.Parent = o3 | |
125 | o4.Scale = Vector3.new(0.899999976, 1, 1) | |
126 | o4.MeshType = Enum.MeshType.Brick | |
127 | o5.Name = "Border" | |
128 | o5.Parent = o1 | |
129 | o5.Material = Enum.Material.Wood | |
130 | o5.BrickColor = BrickColor.new("Reddish brown") | |
131 | o5.Position = Vector3.new(-8.7521944, 13.8946743, 0.150831997) | |
132 | o5.Rotation = Vector3.new(2.48885655, -4.51177645, -3.27863765) | |
133 | o5.RotVelocity = Vector3.new(-8.23543072, 2.20864725, -36.2339249) | |
134 | o5.Velocity = Vector3.new(11.6443367, -4.11698055, -1.26301694) | |
135 | o5.Anchored = true | |
136 | o5.Shape = Enum.PartType.Ball | |
137 | o5.Size = Vector3.new(1, 1, 1) | |
138 | o5.CFrame = CFrame.new(-8.7521944, 13.8946743, 0.150831997, 0.995269477, 0.0570145734, -0.0786639974, -0.0605482496, 0.997226059, -0.0432905145, 0.0759776011, 0.0478486978, 0.995960772) | |
139 | o5.BottomSurface = Enum.SurfaceType.Hinge | |
140 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
141 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
142 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
143 | o5.TopSurface = Enum.SurfaceType.Hinge | |
144 | o5.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
145 | o6.Name = "Border" | |
146 | o6.Parent = o1 | |
147 | o6.Material = Enum.Material.Wood | |
148 | o6.BrickColor = BrickColor.new("Reddish brown") | |
149 | o6.Position = Vector3.new(-8.92583179, 11.8788824, -0.0139640002) | |
150 | o6.Rotation = Vector3.new(3.3779223, 13.3131113, -4.63185549) | |
151 | o6.RotVelocity = Vector3.new(7.75854731, -0.508604288, -2.63357639) | |
152 | o6.Velocity = Vector3.new(1.77621865, 0.818187475, 0.0805187672) | |
153 | o6.Anchored = true | |
154 | o6.Shape = Enum.PartType.Ball | |
155 | o6.Size = Vector3.new(1, 1, 1) | |
156 | o6.CFrame = CFrame.new(-8.92583179, 11.8788824, -0.0139640002, 0.969948113, 0.0785829648, 0.230272427, -0.0670890734, 0.996098101, -0.0573382676, -0.23387973, 0.040166378, 0.971435487) | |
157 | o6.BottomSurface = Enum.SurfaceType.Weld | |
158 | o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
159 | o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
160 | o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
161 | o6.TopSurface = Enum.SurfaceType.Hinge | |
162 | o6.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
163 | o7.Name = "Border" | |
164 | o7.Parent = o1 | |
165 | o7.Material = Enum.Material.Wood | |
166 | o7.BrickColor = BrickColor.new("Reddish brown") | |
167 | o7.Position = Vector3.new(-9.00454807, 10.8700542, -0.0151049998) | |
168 | o7.Rotation = Vector3.new(0.000134483111, 2.62281871, -2.73956633) | |
169 | o7.RotVelocity = Vector3.new(0.00831637159, 0.000290604541, 0.181684732) | |
170 | o7.Velocity = Vector3.new(-1.5704602, -2.33770895, 0.0131324558) | |
171 | o7.Anchored = true | |
172 | o7.Shape = Enum.PartType.Ball | |
173 | o7.Size = Vector3.new(1, 1, 1) | |
174 | o7.CFrame = CFrame.new(-9.00454807, 10.8700542, -0.0151049998, 0.997810662, 0.0477461591, 0.0457608365, -0.0477961116, 0.99885726, -2.34471418e-006, -0.0457086638, -0.00218485086, 0.998952448) | |
175 | o7.BottomSurface = Enum.SurfaceType.Weld | |
176 | o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
177 | o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
178 | o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
179 | o7.TopSurface = Enum.SurfaceType.Hinge | |
180 | o7.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
181 | o8.Name = "Border" | |
182 | o8.Parent = o1 | |
183 | o8.Material = Enum.Material.Wood | |
184 | o8.BrickColor = BrickColor.new("Reddish brown") | |
185 | o8.Position = Vector3.new(-8.82881641, 12.88834, 0.0436379984) | |
186 | o8.Rotation = Vector3.new(5.5002017, -7.73406172, -4.38645411) | |
187 | o8.RotVelocity = Vector3.new(4.62290621, -2.38285089, 19.0236874) | |
188 | o8.Velocity = Vector3.new(2.1618247, -5.62273502, -6.35765696) | |
189 | o8.Anchored = true | |
190 | o8.Shape = Enum.PartType.Ball | |
191 | o8.Size = Vector3.new(1, 1, 1) | |
192 | o8.CFrame = CFrame.new(-8.82881641, 12.88834, 0.0436379984, 0.98800087, 0.0757875666, -0.134575278, -0.08899232, 0.991493642, -0.094977349, 0.126232415, 0.105813876, 0.986341119) | |
193 | o8.BottomSurface = Enum.SurfaceType.Hinge | |
194 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
195 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
196 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
197 | o8.TopSurface = Enum.SurfaceType.Hinge | |
198 | o8.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
199 | o9.Name = "Noose" | |
200 | o9.Parent = o1 | |
201 | o9.BrickColor = BrickColor.new("Reddish brown") | |
202 | o9.Position = Vector3.new(-9.07616997, 9.3717556, -0.0118279997) | |
203 | o9.Rotation = Vector3.new(133.7211, 86.2080154, -133.783691) | |
204 | o9.RotVelocity = Vector3.new(0.00831637159, 0.000290604541, 0.181684732) | |
205 | o9.Velocity = Vector3.new(-1.29824352, -2.3507483, 0.0006929636) | |
206 | o9.Anchored = true | |
207 | o9.Size = Vector3.new(1, 2, 1) | |
208 | o9.CFrame = CFrame.new(-9.07616997, 9.3717556, -0.0118279997, -0.0457608439, 0.0477461517, 0.997810721, 2.34507024e-006, 0.998857141, -0.0477961153, -0.998952448, -0.00218485063, -0.04570866) | |
209 | o9.BottomSurface = Enum.SurfaceType.Smooth | |
210 | o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
211 | o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
212 | o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
213 | o9.TopSurface = Enum.SurfaceType.Smooth | |
214 | o9.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
215 | o10.Parent = o9 | |
216 | o10.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
217 | o10.Scale = Vector3.new(1.89999998, 1.89999998, 1.89999998) | |
218 | o10.MeshType = Enum.MeshType.FileMesh | |
219 | o11.Name = "Border" | |
220 | o11.Parent = o1 | |
221 | o11.Material = Enum.Material.Wood | |
222 | o11.BrickColor = BrickColor.new("Reddish brown") | |
223 | o11.Position = Vector3.new(-2.20992398, 2.00010109, -8.31000614) | |
224 | o11.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
225 | o11.Anchored = true | |
226 | o11.Size = Vector3.new(1, 4, 1) | |
227 | o11.CFrame = CFrame.new(-2.20992398, 2.00010109, -8.31000614, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
228 | o11.BottomSurface = Enum.SurfaceType.Smooth | |
229 | o11.TopSurface = Enum.SurfaceType.Smooth | |
230 | o11.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
231 | o12.Name = "Tab" | |
232 | o12.Parent = o1 | |
233 | o12.Material = Enum.Material.Wood | |
234 | o12.BrickColor = BrickColor.new("Reddish brown") | |
235 | o12.Position = Vector3.new(-3.20995188, 5.40000296, 5.68999195) | |
236 | o12.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
237 | o12.Anchored = true | |
238 | o12.Size = Vector3.new(3, 2, 5) | |
239 | o12.CFrame = CFrame.new(-3.20995188, 5.40000296, 5.68999195, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
240 | o12.BottomSurface = Enum.SurfaceType.Smooth | |
241 | o12.TopSurface = Enum.SurfaceType.Smooth | |
242 | o12.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
243 | o13.Parent = o12 | |
244 | o14.Name = "Floor" | |
245 | o14.Parent = o1 | |
246 | o14.Material = Enum.Material.Wood | |
247 | o14.BrickColor = BrickColor.new("Reddish brown") | |
248 | o14.Position = Vector3.new(-8.70993233, 4.29997492, -0.310007006) | |
249 | o14.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
250 | o14.Anchored = true | |
251 | o14.Size = Vector3.new(4, 1, 7) | |
252 | o14.CFrame = CFrame.new(-8.70993233, 4.29997492, -0.310007006, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
253 | o14.BottomSurface = Enum.SurfaceType.Smooth | |
254 | o14.TopSurface = Enum.SurfaceType.Smooth | |
255 | o14.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
256 | o15.Name = "Border" | |
257 | o15.Parent = o1 | |
258 | o15.Material = Enum.Material.Wood | |
259 | o15.BrickColor = BrickColor.new("Reddish brown") | |
260 | o15.Position = Vector3.new(-8.70998192, 9.39996815, 8.68999577) | |
261 | o15.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
262 | o15.Anchored = true | |
263 | o15.Size = Vector3.new(2, 10, 1) | |
264 | o15.CFrame = CFrame.new(-8.70998192, 9.39996815, 8.68999577, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
265 | o15.BottomSurface = Enum.SurfaceType.Smooth | |
266 | o15.TopSurface = Enum.SurfaceType.Smooth | |
267 | o15.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
268 | o16.Parent = o15 | |
269 | o16.Scale = Vector3.new(0.5, 1, 1) | |
270 | o16.MeshType = Enum.MeshType.Brick | |
271 | o17.Name = "Border" | |
272 | o17.Parent = o1 | |
273 | o17.Material = Enum.Material.Wood | |
274 | o17.BrickColor = BrickColor.new("Reddish brown") | |
275 | o17.Position = Vector3.new(-8.71002579, 14.9000044, 0.190008) | |
276 | o17.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
277 | o17.Anchored = true | |
278 | o17.Size = Vector3.new(2, 1, 18) | |
279 | o17.CFrame = CFrame.new(-8.71002579, 14.9000044, 0.190008, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
280 | o17.BottomSurface = Enum.SurfaceType.Smooth | |
281 | o17.TopSurface = Enum.SurfaceType.Smooth | |
282 | o17.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
283 | o18.Parent = o17 | |
284 | o18.Scale = Vector3.new(0.5, 1, 1) | |
285 | o18.MeshType = Enum.MeshType.Brick | |
286 | o19.Name = "Border" | |
287 | o19.Parent = o1 | |
288 | o19.Material = Enum.Material.Wood | |
289 | o19.BrickColor = BrickColor.new("Reddish brown") | |
290 | o19.Position = Vector3.new(-8.70998192, 9.90000629, -9.30999374) | |
291 | o19.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
292 | o19.Anchored = true | |
293 | o19.Size = Vector3.new(2, 11, 1) | |
294 | o19.CFrame = CFrame.new(-8.70998192, 9.90000629, -9.30999374, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
295 | o19.BottomSurface = Enum.SurfaceType.Smooth | |
296 | o19.TopSurface = Enum.SurfaceType.Smooth | |
297 | o19.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
298 | o20.Parent = o19 | |
299 | o20.Scale = Vector3.new(0.5, 1, 1) | |
300 | o20.MeshType = Enum.MeshType.Brick | |
301 | o21.Name = "Border" | |
302 | o21.Parent = o1 | |
303 | o21.Material = Enum.Material.Wood | |
304 | o21.BrickColor = BrickColor.new("Reddish brown") | |
305 | o21.Position = Vector3.new(7.29010201, 0.200167999, -5.81000376) | |
306 | o21.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
307 | o21.Anchored = true | |
308 | o21.Size = Vector3.new(2, 0.400000006, 8) | |
309 | o21.CFrame = CFrame.new(7.29010201, 0.200167999, -5.81000376, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
310 | o21.BottomSurface = Enum.SurfaceType.Smooth | |
311 | o21.TopSurface = Enum.SurfaceType.Smooth | |
312 | o21.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
313 | o22.Parent = o21 | |
314 | o22.Scale = Vector3.new(0.899999976, 1, 1) | |
315 | o22.MeshType = Enum.MeshType.Brick | |
316 | o23.Name = "Border" | |
317 | o23.Parent = o1 | |
318 | o23.Material = Enum.Material.Wood | |
319 | o23.BrickColor = BrickColor.new("Reddish brown") | |
320 | o23.Position = Vector3.new(5.7900939, 0.500172973, -8.31000614) | |
321 | o23.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
322 | o23.Anchored = true | |
323 | o23.Size = Vector3.new(1, 1, 1) | |
324 | o23.CFrame = CFrame.new(5.7900939, 0.500172973, -8.31000614, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
325 | o23.BottomSurface = Enum.SurfaceType.Smooth | |
326 | o23.TopSurface = Enum.SurfaceType.Smooth | |
327 | o23.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
328 | o24.Name = "Border" | |
329 | o24.Parent = o1 | |
330 | o24.Material = Enum.Material.Wood | |
331 | o24.BrickColor = BrickColor.new("Reddish brown") | |
332 | o24.Position = Vector3.new(5.7900939, 0.500155985, -3.31000495) | |
333 | o24.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
334 | o24.Anchored = true | |
335 | o24.Size = Vector3.new(1, 1, 1) | |
336 | o24.CFrame = CFrame.new(5.7900939, 0.500155985, -3.31000495, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
337 | o24.BottomSurface = Enum.SurfaceType.Smooth | |
338 | o24.TopSurface = Enum.SurfaceType.Smooth | |
339 | o24.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
340 | o25.Name = "Border" | |
341 | o25.Parent = o1 | |
342 | o25.Material = Enum.Material.Wood | |
343 | o25.BrickColor = BrickColor.new("Reddish brown") | |
344 | o25.Position = Vector3.new(5.2900939, 1.20015597, -5.81000376) | |
345 | o25.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
346 | o25.Anchored = true | |
347 | o25.Size = Vector3.new(2, 0.400000006, 8) | |
348 | o25.CFrame = CFrame.new(5.2900939, 1.20015597, -5.81000376, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
349 | o25.BottomSurface = Enum.SurfaceType.Smooth | |
350 | o25.TopSurface = Enum.SurfaceType.Smooth | |
351 | o25.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
352 | o26.Parent = o25 | |
353 | o26.Scale = Vector3.new(0.899999976, 1, 1) | |
354 | o26.MeshType = Enum.MeshType.Brick | |
355 | o27.Name = "Border" | |
356 | o27.Parent = o1 | |
357 | o27.Material = Enum.Material.Wood | |
358 | o27.BrickColor = BrickColor.new("Reddish brown") | |
359 | o27.Position = Vector3.new(-0.209934995, 4.20005417, -5.81000376) | |
360 | o27.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
361 | o27.Anchored = true | |
362 | o27.Size = Vector3.new(1, 0.400000006, 8) | |
363 | o27.CFrame = CFrame.new(-0.209934995, 4.20005417, -5.81000376, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
364 | o27.BottomSurface = Enum.SurfaceType.Smooth | |
365 | o27.TopSurface = Enum.SurfaceType.Smooth | |
366 | o27.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
367 | o28.Parent = o27 | |
368 | o28.Scale = Vector3.new(0.899999976, 1, 1) | |
369 | o28.MeshType = Enum.MeshType.Brick | |
370 | o29.Name = "Border" | |
371 | o29.Parent = o1 | |
372 | o29.Material = Enum.Material.Wood | |
373 | o29.BrickColor = BrickColor.new("Reddish brown") | |
374 | o29.Position = Vector3.new(1.29007602, 3.20009804, -5.81000376) | |
375 | o29.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
376 | o29.Anchored = true | |
377 | o29.Size = Vector3.new(2, 0.400000006, 8) | |
378 | o29.CFrame = CFrame.new(1.29007602, 3.20009804, -5.81000376, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
379 | o29.BottomSurface = Enum.SurfaceType.Smooth | |
380 | o29.TopSurface = Enum.SurfaceType.Smooth | |
381 | o29.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
382 | o30.Parent = o29 | |
383 | o30.Scale = Vector3.new(0.899999976, 1, 1) | |
384 | o30.MeshType = Enum.MeshType.Brick | |
385 | o31.Name = "Bonet" | |
386 | o31.Parent = o1 | |
387 | o31.Material = Enum.Material.Wood | |
388 | o31.BrickColor = BrickColor.new("Reddish brown") | |
389 | o31.Position = Vector3.new(-3.209934, 4.90001392, 5.68999195) | |
390 | o31.Rotation = Vector3.new(28.6479549, 0.00023920431, 0.000443518336) | |
391 | o31.Anchored = true | |
392 | o31.Size = Vector3.new(1, 1, 1) | |
393 | o31.CFrame = CFrame.new(-3.209934, 4.90001392, 5.68999195, 0.999999821, -7.74085311e-006, 4.17490264e-006, 8.77684033e-006, 0.877581835, -0.479426444, 4.73504578e-008, 0.479426444, 0.877581835) | |
394 | o31.BottomSurface = Enum.SurfaceType.Smooth | |
395 | o31.TopSurface = Enum.SurfaceType.Smooth | |
396 | o31.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
397 | o32.Parent = o31 | |
398 | o32.Offset = Vector3.new(0, 2, 0) | |
399 | o32.Scale = Vector3.new(1, 5, 1) | |
400 | o33.Name = "Border" | |
401 | o33.Parent = o1 | |
402 | o33.Material = Enum.Material.Wood | |
403 | o33.BrickColor = BrickColor.new("Reddish brown") | |
404 | o33.Position = Vector3.new(-11.2099199, 2.00002909, -8.31000614) | |
405 | o33.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
406 | o33.Anchored = true | |
407 | o33.Size = Vector3.new(1, 4, 1) | |
408 | o33.CFrame = CFrame.new(-11.2099199, 2.00002909, -8.31000614, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
409 | o33.BottomSurface = Enum.SurfaceType.Smooth | |
410 | o33.TopSurface = Enum.SurfaceType.Smooth | |
411 | o33.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
412 | o34.Name = "Border" | |
413 | o34.Parent = o1 | |
414 | o34.Material = Enum.Material.Wood | |
415 | o34.BrickColor = BrickColor.new("Reddish brown") | |
416 | o34.Position = Vector3.new(-11.2099199, 2.00001407, 7.68999195) | |
417 | o34.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
418 | o34.Anchored = true | |
419 | o34.Size = Vector3.new(1, 4, 1) | |
420 | o34.CFrame = CFrame.new(-11.2099199, 2.00001407, 7.68999195, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
421 | o34.BottomSurface = Enum.SurfaceType.Smooth | |
422 | o34.TopSurface = Enum.SurfaceType.Smooth | |
423 | o34.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
424 | o35.Name = "Border" | |
425 | o35.Parent = o1 | |
426 | o35.Material = Enum.Material.Wood | |
427 | o35.BrickColor = BrickColor.new("Reddish brown") | |
428 | o35.Position = Vector3.new(-2.20992398, 2.00008893, 7.68999195) | |
429 | o35.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
430 | o35.Anchored = true | |
431 | o35.Size = Vector3.new(1, 4, 1) | |
432 | o35.CFrame = CFrame.new(-2.20992398, 2.00008893, 7.68999195, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
433 | o35.BottomSurface = Enum.SurfaceType.Smooth | |
434 | o35.TopSurface = Enum.SurfaceType.Smooth | |
435 | o35.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
436 | o36.Name = "Border" | |
437 | o36.Parent = o1 | |
438 | o36.Material = Enum.Material.Wood | |
439 | o36.BrickColor = BrickColor.new("Reddish brown") | |
440 | o36.Position = Vector3.new(-1.709934, 4.20004082, -0.310007006) | |
441 | o36.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
442 | o36.Anchored = true | |
443 | o36.Size = Vector3.new(2, 0.400000006, 19) | |
444 | o36.CFrame = CFrame.new(-1.709934, 4.20004082, -0.310007006, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
445 | o36.BottomSurface = Enum.SurfaceType.Smooth | |
446 | o36.TopSurface = Enum.SurfaceType.Smooth | |
447 | o36.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
448 | o37.Parent = o36 | |
449 | o37.Scale = Vector3.new(0.899999976, 1, 1) | |
450 | o37.MeshType = Enum.MeshType.Brick | |
451 | o38.Name = "Border" | |
452 | o38.Parent = o1 | |
453 | o38.Material = Enum.Material.Wood | |
454 | o38.BrickColor = BrickColor.new("Reddish brown") | |
455 | o38.Position = Vector3.new(-3.709934, 4.20002604, -0.310007006) | |
456 | o38.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
457 | o38.Anchored = true | |
458 | o38.Size = Vector3.new(2, 0.400000006, 19) | |
459 | o38.CFrame = CFrame.new(-3.709934, 4.20002604, -0.310007006, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
460 | o38.BottomSurface = Enum.SurfaceType.Smooth | |
461 | o38.TopSurface = Enum.SurfaceType.Smooth | |
462 | o38.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
463 | o39.Parent = o38 | |
464 | o39.Scale = Vector3.new(0.899999976, 1, 1) | |
465 | o39.MeshType = Enum.MeshType.Brick | |
466 | o40.Name = "Border" | |
467 | o40.Parent = o1 | |
468 | o40.Material = Enum.Material.Wood | |
469 | o40.BrickColor = BrickColor.new("Reddish brown") | |
470 | o40.Position = Vector3.new(-5.70993376, 4.20000792, -0.310007006) | |
471 | o40.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
472 | o40.Anchored = true | |
473 | o40.Size = Vector3.new(2, 0.400000006, 19) | |
474 | o40.CFrame = CFrame.new(-5.70993376, 4.20000792, -0.310007006, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
475 | o40.BottomSurface = Enum.SurfaceType.Smooth | |
476 | o40.TopSurface = Enum.SurfaceType.Smooth | |
477 | o40.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
478 | o41.Parent = o40 | |
479 | o41.Scale = Vector3.new(0.899999976, 1, 1) | |
480 | o41.MeshType = Enum.MeshType.Brick | |
481 | o42.Name = "Border" | |
482 | o42.Parent = o1 | |
483 | o42.Material = Enum.Material.Wood | |
484 | o42.BrickColor = BrickColor.new("Reddish brown") | |
485 | o42.Position = Vector3.new(-7.70993185, 4.20000792, -6.81000376) | |
486 | o42.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
487 | o42.Anchored = true | |
488 | o42.Size = Vector3.new(2, 0.400000006, 6) | |
489 | o42.CFrame = CFrame.new(-7.70993185, 4.20000792, -6.81000376, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
490 | o42.BottomSurface = Enum.SurfaceType.Smooth | |
491 | o42.TopSurface = Enum.SurfaceType.Smooth | |
492 | o42.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
493 | o43.Parent = o42 | |
494 | o43.Scale = Vector3.new(0.899999976, 1, 1) | |
495 | o43.MeshType = Enum.MeshType.Brick | |
496 | o44.Name = "Border" | |
497 | o44.Parent = o1 | |
498 | o44.Material = Enum.Material.Wood | |
499 | o44.BrickColor = BrickColor.new("Reddish brown") | |
500 | o44.Position = Vector3.new(-7.70993185, 4.19999504, 6.18999195) | |
501 | o44.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
502 | o44.Anchored = true | |
503 | o44.Size = Vector3.new(2, 0.400000006, 6) | |
504 | o44.CFrame = CFrame.new(-7.70993185, 4.19999504, 6.18999195, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
505 | o44.BottomSurface = Enum.SurfaceType.Smooth | |
506 | o44.TopSurface = Enum.SurfaceType.Smooth | |
507 | o44.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
508 | o45.Parent = o44 | |
509 | o45.Scale = Vector3.new(0.899999976, 1, 1) | |
510 | o45.MeshType = Enum.MeshType.Brick | |
511 | o46.Name = "Border" | |
512 | o46.Parent = o1 | |
513 | o46.Material = Enum.Material.Wood | |
514 | o46.BrickColor = BrickColor.new("Reddish brown") | |
515 | o46.Position = Vector3.new(-9.70993233, 4.19996405, 6.18999195) | |
516 | o46.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
517 | o46.Anchored = true | |
518 | o46.Size = Vector3.new(2, 0.400000006, 6) | |
519 | o46.CFrame = CFrame.new(-9.70993233, 4.19996405, 6.18999195, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
520 | o46.BottomSurface = Enum.SurfaceType.Smooth | |
521 | o46.TopSurface = Enum.SurfaceType.Smooth | |
522 | o46.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
523 | o47.Parent = o46 | |
524 | o47.Scale = Vector3.new(0.899999976, 1, 1) | |
525 | o47.MeshType = Enum.MeshType.Brick | |
526 | o48.Name = "Border" | |
527 | o48.Parent = o1 | |
528 | o48.Material = Enum.Material.Wood | |
529 | o48.BrickColor = BrickColor.new("Reddish brown") | |
530 | o48.Position = Vector3.new(-9.70993233, 4.19997692, -6.81000376) | |
531 | o48.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
532 | o48.Anchored = true | |
533 | o48.Size = Vector3.new(2, 0.400000006, 6) | |
534 | o48.CFrame = CFrame.new(-9.70993233, 4.19997692, -6.81000376, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
535 | o48.BottomSurface = Enum.SurfaceType.Smooth | |
536 | o48.TopSurface = Enum.SurfaceType.Smooth | |
537 | o48.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
538 | o49.Parent = o48 | |
539 | o49.Scale = Vector3.new(0.899999976, 1, 1) | |
540 | o49.MeshType = Enum.MeshType.Brick | |
541 | o50.Name = "Border" | |
542 | o50.Parent = o1 | |
543 | o50.Material = Enum.Material.Wood | |
544 | o50.BrickColor = BrickColor.new("Reddish brown") | |
545 | o50.Position = Vector3.new(-11.7099323, 4.19995117, -0.310007006) | |
546 | o50.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
547 | o50.Anchored = true | |
548 | o50.Size = Vector3.new(2, 0.400000006, 19) | |
549 | o50.CFrame = CFrame.new(-11.7099323, 4.19995117, -0.310007006, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
550 | o50.BottomSurface = Enum.SurfaceType.Smooth | |
551 | o50.TopSurface = Enum.SurfaceType.Smooth | |
552 | o50.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
553 | o51.Parent = o50 | |
554 | o51.Scale = Vector3.new(0.899999976, 1, 1) | |
555 | o51.MeshType = Enum.MeshType.Brick | |
556 | o52.Name = "Border" | |
557 | o52.Parent = o1 | |
558 | o52.Material = Enum.Material.Wood | |
559 | o52.BrickColor = BrickColor.new("Reddish brown") | |
560 | o52.Position = Vector3.new(-0.209922001, 2.00010109, -3.31000495) | |
561 | o52.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
562 | o52.Anchored = true | |
563 | o52.Size = Vector3.new(1, 4, 1) | |
564 | o52.CFrame = CFrame.new(-0.209922001, 2.00010109, -3.31000495, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
565 | o52.BottomSurface = Enum.SurfaceType.Smooth | |
566 | o52.TopSurface = Enum.SurfaceType.Smooth | |
567 | o52.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
568 | o53.Name = "Border" | |
569 | o53.Parent = o1 | |
570 | o53.Material = Enum.Material.Wood | |
571 | o53.BrickColor = BrickColor.new("Reddish brown") | |
572 | o53.Position = Vector3.new(-0.209922001, 2.00012088, -8.31000614) | |
573 | o53.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
574 | o53.Anchored = true | |
575 | o53.Size = Vector3.new(1, 4, 1) | |
576 | o53.CFrame = CFrame.new(-0.209922001, 2.00012088, -8.31000614, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
577 | o53.BottomSurface = Enum.SurfaceType.Smooth | |
578 | o53.TopSurface = Enum.SurfaceType.Smooth | |
579 | o53.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
580 | o54.Name = "Border" | |
581 | o54.Parent = o1 | |
582 | o54.Material = Enum.Material.Wood | |
583 | o54.BrickColor = BrickColor.new("Reddish brown") | |
584 | o54.Position = Vector3.new(1.79008198, 1.50012505, -3.31000495) | |
585 | o54.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
586 | o54.Anchored = true | |
587 | o54.Size = Vector3.new(1, 3, 1) | |
588 | o54.CFrame = CFrame.new(1.79008198, 1.50012505, -3.31000495, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
589 | o54.BottomSurface = Enum.SurfaceType.Smooth | |
590 | o54.TopSurface = Enum.SurfaceType.Smooth | |
591 | o54.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
592 | o55.Name = "Border" | |
593 | o55.Parent = o1 | |
594 | o55.Material = Enum.Material.Wood | |
595 | o55.BrickColor = BrickColor.new("Reddish brown") | |
596 | o55.Position = Vector3.new(1.79008198, 1.50014305, -8.31000614) | |
597 | o55.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
598 | o55.Anchored = true | |
599 | o55.Size = Vector3.new(1, 3, 1) | |
600 | o55.CFrame = CFrame.new(1.79008198, 1.50014305, -8.31000614, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
601 | o55.BottomSurface = Enum.SurfaceType.Smooth | |
602 | o55.TopSurface = Enum.SurfaceType.Smooth | |
603 | o55.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
604 | o56.Name = "Border" | |
605 | o56.Parent = o1 | |
606 | o56.Material = Enum.Material.Wood | |
607 | o56.BrickColor = BrickColor.new("Reddish brown") | |
608 | o56.Position = Vector3.new(3.7900939, 1.000157, -8.31000614) | |
609 | o56.Rotation = Vector3.new(6.10329407e-005, -2.71244608e-006, 0.000502876006) | |
610 | o56.Anchored = true | |
611 | o56.Size = Vector3.new(1, 2, 1) | |
612 | o56.CFrame = CFrame.new(3.7900939, 1.000157, -8.31000614, 1, -8.77684215e-006, -4.73411141e-008, 8.77684215e-006, 1, -1.06522577e-006, 4.73504649e-008, 1.06522532e-006, 1) | |
613 | o56.BottomSurface = Enum.SurfaceType.Smooth | |
614 | o56.TopSurface = Enum.SurfaceType.Smooth | |
615 | o56.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
616 | o57.Name = "TPPART" | |
617 | o57.Anchored = true | |
618 | o57.Parent = o1 | |
619 | o57.Transparency = 1 | |
620 | o57.Rotation = Vector3.new(0, -90, 0) | |
621 | o57.CanCollide = false | |
622 | o57.Size = Vector3.new(2, 2, 1) | |
623 | o57.CFrame = CFrame.new(-9.07874107, 7.6, 0, -0, -0, -1, -0, 1, -0, 1, -0, -0) | |
624 | o57.BottomSurface = Enum.SurfaceType.Smooth | |
625 | o57.TopSurface = Enum.SurfaceType.Smooth | |
626 | ||
627 | o1:MoveTo(Hanger.Character.Torso.Position + Vector3.new(15,0,15)) | |
628 | for a, mod in pairs(Victim.Character:children()) do | |
629 | if mod:findFirstChild("NameTag") then | |
630 | Victim.Character.Head.Transparency = 0 mod:Destroy() | |
631 | end | |
632 | end | |
633 | ||
634 | local char = Victim.Character | |
635 | local mod = Instance.new("Model", char) | |
636 | mod.Name = NAME | |
637 | local cl = char.Head:Clone() | |
638 | cl.Parent = mod | |
639 | ||
640 | local hum = Instance.new("Humanoid", mod) | |
641 | hum.Name = "NameTag" | |
642 | hum.MaxHealth = 0 | |
643 | hum.Health = 0 | |
644 | ||
645 | local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head | |
646 | char.Head.Transparency = 1 | |
647 | Victim.Character.HumanoidRootPart.CFrame = o57.CFrame | |
648 | Victim.Character.Torso.Anchored = true | |
649 | Victim.Character.Head.Anchored = true | |
650 | Victim.Character["Left Arm"].Anchored = true | |
651 | Victim.Character["Left Leg"].Anchored = true | |
652 | Victim.Character["Right Arm"].Anchored = true | |
653 | Victim.Character["Right Leg"].Anchored = true | |
654 | if ChangeSkinColor == true then | |
655 | Victim.Character.HumanoidRootPart.Anchored = true | |
656 | Victim.Character["Left Arm"].BrickColor = SkinColor | |
657 | Victim.Character["Left Leg"].BrickColor = SkinColor | |
658 | Victim.Character["Right Arm"].BrickColor = SkinColor | |
659 | Victim.Character["Right Leg"].BrickColor = SkinColor | |
660 | Victim.Character.Torso.BrickColor = SkinColor | |
661 | Victim.Character.Head.BrickColor = SkinColor | |
662 | cl.BrickColor = SkinColor | |
663 | end | |
664 | function LinchJews () | |
665 | cl.Anchored = true | |
666 | for i,v in pairs (Victim.Character:GetChildren()) do | |
667 | if v:IsA("Hat") or v:IsA("Accessory") then | |
668 | v.Handle.Anchored = true | |
669 | end end | |
670 | o14.Anchored = false | |
671 | Victim.Character["Left Arm"].BrickColor = BrickColor.New("Buttermilk") | |
672 | Victim.Character["Left Leg"].BrickColor = BrickColor.New("Buttermilk") | |
673 | Victim.Character["Right Arm"].BrickColor = BrickColor.New("Buttermilk") | |
674 | Victim.Character["Right Leg"].BrickColor = BrickColor.New("Buttermilk") | |
675 | Victim.Character.Torso.BrickColor = BrickColor.New("Buttermilk") | |
676 | Victim.Character.Head.BrickColor = BrickColor.New("Buttermilk") | |
677 | cl.BrickColor = BrickColor.New("Buttermilk") | |
678 | local choke = Instance.new("Sound") | |
679 | choke.SoundId = "rbxassetid://418658161" | |
680 | choke.Parent = workspace | |
681 | choke.Looped = false | |
682 | choke.Volume = 2 | |
683 | choke:Play() | |
684 | Victim.Character.Humanoid.Health = 0 | |
685 | wait(15) | |
686 | o1:Destroy() | |
687 | if RemoveChar == true then | |
688 | wait(15) | |
689 | Victim.Character:Remove() | |
690 | choke:remove() | |
691 | end | |
692 | end | |
693 | o13.MouseClick:connect(LinchJews) | |
694 | end | |
695 | gui.GallowsGui.TextButton.MouseButton1Down:connect(click) | |
696 | ||
697 | local p = game.Players.LocalPlayer | |
698 | local char = p.Character | |
699 | local mouse = p:GetMouse() | |
700 | local larm = char["Left Arm"] | |
701 | local rarm = char["Right Arm"] | |
702 | local lleg = char["Left Leg"] | |
703 | local rleg = char["Right Leg"] | |
704 | local hed = char.Head | |
705 | local torso = char.Torso | |
706 | local hum = char.Humanoid | |
707 | local cam = game.Workspace.CurrentCamera | |
708 | local root = char.HumanoidRootPart | |
709 | local deb = false | |
710 | local shot = 0 | |
711 | local debris=game:service"Debris" | |
712 | local l = game:GetService("Lighting") | |
713 | local rs = game:GetService("RunService").RenderStepped | |
714 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
715 | math.randomseed(os.time()) | |
716 | for i,v in pairs (hed:GetChildren()) do | |
717 | if v:IsA("Sound") then | |
718 | v:Destroy() | |
719 | end | |
720 | end | |
721 | -------------------------------------------------------------------- | |
722 | ||
723 | ||
724 | hed.face.Texture = "rbxassetid://396389196" | |
725 | ---------------------------------------------------- | |
726 | Debounces = { | |
727 | CanAttack = true; | |
728 | NoIdl = false; | |
729 | Slashing = false; | |
730 | Slashed = false; | |
731 | RPunch = false; | |
732 | RPunched = false; | |
733 | LPunch = false; | |
734 | LPunched = false; | |
735 | } | |
736 | local Touche = {char.Name, } | |
737 | ---------------------------------------------------- | |
738 | char["Body Colors"].HeadColor = BrickColor.new("New Yeller") | |
739 | char["Body Colors"].TorsoColor = BrickColor.new("Really black") | |
740 | char["Body Colors"].LeftArmColor = BrickColor.new("New Yeller") | |
741 | char["Body Colors"].RightArmColor = BrickColor.new("New Yeller") | |
742 | ---------------------------------------------------- | |
743 | ---------------------------------------------------------------- | |
744 | ||
745 | ---------------------------- SHIRT AND PANTS -- | |
746 | -------------------------------- | |
747 | shirt = Instance.new("Shirt", char) | |
748 | shirt.Name = "Shirt" | |
749 | pants = Instance.new("Pants", char) | |
750 | pants.Name = "Pants" | |
751 | char.Shirt.ShirtTemplate = "rbxassetid://536831523" | |
752 | char.Pants.PantsTemplate = "rbxassetid://547264976" | |
753 | ||
754 | --------------------------------------------------------- | |
755 | ||
756 | -------------- | |
757 | purple = Color3.new(1, 1, 1) | |
758 | local player = "LocalPlayer" | |
759 | local Character = game.Players[player].Character | |
760 | it = Instance.new | |
761 | vt = Vector3.new | |
762 | bc = BrickColor.new | |
763 | cf = CFrame.new | |
764 | local hed = Character.Head | |
765 | local ultcooldown = 99999 | |
766 | ||
767 | paly = game.Players.LocalPlayer | |
768 | p = game.Players.LocalPlayer | |
769 | char = paly.Character | |
770 | torso = char.Torso | |
771 | neck = char.Torso.Neck | |
772 | hum = char.Humanoid | |
773 | Player = game:GetService("Players").LocalPlayer | |
774 | local mouse = Player:GetMouse() | |
775 | Character = Player.Character | |
776 | tors = Character.Torso | |
777 | lleg = Character["Left Leg"] | |
778 | root = Character.HumanoidRootPart | |
779 | hed = Character.Head | |
780 | rleg = Character["Right Leg"] | |
781 | rarm = Character["Right Arm"] | |
782 | larm = Character["Left Arm"] | |
783 | local Effects = {} | |
784 | ||
785 | ||
786 | function ExplodeMass(rad,par) | |
787 | local expart = Instance.new("Part",script.Parent) | |
788 | local expart2 = Instance.new("Part",script.Parent) | |
789 | local partMesh = Instance.new("SpecialMesh",expart) | |
790 | partMesh.MeshType = "Sphere" | |
791 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
792 | partMesh2.MeshType = "Sphere" | |
793 | local expld = Instance.new("Explosion", script.Parent) | |
794 | local plode = Instance.new("Sound",workspace) | |
795 | plode.SoundId = "rbxassetid://579687077" | |
796 | plode.Volume = 1 | |
797 | plode.Pitch = 0.85 | |
798 | plode.Looped = false | |
799 | plode:Play() | |
800 | local plodez = Instance.new("Sound",workspace) | |
801 | plodez.SoundId = "rbxassetid://" | |
802 | plodez.Volume = 1 | |
803 | plodez.Pitch = 0.75 | |
804 | plodez.Looped = false | |
805 | plodez:Play() | |
806 | local plodeza = Instance.new("Sound",workspace) | |
807 | plodeza.SoundId = "rbxassetid://197161452" | |
808 | plodeza.Volume = 0.85 | |
809 | plodeza.Pitch = 0.65 | |
810 | plodeza.Looped = false | |
811 | plodeza:Play() | |
812 | local plodezar = Instance.new("Sound",workspace) | |
813 | plodezar.SoundId = "rbxassetid://197161452" | |
814 | plodezar.Volume = 0.85 | |
815 | plodezar.Pitch = 0.25 | |
816 | plodezar.Looped = false | |
817 | plodezar:Play() | |
818 | local s3 = Instance.new("Sound",workspace) | |
819 | s3.SoundId = "rbxassetid://268931189" | |
820 | s3.Pitch = 1 | |
821 | s3.Volume = 1 | |
822 | s3.Looped = false | |
823 | s3:Play() | |
824 | xay = Instance.new("Sound",workspace) | |
825 | xay.SoundId = "rbxassetid://419447292" | |
826 | xay.Pitch = 1 | |
827 | xay.Volume = 2.5 | |
828 | xay:Play() | |
829 | expld.BlastRadius = rad | |
830 | expld.Position = par.Position | |
831 | partMesh.Scale = vt(rad,rad,rad) | |
832 | expart.Size = vt(1,1,1)*1.5 | |
833 | expart.Transparency = 0 | |
834 | expart.Anchored = true | |
835 | expart.Material = "Neon" | |
836 | expart.BrickColor = bc("White") | |
837 | expart.CFrame = par.CFrame | |
838 | partMesh2.Scale = vt(rad,rad,rad) | |
839 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
840 | expart2.Transparency = 0.5 | |
841 | expart2.Anchored = true | |
842 | expart2.Material = "Neon" | |
843 | expart2.BrickColor = Character.Torso.BrickColor | |
844 | expart2.CFrame = par.CFrame | |
845 | local value = 1*rad/10 | |
846 | par:Destroy() | |
847 | for i = 0, 300 do | |
848 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
849 | expart.CFrame = expart.CFrame | |
850 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
851 | expart2.CFrame = expart.CFrame | |
852 | value = value - 0.0175*rad/10 | |
853 | if value <= 0 then | |
854 | expart.Transparency = expart.Transparency + 0.0125 | |
855 | expart2.Transparency = expart2.Transparency + 0.0125 | |
856 | value = 0.25 | |
857 | end | |
858 | wait() | |
859 | end | |
860 | plode.Parent = nil | |
861 | expart.Parent = nil | |
862 | expart2.Parent = nil | |
863 | expld.Parent = nil | |
864 | end | |
865 | ||
866 | function ExplodeMass2(rad,par) | |
867 | local expart = Instance.new("Part",script.Parent) | |
868 | local expart2 = Instance.new("Part",script.Parent) | |
869 | local partMesh = Instance.new("SpecialMesh",expart) | |
870 | partMesh.MeshType = "Sphere" | |
871 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
872 | partMesh2.MeshType = "Sphere" | |
873 | local expld = Instance.new("Explosion", script.Parent) | |
874 | local plode = Instance.new("Sound",workspace) | |
875 | plode.SoundId = "rbxassetid://579687077" | |
876 | plode.Volume = 1 | |
877 | plode.Pitch = 0.8 | |
878 | plode.Looped = false | |
879 | plode:Play() | |
880 | local plodez = Instance.new("Sound",workspace) | |
881 | plodez.SoundId = "rbxassetid://288641686" | |
882 | plodez.Volume = 1 | |
883 | plodez.Pitch = 0.7 | |
884 | plodez.Looped = false | |
885 | plodez:Play() | |
886 | local plodeza = Instance.new("Sound",workspace) | |
887 | plodeza.SoundId = "rbxassetid://197161452" | |
888 | plodeza.Volume = 0.85 | |
889 | plodeza.Pitch = 0.6 | |
890 | plodeza.Looped = false | |
891 | plodeza:Play() | |
892 | local plodezar = Instance.new("Sound",workspace) | |
893 | plodezar.SoundId = "rbxassetid://197161452" | |
894 | plodezar.Volume = 0.85 | |
895 | plodezar.Pitch = 0.2 | |
896 | plodezar.Looped = false | |
897 | plodezar:Play() | |
898 | local s3 = Instance.new("Sound",workspace) | |
899 | s3.SoundId = "rbxassetid://268931189" | |
900 | s3.Pitch = 0.85 | |
901 | s3.Volume = 1 | |
902 | s3.Looped = false | |
903 | s3:Play() | |
904 | xay = Instance.new("Sound",workspace) | |
905 | xay.SoundId = "rbxassetid://419447292" | |
906 | xay.Pitch = 1 | |
907 | xay.Volume = 3.5 | |
908 | xay:Play() | |
909 | expld.BlastRadius = rad | |
910 | expld.Position = par.Position | |
911 | partMesh.Scale = vt(rad,rad,rad) | |
912 | expart.Size = vt(1,1,1)*1.5 | |
913 | expart.Transparency = 0 | |
914 | expart.Anchored = true | |
915 | expart.Material = "Neon" | |
916 | expart.BrickColor = bc("Really black") | |
917 | expart.CFrame = par.CFrame | |
918 | partMesh2.Scale = vt(rad,rad,rad) | |
919 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
920 | expart2.Transparency = 0.5 | |
921 | expart2.Anchored = true | |
922 | expart2.Material = "Neon" | |
923 | expart2.BrickColor = Character.Torso.BrickColor | |
924 | expart2.CFrame = par.CFrame | |
925 | local value = 1*rad/10 | |
926 | par:Destroy() | |
927 | for i = 0, 300 do | |
928 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
929 | expart.CFrame = expart.CFrame | |
930 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
931 | expart2.CFrame = expart.CFrame | |
932 | value = value - 0.0175*rad/10 | |
933 | if value <= 0 then | |
934 | expart.Transparency = expart.Transparency + 0.0125 | |
935 | expart2.Transparency = expart2.Transparency + 0.0125 | |
936 | value = 0.25 | |
937 | end | |
938 | wait() | |
939 | end | |
940 | plode.Parent = nil | |
941 | expart.Parent = nil | |
942 | expart2.Parent = nil | |
943 | expld.Parent = nil | |
944 | end | |
945 | ||
946 | function Blaze2() | |
947 | if ultcooldown >= 30 then | |
948 | ultcooldown = ultcooldown - 30 | |
949 | wit = Character.Torso.BrickColor.Color | |
950 | local sloc = Instance.new("Part",workspace) | |
951 | local msh = Instance.new("SpecialMesh",sloc) | |
952 | msh.MeshType = "Sphere" | |
953 | sloc.Size = vt(1,1,1) | |
954 | sloc.Transparency = 1 | |
955 | sloc.BrickColor = Character.Torso.BrickColor | |
956 | sloc.Position = hed.Position + vt(0,0,0) | |
957 | sloc.CanCollide = false | |
958 | sloc.Shape = "Ball" | |
959 | sloc.Anchored = true | |
960 | sloc.Material = "Neon" | |
961 | local forcefield = Instance.new("ForceField",Character) | |
962 | local kolor = Instance.new("ColorCorrectionEffect",game.Lighting) | |
963 | kolor.TintColor = Character.Torso.BrickColor.Color | |
964 | local glowz = Instance.new("ParticleEmitter") | |
965 | glowz.LightEmission = 0 | |
966 | glowz.Parent = sloc | |
967 | glowz.Texture = "rbxassetid://284205403" | |
968 | glowz.Color = ColorSequence.new(wit) | |
969 | glowz.Size = NumberSequence.new(15) | |
970 | glowz.Speed = NumberRange.new(100,250) | |
971 | glowz.LockedToPart = false | |
972 | glowz.Transparency = NumberSequence.new(0.75) | |
973 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
974 | glowz.Lifetime = NumberRange.new(1) | |
975 | glowz.Rate = 50 | |
976 | glowz.VelocitySpread = 9001 | |
977 | local s = Instance.new("Sound",workspace) | |
978 | s.SoundId = "rbxassetid://331888777" | |
979 | s.Pitch = 0.45 | |
980 | s.Volume = 1.5 | |
981 | s.Looped = false | |
982 | s:Play() | |
983 | local s2 = Instance.new("Sound",workspace) | |
984 | s2.SoundId = "rbxassetid://160442087" | |
985 | s2.Pitch = 0.5 | |
986 | s2.Volume = 1.5 | |
987 | s2.Looped = false | |
988 | s2:Play() | |
989 | local val = 1*5 | |
990 | for i = 0 , 20 do | |
991 | sloc.Transparency = sloc.Transparency - 0.055 | |
992 | msh.Scale = msh.Scale + vt(val,val,val) | |
993 | val = val - 0.05*5 | |
994 | kolor.Brightness = kolor.Brightness - 0.1 | |
995 | kolor.Contrast = kolor.Contrast + 0.1 | |
996 | wait() | |
997 | end | |
998 | for i = 0 , 5 do | |
999 | msh.Scale = msh.Scale + vt(val,val,val) | |
1000 | val = val + 0.05*5 | |
1001 | kolor.Brightness = kolor.Brightness + 0.5 | |
1002 | kolor.Contrast = kolor.Contrast - 0.5 | |
1003 | wait() | |
1004 | end | |
1005 | for i = 0 , 5 do | |
1006 | msh.Scale = msh.Scale + vt(val,val,val) | |
1007 | val = val - 0.05*5 | |
1008 | kolor.Brightness = kolor.Brightness - 0.5 | |
1009 | kolor.Contrast = kolor.Contrast + 0.5 | |
1010 | wait() | |
1011 | end | |
1012 | for i = 0 , 5 do | |
1013 | msh.Scale = msh.Scale + vt(val,val,val) | |
1014 | val = val + 0.05*10 | |
1015 | kolor.Brightness = kolor.Brightness + 0.5 | |
1016 | kolor.Contrast = kolor.Contrast - 0.5 | |
1017 | wait() | |
1018 | end | |
1019 | for i = 0 , 5 do | |
1020 | msh.Scale = msh.Scale + vt(val,val,val) | |
1021 | val = val - 0.05*10 | |
1022 | kolor.Brightness = kolor.Brightness - 0.5 | |
1023 | kolor.Contrast = kolor.Contrast + 0.5 | |
1024 | wait() | |
1025 | end | |
1026 | for i = 0 , 5 do | |
1027 | msh.Scale = msh.Scale + vt(val,val,val) | |
1028 | val = val + 0.05*20 | |
1029 | kolor.Brightness = kolor.Brightness + 0.5 | |
1030 | kolor.Contrast = kolor.Contrast - 0.5 | |
1031 | wait() | |
1032 | end | |
1033 | for i = 0 , 5 do | |
1034 | msh.Scale = msh.Scale + vt(val,val,val) | |
1035 | val = val - 0.05*20 | |
1036 | kolor.Brightness = kolor.Brightness - 0.5 | |
1037 | kolor.Contrast = kolor.Contrast + 0.5 | |
1038 | wait() | |
1039 | end | |
1040 | for i = 0 , 5 do | |
1041 | msh.Scale = msh.Scale + vt(val,val,val) | |
1042 | val = val + 0.05*40 | |
1043 | kolor.Brightness = kolor.Brightness + 0.5 | |
1044 | kolor.Contrast = kolor.Contrast - 0.5 | |
1045 | wait() | |
1046 | end | |
1047 | for i = 0 , 5 do | |
1048 | msh.Scale = msh.Scale + vt(val,val,val) | |
1049 | val = val - 0.05*40 | |
1050 | kolor.Brightness = kolor.Brightness - 0.5 | |
1051 | kolor.Contrast = kolor.Contrast + 0.5 | |
1052 | wait() | |
1053 | end | |
1054 | for i = 0 , 5 do | |
1055 | msh.Scale = msh.Scale + vt(val,val,val) | |
1056 | val = val + 0.05*45 | |
1057 | kolor.Brightness = kolor.Brightness + 0.5 | |
1058 | kolor.Contrast = kolor.Contrast - 0.5 | |
1059 | wait() | |
1060 | end | |
1061 | for i = 0 , 5 do | |
1062 | msh.Scale = msh.Scale + vt(val,val,val) | |
1063 | val = val - 0.05*45 | |
1064 | kolor.Brightness = kolor.Brightness - 0.5 | |
1065 | kolor.Contrast = kolor.Contrast + 0.5 | |
1066 | wait() | |
1067 | end | |
1068 | for i = 0 , 5 do | |
1069 | msh.Scale = msh.Scale + vt(val,val,val) | |
1070 | val = val + 0.05*50 | |
1071 | kolor.Brightness = kolor.Brightness + 0.5 | |
1072 | kolor.Contrast = kolor.Contrast - 0.5 | |
1073 | wait() | |
1074 | end | |
1075 | for i = 0 , 20 do | |
1076 | sloc.Transparency = sloc.Transparency + 0.055 | |
1077 | msh.Scale = msh.Scale + vt(val,val,val) | |
1078 | val = val - 0.05*50 | |
1079 | wait() | |
1080 | end | |
1081 | kolor:Destroy() | |
1082 | ExplodeMass2(125,sloc) | |
1083 | sloc:Destroy() | |
1084 | forcefield:Destroy() | |
1085 | end | |
1086 | if ultcooldown < 1 then | |
1087 | for i = 0, 29 do | |
1088 | ultcooldown = ultcooldown + 1 | |
1089 | wait(1) | |
1090 | end | |
1091 | end | |
1092 | end | |
1093 | ||
1094 | function Blaze() | |
1095 | if ultcooldown >= 30 then | |
1096 | local kolor = Instance.new("ColorCorrectionEffect",game.Lighting) | |
1097 | local see = Instance.new("Sound",workspace) | |
1098 | see.SoundId = "rbxassetid://21420962" | |
1099 | see.Pitch = 1 | |
1100 | see.Volume = 2.75 | |
1101 | see.Looped = false | |
1102 | see:Play() | |
1103 | kolor.Brightness = -1 | |
1104 | kolor.Contrast = -1 | |
1105 | kolor.TintColor = Character.Torso.BrickColor.Color | |
1106 | wait(0.1) | |
1107 | for i = 0, 9 do | |
1108 | kolor.Brightness = kolor.Brightness + 0.35 | |
1109 | kolor.Contrast = kolor.Contrast + 0.35 | |
1110 | wait(0.05) | |
1111 | end | |
1112 | for i = 0, 9 do | |
1113 | kolor.Brightness = kolor.Brightness - 0.35 | |
1114 | kolor.Contrast = kolor.Contrast - 0.35 | |
1115 | wait(0.05) | |
1116 | end | |
1117 | kolor:Destroy() | |
1118 | local sloc = Instance.new("Part",workspace) | |
1119 | local msh = Instance.new("SpecialMesh",sloc) | |
1120 | msh.MeshType = "Sphere" | |
1121 | sloc.Size = vt(1,1,1) | |
1122 | sloc.Transparency = 1 | |
1123 | sloc.BrickColor = Character.Torso.BrickColor | |
1124 | sloc.Position = hed.Position + vt(0,5,0) | |
1125 | sloc.CanCollide = false | |
1126 | sloc.Shape = "Ball" | |
1127 | sloc.Anchored = true | |
1128 | sloc.Material = "Neon" | |
1129 | local s = Instance.new("Sound",workspace) | |
1130 | s.SoundId = "rbxassetid://342793847" | |
1131 | s.Pitch = 1 | |
1132 | s.Volume = 1 | |
1133 | s.Looped = false | |
1134 | s:Play() | |
1135 | local s2 = Instance.new("Sound",workspace) | |
1136 | s2.SoundId = "rbxassetid://137463716" | |
1137 | s2.Pitch = 0.25 | |
1138 | s2.Volume = 1 | |
1139 | s2.Looped = false | |
1140 | s2:Play() | |
1141 | local val = 0.65*5 | |
1142 | for i = 0 , 75 do | |
1143 | sloc.Transparency = sloc.Transparency - 0.035 | |
1144 | msh.Scale = msh.Scale + vt(val,val,val) | |
1145 | sloc.Position = sloc.Position + vt(0,val,0) | |
1146 | val = val - 0.0075*5 | |
1147 | wait() | |
1148 | end | |
1149 | msh.Scale = msh.Scale - vt(1,1,1) | |
1150 | sloc.Transparency = sloc.Transparency + 0.015 | |
1151 | local spart = Instance.new("Part",workspace) | |
1152 | local msh2 = Instance.new("SpecialMesh",spart) | |
1153 | msh2.MeshType = "Sphere" | |
1154 | spart.Size = vt(2,2,2) | |
1155 | spart.Shape = "Ball" | |
1156 | spart.BrickColor = Character.Torso.BrickColor | |
1157 | spart.Material = "Neon" | |
1158 | spart.Transparency = 0 | |
1159 | spart.Anchored = false | |
1160 | msh2.Scale = msh.Scale/2 | |
1161 | spart.Rotation = hed.Rotation | |
1162 | spart.CanCollide = false | |
1163 | spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0)) | |
1164 | local bv = Instance.new("BodyVelocity") | |
1165 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1166 | bv.velocity = spart.CFrame.lookVector*75 | |
1167 | bv.Parent = spart | |
1168 | local tick = Instance.new("Sound",workspace) | |
1169 | tick.SoundId = "rbxassetid://203691467" | |
1170 | tick.Volume = 2 | |
1171 | tick.Pitch = 0.75 | |
1172 | tick:Play() | |
1173 | sloc:Destroy() | |
1174 | wait(0.00001) | |
1175 | pewdiepie=spart.Touched:connect(function(hit) | |
1176 | ExplodeMass(100,spart) | |
1177 | end) | |
1178 | sloc:Destroy() | |
1179 | end | |
1180 | if ultcooldown < 1 then | |
1181 | for i = 0, 29 do | |
1182 | ultcooldown = ultcooldown + 1 | |
1183 | wait(1) | |
1184 | end | |
1185 | end | |
1186 | end | |
1187 | ||
1188 | euler = CFrame.fromEulerAnglesXYZ | |
1189 | angles = CFrame.Angles | |
1190 | mr = math.rad | |
1191 | local Weapon = {} | |
1192 | local p = game.Players.LocalPlayer | |
1193 | local char = p.Character | |
1194 | local mouse = p:GetMouse() | |
1195 | local larm = char["Left Arm"] | |
1196 | local rarm = char["Right Arm"] | |
1197 | local lleg = char["Left Leg"] | |
1198 | local rleg = char["Right Leg"] | |
1199 | local hed = char.Head | |
1200 | local torso = char.Torso | |
1201 | local hum = char.Humanoid | |
1202 | local cam = game.Workspace.CurrentCamera | |
1203 | local root = char.HumanoidRootPart | |
1204 | local deb = false | |
1205 | local shot = 0 | |
1206 | local debris=game:service"Debris" | |
1207 | local l = game:GetService("Lighting") | |
1208 | local rs = game:GetService("RunService").RenderStepped | |
1209 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
1210 | math.randomseed(os.time()) | |
1211 | for i,v in pairs (hed:GetChildren()) do | |
1212 | if v:IsA("Sound") then | |
1213 | v:Destroy() | |
1214 | end | |
1215 | end | |
1216 | ||
1217 | wait(0.016666666666667) | |
1218 | script.Archivable = false | |
1219 | Effects = {} | |
1220 | local Player = game.Players.localPlayer | |
1221 | local Character = Player.Character | |
1222 | local Humanoid = Character.Humanoid | |
1223 | local mouse = Player:GetMouse() | |
1224 | local m = Instance.new("Model", Character) | |
1225 | m.Name = "WeaponModel" | |
1226 | local effect = Instance.new("Model", Character) | |
1227 | effect.Name = "effecsfsafzx" | |
1228 | local demon = Instance.new("Model", Character) | |
1229 | demon.Name = "demdemd" | |
1230 | local LeftArm = Character["Left Arm"] | |
1231 | local RightArm = Character["Right Arm"] | |
1232 | local LeftLeg = Character["Left Leg"] | |
1233 | local RightLeg = Character["Right Leg"] | |
1234 | local do2target = nil | |
1235 | local Head = Character.Head | |
1236 | local Torso = Character.Torso | |
1237 | TorsoColor = Torso.BrickColor | |
1238 | z = Instance.new("Sound", Torso) | |
1239 | z.SoundId = "rbxassetid://1093100386" -- Put Music ID Here. | |
1240 | z.Looped = true | |
1241 | z.Pitch = 1 | |
1242 | z.Volume = 5 | |
1243 | wait(.1) | |
1244 | z:Play() | |
1245 | local cam = game.Workspace.CurrentCamera | |
1246 | local RootPart = Character.HumanoidRootPart | |
1247 | local RootJoint = RootPart.RootJoint | |
1248 | local equipped = false | |
1249 | local attack = false | |
1250 | local Anim = "Idle" | |
1251 | local idle = 0 | |
1252 | local attacktype = 1 | |
1253 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
1254 | local velocity = RootPart.Velocity.y | |
1255 | local sine = 0 | |
1256 | local change = 1 | |
1257 | local mana = 0 | |
1258 | local it = Instance.new | |
1259 | vt = Vector3.new | |
1260 | local grabbed = false | |
1261 | local cf = CFrame.new | |
1262 | local mr = math.rad | |
1263 | local angles = CFrame.Angles | |
1264 | local ud = UDim2.new | |
1265 | local c3 = Color3.new | |
1266 | local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1267 | Humanoid.Animator:Destroy() | |
1268 | Character.Animate:Destroy() | |
1269 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
1270 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
1271 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
1272 | RSH = nil | |
1273 | RW = Instance.new("Weld") | |
1274 | LW = Instance.new("Weld") | |
1275 | RH = Torso["Right Hip"] | |
1276 | LH = Torso["Left Hip"] | |
1277 | RSH = Torso["Right Shoulder"] | |
1278 | LSH = Torso["Left Shoulder"] | |
1279 | RSH.Parent = nil | |
1280 | LSH.Parent = nil | |
1281 | RW.Name = "RW" | |
1282 | RW.Part0 = Torso | |
1283 | RW.C0 = cf(1.5, 0.5, 0) | |
1284 | RW.C1 = cf(0, 0.5, 0) | |
1285 | RW.Part1 = RightArm | |
1286 | RW.Parent = Torso | |
1287 | LW.Name = "LW" | |
1288 | LW.Part0 = Torso | |
1289 | LW.C0 = cf(-1.5, 0.5, 0) | |
1290 | LW.C1 = cf(0, 0.5, 0) | |
1291 | LW.Part1 = LeftArm | |
1292 | LW.Parent = Torso | |
1293 | clerp = function(a, b, t) | |
1294 | ||
1295 | return a:lerp(b, t) | |
1296 | end | |
1297 | ||
1298 | local RbxUtility = LoadLibrary("RbxUtility") | |
1299 | local Create = RbxUtility.Create | |
1300 | RemoveOutlines = function(part) | |
1301 | ||
1302 | part.TopSurface = 10 | |
1303 | end | |
1304 | ||
1305 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1306 | ||
1307 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
1308 | RemoveOutlines(Part) | |
1309 | return Part | |
1310 | end | |
1311 | ||
1312 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1313 | ||
1314 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
1315 | if Mesh == "SpecialMesh" then | |
1316 | Msh.MeshType = MeshType | |
1317 | Msh.MeshId = MeshId | |
1318 | end | |
1319 | return Msh | |
1320 | end | |
1321 | ||
1322 | local co1 = 3 | |
1323 | local co2 = 10 | |
1324 | local co3 = 15 | |
1325 | local co4 = 30 | |
1326 | local cooldown1 = 0 | |
1327 | local cooldown2 = 0 | |
1328 | local cooldown3 = 0 | |
1329 | local cooldown4 = 0 | |
1330 | local maxEnergy = 100 | |
1331 | local Energy = 0 | |
1332 | local skill1stam = 1000 | |
1333 | local skill2stam = 1000 | |
1334 | local skill3stam = 1000 | |
1335 | local skill4stam = 1000 | |
1336 | local recovermana = 5 | |
1337 | local skillcolorscheme = BrickColor.new("White").Color | |
1338 | local scrn = Instance.new("ScreenGui", Player.PlayerGui) | |
1339 | makeframe = function(par, trans, pos, size, color) | |
1340 | ||
1341 | local frame = Instance.new("Frame", par) | |
1342 | frame.BackgroundTransparency = trans | |
1343 | frame.BorderSizePixel = 0 | |
1344 | frame.Position = pos | |
1345 | frame.Size = size | |
1346 | frame.BackgroundColor3 = color | |
1347 | return frame | |
1348 | end | |
1349 | ||
1350 | makelabel = function(par, text) | |
1351 | ||
1352 | local label = Instance.new("TextLabel", par) | |
1353 | label.BackgroundTransparency = 1 | |
1354 | label.Size = UDim2.new(1, 0, 1, 0) | |
1355 | label.Position = UDim2.new(0, 0, 0, 0) | |
1356 | label.TextColor3 = Color3.new(255, 255, 255) | |
1357 | label.TextStrokeTransparency = 0 | |
1358 | label.FontSize = Enum.FontSize.Size32 | |
1359 | label.Font = Enum.Font.SourceSansLight | |
1360 | label.BorderSizePixel = 0 | |
1361 | label.TextScaled = true | |
1362 | label.Text = text | |
1363 | end | |
1364 | ||
1365 | ArtificialHB = Instance.new("BindableEvent", script) | |
1366 | ArtificialHB.Name = "Heartbeat" | |
1367 | script:WaitForChild("Heartbeat") | |
1368 | frame = 0.033333333333333 | |
1369 | tf = 0 | |
1370 | allowframeloss = false | |
1371 | tossremainder = false | |
1372 | lastframe = tick() | |
1373 | script.Heartbeat:Fire() | |
1374 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1375 | ||
1376 | tf = tf + s | |
1377 | if frame <= tf then | |
1378 | if allowframeloss then | |
1379 | script.Heartbeat:Fire() | |
1380 | lastframe = tick() | |
1381 | else | |
1382 | for i = 1, math.floor(tf / frame) do | |
1383 | script.Heartbeat:Fire() | |
1384 | end | |
1385 | lastframe = tick() | |
1386 | end | |
1387 | if tossremainder then | |
1388 | tf = 0 | |
1389 | else | |
1390 | tf = tf - frame * math.floor(tf / frame) | |
1391 | end | |
1392 | end | |
1393 | end | |
1394 | ) | |
1395 | swait = function(num) | |
1396 | ||
1397 | if num == 0 or num == nil then | |
1398 | ArtificialHB.Event:wait() | |
1399 | else | |
1400 | for i = 0, num do | |
1401 | ArtificialHB.Event:wait() | |
1402 | end | |
1403 | end | |
1404 | end | |
1405 | ||
1406 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
1407 | ||
1408 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
1409 | return Weld | |
1410 | end | |
1411 | ||
1412 | rayCast = function(Position, Direction, Range, Ignore) | |
1413 | ||
1414 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1415 | end | |
1416 | ||
1417 | CreateSound = function(id, par, vol, pit) | |
1418 | ||
1419 | coroutine.resume(coroutine.create(function() | |
1420 | ||
1421 | local sou = Instance.new("Sound", par or workspace) | |
1422 | sou.Volume = vol | |
1423 | sou.Pitch = pit or 1 | |
1424 | sou.SoundId = id | |
1425 | swait() | |
1426 | sou:play() | |
1427 | game:GetService("Debris"):AddItem(sou, 6) | |
1428 | end | |
1429 | )) | |
1430 | end | |
1431 | ||
1432 | local getclosest = function(obj, distance) | |
1433 | ||
1434 | local last, lastx = distance + 1, nil | |
1435 | for i,v in pairs(workspace:GetChildren()) do | |
1436 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
1437 | local t = v.Torso | |
1438 | local dist = t.Position - obj.Position.magnitude | |
1439 | if dist <= distance and dist < last then | |
1440 | last = dist | |
1441 | lastx = v | |
1442 | end | |
1443 | end | |
1444 | end | |
1445 | return lastx | |
1446 | end | |
1447 | ||
1448 | CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size) | |
1449 | ||
1450 | if PartType == "Part" then | |
1451 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
1452 | RemoveOutlines(Part) | |
1453 | return Part | |
1454 | else | |
1455 | do | |
1456 | if PartType == "WedgePart" then | |
1457 | local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
1458 | RemoveOutlines(Part) | |
1459 | return Part | |
1460 | end | |
1461 | end | |
1462 | end | |
1463 | end | |
1464 | ||
1465 | for _,c in pairs(m:children()) do | |
1466 | if c.className == "Weld" then | |
1467 | table.insert(CBladeWelds, R67_PC6072) | |
1468 | print(R66_PC6093) | |
1469 | end | |
1470 | end | |
1471 | -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg' | |
1472 | ||
1473 | -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg' | |
1474 | ||
1475 | --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5)) | |
1476 | -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg' | |
1477 | ||
1478 | -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg' | |
1479 | ||
1480 | HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
1481 | CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3)) | |
1482 | FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013)) | |
1483 | FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1484 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
1485 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
1486 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5)) | |
1487 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
1488 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
1489 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1)) | |
1490 | TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3)) | |
1491 | TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
1492 | CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5)) | |
1493 | local DBlade = {} | |
1494 | local DBladeWelds = {} | |
1495 | for _,c in pairs(demon:children()) do | |
1496 | if c.className == "Part" then | |
1497 | table.insert(DBlade, c) | |
1498 | end | |
1499 | end | |
1500 | for _,c in pairs(demon:children()) do | |
1501 | if c.className == "Weld" then | |
1502 | table.insert(DBladeWelds, c) | |
1503 | print(c) | |
1504 | end | |
1505 | end | |
1506 | demon.Parent = nil | |
1507 | ||
1508 | Debounces = { | |
1509 | CanAttack = true; | |
1510 | NoIdl = false; | |
1511 | Slashing = false; | |
1512 | Slashed = false; | |
1513 | RPunch = false; | |
1514 | RPunched = false; | |
1515 | LPunch = false; | |
1516 | LPunched = false; | |
1517 | } | |
1518 | local Touche = {char.Name, } | |
1519 | ---------------------------------------------------- | |
1520 | function lerp(a, b, t) -- Linear interpolation | |
1521 | return a + (b - a)*t | |
1522 | end | |
1523 | ||
1524 | function slerp(a, b, t) --Spherical interpolation | |
1525 | dot = a:Dot(b) | |
1526 | if dot > 0.99999 or dot < -0.99999 then | |
1527 | return t <= 0.5 and a or b | |
1528 | else | |
1529 | r = math.acos(dot) | |
1530 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
1531 | end | |
1532 | end | |
1533 | ||
1534 | function matrixInterpolate(a, b, t) | |
1535 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
1536 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
1537 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
1538 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
1539 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
1540 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
1541 | local t = v1:Dot(v2) | |
1542 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
1543 | return CFrame.new() | |
1544 | end | |
1545 | return CFrame.new( | |
1546 | v0.x, v0.y, v0.z, | |
1547 | v1.x, v1.y, v1.z, | |
1548 | v2.x, v2.y, v2.z, | |
1549 | v3.x, v3.y, v3.z) | |
1550 | end | |
1551 | ---------------------------------------------------- | |
1552 | function genWeld(a,b) | |
1553 | local w = Instance.new("Weld",a) | |
1554 | w.Part0 = a | |
1555 | w.Part1 = b | |
1556 | return w | |
1557 | end | |
1558 | function weld(a, b) | |
1559 | local weld = Instance.new("Weld") | |
1560 | weld.Name = "W" | |
1561 | weld.Part0 = a | |
1562 | weld.Part1 = b | |
1563 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
1564 | weld.Parent = a | |
1565 | return weld; | |
1566 | end | |
1567 | ---------------------------------------------------- | |
1568 | function Lerp(c1,c2,al) | |
1569 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
1570 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
1571 | for i,v in pairs(com1) do | |
1572 | com1[i] = v+(com2[i]-v)*al | |
1573 | end | |
1574 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
1575 | end | |
1576 | ---------------------------------------------------- | |
1577 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
1578 | local wld = Instance.new("Weld", wp1) | |
1579 | wld.Part0 = wp0 | |
1580 | wld.Part1 = wp1 | |
1581 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
1582 | end | |
1583 | ---------------------------------------------------- | |
1584 | function Tween(a,b,c) | |
1585 | return a+(b-a)*c | |
1586 | end | |
1587 | ---------------------------------------------------- | |
1588 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1589 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1590 | local List = {} | |
1591 | for i,v in pairs(workspace:GetChildren())do | |
1592 | if v:IsA("Model")then | |
1593 | if v:findFirstChild("Torso")then | |
1594 | if v ~= char then | |
1595 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1596 | table.insert(List,v) | |
1597 | end | |
1598 | end | |
1599 | end | |
1600 | end | |
1601 | end | |
1602 | return List | |
1603 | end | |
1604 | ||
1605 | mod3 = Instance.new("Model",rleg) | |
1606 | ||
1607 | function Stomp() | |
1608 | part=Instance.new('Part',mod3) | |
1609 | part.Anchored=true | |
1610 | part.CanCollide=false | |
1611 | part.FormFactor='Custom' | |
1612 | part.Size=Vector3.new(.2,.2,.2) | |
1613 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
1614 | part.Transparency=.7 | |
1615 | part.BrickColor=BrickColor.new('Bright green') | |
1616 | mesh=Instance.new('SpecialMesh',part) | |
1617 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1618 | mesh.Scale=Vector3.new(25,25,25) | |
1619 | part2=part:clone() | |
1620 | part2.Parent=mod3 | |
1621 | part2.BrickColor=BrickColor.new('Bright green') | |
1622 | mesh2=mesh:clone() | |
1623 | mesh2.Parent=part2 | |
1624 | mesh2.Scale=Vector3.new(15,15,15) | |
1625 | part3=part:clone() | |
1626 | part3.Parent=mod3 | |
1627 | part3.TopSurface=0 | |
1628 | part3.BottomSurface=0 | |
1629 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
1630 | mesh3=Instance.new('SpecialMesh',part3) | |
1631 | mesh3.MeshType = 3 | |
1632 | mesh3.Scale=Vector3.new(12,12,12) | |
1633 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
1634 | if v:FindFirstChild('Humanoid') then | |
1635 | v.Humanoid:TakeDamage(math.random(20,60)) | |
1636 | v.Humanoid.PlatformStand = true | |
1637 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1638 | end | |
1639 | end | |
1640 | coroutine.resume(coroutine.create(function() | |
1641 | for i=0,3.8,0.05 do | |
1642 | wait() | |
1643 | part.CFrame=part.CFrame | |
1644 | part.Transparency=i | |
1645 | mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8) | |
1646 | part2.CFrame=part2.CFrame | |
1647 | part2.Transparency=i | |
1648 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
1649 | part3.CFrame=part3.CFrame | |
1650 | part3.Transparency=i | |
1651 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
1652 | end | |
1653 | end)) | |
1654 | end | |
1655 | ---------------------------------------------------- | |
1656 | function nwPrt(prnt,siz,cf,col) | |
1657 | local prt=Instance.new("Part") | |
1658 | prt.Parent=prnt | |
1659 | prt.FormFactor=3 | |
1660 | prt.Name="Part" | |
1661 | prt.Size=siz | |
1662 | prt.CanCollide=false | |
1663 | prt.Anchored=true | |
1664 | prt.Locked=true | |
1665 | prt.TopSurface=10 | |
1666 | prt.BottomSurface=10 | |
1667 | prt.FrontSurface=10 | |
1668 | prt.BackSurface=10 | |
1669 | prt.LeftSurface=10 | |
1670 | prt.RightSurface=10 | |
1671 | prt:BreakJoints() | |
1672 | prt.CFrame=cf or CFrame.new(30,10,30) | |
1673 | prt.Material="Neon" | |
1674 | prt.BrickColor=TorsoColor | |
1675 | m=Instance.new("SpecialMesh",prt) | |
1676 | m.MeshType=6 | |
1677 | return prt | |
1678 | end | |
1679 | ---------------------------------------------------- | |
1680 | function nwSnd(prnt,pch,vol,id) | |
1681 | local s=Instance.new("Sound",prnt) | |
1682 | s.Pitch=pch | |
1683 | s.Volume=vol | |
1684 | s.SoundId="rbxassetid://"..id | |
1685 | s.PlayOnRemove=true | |
1686 | return s | |
1687 | end | |
1688 | ---------------------------------------------------- | |
1689 | function newRay(start,face,range,wat) | |
1690 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
1691 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
1692 | return rey,hit,pos | |
1693 | end | |
1694 | ---------------------------------------------------- | |
1695 | function Lerp(c1,c2,al) | |
1696 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
1697 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
1698 | for i,v in pairs(com1) do | |
1699 | com1[i] = v+(com2[i]-v)*al | |
1700 | end | |
1701 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
1702 | end | |
1703 | ---------------------------------------------------- | |
1704 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
1705 | local wld = Instance.new("Weld", wp1) | |
1706 | wld.Part0 = wp0 | |
1707 | wld.Part1 = wp1 | |
1708 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
1709 | end | |
1710 | ---------------------------------------------------- | |
1711 | function weld5(part0, part1, c0, c1) | |
1712 | weeld=Instance.new("Weld", part0) | |
1713 | weeld.Part0=part0 | |
1714 | weeld.Part1=part1 | |
1715 | weeld.C0=c0 | |
1716 | weeld.C1=c1 | |
1717 | return weeld | |
1718 | end | |
1719 | ---------------------------------------------------- | |
1720 | function HasntTouched(plrname) | |
1721 | local ret = true | |
1722 | for _, v in pairs(Touche) do | |
1723 | if v == plrname then | |
1724 | ret = false | |
1725 | end | |
1726 | end | |
1727 | return ret | |
1728 | end | |
1729 | ---------------------------------------------------- | |
1730 | newWeld(torso, larm, -1.5, 0.5, 0) | |
1731 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
1732 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
1733 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
1734 | newWeld(torso, hed, 0, 1.5, 0) | |
1735 | newWeld(torso, lleg, -0.5, -1, 0) | |
1736 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
1737 | newWeld(torso, rleg, 0.5, -1, 0) | |
1738 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
1739 | newWeld(root, torso, 0, -1, 0) | |
1740 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
1741 | ---------------------------------------------------- | |
1742 | z = Instance.new("Sound", char) | |
1743 | z.SoundId = "rbxassetid://0"--0 | |
1744 | z.Looped = true | |
1745 | z.Pitch = 0 | |
1746 | z.Volume = 0 | |
1747 | wait(.1) | |
1748 | z:Play() | |
1749 | ---------------------------------------------------- | |
1750 | local Transforming = true | |
1751 | hum.WalkSpeed = 0 | |
1752 | local fx = Instance.new("Part",torso) | |
1753 | wit = torso.BrickColor.Color | |
1754 | wit2 = Color3.new(0,0,0) | |
1755 | local glowz = Instance.new("ParticleEmitter",fx) | |
1756 | glowz.LightEmission = 1 | |
1757 | glowz.Texture = "rbxassetid://284205403" | |
1758 | glowz.Color = ColorSequence.new(wit) | |
1759 | glowz.Size = NumberSequence.new(5) | |
1760 | glowz.Speed = NumberRange.new(25,50) | |
1761 | glowz.LockedToPart = false | |
1762 | glowz.Transparency = NumberSequence.new(0.75) | |
1763 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1764 | glowz.Lifetime = NumberRange.new(1) | |
1765 | glowz.Rate = 50000 | |
1766 | glowz.VelocitySpread = 9001 | |
1767 | local glowz2 = Instance.new("ParticleEmitter",fx) | |
1768 | glowz2.LightEmission = 0.5 | |
1769 | glowz.Texture = "rbxassetid://284205403" | |
1770 | glowz2.Color = ColorSequence.new(wit2) | |
1771 | glowz2.Size = NumberSequence.new(5) | |
1772 | glowz2.Speed = NumberRange.new(25,50) | |
1773 | glowz2.LockedToPart = false | |
1774 | glowz2.Transparency = NumberSequence.new(0.75) | |
1775 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
1776 | glowz2.Lifetime = NumberRange.new(1) | |
1777 | glowz2.Rate = 50000 | |
1778 | glowz2.VelocitySpread = 9001 | |
1779 | fx.Anchored = true | |
1780 | fx.Material = "Neon" | |
1781 | fx.CanCollide = false | |
1782 | fx.Locked = true | |
1783 | fx.Transparency = 1 | |
1784 | fx.Material = "Neon" | |
1785 | fx.Size = Vector3.new(1,1,1) | |
1786 | fx.TopSurface = "SmoothNoOutlines" | |
1787 | fx.BottomSurface = "SmoothNoOutlines" | |
1788 | fx.BrickColor = BrickColor.new("Really black") | |
1789 | fxm = Instance.new("SpecialMesh",fx) | |
1790 | fxm.MeshType = "Sphere" | |
1791 | local sa2 = Instance.new("Sound",torso) | |
1792 | sa2.SoundId = "rbxassetid://93724183" | |
1793 | sa2.Pitch = 0.5 | |
1794 | sa2.Volume = 5 | |
1795 | sa2.Looped = false | |
1796 | sa2:Play() | |
1797 | local value = 1 | |
1798 | fxm.Scale = Vector3.new(1,1,1) | |
1799 | for i = 1, 20 do rs:wait() | |
1800 | value = value - 0.05 | |
1801 | fx.Transparency = fx.Transparency - (1/20) | |
1802 | fx.CFrame = torso.CFrame | |
1803 | fxm.Scale = fxm.Scale + Vector3.new(value,value,value) | |
1804 | rs:wait() | |
1805 | end | |
1806 | ---------------------------------------------------- | |
1807 | GroundWave1 = function() | |
1808 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1809 | local Colors = {"White", "Really black"} | |
1810 | local wave = Instance.new("Part", torso) | |
1811 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1812 | wave.Anchored = true | |
1813 | wave.CanCollide = false | |
1814 | wave.Locked = true | |
1815 | wave.Size = Vector3.new(1, 1, 1) | |
1816 | wave.TopSurface = "Smooth" | |
1817 | wave.BottomSurface = "Smooth" | |
1818 | wave.Transparency = 0.35 | |
1819 | wave.CFrame = HandCF | |
1820 | wm = Instance.new("SpecialMesh", wave) | |
1821 | wm.MeshId = "rbxassetid://3270017" | |
1822 | coroutine.wrap(function() | |
1823 | for i = 1, 30, 1 do | |
1824 | wm.Scale = Vector3.new(50, 50, 1 + i*50) | |
1825 | wave.Size = wm.Scale | |
1826 | wave.CFrame = HandCF | |
1827 | wave.Transparency = i/30 | |
1828 | wait() | |
1829 | end | |
1830 | wait() | |
1831 | wave:Destroy() | |
1832 | end)() | |
1833 | end | |
1834 | ---------------------------------------------------- | |
1835 | GroundWave = function() | |
1836 | if Transforming == true then | |
1837 | local value = 5 | |
1838 | local value2 = 10 | |
1839 | local value3 = 20 | |
1840 | local sa2 = Instance.new("Sound",torso) | |
1841 | sa2.SoundId = "rbxassetid://413682983" | |
1842 | sa2.Pitch = 1 | |
1843 | sa2.Volume = 10 | |
1844 | sa2.Looped = false | |
1845 | sa2:Play() | |
1846 | local wave = Instance.new("Part", torso) | |
1847 | local glowz = Instance.new("ParticleEmitter",wave) | |
1848 | glowz.LightEmission = 1 | |
1849 | glowz.Texture = "rbxassetid://284205403" | |
1850 | glowz.Color = ColorSequence.new(wit) | |
1851 | glowz.Size = NumberSequence.new(30) | |
1852 | glowz.Speed = NumberRange.new(25,100) | |
1853 | glowz.LockedToPart = false | |
1854 | glowz.Transparency = NumberSequence.new(0.75) | |
1855 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1856 | glowz.Lifetime = NumberRange.new(1) | |
1857 | glowz.Rate = 50000 | |
1858 | glowz.VelocitySpread = 9001 | |
1859 | local glowz2 = Instance.new("ParticleEmitter",wave) | |
1860 | glowz2.LightEmission = 1 | |
1861 | glowz.Texture = "rbxassetid://284205403" | |
1862 | glowz2.Color = ColorSequence.new(wit) | |
1863 | glowz2.Size = NumberSequence.new(30) | |
1864 | glowz2.Speed = NumberRange.new(25,100) | |
1865 | glowz2.LockedToPart = false | |
1866 | glowz2.Transparency = NumberSequence.new(0.75) | |
1867 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
1868 | glowz2.Lifetime = NumberRange.new(1) | |
1869 | glowz2.Rate = 50000 | |
1870 | glowz2.VelocitySpread = 9001 | |
1871 | wave.BrickColor = TorsoColor | |
1872 | wave.Anchored = true | |
1873 | wave.CanCollide = false | |
1874 | wave.Locked = true | |
1875 | wave.Size = Vector3.new(1, 1, 1) | |
1876 | wave.TopSurface = "Smooth" | |
1877 | wave.BottomSurface = "Smooth" | |
1878 | wave.Transparency = 0.35 | |
1879 | wave.CFrame = fx.CFrame | |
1880 | wave.Material = "Neon" | |
1881 | wm = Instance.new("SpecialMesh", wave) | |
1882 | wm.MeshType = "Sphere" | |
1883 | wm.Scale = Vector3.new(1,1,1) | |
1884 | local wave2 = Instance.new("Part", torso) | |
1885 | wave2.BrickColor = TorsoColor | |
1886 | wave2.Anchored = true | |
1887 | wave2.CanCollide = false | |
1888 | wave2.Locked = true | |
1889 | wave2.Size = Vector3.new(1, 1, 1) | |
1890 | wave2.TopSurface = "Smooth" | |
1891 | wave2.BottomSurface = "Smooth" | |
1892 | wave2.Transparency = 0.35 | |
1893 | wave2.CFrame = fx.CFrame | |
1894 | wave2.Material = "Neon" | |
1895 | wm2 = Instance.new("SpecialMesh", wave2) | |
1896 | wm2.MeshType = "FileMesh" | |
1897 | wm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1898 | wm2.Scale = Vector3.new(1,1,1) | |
1899 | local wave3 = Instance.new("Part", torso) | |
1900 | wave3.BrickColor = BrickColor.new("Really black") | |
1901 | wave3.Anchored = true | |
1902 | wave3.CanCollide = false | |
1903 | wave3.Locked = true | |
1904 | wave3.Size = Vector3.new(1, 1, 1) | |
1905 | wave3.TopSurface = "Smooth" | |
1906 | wave3.BottomSurface = "Smooth" | |
1907 | wave3.Transparency = 0.35 | |
1908 | wave3.CFrame = fx.CFrame | |
1909 | wave3.Material = "Neon" | |
1910 | wm3 = Instance.new("SpecialMesh", wave3) | |
1911 | wm3.MeshType = "FileMesh" | |
1912 | wm3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1913 | wm3.Scale = Vector3.new(1,1,1) | |
1914 | coroutine.wrap(function() | |
1915 | for i = 1, 18, 1 do | |
1916 | value = value - 0.5 | |
1917 | value2 = value2 - 0.75*1.5 | |
1918 | value3 = value3 - 0.475*1.5 | |
1919 | wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5) | |
1920 | wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5) | |
1921 | wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25) | |
1922 | --wave.Size = wm.Scale | |
1923 | wave.CFrame = fx.CFrame | |
1924 | wave.Transparency = i/14 | |
1925 | --wave2.Size = wm2.Scale | |
1926 | wave2.CFrame = fx.CFrame | |
1927 | wave2.Rotation = Vector3.new(90, 0, 0) | |
1928 | wave2.Transparency = i/14 | |
1929 | --wave3.Size = wm3.Scale | |
1930 | wave3.CFrame = fx.CFrame | |
1931 | wave3.Rotation = Vector3.new(90, 0, 0) | |
1932 | wave3.Transparency = i/14 | |
1933 | wait() | |
1934 | glowz.Rate = 0 | |
1935 | glowz2.Rate = 0 | |
1936 | end | |
1937 | wait() | |
1938 | wave:Destroy() | |
1939 | wave2:Destroy() | |
1940 | wave3:Destroy() | |
1941 | end)() | |
1942 | elseif Transforming == false then | |
1943 | wait() | |
1944 | end | |
1945 | end | |
1946 | ||
1947 | for i = 1, 100 do rs:wait() | |
1948 | fx.CFrame = torso.CFrame | |
1949 | end | |
1950 | ||
1951 | Spawn(function() | |
1952 | while wait(1) do | |
1953 | GroundWave() | |
1954 | end | |
1955 | end) | |
1956 | ||
1957 | wait(4) | |
1958 | ||
1959 | Transforming = false | |
1960 | ||
1961 | local value2 = 1 | |
1962 | for i = 1, 20 do rs:wait() | |
1963 | value2 = value2 - 0.05 | |
1964 | glowz.Rate = 0 | |
1965 | glowz2.Rate = 0 | |
1966 | fx.Transparency = fx.Transparency + (1/20) | |
1967 | fx.CFrame = torso.CFrame | |
1968 | fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2) | |
1969 | rs:wait() | |
1970 | end | |
1971 | glowz:Destroy() | |
1972 | glowz2:Destroy() | |
1973 | ||
1974 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1975 | local valuer = 5 | |
1976 | local valuer2 = 10 | |
1977 | local valuer3 = 15 | |
1978 | local sa2 = Instance.new("Sound",torso) | |
1979 | sa2.SoundId = "rbxassetid://130972023" | |
1980 | sa2.Pitch = 1 | |
1981 | sa2.Volume = 5 | |
1982 | sa2.Looped = false | |
1983 | sa2:Play() | |
1984 | local sar2 = Instance.new("Sound",torso) | |
1985 | sar2.SoundId = "rbxassetid://153274423" | |
1986 | sar2.Pitch = 1 | |
1987 | sar2.Volume = 5 | |
1988 | sar2.Looped = false | |
1989 | sar2:Play() | |
1990 | local wave = Instance.new("Part", torso) | |
1991 | wave.BrickColor = TorsoColor | |
1992 | wave.Anchored = true | |
1993 | wave.CanCollide = false | |
1994 | wave.Locked = true | |
1995 | wave.Size = Vector3.new(1, 1, 1) | |
1996 | wave.TopSurface = "Smooth" | |
1997 | wave.BottomSurface = "Smooth" | |
1998 | wave.Transparency = 0.35 | |
1999 | wave.CFrame = HandCF | |
2000 | wm = Instance.new("SpecialMesh", wave) | |
2001 | wm.MeshId = "rbxassetid://3270017" | |
2002 | local wave2 = Instance.new("Part", torso) | |
2003 | wave2.BrickColor = BrickColor.new("Really black") | |
2004 | wave2.Anchored = true | |
2005 | wave2.CanCollide = false | |
2006 | wave2.Locked = true | |
2007 | wave2.Size = Vector3.new(1, 1, 1) | |
2008 | wave2.TopSurface = "Smooth" | |
2009 | wave2.BottomSurface = "Smooth" | |
2010 | wave2.Transparency = 0.35 | |
2011 | wave2.CFrame = HandCF | |
2012 | wm2 = Instance.new("SpecialMesh", wave2) | |
2013 | wm2.MeshId = "rbxassetid://3270017" | |
2014 | local wave3 = Instance.new("Part", torso) | |
2015 | wave3.BrickColor = TorsoColor | |
2016 | wave3.Anchored = true | |
2017 | wave3.CanCollide = false | |
2018 | wave3.Locked = true | |
2019 | wave3.Size = Vector3.new(1, 1, 1) | |
2020 | wave3.TopSurface = "Smooth" | |
2021 | wave3.BottomSurface = "Smooth" | |
2022 | wave3.Transparency = 0.35 | |
2023 | wave3.CFrame = HandCF | |
2024 | wm3 = Instance.new("SpecialMesh", wave3) | |
2025 | wm3.MeshId = "rbxassetid://3270017" | |
2026 | coroutine.wrap(function() | |
2027 | for i = 1, 14, 1 do | |
2028 | valuer = valuer - 0.35 | |
2029 | valuer2 = valuer - 0.45 | |
2030 | valuer3 = valuer3 - 0.475 | |
2031 | wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200) | |
2032 | wave.Size = wm.Scale | |
2033 | wave.CFrame = HandCF | |
2034 | wave.Transparency = i/14 | |
2035 | wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10) | |
2036 | wave2.Size = wm2.Scale | |
2037 | wave2.CFrame = HandCF | |
2038 | wave2.Transparency = i/14 | |
2039 | wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1) | |
2040 | wave3.Size = wm2.Scale | |
2041 | wave3.CFrame = HandCF | |
2042 | wave3.Transparency = i/14 | |
2043 | wait() | |
2044 | end | |
2045 | wait() | |
2046 | wave:Destroy() | |
2047 | wave2:Destroy() | |
2048 | end)() | |
2049 | hum.WalkSpeed = 30 | |
2050 | ---------------------------------------------------- | |
2051 | local cor = Instance.new("Part", char) | |
2052 | cor.Name = "Thingy" | |
2053 | cor.Locked = true | |
2054 | cor.BottomSurface = 0 | |
2055 | cor.CanCollide = false | |
2056 | cor.Size = Vector3.new(1, 13, 1) | |
2057 | cor.Transparency = 1 | |
2058 | cor.TopSurface = 0 | |
2059 | corw = Instance.new("Weld", cor) | |
2060 | corw.Part0 = rarm | |
2061 | corw.Part1 = cor | |
2062 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2063 | corw.C1 = CFrame.new(0, 0, 0) | |
2064 | weld1 = Instance.new("Weld", char) | |
2065 | weld1.Part0 = cor | |
2066 | weld1.Part1 = p6 | |
2067 | weld1.C0 = CFrame.new(0, 0, 0) | |
2068 | ---------------------------------------------------- | |
2069 | Blast = function() | |
2070 | local Colors = {"Really black", "Really black"} | |
2071 | local wave = Instance.new("Part", torso) | |
2072 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
2073 | wave.Anchored = true | |
2074 | wave.CanCollide = false | |
2075 | wave.Locked = true | |
2076 | wave.Size = Vector3.new(1, 1, 1) | |
2077 | wave.TopSurface = "Smooth" | |
2078 | wave.BottomSurface = "Smooth" | |
2079 | wave.Transparency = 0.35 | |
2080 | wave.CFrame = rarm.CFrame | |
2081 | wm = Instance.new("SpecialMesh", wave) | |
2082 | wm.MeshType = "Sphere" | |
2083 | wm.Scale = Vector3.new(1,1,1) | |
2084 | z = Instance.new("Sound",wave) | |
2085 | z.SoundId = "rbxassetid://237035051" | |
2086 | z.Volume = 1 | |
2087 | z.Pitch = .9 | |
2088 | z:Play() | |
2089 | coroutine.wrap(function() | |
2090 | for i = 1, 30, 1 do | |
2091 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
2092 | --wave.Size = wm.Scale | |
2093 | wave.CFrame = rarm.CFrame | |
2094 | wave.Transparency = (1/14) | |
2095 | rs:wait() | |
2096 | end | |
2097 | rs:wait() | |
2098 | wave:Destroy() | |
2099 | z:Destroy() | |
2100 | end)() | |
2101 | end | |
2102 | ---------------------------------------------------- | |
2103 | rarm.Touched:connect(function(ht) | |
2104 | hit = ht.Parent | |
2105 | if ht and hit:IsA("Model") then | |
2106 | if hit:FindFirstChild("Humanoid") then | |
2107 | if hit.Name ~= p.Name then | |
2108 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
2109 | Debounces.RPunched = true | |
2110 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
2111 | if Debounces.ks==true then | |
2112 | z = Instance.new("Sound",hed) | |
2113 | z.SoundId = "rbxassetid://169380525" | |
2114 | z.Pitch = ptz[math.random(1,#ptz)] | |
2115 | z.Volume = 1 | |
2116 | z:Play() | |
2117 | end | |
2118 | wait(.2) | |
2119 | Debounces.RPunched = false | |
2120 | end | |
2121 | end | |
2122 | end | |
2123 | elseif ht and hit:IsA("Hat") then | |
2124 | if hit.Parent.Name ~= p.Name then | |
2125 | if hit.Parent:FindFirstChild("Humanoid") then | |
2126 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
2127 | Debounces.RPunched = true | |
2128 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
2129 | if Debounces.ks==true then | |
2130 | z = Instance.new("Sound",hed) | |
2131 | z.SoundId = "rbxassetid://169380525" | |
2132 | z.Pitch = ptz[math.random(1,#ptz)] | |
2133 | z.Volume = 1 | |
2134 | z:Play() | |
2135 | end | |
2136 | wait(.2) | |
2137 | Debounces.RPunched = false | |
2138 | end | |
2139 | end | |
2140 | end | |
2141 | end | |
2142 | end) | |
2143 | larm.Touched:connect(function(ht) | |
2144 | hit = ht.Parent | |
2145 | if ht and hit:IsA("Model") then | |
2146 | if hit:FindFirstChild("Humanoid") then | |
2147 | if hit.Name ~= p.Name then | |
2148 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
2149 | Debounces.LPunched = true | |
2150 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
2151 | if Debounces.ks2==true then | |
2152 | z = Instance.new("Sound",hed) | |
2153 | z.SoundId = "rbxassetid://169380525" | |
2154 | z.Pitch = ptz[math.random(1,#ptz)] | |
2155 | z.Volume = 1 | |
2156 | z:Play() | |
2157 | end | |
2158 | wait(.2) | |
2159 | Debounces.LPunched = false | |
2160 | end | |
2161 | end | |
2162 | end | |
2163 | elseif ht and hit:IsA("Hat") then | |
2164 | if hit.Parent.Name ~= p.Name then | |
2165 | if hit.Parent:FindFirstChild("Humanoid") then | |
2166 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
2167 | Debounces.LPunched = true | |
2168 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
2169 | if Debounces.ks2==true then | |
2170 | z = Instance.new("Sound",hed) | |
2171 | z.SoundId = "rbxassetid://169380525" | |
2172 | z.Pitch = ptz[math.random(1,#ptz)] | |
2173 | z.Volume = 1 | |
2174 | z:Play() | |
2175 | end | |
2176 | wait(.2) | |
2177 | Debounces.LPunched = false | |
2178 | end | |
2179 | end | |
2180 | end | |
2181 | end | |
2182 | end) | |
2183 | ---------------------------------------------------- | |
2184 | mod4 = Instance.new("Model",char) | |
2185 | ||
2186 | ptez = {0.7, 0.8, 0.9, 1} | |
2187 | ||
2188 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2189 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2190 | local List = {} | |
2191 | for i,v in pairs(workspace:GetChildren())do | |
2192 | if v:IsA("Model")then | |
2193 | if v:findFirstChild("Torso")then | |
2194 | if v ~= char then | |
2195 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2196 | table.insert(List,v) | |
2197 | end | |
2198 | end | |
2199 | end | |
2200 | end | |
2201 | end | |
2202 | return List | |
2203 | end | |
2204 | ||
2205 | function Punch() | |
2206 | part=Instance.new('Part',mod4) | |
2207 | part.Anchored=true | |
2208 | part.CanCollide=false | |
2209 | part.FormFactor='Custom' | |
2210 | part.Size=Vector3.new(.2,.2,.2) | |
2211 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
2212 | part.Transparency=.7 | |
2213 | part.BrickColor=BrickColor.new('Really black') | |
2214 | mesh=Instance.new('SpecialMesh',part) | |
2215 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
2216 | mesh.Scale=Vector3.new(3,3,3) | |
2217 | part2=Instance.new('Part',mod4) | |
2218 | part2.Anchored=true | |
2219 | part2.CanCollide=false | |
2220 | part2.FormFactor='Custom' | |
2221 | part2.Size=Vector3.new(.2,.2,.2) | |
2222 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
2223 | part2.Transparency=.7 | |
2224 | part2.BrickColor=BrickColor.new('Really black') | |
2225 | mesh2=Instance.new('SpecialMesh',part2) | |
2226 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2227 | mesh2.Scale=Vector3.new(3,1.5,3) | |
2228 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
2229 | if v:FindFirstChild('Humanoid') then | |
2230 | v.Humanoid:TakeDamage(math.random(2,6)) | |
2231 | end | |
2232 | end | |
2233 | coroutine.resume(coroutine.create(function() | |
2234 | for i=0,0.62,0.4 do | |
2235 | wait() | |
2236 | part.CFrame=part.CFrame | |
2237 | part.Transparency=i | |
2238 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
2239 | part2.CFrame=part2.CFrame | |
2240 | part2.Transparency=i | |
2241 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
2242 | end | |
2243 | part.Parent=nil | |
2244 | part2.Parent=nil | |
2245 | end)) | |
2246 | end | |
2247 | ---------------------------------------------------- | |
2248 | rarm.Touched:connect(function(ht) | |
2249 | hit = ht.Parent | |
2250 | if ht and hit:IsA("Model") then | |
2251 | if hit:FindFirstChild("Humanoid") then | |
2252 | if hit.Name ~= p.Name then | |
2253 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
2254 | Debounces.RPunched = true | |
2255 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
2256 | if Debounces.ks==true then | |
2257 | z = Instance.new("Sound",hed) | |
2258 | z.SoundId = "rbxassetid://169380525" | |
2259 | z.Pitch = ptz[math.random(1,#ptz)] | |
2260 | z.Volume = 1 | |
2261 | z:Play() | |
2262 | end | |
2263 | wait(.2) | |
2264 | Debounces.RPunched = false | |
2265 | end | |
2266 | end | |
2267 | end | |
2268 | elseif ht and hit:IsA("Hat") then | |
2269 | if hit.Parent.Name ~= p.Name then | |
2270 | if hit.Parent:FindFirstChild("Humanoid") then | |
2271 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
2272 | Debounces.RPunched = true | |
2273 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
2274 | if Debounces.ks==true then | |
2275 | z = Instance.new("Sound",hed) | |
2276 | z.SoundId = "rbxassetid://169380525" | |
2277 | z.Pitch = ptz[math.random(1,#ptz)] | |
2278 | z.Volume = 1 | |
2279 | z:Play() | |
2280 | end | |
2281 | wait(.2) | |
2282 | Debounces.RPunched = false | |
2283 | end | |
2284 | end | |
2285 | end | |
2286 | end | |
2287 | end) | |
2288 | larm.Touched:connect(function(ht) | |
2289 | hit = ht.Parent | |
2290 | if ht and hit:IsA("Model") then | |
2291 | if hit:FindFirstChild("Humanoid") then | |
2292 | if hit.Name ~= p.Name then | |
2293 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
2294 | Debounces.LPunched = true | |
2295 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
2296 | if Debounces.ks2==true then | |
2297 | z = Instance.new("Sound",hed) | |
2298 | z.SoundId = "rbxassetid://169380525" | |
2299 | z.Pitch = ptz[math.random(1,#ptz)] | |
2300 | z.Volume = 1 | |
2301 | z:Play() | |
2302 | end | |
2303 | wait(.2) | |
2304 | Debounces.LPunched = false | |
2305 | end | |
2306 | end | |
2307 | end | |
2308 | elseif ht and hit:IsA("Hat") then | |
2309 | if hit.Parent.Name ~= p.Name then | |
2310 | if hit.Parent:FindFirstChild("Humanoid") then | |
2311 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
2312 | Debounces.LPunched = true | |
2313 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
2314 | if Debounces.ks2==true then | |
2315 | z = Instance.new("Sound",hed) | |
2316 | z.SoundId = "rbxassetid://169380525" | |
2317 | z.Pitch = ptz[math.random(1,#ptz)] | |
2318 | z.Volume = 1 | |
2319 | z:Play() | |
2320 | end | |
2321 | wait(.2) | |
2322 | Debounces.LPunched = false | |
2323 | end | |
2324 | end | |
2325 | end | |
2326 | end | |
2327 | end) | |
2328 | ---------------------------------------------------- | |
2329 | local player = game.Players.LocalPlayer | |
2330 | local pchar = player.Character | |
2331 | local mouse = player:GetMouse() | |
2332 | local cam = workspace.CurrentCamera | |
2333 | ||
2334 | local rad = math.rad | |
2335 | ||
2336 | local keysDown = {} | |
2337 | local flySpeed = 0 | |
2338 | local MAX_FLY_SPEED = 3000 | |
2339 | ||
2340 | local canFly = false | |
2341 | local flyToggled = false | |
2342 | ||
2343 | local forward, side = 0, 0 | |
2344 | local lastForward, lastSide = 0, 0 | |
2345 | ||
2346 | local floatBP = Instance.new("BodyPosition") | |
2347 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
2348 | local flyBV = Instance.new("BodyVelocity") | |
2349 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
2350 | local turnBG = Instance.new("BodyGyro") | |
2351 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
2352 | ||
2353 | mouse.KeyDown:connect(function(key) | |
2354 | keysDown[key] = true | |
2355 | ||
2356 | if key == "f" then | |
2357 | flyToggled = not flyToggled | |
2358 | ||
2359 | if not flyToggled then | |
2360 | stanceToggle = "Normal" | |
2361 | floatBP.Parent = nil | |
2362 | flyBV.Parent = nil | |
2363 | turnBG.Parent = nil | |
2364 | root.Velocity = Vector3.new() | |
2365 | pchar.Humanoid.PlatformStand = false | |
2366 | end | |
2367 | end | |
2368 | ||
2369 | end) | |
2370 | mouse.KeyUp:connect(function(key) | |
2371 | keysDown[key] = nil | |
2372 | end) | |
2373 | ||
2374 | local function updateFly() | |
2375 | ||
2376 | if not flyToggled then return end | |
2377 | ||
2378 | lastForward = forward | |
2379 | lastSide = side | |
2380 | ||
2381 | forward = 0 | |
2382 | side = 0 | |
2383 | ||
2384 | if keysDown.w then | |
2385 | forward = forward + 1 | |
2386 | end | |
2387 | if keysDown.s then | |
2388 | forward = forward - 1 | |
2389 | end | |
2390 | if keysDown.a then | |
2391 | side = side - 1 | |
2392 | end | |
2393 | if keysDown.d then | |
2394 | side = side + 1 | |
2395 | end | |
2396 | ||
2397 | canFly = (forward ~= 0 or side ~= 0) | |
2398 | ||
2399 | if canFly then | |
2400 | stanceToggle = "Floating" | |
2401 | turnBG.Parent = root | |
2402 | floatBP.Parent = nil | |
2403 | flyBV.Parent = root | |
2404 | ||
2405 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
2406 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
2407 | else | |
2408 | floatBP.position = root.Position | |
2409 | floatBP.Parent = root | |
2410 | ||
2411 | flySpeed = flySpeed - 1 | |
2412 | if flySpeed < 0 then flySpeed = 0 end | |
2413 | end | |
2414 | ||
2415 | local camCF = cam.CoordinateFrame | |
2416 | local in_forward = canFly and forward or lastForward | |
2417 | local in_side = canFly and side or lastSide | |
2418 | ||
2419 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
2420 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
2421 | ||
2422 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
2423 | 0) | |
2424 | end | |
2425 | ||
2426 | game:service'RunService'.RenderStepped:connect(function() | |
2427 | if flyToggled then | |
2428 | pchar.Humanoid.PlatformStand = true | |
2429 | end | |
2430 | updateFly() | |
2431 | end) | |
2432 | ------------------------------- | |
2433 | mouse.KeyDown:connect(function(key) | |
2434 | if key == "q" then | |
2435 | if Debounces.CanAttack == true then | |
2436 | Debounces.CanAttack = false | |
2437 | Debounces.NoIdl = true | |
2438 | Debounces.on = true | |
2439 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2440 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2441 | local List = {} | |
2442 | for i,v in pairs(workspace:GetChildren())do | |
2443 | if v:IsA("Model")then | |
2444 | if v:findFirstChild("Torso")then | |
2445 | if v ~= char then | |
2446 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2447 | table.insert(List,v) | |
2448 | end | |
2449 | end | |
2450 | end | |
2451 | end | |
2452 | end | |
2453 | return List | |
2454 | end | |
2455 | z = Instance.new("Sound",workspace) | |
2456 | z.SoundId = "rbxassetid://232213955" | |
2457 | z.Pitch = 0.75 | |
2458 | z.Volume = 5 | |
2459 | wait(0.2) | |
2460 | z:Play() | |
2461 | sp = Instance.new("Part",rarm) | |
2462 | sp.Anchored = true | |
2463 | sp.CanCollide = false | |
2464 | sp.Locked = true | |
2465 | sp.Transparency = 0 | |
2466 | sp.Material = "Neon" | |
2467 | sp.Size = Vector3.new(2,2,2) | |
2468 | sp.TopSurface = "SmoothNoOutlines" | |
2469 | sp.BottomSurface = "SmoothNoOutlines" | |
2470 | sp.BrickColor = TorsoColor | |
2471 | spm = Instance.new("SpecialMesh",sp) | |
2472 | spm.MeshType = "Sphere" | |
2473 | spm.Scale = Vector3.new(42,42,42) | |
2474 | sp2 = Instance.new("Part", rarm) | |
2475 | sp2.Name = "Energy" | |
2476 | sp2.BrickColor = TorsoColor | |
2477 | sp2.Size = Vector3.new(1, 1, 1) | |
2478 | sp2.Shape = "Ball" | |
2479 | sp2.CanCollide = false | |
2480 | sp2.Anchored = true | |
2481 | sp2.Locked = true | |
2482 | sp2.TopSurface = 0 | |
2483 | sp2.BottomSurface = 0 | |
2484 | sp2.Transparency = 1 | |
2485 | spm2 = Instance.new("SpecialMesh",sp2) | |
2486 | spm2.MeshId = "rbxassetid://9982590" | |
2487 | spm2.Scale = Vector3.new(4,4,4) | |
2488 | sp3 = Instance.new("Part", rarm) | |
2489 | sp3.Name = "Energy" | |
2490 | sp3.BrickColor = TorsoColor | |
2491 | sp3.Size = Vector3.new(1, 1, 1) | |
2492 | sp3.Shape = "Ball" | |
2493 | sp3.CanCollide = false | |
2494 | sp3.Anchored = true | |
2495 | sp3.Locked = true | |
2496 | sp3.TopSurface = 0 | |
2497 | sp3.BottomSurface = 0 | |
2498 | sp3.Transparency = 1 | |
2499 | spm3 = Instance.new("SpecialMesh",sp2) | |
2500 | spm3.MeshId = "rbxassetid://9982590" | |
2501 | spm3.Scale = Vector3.new(8,8,8) | |
2502 | for i = 1, 20 do | |
2503 | spm.Scale = spm.Scale - Vector3.new(2,2,2) | |
2504 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
2505 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
2506 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
2507 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
2508 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2509 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2510 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2511 | if Debounces.on == false then break end | |
2512 | rs:wait() | |
2513 | end | |
2514 | for i = 1, 100, 20 do rs:wait() | |
2515 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
2516 | end | |
2517 | for i = 1, 20 do | |
2518 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
2519 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2520 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
2521 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
2522 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
2523 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2524 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2525 | if Debounces.on == false then break end | |
2526 | rs:wait() | |
2527 | end | |
2528 | sp.Transparency = 1 | |
2529 | for i = 1, 20 do | |
2530 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2531 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
2532 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
2533 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
2534 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2535 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2536 | if Debounces.on == false then break end | |
2537 | rs:wait() | |
2538 | end | |
2539 | wait(1) | |
2540 | sp.Transparency = 0 | |
2541 | sp2.Transparency = 0.84 | |
2542 | for i = 1, 20 do | |
2543 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
2544 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
2545 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
2546 | sp3.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
2547 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
2548 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
2549 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
2550 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
2551 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
2552 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
2553 | if Debounces.on == false then break end | |
2554 | rs:wait() | |
2555 | end | |
2556 | for i = 1, 2880, 50 do | |
2557 | rs:wait() | |
2558 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
2559 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2560 | sp3.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/-10), math.rad(-i/-10), math.rad(i/-10)) | |
2561 | rs:wait() | |
2562 | end | |
2563 | sp:Destroy() | |
2564 | sp2:Destroy() | |
2565 | sp3:Destroy() | |
2566 | local X = Instance.new("Part",char) | |
2567 | local O = Instance.new("ObjectValue",X) | |
2568 | O.Name = "creator" | |
2569 | X.Locked = true | |
2570 | X.Name = "Shell" | |
2571 | X.Anchored = false | |
2572 | X.CanCollide = false | |
2573 | X.Transparency = 0 | |
2574 | X.Reflectance = 0 | |
2575 | X.BottomSurface = 0 | |
2576 | X.TopSurface = 0 | |
2577 | X.Shape = 0 | |
2578 | local V = Instance.new("ObjectValue",X) | |
2579 | V.Value = char | |
2580 | V.Name = "creator" | |
2581 | X.BrickColor = TorsoColor | |
2582 | X.Size = Vector3.new(2,2,2) | |
2583 | X.Material = "Neon" | |
2584 | local Z = Instance.new("SpecialMesh",X) | |
2585 | Z.MeshType = "Sphere" | |
2586 | Z.Scale = Vector3.new(0.5,0.5,1) | |
2587 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
2588 | local bv = Instance.new("BodyVelocity",X) | |
2589 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2590 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
2591 | bv.velocity = X.CFrame.lookVector*75 | |
2592 | ||
2593 | Explode = X.Touched:connect(function(hit) | |
2594 | if hit ~= char and hit.Name ~= "Shell" then | |
2595 | local cf = X.CFrame | |
2596 | bv:Destroy() | |
2597 | X.Anchored = true | |
2598 | Z:Remove() | |
2599 | Explode:disconnect() | |
2600 | X.Size = Vector3.new(6,6,6) | |
2601 | X.Touched:connect(function(hit) end) | |
2602 | X.CanCollide = false | |
2603 | local part3 = Instance.new("Part", rarm) | |
2604 | part3.Anchored=true | |
2605 | part3.CanCollide=false | |
2606 | part3.Locked = true | |
2607 | part3.TopSurface = "SmoothNoOutlines" | |
2608 | part3.BottomSurface = "SmoothNoOutlines" | |
2609 | part3.FormFactor='Custom' | |
2610 | part3.Size=Vector3.new(2,2, 2) | |
2611 | part3.CFrame=X.CFrame | |
2612 | part3.Transparency=0 | |
2613 | part3.BrickColor=TorsoColor | |
2614 | local mesh3 = Instance.new("SpecialMesh",part3) | |
2615 | mesh3.MeshType = "Sphere" | |
2616 | mesh3.Scale = Vector3.new(2,2,2) | |
2617 | --debris:AddItem(X,8) | |
2618 | local part4 = Instance.new("Part", rarm) | |
2619 | part4.Material = "Neon" | |
2620 | part4.Anchored=true | |
2621 | part4.CanCollide=false | |
2622 | part4.Locked = true | |
2623 | part4.TopSurface = "SmoothNoOutlines" | |
2624 | part4.BottomSurface = "SmoothNoOutlines" | |
2625 | part4.FormFactor='Custom' | |
2626 | part4.Size=Vector3.new(2,2, 2) | |
2627 | part4.CFrame=X.CFrame | |
2628 | part4.Transparency=0 | |
2629 | part4.BrickColor=BrickColor.new("Black") | |
2630 | local mesh4 = Instance.new("SpecialMesh",part4) | |
2631 | mesh4.MeshType = "Sphere" | |
2632 | mesh4.Scale = Vector3.new(1,1,1) | |
2633 | local part7 = Instance.new("Part", rarm) | |
2634 | part7.Material = "Neon" | |
2635 | part7.Anchored=true | |
2636 | part7.CanCollide=false | |
2637 | part7.Locked = true | |
2638 | part7.TopSurface = "SmoothNoOutlines" | |
2639 | part7.BottomSurface = "SmoothNoOutlines" | |
2640 | part7.FormFactor='Custom' | |
2641 | part7.Size=Vector3.new(2,2, 2) | |
2642 | part7.CFrame=X.CFrame | |
2643 | part7.Transparency=0 | |
2644 | part7.BrickColor=BrickColor.new("Really black") | |
2645 | local mesh7 = Instance.new("SpecialMesh",part7) | |
2646 | mesh7.MeshType = "Sphere" | |
2647 | mesh7.Scale = Vector3.new(0.2, 0.2, 0.2) | |
2648 | --[[X.Touched:connect(function(ht) | |
2649 | hit = ht.Parent | |
2650 | if ht and hit:IsA("Model") then | |
2651 | if hit:FindFirstChild("Humanoid") then | |
2652 | if hit.Name ~= p.Name then | |
2653 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2654 | wait(.3) | |
2655 | end | |
2656 | end | |
2657 | elseif ht and hit:IsA("Hat") then | |
2658 | if hit.Parent.Name ~= p.Name then | |
2659 | if hit.Parent:FindFirstChild("Humanoid") then | |
2660 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2661 | wait(.3) | |
2662 | end | |
2663 | end | |
2664 | end | |
2665 | end) | |
2666 | part3.Touched:connect(function(ht) | |
2667 | hit = ht.Parent | |
2668 | if ht and hit:IsA("Model") then | |
2669 | if hit:FindFirstChild("Humanoid") then | |
2670 | if hit.Name ~= p.Name then | |
2671 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2672 | wait(.3) | |
2673 | end | |
2674 | end | |
2675 | elseif ht and hit:IsA("Hat") then | |
2676 | if hit.Parent.Name ~= p.Name then | |
2677 | if hit.Parent:FindFirstChild("Humanoid") then | |
2678 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2679 | wait(.3) | |
2680 | end | |
2681 | end | |
2682 | end | |
2683 | end)]]-- | |
2684 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
2685 | if v:FindFirstChild('Humanoid') then | |
2686 | v.Humanoid:TakeDamage(math.random(60,90)) | |
2687 | v.Humanoid.PlatformStand = true | |
2688 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2689 | end | |
2690 | end | |
2691 | ||
2692 | local acos = math.acos | |
2693 | local sqrt = math.sqrt | |
2694 | local Vec3 = Vector3.new | |
2695 | local fromAxisAngle = CFrame.fromAxisAngle | |
2696 | ||
2697 | local function toAxisAngle(CFr) | |
2698 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
2699 | local Angle = math.acos((R00+R11+R22-1)/2) | |
2700 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2701 | A = A == 0 and 0.00001 or A | |
2702 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2703 | B = B == 0 and 0.00001 or B | |
2704 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2705 | C = C == 0 and 0.00001 or C | |
2706 | local x = (R21-R12)/sqrt(A) | |
2707 | local y = (R02-R20)/sqrt(B) | |
2708 | local z = (R10-R01)/sqrt(C) | |
2709 | return Vec3(x,y,z),Angle | |
2710 | end | |
2711 | ||
2712 | function ApplyTrig(Num,Func) | |
2713 | local Min,Max = Func(0),Func(1) | |
2714 | local i = Func(Num) | |
2715 | return (i-Min)/(Max-Min) | |
2716 | end | |
2717 | ||
2718 | function LerpCFrame(CFrame1,CFrame2,Num) | |
2719 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
2720 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
2721 | end | |
2722 | ||
2723 | function Crater(Torso,Radius) | |
2724 | Spawn(function() | |
2725 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
2726 | local Ignore = {} | |
2727 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
2728 | if v.Character ~= nil then | |
2729 | Ignore[#Ignore+1] = v.Character | |
2730 | end | |
2731 | end | |
2732 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
2733 | if Hit == nil then return end | |
2734 | local Parts = {} | |
2735 | for i = 1,360,10 do | |
2736 | local P = Instance.new("Part",Torso.Parent) | |
2737 | P.Anchored = true | |
2738 | P.FormFactor = "Custom" | |
2739 | P.BrickColor = Hit.BrickColor | |
2740 | P.Material = Hit.Material | |
2741 | P.TopSurface = "Smooth" | |
2742 | P.BottomSurface = "Smooth" | |
2743 | P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100) | |
2744 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
2745 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
2746 | if math.random(0,5) == 0 then -- rubble | |
2747 | local P = Instance.new("Part",Torso.Parent) | |
2748 | P.Anchored = true | |
2749 | P.FormFactor = "Custom" | |
2750 | P.BrickColor = Hit.BrickColor | |
2751 | P.Material = Hit.Material | |
2752 | P.TopSurface = "Smooth" | |
2753 | P.BottomSurface = "Smooth" | |
2754 | P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100) | |
2755 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
2756 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
2757 | end | |
2758 | end | |
2759 | for i = 0,1,0.05 do | |
2760 | for i2,v in pairs(Parts) do | |
2761 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
2762 | end | |
2763 | wait(0.02) | |
2764 | end | |
2765 | for i,v in pairs(Parts) do | |
2766 | if v[1].Size.X > 2.1 then | |
2767 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
2768 | end | |
2769 | v[1].Anchored = false | |
2770 | end | |
2771 | for i = 0,1,0.05 do | |
2772 | for i2,v in pairs(Parts) do | |
2773 | v[1].Transparency = i | |
2774 | if i == 1 then | |
2775 | v[1]:Destroy() | |
2776 | elseif i >= 0.25 then | |
2777 | v[1].CanCollide = false | |
2778 | end | |
2779 | end | |
2780 | wait(0.02) | |
2781 | end | |
2782 | Parts = nil | |
2783 | end) | |
2784 | end | |
2785 | ||
2786 | ROW = function(out, trans, s, wt, t, ang, plus) | |
2787 | for i = 1, 360, 360/t do | |
2788 | local c = Instance.new("Part", game.Workspace) | |
2789 | c.FormFactor = 3 | |
2790 | c.TopSurface = 0 | |
2791 | c.BottomSurface = 0 | |
2792 | c.Size = s | |
2793 | c.Anchored = true | |
2794 | c.CanCollide = wt | |
2795 | c.Material=workspace.Base.Material | |
2796 | c.Transparency = trans | |
2797 | c.BrickColor = workspace.Base.BrickColor | |
2798 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
2799 | c.Locked=true | |
2800 | game.Debris:AddItem(c,15) | |
2801 | end | |
2802 | end | |
2803 | ||
2804 | Part = function(x,y,z,color,tr,cc,an,parent) | |
2805 | local p = Instance.new('Part',parent or Weapon) | |
2806 | p.formFactor = 'Custom' | |
2807 | p.Size = Vector3.new(x,y,z) | |
2808 | p.BrickColor = BrickColor.new(color) | |
2809 | p.CanCollide = cc | |
2810 | p.Transparency = tr | |
2811 | p.Anchored = an | |
2812 | p.TopSurface,p.BottomSurface = 0,0 | |
2813 | p.Locked=true | |
2814 | p:BreakJoints() | |
2815 | return p end | |
2816 | ||
2817 | Mesh = function(par,num,x,y,z) | |
2818 | local msh = _ | |
2819 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
2820 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
2821 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
2822 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
2823 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
2824 | end msh.Scale = Vector3.new(x,y,z) | |
2825 | return msh end | |
2826 | ||
2827 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
2828 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
2829 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
2830 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
2831 | v1,v2,v3=sz.x,sz.y,sz.z | |
2832 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
2833 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
2834 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
2835 | a.CFrame=cfr | |
2836 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2837 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2838 | ||
2839 | Spawn(function() | |
2840 | while wait() do | |
2841 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
2842 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
2843 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
2844 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
2845 | a.Transparency=a.Transparency+0.05 | |
2846 | a2.Transparency=a2.Transparency+0.05 | |
2847 | a3.Transparency=a3.Transparency+0.05 | |
2848 | end | |
2849 | end) | |
2850 | end | |
2851 | ||
2852 | Crater(X,20) | |
2853 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
2854 | z = Instance.new("Sound",workspace) | |
2855 | z.SoundId = "rbxassetid://231917744" | |
2856 | z.Pitch = .5 | |
2857 | z.Volume = 5 | |
2858 | z1 = Instance.new("Sound",workspace) | |
2859 | z1.SoundId = "rbxassetid://231917744" | |
2860 | z1.Pitch = .5 | |
2861 | z1.Volume = 5 | |
2862 | z2 = Instance.new("Sound",workspace) | |
2863 | z2.SoundId = "rbxassetid://231917744" | |
2864 | z2.Pitch = .5 | |
2865 | z2.Volume = 5 | |
2866 | z3 = Instance.new("Sound",workspace) | |
2867 | z3.SoundId = "rbxassetid://245537790" | |
2868 | z3.Pitch = .7 | |
2869 | z3.Volume = 5 | |
2870 | z4 = Instance.new("Sound",workspace) | |
2871 | z4.SoundId = "rbxassetid://245537790" | |
2872 | z4.Pitch = .7 | |
2873 | z4.Volume = 5 | |
2874 | z4a = Instance.new("Sound",workspace) | |
2875 | z4a.SoundId = "rbxassetid://419447292" | |
2876 | z4a.Pitch = 1 | |
2877 | z4a.Volume = 5 | |
2878 | z3a = Instance.new("Sound",workspace) | |
2879 | z3a.SoundId = "rbxassetid://421328847" | |
2880 | z3a.Pitch = 1 | |
2881 | z3a.Volume = 5 | |
2882 | wait(0.1) | |
2883 | z:Play() | |
2884 | z1:Play() | |
2885 | z2:Play() | |
2886 | z3:Play() | |
2887 | z4:Play() | |
2888 | z3a:Play() | |
2889 | z4a:Play() | |
2890 | ||
2891 | local part=Instance.new('Part',rarm) | |
2892 | part.Anchored=true | |
2893 | part.CanCollide=false | |
2894 | part.Locked = true | |
2895 | part.FormFactor='Custom' | |
2896 | part.Size=Vector3.new(2,2,2) | |
2897 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
2898 | part.Transparency=0 | |
2899 | part.BrickColor=BrickColor.new('Really black') | |
2900 | local mesh=Instance.new('SpecialMesh',part) | |
2901 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2902 | mesh.Scale=Vector3.new(4,4,4) | |
2903 | local part2=part:clone() | |
2904 | part2.Parent = rarm | |
2905 | part2.BrickColor=TorsoColor | |
2906 | local part5=part:clone() | |
2907 | part5.Parent = rarm | |
2908 | part5.BrickColor=TorsoColor | |
2909 | local part6=part:clone() | |
2910 | part6.Parent = rarm | |
2911 | part6.BrickColor=BrickColor.new("Black") | |
2912 | local mesh2=mesh:clone() | |
2913 | mesh2.Parent=part2 | |
2914 | mesh2.Scale=Vector3.new(6, 6, 6) | |
2915 | local mesh5=mesh:clone() | |
2916 | mesh5.Parent=part5 | |
2917 | mesh5.Scale=Vector3.new(6, 6, 6) | |
2918 | local mesh6=mesh:clone() | |
2919 | mesh6.Parent=part6 | |
2920 | mesh6.Scale=Vector3.new(6, 6, 6) | |
2921 | local blast = Instance.new("Part", rarm) | |
2922 | blast.BrickColor = BrickColor.new("Really black") | |
2923 | blast.Anchored = true | |
2924 | blast.CanCollide = false | |
2925 | blast.Locked = true | |
2926 | blast.Size = Vector3.new(2, 2, 2) | |
2927 | blast.TopSurface = "Smooth" | |
2928 | blast.BottomSurface = "Smooth" | |
2929 | blast.Transparency = 0 | |
2930 | blast.CFrame = HandCF | |
2931 | local bm = Instance.new("SpecialMesh", blast) | |
2932 | bm.Scale = Vector3.new(10,2,10) | |
2933 | bm.MeshId = "rbxassetid://3270017" | |
2934 | local blast2 = Instance.new("Part", rarm) | |
2935 | blast2.BrickColor = BrickColor.new("Really black") | |
2936 | blast2.Anchored = true | |
2937 | blast2.CanCollide = false | |
2938 | blast2.Locked = true | |
2939 | blast2.Size = Vector3.new(2, 2, 2) | |
2940 | blast2.TopSurface = "Smooth" | |
2941 | blast2.BottomSurface = "Smooth" | |
2942 | blast2.Transparency = 0 | |
2943 | blast2.CFrame = HandCF | |
2944 | local bm2 = Instance.new("SpecialMesh", blast2) | |
2945 | bm2.Scale = Vector3.new(6,2,6) | |
2946 | bm2.MeshId = "rbxassetid://3270017" | |
2947 | local blast3 = Instance.new("Part", rarm) | |
2948 | blast3.BrickColor = BrickColor.new("Really black") | |
2949 | blast3.Anchored = true | |
2950 | blast3.CanCollide = false | |
2951 | blast3.Locked = true | |
2952 | blast3.Size = Vector3.new(1, 1, 1) | |
2953 | blast3.TopSurface = "Smooth" | |
2954 | blast3.BottomSurface = "Smooth" | |
2955 | blast3.Transparency = 0 | |
2956 | blast3.CFrame = HandCF | |
2957 | local bm3 = Instance.new("SpecialMesh", blast3) | |
2958 | bm3.Scale = Vector3.new(6,2,6) | |
2959 | bm3.MeshId = "rbxassetid://3270017" | |
2960 | for i = 1,120 do rs:wait() | |
2961 | X.Transparency = X.Transparency + (1/120) | |
2962 | part.Transparency = part.Transparency + (1/120) | |
2963 | part2.Transparency = part2.Transparency + (1/120) | |
2964 | part3.Transparency = part3.Transparency + (1/120) | |
2965 | part4.Transparency = part4.Transparency + (1/120) | |
2966 | part5.Transparency = part5.Transparency + (1/120) | |
2967 | part6.Transparency = part6.Transparency + (1/120) | |
2968 | part7.Transparency = part7.Transparency + (1/120) | |
2969 | blast.Transparency = blast.Transparency + (1/120) | |
2970 | blast2.Transparency = blast2.Transparency + (1/120) | |
2971 | blast3.Transparency = blast3.Transparency + (1/120) | |
2972 | X.Size = X.Size + Vector3.new(1.6,1.6,1.6) | |
2973 | --part3.Size = part3.Size + Vector3.new(6,6,6) | |
2974 | mesh.Scale = mesh.Scale + Vector3.new(2,.4,2) | |
2975 | mesh2.Scale = mesh2.Scale + Vector3.new(2.2,.4,2.2) | |
2976 | mesh3.Scale = mesh3.Scale + Vector3.new(6,6,6) | |
2977 | mesh4.Scale = mesh4.Scale + Vector3.new(3.4,3.4,3.4) | |
2978 | mesh5.Scale = mesh5.Scale + Vector3.new(3.2,.4,3.2) | |
2979 | mesh6.Scale = mesh6.Scale + Vector3.new(4,.4,4) | |
2980 | mesh7.Scale = mesh7.Scale + Vector3.new(8,8,8) | |
2981 | bm.Scale = bm.Scale + Vector3.new(12,12,.4) | |
2982 | bm2.Scale = bm2.Scale + Vector3.new(8,8,.4) | |
2983 | bm3.Scale = bm3.Scale + Vector3.new(8,8,.4) | |
2984 | X.CFrame = cf | |
2985 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
2986 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
2987 | part3.CFrame=X.CFrame | |
2988 | part4.CFrame=X.CFrame | |
2989 | part7.CFrame=X.CFrame | |
2990 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
2991 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
2992 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2993 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
2994 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
2995 | rs:wait() | |
2996 | end | |
2997 | X:Destroy() | |
2998 | part:Destroy() | |
2999 | part2:Destroy() | |
3000 | part3:Destroy() | |
3001 | part4:Destroy() | |
3002 | part5:Destroy() | |
3003 | part6:Destroy() | |
3004 | blast:Destroy() | |
3005 | blast2:Destroy() | |
3006 | blast3:Destroy() | |
3007 | z:Destroy() | |
3008 | z1:Destroy() | |
3009 | z2:Destroy() | |
3010 | z3:Destroy() | |
3011 | z4:Destroy() | |
3012 | end | |
3013 | end) | |
3014 | for i = 1, 20 do | |
3015 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
3016 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
3017 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
3018 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
3019 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
3020 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
3021 | if Debounces.on == false then break end | |
3022 | rs:wait() | |
3023 | end | |
3024 | if Debounces.CanAttack == false then | |
3025 | Debounces.CanAttack = true | |
3026 | Debounces.NoIdl = false | |
3027 | Debounces.on = false | |
3028 | end | |
3029 | end | |
3030 | end | |
3031 | end) | |
3032 | ---------------------------------------------------- | |
3033 | mouse.KeyDown:connect(function(key) | |
3034 | if key == "c" then | |
3035 | Blaze() | |
3036 | end | |
3037 | end) | |
3038 | ---------------------------------------------------- | |
3039 | mouse.KeyDown:connect(function(key) | |
3040 | if key == "v" then | |
3041 | Blaze2() | |
3042 | end | |
3043 | end) | |
3044 | ---------------------------------------------------- | |
3045 | mouse.KeyDown:connect(function(key) | |
3046 | if key == "x" then | |
3047 | hum.WalkSpeed = 0.01 | |
3048 | if Debounces.CanAttack == true then | |
3049 | Debounces.CanAttack = false | |
3050 | Debounces.NoIdl = true | |
3051 | Debounces.on = true | |
3052 | for i = 1, 30 do | |
3053 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
3054 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
3055 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3056 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
3057 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
3058 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
3059 | if Debounces.on == false then break end | |
3060 | rs:wait(6) | |
3061 | end | |
3062 | v = Instance.new("Sound") | |
3063 | v.SoundId = "rbxassetid://435742675" | |
3064 | v.Parent = char | |
3065 | v.Looped = false | |
3066 | v.Pitch = 1 | |
3067 | v.Volume = 18 | |
3068 | wait(.01) | |
3069 | v:Play() | |
3070 | ||
3071 | if Daytime == true then | |
3072 | Daytime = false | |
3073 | l.TimeOfDay = 00 | |
3074 | else | |
3075 | Daytime = true | |
3076 | l.TimeOfDay = 12 | |
3077 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
3078 | end | |
3079 | ||
3080 | local Shockwave = function() | |
3081 | local rng1 = Instance.new("Part", char) | |
3082 | rng1.Anchored = true | |
3083 | rng1.BrickColor = BrickColor.new("Really black") | |
3084 | rng1.CanCollide = false | |
3085 | rng1.FormFactor = 3 | |
3086 | rng1.Name = "Ring" | |
3087 | rng1.Material = "Neon" | |
3088 | rng1.Size = Vector3.new(1, 1, 1) | |
3089 | rng1.Transparency = 0.35 | |
3090 | rng1.TopSurface = 0 | |
3091 | rng1.BottomSurface = 0 | |
3092 | local rngm1 = Instance.new("SpecialMesh", rng) | |
3093 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3094 | rngm1.Scale = Vector3.new(10, 10, 1) | |
3095 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
3096 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
3097 | Wave.Name = "Shockwave" | |
3098 | Wave.BrickColor = BrickColor.new("Really black") | |
3099 | Wave.Material = "Neon" | |
3100 | Wave.Size = Vector3.new(1, 1, 1) | |
3101 | Wave.Shape = "Ball" | |
3102 | Wave.CanCollide = false | |
3103 | Wave.Anchored = true | |
3104 | Wave.TopSurface = 0 | |
3105 | Wave.BottomSurface = 0 | |
3106 | local Wave2 = Instance.new("Part", game.Workspace--[[?]]) | |
3107 | Wave2.Name = "Shockwave2" | |
3108 | Wave2.BrickColor = TorsoColor | |
3109 | Wave2.Material = "Neon" | |
3110 | Wave2.Size = Vector3.new(1, 1, 1) | |
3111 | Wave2.Shape = "Ball" | |
3112 | Wave2.CanCollide = false | |
3113 | Wave2.Anchored = true | |
3114 | Wave2.TopSurface = 0 | |
3115 | Wave2.BottomSurface = 0 | |
3116 | Wave2.Touched:connect(function(hit) | |
3117 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
3118 | local Occlude = true | |
3119 | local NotOccludes = { | |
3120 | char.Name; | |
3121 | "Wings"; | |
3122 | "Scythe"; | |
3123 | "Thingy"; | |
3124 | "Thingy2"; -- put all of the names in a table pls | |
3125 | } | |
3126 | for i,v in pairs(NotOccludes) do | |
3127 | if hit.Parent.Name == v then | |
3128 | Occlude = false | |
3129 | end | |
3130 | end | |
3131 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
3132 | if Occlude then | |
3133 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
3134 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
3135 | end | |
3136 | end | |
3137 | end) | |
3138 | ||
3139 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
3140 | ||
3141 | coroutine.wrap(function() | |
3142 | for i = 1, 20, 0.2 do | |
3143 | rngm1.Scale = Vector3.new(10 + i*20, 10 + i*20, 20) | |
3144 | rng1.Transparency = i/20 | |
3145 | wait() | |
3146 | end | |
3147 | wait() | |
3148 | rng1:Destroy() | |
3149 | end)() | |
3150 | ||
3151 | Delay(0, function() | |
3152 | ||
3153 | if Daytime == false then | |
3154 | for i = 3, 50, 1 do | |
3155 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
3156 | Wave.CFrame = char.Torso.CFrame | |
3157 | local t = i / 50 | |
3158 | Wave.Transparency = t | |
3159 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
3160 | Wave2.CFrame = char.Torso.CFrame | |
3161 | local tq = i / 50 | |
3162 | Wave2.Transparency = tq | |
3163 | wait() | |
3164 | end | |
3165 | else | |
3166 | for i = 3, 50, 1 do | |
3167 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
3168 | Wave.CFrame = char.Torso.CFrame | |
3169 | local t = i / 50 | |
3170 | Wave.Transparency = t | |
3171 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
3172 | Wave2.CFrame = char.Torso.CFrame | |
3173 | local tq = i / 50 | |
3174 | Wave2.Transparency = tq | |
3175 | wait() | |
3176 | end | |
3177 | end | |
3178 | Wave:Destroy() | |
3179 | Wave2:Destroy() | |
3180 | end) | |
3181 | Delay(0, function() | |
3182 | while wait() do | |
3183 | if Wave ~= nil then | |
3184 | Wave.CFrame = char.Torso.CFrame | |
3185 | else | |
3186 | break | |
3187 | end | |
3188 | end | |
3189 | end) | |
3190 | end | |
3191 | Shockwave() | |
3192 | for i = 1, 30 do | |
3193 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
3194 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
3195 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
3196 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
3197 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
3198 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
3199 | if Debounces.on == false then break end | |
3200 | rs:wait() | |
3201 | end | |
3202 | wait(2.4) | |
3203 | Debounces.NoIdl = false | |
3204 | hum.WalkSpeed = 30 | |
3205 | Debounces.on = false | |
3206 | wait() | |
3207 | if Debounces.CanAttack == false then | |
3208 | Debounces.CanAttack = true | |
3209 | v:Destroy() | |
3210 | end | |
3211 | end | |
3212 | end | |
3213 | end) | |
3214 | ---------------------------------------------------- | |
3215 | mouse.KeyDown:connect(function(key) | |
3216 | if key == "e" then | |
3217 | if Debounces.CanAttack == true then | |
3218 | Debounces.CanAttack = false | |
3219 | Debounces.on = true | |
3220 | Debounces.NoIdl = true | |
3221 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
3222 | z = Instance.new("Sound", rarm) | |
3223 | z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
3224 | z.Volume = 1.25 | |
3225 | z.Pitch = pt[math.random(1,#pt)] | |
3226 | z.Looped = false | |
3227 | z:Play() | |
3228 | Debounces.RPunch = true | |
3229 | Debounces.LPunch = true | |
3230 | Debounces.ks = true | |
3231 | Debounces.ks2 = true | |
3232 | for i = 1, 3 do | |
3233 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
3234 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
3235 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3236 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3237 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3238 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3239 | if Debounces.on == false then break end | |
3240 | wait() | |
3241 | end | |
3242 | z2 = Instance.new("Sound", larm) | |
3243 | z2.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3244 | z2.Volume = 1.25 | |
3245 | z2.Pitch = pt[math.random(1,#pt)] | |
3246 | z2.Looped = false | |
3247 | z2:Play() | |
3248 | for i = 1, 3 do | |
3249 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3250 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3251 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3252 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3253 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3254 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3255 | if Debounces.on == false then break end | |
3256 | wait() | |
3257 | end | |
3258 | z3 = Instance.new("Sound", rarm) | |
3259 | z3.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3260 | z3.Volume = 1.25 | |
3261 | z3.Pitch = pt[math.random(1,#pt)] | |
3262 | z3.Looped = false | |
3263 | z3:Play() | |
3264 | for i = 1, 3 do | |
3265 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3266 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3267 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3268 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3269 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3270 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3271 | if Debounces.on == false then break end | |
3272 | wait() | |
3273 | end | |
3274 | z4 = Instance.new("Sound", larm) | |
3275 | z4.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3276 | z4.Volume = 1.25 | |
3277 | z4.Pitch = pt[math.random(1,#pt)] | |
3278 | z4.Looped = false | |
3279 | z4:Play() | |
3280 | for i = 1, 3 do | |
3281 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3282 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3283 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3284 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3285 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3286 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3287 | if Debounces.on == false then break end | |
3288 | wait() | |
3289 | end | |
3290 | z5 = Instance.new("Sound", rarm) | |
3291 | z5.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3292 | z5.Volume = 1.25 | |
3293 | z5.Pitch = pt[math.random(1,#pt)] | |
3294 | z5.Looped = false | |
3295 | z5:Play() | |
3296 | for i = 1, 3 do | |
3297 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
3298 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
3299 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
3300 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
3301 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
3302 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
3303 | if Debounces.on == false then break end | |
3304 | wait() | |
3305 | end | |
3306 | z6 = Instance.new("Sound", larm) | |
3307 | z6.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3308 | z6.Volume = 1.25 | |
3309 | z6.Pitch = pt[math.random(1,#pt)] | |
3310 | z6.Looped = false | |
3311 | z6:Play() | |
3312 | for i = 1, 3 do | |
3313 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3314 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3315 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3316 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3317 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3318 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3319 | if Debounces.on == false then break end | |
3320 | wait() | |
3321 | end | |
3322 | z7 = Instance.new("Sound", rarm) | |
3323 | z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
3324 | z7.Volume = 1.25 | |
3325 | z7.Pitch = pt[math.random(1,#pt)] | |
3326 | z7.Looped = false | |
3327 | z7:Play() | |
3328 | for i = 1, 3 do | |
3329 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
3330 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
3331 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3332 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3333 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3334 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3335 | if Debounces.on == false then break end | |
3336 | wait() | |
3337 | end | |
3338 | z8 = Instance.new("Sound", larm) | |
3339 | z8.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3340 | z8.Volume = 1.25 | |
3341 | z8.Pitch = pt[math.random(1,#pt)] | |
3342 | z8.Looped = false | |
3343 | z8:Play() | |
3344 | for i = 1, 3 do | |
3345 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3346 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3347 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3348 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3349 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3350 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3351 | if Debounces.on == false then break end | |
3352 | wait() | |
3353 | end | |
3354 | z9 = Instance.new("Sound", rarm) | |
3355 | z9.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3356 | z9.Volume = 1.25 | |
3357 | z9.Pitch = pt[math.random(1,#pt)] | |
3358 | z9.Looped = false | |
3359 | z9:Play() | |
3360 | for i = 1, 3 do | |
3361 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3362 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3363 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3364 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3365 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3366 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3367 | if Debounces.on == false then break end | |
3368 | wait() | |
3369 | end | |
3370 | z10 = Instance.new("Sound", larm) | |
3371 | z10.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3372 | z10.Volume = 1.25 | |
3373 | z10.Pitch = pt[math.random(1,#pt)] | |
3374 | z10.Looped = false | |
3375 | z10:Play() | |
3376 | for i = 1, 3 do | |
3377 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3378 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3379 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3380 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3381 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3382 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3383 | if Debounces.on == false then break end | |
3384 | wait() | |
3385 | end | |
3386 | z11 = Instance.new("Sound", rarm) | |
3387 | z11.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3388 | z11.Volume = 1.25 | |
3389 | z11.Pitch = pt[math.random(1,#pt)] | |
3390 | z11.Looped = false | |
3391 | z11:Play() | |
3392 | for i = 1, 3 do | |
3393 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
3394 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
3395 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
3396 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
3397 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
3398 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
3399 | if Debounces.on == false then break end | |
3400 | wait() | |
3401 | end | |
3402 | z12 = Instance.new("Sound", larm) | |
3403 | z12.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3404 | z12.Volume = 1.25 | |
3405 | z12.Pitch = pt[math.random(1,#pt)] | |
3406 | z12.Looped = false | |
3407 | z12:Play() | |
3408 | for i = 1, 3 do | |
3409 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3410 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3411 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3412 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3413 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3414 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3415 | if Debounces.on == false then break end | |
3416 | wait() | |
3417 | end | |
3418 | z13 = Instance.new("Sound", rarm) | |
3419 | z13.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3420 | z13.Volume = 1.25 | |
3421 | z13.Pitch = pt[math.random(1,#pt)] | |
3422 | z13.Looped = false | |
3423 | z13:Play() | |
3424 | for i = 1, 3 do | |
3425 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3426 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3427 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3428 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3429 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3430 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3431 | if Debounces.on == false then break end | |
3432 | wait() | |
3433 | end | |
3434 | z14 = Instance.new("Sound", larm) | |
3435 | z14.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3436 | z14.Volume = 1.25 | |
3437 | z14.Pitch = pt[math.random(1,#pt)] | |
3438 | z14.Looped = false | |
3439 | z14:Play() | |
3440 | for i = 1, 3 do | |
3441 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3442 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3443 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3444 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3445 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3446 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3447 | if Debounces.on == false then break end | |
3448 | wait() | |
3449 | end | |
3450 | z15 = Instance.new("Sound", rarm) | |
3451 | z15.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3452 | z15.Volume = 1.25 | |
3453 | z15.Pitch = pt[math.random(1,#pt)] | |
3454 | z15.Looped = false | |
3455 | z15:Play() | |
3456 | for i = 1, 3 do | |
3457 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
3458 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
3459 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
3460 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
3461 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
3462 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
3463 | if Debounces.on == false then break end | |
3464 | wait() | |
3465 | end | |
3466 | z16 = Instance.new("Sound", larm) | |
3467 | z16.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3468 | z16.Volume = 1.25 | |
3469 | z16.Pitch = pt[math.random(1,#pt)] | |
3470 | z16.Looped = false | |
3471 | z16:Play() | |
3472 | for i = 1, 3 do | |
3473 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3474 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3475 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3476 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3477 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3478 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3479 | if Debounces.on == false then break end | |
3480 | wait() | |
3481 | end | |
3482 | z17 = Instance.new("Sound", rarm) | |
3483 | z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
3484 | z17.Volume = 1.25 | |
3485 | z17.Pitch = pt[math.random(1,#pt)] | |
3486 | z17.Looped = false | |
3487 | z17:Play() | |
3488 | for i = 1, 3 do | |
3489 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
3490 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
3491 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3492 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3493 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3494 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3495 | if Debounces.on == false then break end | |
3496 | wait() | |
3497 | end | |
3498 | z18 = Instance.new("Sound", larm) | |
3499 | z18.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3500 | z18.Volume = 1.25 | |
3501 | z18.Pitch = pt[math.random(1,#pt)] | |
3502 | z18.Looped = false | |
3503 | z18:Play() | |
3504 | for i = 1, 3 do | |
3505 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3506 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3507 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3508 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3509 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3510 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3511 | if Debounces.on == false then break end | |
3512 | wait() | |
3513 | end | |
3514 | z19 = Instance.new("Sound", rarm) | |
3515 | z19.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3516 | z19.Volume = 1.25 | |
3517 | z19.Pitch = pt[math.random(1,#pt)] | |
3518 | z19.Looped = false | |
3519 | z19:Play() | |
3520 | for i = 1, 3 do | |
3521 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3522 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3523 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3524 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3525 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3526 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3527 | if Debounces.on == false then break end | |
3528 | wait() | |
3529 | end | |
3530 | z20 = Instance.new("Sound", larm) | |
3531 | z20.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
3532 | z20.Volume = 1.25 | |
3533 | z20.Pitch = pt[math.random(1,#pt)] | |
3534 | z20.Looped = false | |
3535 | z20:Play() | |
3536 | for i = 1, 3 do | |
3537 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3538 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3539 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3540 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3541 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3542 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3543 | if Debounces.on == false then break end | |
3544 | wait() | |
3545 | end | |
3546 | z:Destroy() | |
3547 | z2:Destroy() | |
3548 | z3:Destroy() | |
3549 | z4:Destroy() | |
3550 | z5:Destroy() | |
3551 | z6:Destroy() | |
3552 | z7:Destroy() | |
3553 | z8:Destroy() | |
3554 | z9:Destroy() | |
3555 | z10:Destroy() | |
3556 | z11:Destroy() | |
3557 | z12:Destroy() | |
3558 | z13:Destroy() | |
3559 | z14:Destroy() | |
3560 | z15:Destroy() | |
3561 | z16:Destroy() | |
3562 | z17:Destroy() | |
3563 | z18:Destroy() | |
3564 | z19:Destroy() | |
3565 | z20:Destroy() | |
3566 | Debounces.LPunch = false | |
3567 | Debounces.RPunch = false | |
3568 | Debounces.ks = false | |
3569 | Debounces.ks2 = false | |
3570 | if Debounces.CanAttack == false then | |
3571 | Debounces.CanAttack = true | |
3572 | Debounces.on = false | |
3573 | Debounces.NoIdl = false | |
3574 | end | |
3575 | end | |
3576 | end | |
3577 | end) | |
3578 | ------------------------------- | |
3579 | mouse.KeyDown:connect(function(key) | |
3580 | if key == "t" then | |
3581 | if Debounces.CanAttack == true then | |
3582 | Debounces.CanAttack = false | |
3583 | Debounces.NoIdl = true | |
3584 | Debounces.on = true | |
3585 | Debounces.ks = true | |
3586 | kik = rleg.Touched:connect(function(ht) | |
3587 | hit = ht.Parent | |
3588 | if ht and hit:IsA("Model") then | |
3589 | if hit:FindFirstChild("Humanoid") then | |
3590 | if hit.Name ~= p.Name then | |
3591 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
3592 | Debounces.Slashed = true]]-- | |
3593 | if Debounces.ks==true then | |
3594 | z = Instance.new("Sound",hed) | |
3595 | z.SoundId = "rbxassetid://169380525" | |
3596 | z.Volume = 1 | |
3597 | z:Play() | |
3598 | Debounces.ks=false | |
3599 | end | |
3600 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
3601 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
3602 | --Debounces.Slashed = false | |
3603 | --end | |
3604 | end | |
3605 | end | |
3606 | elseif ht and hit:IsA("Hat") then | |
3607 | if hit.Parent.Name ~= p.Name then | |
3608 | if hit.Parent:FindFirstChild("Humanoid") then | |
3609 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
3610 | Debounces.Slashed = true]]-- | |
3611 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
3612 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
3613 | --Debounces.Slashed = false | |
3614 | --end | |
3615 | end | |
3616 | end | |
3617 | end | |
3618 | end) | |
3619 | for i = 1,20 do | |
3620 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
3621 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
3622 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3623 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
3624 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
3625 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
3626 | if Debounces.on == false then break end | |
3627 | rs:wait() | |
3628 | end | |
3629 | kik:disconnect() | |
3630 | if Debounces.CanAttack == false then | |
3631 | Debounces.CanAttack = true | |
3632 | Debounces.NoIdl = false | |
3633 | Debounces.on = false | |
3634 | end | |
3635 | end | |
3636 | end | |
3637 | end) | |
3638 | ---------------------------------------------------- | |
3639 | mouse.KeyDown:connect(function(key) | |
3640 | if key == "y" then | |
3641 | if Debounces.CanAttack == true then | |
3642 | Debounces.CanAttack = false | |
3643 | Debounces.on = true | |
3644 | Debounces.NoIdl = true | |
3645 | for i = 1, 15 do | |
3646 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,-0.25)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.2) | |
3647 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.6) | |
3648 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2) | |
3649 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.4) | |
3650 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3651 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3652 | if Debounces.on == false then break end | |
3653 | rs:wait(2.7) | |
3654 | end | |
3655 | xa = Instance.new("Sound",char) | |
3656 | xa.SoundId = "rbxassetid://419447292" | |
3657 | xa.Pitch = 1 | |
3658 | xa.Volume = 2.5 | |
3659 | wait(.1) | |
3660 | xa:Play() | |
3661 | Debounces.on = false | |
3662 | Debounces.Here = false | |
3663 | shot = shot + 1 | |
3664 | local rng = Instance.new("Part", larm) | |
3665 | rng.Anchored = true | |
3666 | rng.BrickColor = TorsoColor | |
3667 | rng.CanCollide = false | |
3668 | rng.FormFactor = 3 | |
3669 | rng.Name = "Ring" | |
3670 | rng.Size = Vector3.new(1, 1, 1) | |
3671 | rng.Transparency = 0.35 | |
3672 | rng.TopSurface = 0 | |
3673 | rng.BottomSurface = 0 | |
3674 | rng2 = rng:clone() | |
3675 | rng3 = rng2:clone() | |
3676 | rng4 = rng2:clone() | |
3677 | local rngm = Instance.new("SpecialMesh", rng) | |
3678 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3679 | rngm.Scale = Vector3.new(10, 10, 1) | |
3680 | rngm2 = rngm:clone() | |
3681 | rngm2.Scale = Vector3.new(5, 5, 3) | |
3682 | rngm3=rngm2:clone() | |
3683 | rngm3.Parent = rng3 | |
3684 | rngm3.Scale = Vector3.new(8, 8, 1) | |
3685 | rngm4 = rngm2:clone() | |
3686 | rngm4.Parent = rng4 | |
3687 | rngm4.Scale = Vector3.new(6, 6, 1) | |
3688 | local bem = Instance.new("Part", larm) | |
3689 | bem.Anchored = true | |
3690 | bem.BrickColor = BrickColor.new("Really black") | |
3691 | bem.CanCollide = false | |
3692 | bem.FormFactor = 3 | |
3693 | bem.Name = "Beam" .. shot | |
3694 | bem.Size = Vector3.new(1, 1, 1) | |
3695 | bem.Transparency = 0.35 | |
3696 | bem.Material = "Neon" | |
3697 | bem.TopSurface = 0 | |
3698 | bem.BottomSurface = 0 | |
3699 | local bemm = Instance.new("SpecialMesh", bem) | |
3700 | bemm.MeshType = 4 | |
3701 | bemm.Scale = Vector3.new(1, 50, 50) | |
3702 | local out = Instance.new("Part", larm) | |
3703 | out.Anchored = true | |
3704 | out.BrickColor = BrickColor.new("Really black") | |
3705 | out.CanCollide = false | |
3706 | out.FormFactor = 3 | |
3707 | out.Name = "Out" | |
3708 | out.Size = Vector3.new(8, 8, 8) | |
3709 | out.Transparency = 0.35 | |
3710 | out.TopSurface = 0 | |
3711 | out.BottomSurface = 0 | |
3712 | local outm = Instance.new("SpecialMesh", out) | |
3713 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
3714 | outm.Scale = Vector3.new(12, 8, 12) | |
3715 | local bnd = Instance.new("Part", larm) | |
3716 | bnd.Anchored = true | |
3717 | bnd.BrickColor = BrickColor.new("Really black") | |
3718 | bnd.CanCollide = false | |
3719 | bnd.FormFactor = 3 | |
3720 | bnd.Name = "Bend" | |
3721 | bnd.Size = Vector3.new(1, 1, 1) | |
3722 | bnd.Transparency = 1 | |
3723 | bnd.TopSurface = 0 | |
3724 | bnd.BottomSurface = 0 | |
3725 | local bndm = Instance.new("SpecialMesh", bnd) | |
3726 | bndm.MeshType = 3 | |
3727 | bndm.Scale = Vector3.new(16, 16, 16) | |
3728 | out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0) | |
3729 | bem.CFrame = out.CFrame * CFrame.new(0, -50, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3730 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
3731 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
3732 | rng3.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
3733 | rng4.CFrame = rng.CFrame * CFrame.new(0, -2, 0) | |
3734 | Debounces.Shewt = true | |
3735 | coroutine.wrap(function() | |
3736 | for i = 1, 20, 0.2 do | |
3737 | rngm.Scale = Vector3.new(20 + i*4, 20 + i*4, 2) | |
3738 | rngm3.Scale = Vector3.new(16 + i*6, 16 + i*6, 2) | |
3739 | rngm4.Scale = Vector3.new(12 + i*8, 12 + i*8, 2) | |
3740 | rng.Transparency = i/20 | |
3741 | rng3.Transparency = 1/24 | |
3742 | rng4.Transparency = i/26 | |
3743 | wait() | |
3744 | end | |
3745 | wait() | |
3746 | rng:Destroy() | |
3747 | end)() | |
3748 | if Debounces.Shewt == true then | |
3749 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
3750 | hit = ht.Parent | |
3751 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
3752 | if HasntTouched(hit.Name) == true and deb == false then | |
3753 | deb = true | |
3754 | coroutine.wrap(function() | |
3755 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
3756 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275 | |
3757 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
3758 | end)() | |
3759 | table.insert(Touche, hit.Name) | |
3760 | deb = false | |
3761 | end | |
3762 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
3763 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
3764 | deb = true | |
3765 | coroutine.wrap(function() | |
3766 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
3767 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275 | |
3768 | wait(1) | |
3769 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
3770 | end)() | |
3771 | table.insert(Touche, hit.Parent.Name) | |
3772 | deb = false | |
3773 | for i, v in pairs(Touche) do | |
3774 | print(v) | |
3775 | end | |
3776 | end | |
3777 | end | |
3778 | end) | |
3779 | end | |
3780 | for i = 0, 260, 8 do | |
3781 | bem.Size = Vector3.new(i, 30, 30) | |
3782 | out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0) | |
3783 | bem.CFrame = larm.CFrame * CFrame.new(0, -42 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3784 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
3785 | bnd.Size = Vector3.new(2,2,2) | |
3786 | bndm.Scale = Vector3.new(16,16,16) | |
3787 | if i % 10 == 0 then | |
3788 | local newRng = rng2:Clone() | |
3789 | newRng.Parent = larm | |
3790 | newRng.CFrame = larm.CFrame * CFrame.new(0, -8.4-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
3791 | local newRngm = rngm2:clone() | |
3792 | newRngm.Parent=newRng | |
3793 | coroutine.wrap(function() | |
3794 | for i = 1, 10, 0.2 do | |
3795 | newRngm.Scale = Vector3.new(16 + i*4, 16 + i*4, 6) | |
3796 | newRng.Transparency = i/10 | |
3797 | wait() | |
3798 | end | |
3799 | wait() | |
3800 | newRng:Destroy() | |
3801 | end)() | |
3802 | end | |
3803 | wait() | |
3804 | end | |
3805 | wait() | |
3806 | Debounces.Shewt = false | |
3807 | bem:Destroy() | |
3808 | out:Destroy() | |
3809 | bnd:Destroy() | |
3810 | Debounces.Ready = false | |
3811 | for i, v in pairs(Touche) do | |
3812 | table.remove(Touche, i) | |
3813 | end | |
3814 | wait() | |
3815 | table.insert(Touche, char.Name) | |
3816 | Debounces.NoIdl = false | |
3817 | if Debounces.CanAttack == false then | |
3818 | Debounces.CanAttack = true | |
3819 | end | |
3820 | end | |
3821 | end | |
3822 | end) | |
3823 | ---------------------------------------------------- | |
3824 | mouse.KeyDown:connect(function(key) | |
3825 | if key == "h" then | |
3826 | if Debounces.CanAttack == true then | |
3827 | Debounces.CanAttack = false | |
3828 | Debounces.on = true | |
3829 | Debounces.NoIdl = true | |
3830 | for i = 1, 20 do | |
3831 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
3832 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
3833 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
3834 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
3835 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
3836 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
3837 | if Debounces.on == false then break end | |
3838 | rs:wait(2.6) | |
3839 | end | |
3840 | Spawn(function() | |
3841 | local Parts = {} | |
3842 | for Y = -5,5 do | |
3843 | local P = Instance.new("Part",char) | |
3844 | P.Anchored = true | |
3845 | P.FormFactor = "Custom" | |
3846 | P.CanCollide = false | |
3847 | P.Size = Vector3.new(2,4,2) | |
3848 | P.TopSurface = "SmoothNoOutlines" | |
3849 | P.BottomSurface = "SmoothNoOutlines" | |
3850 | P.Material = "Neon" | |
3851 | P.BrickColor = BrickColor.new("Really black") | |
3852 | P.Name = tostring(Y) | |
3853 | local i = (Y+5)/(10) | |
3854 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
3855 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
3856 | --[[P.Touched:connect(function(ht) | |
3857 | local hit = ht.Parent | |
3858 | if hit:FindFirstChild("Humanoid") then | |
3859 | hit.Humanoid:TakeDamage(math.random(20,50)) | |
3860 | end | |
3861 | end)]]-- | |
3862 | s = Instance.new("Sound",P) | |
3863 | s.SoundId = "rbxassetid://228343271" | |
3864 | s.Volume = 1 | |
3865 | s.Pitch = 0.9 | |
3866 | s:Play() | |
3867 | sa = Instance.new("Sound",P) | |
3868 | sa.SoundId = "rbxassetid://419447292" | |
3869 | sa.Volume = 1 | |
3870 | sa.Pitch = 1 | |
3871 | sa:Play() | |
3872 | P.Touched:connect(function(ht) | |
3873 | hit = ht.Parent | |
3874 | if ht and hit:IsA("Model") then | |
3875 | if hit:FindFirstChild("Humanoid") then | |
3876 | if hit.Name ~= p.Name then | |
3877 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
3878 | Debounces.Slashed = true]]-- | |
3879 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3)) | |
3880 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
3881 | wait(1) | |
3882 | --Debounces.Slashed = false | |
3883 | --end | |
3884 | end | |
3885 | end | |
3886 | elseif ht and hit:IsA("Hat") then | |
3887 | if hit.Parent.Name ~= p.Name then | |
3888 | if hit.Parent:FindFirstChild("Humanoid") then | |
3889 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
3890 | Debounces.Slashed = true]]-- | |
3891 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3)) | |
3892 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
3893 | wait(1) | |
3894 | --Debounces.Slashed = false | |
3895 | --end | |
3896 | end | |
3897 | end | |
3898 | end | |
3899 | end) | |
3900 | Parts[#Parts+1] = P | |
3901 | end | |
3902 | local BREAKIT = false | |
3903 | local CParts = {} | |
3904 | local Rocks = {} | |
3905 | local LastPos = nil | |
3906 | for i = 1,70 do | |
3907 | for i2,v in pairs(Parts) do | |
3908 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
3909 | local cf = v.CFrame | |
3910 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
3911 | v.CFrame = cf | |
3912 | v.Transparency = v.Transparency+0.02 | |
3913 | if v.Transparency >= 0.975 then BREAKIT = true end | |
3914 | if v.Name == "0" then | |
3915 | local Ignore = {} | |
3916 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
3917 | if v.Character ~= nil then | |
3918 | Ignore[#Ignore+1] = v.Character | |
3919 | end | |
3920 | end | |
3921 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
3922 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
3923 | if Hit ~= nil then | |
3924 | if #Rocks == 0 then | |
3925 | for i = 1,5 do | |
3926 | local P = Instance.new("Part",char) | |
3927 | Rocks[#Rocks+1] = P | |
3928 | P.Anchored = true | |
3929 | P.FormFactor = "Custom" | |
3930 | P.BrickColor = Hit.BrickColor | |
3931 | P.Material = Hit.Material | |
3932 | P.TopSurface = "Smooth" | |
3933 | P.BottomSurface = "Smooth" | |
3934 | P.Size = Vector3.new(2,2,2)*(math.random(500,900)/100) | |
3935 | end | |
3936 | end | |
3937 | for i,P in pairs(Rocks) do | |
3938 | P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
3939 | end | |
3940 | local P = Instance.new("Part",char) | |
3941 | CParts[#CParts+1] = {P,tick()} | |
3942 | P.Anchored = true | |
3943 | P.FormFactor = "Custom" | |
3944 | P.BrickColor = Hit.BrickColor | |
3945 | P.Material = Hit.Material | |
3946 | P.TopSurface = "Smooth" | |
3947 | P.BottomSurface = "Smooth" | |
3948 | P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100) | |
3949 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
3950 | Pos = Pos.p | |
3951 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
3952 | local P = P:Clone() | |
3953 | CParts[#CParts+1] = {P,tick()} | |
3954 | P.Parent = char | |
3955 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
3956 | Pos = Pos.p | |
3957 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20))) | |
3958 | if LastPos ~= nil then | |
3959 | local P = P:Clone() | |
3960 | CParts[#CParts+1] = {P,tick()} | |
3961 | P.Parent = char | |
3962 | P.BrickColor = TorsoColor | |
3963 | P.Material = "Neon" | |
3964 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
3965 | Pos = Pos.p | |
3966 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
3967 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
3968 | --P.Velocity = Vector3.new(0,-1000,0) | |
3969 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
3970 | end | |
3971 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
3972 | end | |
3973 | end | |
3974 | end | |
3975 | if BREAKIT then break end | |
3976 | wait(0.002) | |
3977 | end | |
3978 | for i,v in pairs(Rocks) do | |
3979 | CParts[#CParts+1] = {v,tick()} | |
3980 | end | |
3981 | for i,v in pairs(Parts) do | |
3982 | v:Destroy() | |
3983 | end | |
3984 | Parts = nil | |
3985 | while true do | |
3986 | local t = tick() | |
3987 | local p = nil | |
3988 | for i,v in pairs(CParts) do | |
3989 | if t-v[2] > 4 then | |
3990 | v[1].Transparency = v[1].Transparency+0.05 | |
3991 | if v[1].Transparency >= 1 then | |
3992 | v[1]:Destroy() | |
3993 | CParts[i] = nil | |
3994 | end | |
3995 | end | |
3996 | p = v | |
3997 | end | |
3998 | if p == nil then break end | |
3999 | wait(0.002) | |
4000 | end | |
4001 | for i,v in pairs(CParts) do | |
4002 | v:Destroy() | |
4003 | end | |
4004 | CParts = {} | |
4005 | end) | |
4006 | for i = 1, 20 do | |
4007 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
4008 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
4009 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
4010 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
4011 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
4012 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
4013 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
4014 | if Debounces.on == false then break end | |
4015 | rs:wait(2) | |
4016 | end | |
4017 | if Debounces.CanAttack == false then | |
4018 | Debounces.CanAttack = true | |
4019 | Debounces.on = false | |
4020 | Debounces.NoIdl = false | |
4021 | end | |
4022 | end | |
4023 | end | |
4024 | end) | |
4025 | ---------------------------------------------------- | |
4026 | local orbt={} | |
4027 | local stlt={} | |
4028 | local chot={} | |
4029 | local cfxt={} | |
4030 | local pfxt={} | |
4031 | local cns=0 | |
4032 | local cnOrb=nil | |
4033 | mouse.KeyDown:connect(function(key) | |
4034 | if key == "u" then | |
4035 | if Debounces.CanAttack == true then | |
4036 | Debounces.CanAttack = false | |
4037 | Debounces.NoIdl = true | |
4038 | Debounces.on = true | |
4039 | orbt={} | |
4040 | stlt={} | |
4041 | chot={} | |
4042 | cfxt={} | |
4043 | for i = 1, 20 do | |
4044 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
4045 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
4046 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
4047 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
4048 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
4049 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
4050 | if Debounces.on == false then end | |
4051 | rs:wait() | |
4052 | end | |
4053 | z2 = Instance.new("Sound",char) | |
4054 | z2.SoundId = "rbxassetid://489657591" | |
4055 | z2.Pitch = 1 | |
4056 | z2.Volume = 2 | |
4057 | wait(0.1) | |
4058 | z2:Play() | |
4059 | cnOrb=nwPrt(char,Vector3.new(1,1,1),larm.CFrame*CFrame.new(0,-3.4,-0.1),"White") | |
4060 | debris:AddItem(cnOrb,50) | |
4061 | cnOrb.Mesh.MeshType=3 | |
4062 | cnOrb.Transparency = 0.5 | |
4063 | table.insert(orbt,cnOrb) | |
4064 | table.insert(stlt,cnOrb) | |
4065 | local nt=0 | |
4066 | for i=0,14.75,0.02 do | |
4067 | nt=nt+1 | |
4068 | cns=i | |
4069 | if nt>=2 then | |
4070 | nt=0 | |
4071 | local cho=nwPrt(mod3,Vector3.new(0.2,0.2,0.2),cnOrb.CFrame*CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))*CFrame.new(0,5+cns,0),"White") | |
4072 | debris:AddItem(cho,1) | |
4073 | cho.Mesh.MeshType=3 | |
4074 | cho.Transparency = 1 | |
4075 | table.insert(chot,cho) | |
4076 | end | |
4077 | cnOrb.CFrame=larm.CFrame*CFrame.new(0,-3.4-(cns/2),-0.1) | |
4078 | cnOrb.Mesh.Scale=Vector3.new(i,i,i) | |
4079 | wait() | |
4080 | end | |
4081 | for i = 1, 14 do | |
4082 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
4083 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
4084 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
4085 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
4086 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
4087 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
4088 | if Debounces.on == false then end | |
4089 | rs:wait() | |
4090 | end | |
4091 | coroutine.wrap(function() | |
4092 | for i = 1, 20 do | |
4093 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
4094 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
4095 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
4096 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
4097 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
4098 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
4099 | if Debounces.on == false then end | |
4100 | rs:wait() | |
4101 | end | |
4102 | end)() | |
4103 | wait(0.1) | |
4104 | stlt={} | |
4105 | local ry,ht,ps=newRay(root.CFrame*CFrame.new(0,0,-4),root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0)*CFrame.new(0,0,-2),160,{char}) | |
4106 | cnOrb.CFrame=root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0) | |
4107 | local nt=0 | |
4108 | for i=0,160,3 do | |
4109 | cnOrb.CFrame=cnOrb.CFrame*CFrame.new(0,0,-3) | |
4110 | nt=nt+1 | |
4111 | if nt>=6 then | |
4112 | nt=0 | |
4113 | local cfx=nwPrt(mod3,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,0),"Really black") | |
4114 | cfx.Mesh.MeshId="rbxassetid://0" | |
4115 | cfx.Transparency=0.4 | |
4116 | table.insert(cfxt,cfx) | |
4117 | debris:AddItem(cfx,1) | |
4118 | end | |
4119 | if (cnOrb.Position-ps).magnitude<12 then | |
4120 | break | |
4121 | end | |
4122 | wait() | |
4123 | end | |
4124 | orbt={} | |
4125 | ||
4126 | for i=0,1,0.1 do | |
4127 | local cs=cnOrb.Mesh.Scale | |
4128 | cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i)) | |
4129 | wait() | |
4130 | end | |
4131 | local ofx=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"Really black") | |
4132 | ofx.Transparency=0.5 | |
4133 | ofx.Mesh.MeshType=3 | |
4134 | ofx.Mesh.Scale=Vector3.new(30,30,30) | |
4135 | for _,v in pairs(game:service"Players":GetChildren()) do | |
4136 | pcall(function() | |
4137 | for _,c in pairs(v.Character:GetChildren()) do | |
4138 | if v~=p and c:IsA("Part") and (cnOrb.CFrame.p-c.CFrame.p).magnitude<120 and (cnOrb.CFrame.p-c.CFrame.p).magnitude>50 then | |
4139 | local hrp=v.Character:FindFirstChild("HumanoidRootPart") | |
4140 | hrp.Velocity=CFrame.new(hrp.CFrame.p,(cnOrb.CFrame*CFrame.new(0,10,0)).p).lookVector*2500 | |
4141 | end | |
4142 | end | |
4143 | end) | |
4144 | end | |
4145 | for i=0,1,0.05 do | |
4146 | local cs=cnOrb.Mesh.Scale | |
4147 | cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,0.1,i),Tween(cs.Y,0.1,i),Tween(cs.Z,0.1,i)) | |
4148 | local ofs=ofx.Mesh.Scale | |
4149 | ofx.Mesh.Scale=Vector3.new(Tween(ofs.X,0.1,i),Tween(ofs.Y,0.1,i),Tween(ofs.Z,0.1,i)) | |
4150 | ofx.Transparency=Tween(ofx.Transparency,1,i) | |
4151 | wait() | |
4152 | end | |
4153 | ofx:Destroy() | |
4154 | cnOrb.CFrame=CFrame.new(cnOrb.Position)*CFrame.new(0,10,0) | |
4155 | local cnfx=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black") | |
4156 | cnfx.Mesh.MeshType=3 | |
4157 | cnOrb.Transparency=0.5 | |
4158 | local cnr=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black") | |
4159 | cnr.Transparency=0.5 | |
4160 | cnr.Mesh.MeshType=3 | |
4161 | local rn1=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.Angles(math.rad(90),0,0),"White") | |
4162 | rn1.Transparency=1 | |
4163 | rn1.Mesh.MeshId="rbxassetid://3270017" | |
4164 | local rn2=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"White") | |
4165 | rn2.Transparency=1 | |
4166 | rn2.Mesh.MeshId="rbxassetid://3270017" | |
4167 | local rn3=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame*CFrame.Angles(math.rad(-90),0,0),"White") | |
4168 | rn3.Transparency=1 | |
4169 | rn3.Mesh.MeshId="rbxassetid://3270017" | |
4170 | local rn4=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"White") | |
4171 | rn4.Transparency=1 | |
4172 | rn4.Mesh.MeshId="rbxassetid://3270017" | |
4173 | local rn5=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White") | |
4174 | rn5.Transparency=1 | |
4175 | rn5.Mesh.MeshId="rbxassetid://3270017" | |
4176 | local rn6=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White") | |
4177 | rn6.Transparency=1 | |
4178 | rn6.Mesh.MeshId="rbxassetid://3270017" | |
4179 | local nt=0 | |
4180 | local cs=nil | |
4181 | z4 = Instance.new("Sound",char) | |
4182 | z4.SoundId = "rbxassetid://419447292" | |
4183 | z4.Pitch = 1 | |
4184 | z4.Volume = 10 | |
4185 | wait(0.1) | |
4186 | z4:Play() | |
4187 | z3 = Instance.new("Sound",char) | |
4188 | z3.SoundId = "rbxassetid://421328847" | |
4189 | z3.Pitch = 1 | |
4190 | z3.Volume = 10 | |
4191 | wait(0.1) | |
4192 | z3:Play() | |
4193 | for i=0,1,0.05 do | |
4194 | cs=cnOrb.Mesh.Scale | |
4195 | cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i)) | |
4196 | local fs=cnfx.Mesh.Scale | |
4197 | cnfx.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,120,i)) | |
4198 | cnfx.Transparency=cnfx.Transparency+0.05 | |
4199 | rn1.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i)) | |
4200 | rn2.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i)) | |
4201 | rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3)) | |
4202 | rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3)) | |
4203 | rn1.Transparency=Tween(rn1.Transparency,0.8,i) | |
4204 | rn2.Transparency=Tween(rn2.Transparency,0.8,i) | |
4205 | rn3.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i)) | |
4206 | rn4.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i)) | |
4207 | rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3)) | |
4208 | rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3)) | |
4209 | rn3.Transparency=Tween(rn1.Transparency,0.8,i) | |
4210 | rn4.Transparency=Tween(rn2.Transparency,0.8,i) | |
4211 | rn5.Transparency=Tween(rn2.Transparency,0.25,i) | |
4212 | rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(-20),math.rad(-18),math.rad(-9)) | |
4213 | rn5.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i)) | |
4214 | rn6.Transparency=Tween(rn2.Transparency,0.25,i) | |
4215 | rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(20),math.rad(18),math.rad(9)) | |
4216 | rn6.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i)) | |
4217 | local rs=cnr.Mesh.Scale | |
4218 | cnr.Mesh.Scale=Vector3.new(Tween(rs.X,10,i),Tween(rs.Y,10,i),Tween(rs.Z,10,i)) | |
4219 | nt=nt+1 | |
4220 | if nt>=6 then | |
4221 | local pls={} | |
4222 | for _,v in pairs(game.Players:GetChildren()) do | |
4223 | table.insert(pls,v) | |
4224 | end | |
4225 | local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls) | |
4226 | local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White") | |
4227 | pffx.Mesh.MeshId="rbxassetid://0" | |
4228 | pffx.Mesh.Scale=Vector3.new(cs.X,cs.Y/5,cs.Z) | |
4229 | debris:AddItem(pffx,2) | |
4230 | table.insert(pfxt,pffx) | |
4231 | nt=0 | |
4232 | end | |
4233 | wait() | |
4234 | end | |
4235 | local int=0 | |
4236 | coroutine.wrap(function() | |
4237 | for i=1,500 do | |
4238 | rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5)) | |
4239 | rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5)) | |
4240 | rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5)) | |
4241 | rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5)) | |
4242 | rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(5),math.rad(5),math.rad(5)) | |
4243 | rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(-5),math.rad(-5),math.rad(-5)) | |
4244 | nt=nt+1 | |
4245 | int=int+1 | |
4246 | local htd={p} | |
4247 | for _,v in pairs(game:service"Players":GetChildren()) do | |
4248 | pcall(function() | |
4249 | for _,c in pairs(v.Character:GetChildren()) do | |
4250 | if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then | |
4251 | v.Character:FindFirstChild("Humanoid").Health=v.Character:FindFirstChild("Humanoid").Health-2 | |
4252 | v.Character:FindFirstChild("HumanoidRootPart").Velocity=Vector3.new(0,0,0) | |
4253 | table.insert(htd,v) | |
4254 | end | |
4255 | end | |
4256 | end) | |
4257 | end | |
4258 | htd={p} | |
4259 | if int>=6 then | |
4260 | for _,v in pairs(game:service"Players":GetChildren()) do | |
4261 | pcall(function() | |
4262 | for _,c in pairs(v.Character:GetChildren()) do | |
4263 | if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then | |
4264 | table.insert(htd,v) | |
4265 | local hfx=nwPrt(mod3,Vector3.new(1,1,1),c.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)),"White") | |
4266 | hfx.Mesh.Scale=Vector3.new(2,2,2) | |
4267 | hfx.Mesh.MeshType=3 | |
4268 | debris:AddItem(hfx,2) | |
4269 | coroutine.wrap(function() | |
4270 | pcall(function() | |
4271 | for i=0,1,0.05 do | |
4272 | pcall(function() | |
4273 | local hs=hfx.Mesh.Scale | |
4274 | hfx.CFrame=Lerp(hfx.CFrame,cnOrb.CFrame,i) | |
4275 | hfx.Mesh.Scale=Vector3.new(Tween(hs.X,0.1,i),Tween(hs.Y,0.1,i),Tween(hs.Z,0.1,i)) | |
4276 | end) | |
4277 | wait() | |
4278 | end | |
4279 | hfx:Destroy() | |
4280 | end) | |
4281 | end)() | |
4282 | end | |
4283 | end | |
4284 | end) | |
4285 | end | |
4286 | int=0 | |
4287 | end | |
4288 | if nt>=4 then | |
4289 | local pls={} | |
4290 | for _,v in pairs(game.Players:GetChildren()) do | |
4291 | table.insert(pls,v) | |
4292 | end | |
4293 | local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls) | |
4294 | local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White") | |
4295 | pffx.Transparency=0.4 | |
4296 | pffx.Mesh.MeshId="rbxassetid://0" | |
4297 | pffx.Mesh.Scale=Vector3.new(cs.X-10,cs.Y/5,cs.Z-10) | |
4298 | debris:AddItem(pffx,2) | |
4299 | table.insert(pfxt,pffx) | |
4300 | nt=0 | |
4301 | end | |
4302 | wait() | |
4303 | end | |
4304 | cnOrb:Destroy() | |
4305 | cnfx:Destroy() | |
4306 | for _,v in pairs(mod3:GetChildren()) do | |
4307 | v:Destroy() | |
4308 | end | |
4309 | orbt={} | |
4310 | stlt={} | |
4311 | chot={} | |
4312 | cfxt={} | |
4313 | pfxt={} | |
4314 | end)() | |
4315 | if Debounces.CanAttack == false then | |
4316 | Debounces.CanAttack = true | |
4317 | Debounces.NoIdl = false | |
4318 | Debounces.on = false | |
4319 | end | |
4320 | end | |
4321 | end | |
4322 | end) | |
4323 | ---------------------------------------------------- | |
4324 | --[[mouse.KeyDown:connect(function(key) | |
4325 | if key == "y" then | |
4326 | if Debounces.CanAttack == true then | |
4327 | Debounces.CanAttack = false | |
4328 | Debounces.NoIdl = true | |
4329 | Debounces.on = true | |
4330 | local shell = Instance.new("Part",torso) | |
4331 | shell.BrickColor = TorsoColor | |
4332 | shell.Anchored = false | |
4333 | shell.CanCollide = false | |
4334 | shell.Locked = true | |
4335 | shell.TopSurface = "SmoothNoOutlines" | |
4336 | shell.BottomSurface = "SmoothNoOutlines" | |
4337 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
4338 | shell.FormFactor = 3 | |
4339 | local shellm = Instance.new("SpecialMesh",shell) | |
4340 | shellm.MeshType = "Sphere" | |
4341 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
4342 | Omega = function() | |
4343 | local X = Instance.new("Part",char) | |
4344 | local O = Instance.new("ObjectValue",X) | |
4345 | O.Name = "creator" | |
4346 | X.Locked = true | |
4347 | X.Name = "Shell" | |
4348 | X.Anchored = false | |
4349 | X.CanCollide = false | |
4350 | X.Transparency = 0.5 | |
4351 | X.Reflectance = 0 | |
4352 | X.BottomSurface = 0 | |
4353 | X.TopSurface = 0 | |
4354 | X.Shape = 0 | |
4355 | local V = Instance.new("ObjectValue",X) | |
4356 | V.Value = char | |
4357 | V.Name = "creator" | |
4358 | X.BrickColor = TorsoColor | |
4359 | X.Size = Vector3.new(40,40,40) | |
4360 | --X.Material = "Neon" | |
4361 | local Z = Instance.new("SpecialMesh",X) | |
4362 | Z.MeshType = "Sphere" | |
4363 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
4364 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
4365 | local bv = Instance.new("BodyVelocity",X) | |
4366 | bv.maxForce = Vector3.new(99999,99999,99999) | |
4367 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
4368 | bv.velocity = root.CFrame.lookVector*10 | |
4369 | Explode = X.Touched:connect(function(hit) | |
4370 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then | |
4371 | local cf = X.CFrame | |
4372 | bv:Destroy() | |
4373 | X.Anchored = true | |
4374 | Z:Remove() | |
4375 | Explode:disconnect() | |
4376 | X.Size = Vector3.new(3,3,3) | |
4377 | X.Touched:connect(function(hit) end) | |
4378 | X.CanCollide = false | |
4379 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
4380 | if v:FindFirstChild('Humanoid') then | |
4381 | v.Humanoid:TakeDamage(math.random(80,120)) | |
4382 | end | |
4383 | end | |
4384 | for i = 1, (40) do rs:wait() | |
4385 | X.Transparency = X.Transparency + (1/40) | |
4386 | X.Size = X.Size + Vector3.new(1,1,1) | |
4387 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
4388 | end | |
4389 | X:Destroy() | |
4390 | end | |
4391 | end) | |
4392 | end | |
4393 | for i = 1,200 do | |
4394 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4395 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
4396 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
4397 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
4398 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
4399 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4400 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4401 | if Debounces.on == false then break end | |
4402 | rs:wait() | |
4403 | end | |
4404 | for i = 1,30 do | |
4405 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
4406 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
4407 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
4408 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
4409 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
4410 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4411 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4412 | if Debounces.on == false then break end | |
4413 | rs:wait() | |
4414 | end | |
4415 | for i = 1,40 do | |
4416 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
4417 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
4418 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
4419 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
4420 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
4421 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
4422 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4423 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4424 | if Debounces.on == false then break end | |
4425 | rs:wait() | |
4426 | end | |
4427 | for i = 1,40 do | |
4428 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
4429 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
4430 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
4431 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
4432 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
4433 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4434 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4435 | if Debounces.on == false then break end | |
4436 | rs:wait() | |
4437 | end | |
4438 | for i = 1,60 do | |
4439 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
4440 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
4441 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
4442 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
4443 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
4444 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4445 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4446 | if Debounces.on == false then break end | |
4447 | rs:wait() | |
4448 | end | |
4449 | for i = 1,60 do | |
4450 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
4451 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
4452 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
4453 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
4454 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
4455 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
4456 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4457 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
4458 | if Debounces.on == false then break end | |
4459 | rs:wait() | |
4460 | end | |
4461 | if Debounces.CanAttack == false then | |
4462 | Debounces.CanAttack = true | |
4463 | Debounces.NoIdl = false | |
4464 | Debounces.on = false | |
4465 | end | |
4466 | end | |
4467 | end | |
4468 | end)]]-- | |
4469 | ---------------------------------------------------- | |
4470 | Charging = false | |
4471 | mouse.KeyDown:connect(function(key) | |
4472 | if key == "r" then | |
4473 | if Charging == false then | |
4474 | Charging = true | |
4475 | if Debounces.CanAttack == true then | |
4476 | Debounces.CanAttack = false | |
4477 | Debounces.NoIdl = true | |
4478 | Debounces.on = true | |
4479 | for i = 1,20 do | |
4480 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
4481 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
4482 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
4483 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
4484 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
4485 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
4486 | if Debounces.on == false then break end | |
4487 | rs:wait() | |
4488 | end | |
4489 | --[[for i = 1,20 do | |
4490 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
4491 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
4492 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
4493 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
4494 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
4495 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
4496 | if Debounces.on == false then break end | |
4497 | rs:wait() | |
4498 | end]]-- | |
4499 | xay = Instance.new("Sound",char) | |
4500 | xay.SoundId = "rbxassetid://419447292" | |
4501 | xay.Pitch = 1 | |
4502 | xay.Volume = 2.5 | |
4503 | xay:Play() | |
4504 | pt=Instance.new('Part',torso) | |
4505 | pt.Anchored=true | |
4506 | pt.CanCollide=false | |
4507 | pt.Locked = true | |
4508 | pt.FormFactor='Custom' | |
4509 | pt.Size=Vector3.new(1,1,1) | |
4510 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
4511 | pt.Transparency=.6 | |
4512 | pt.BrickColor=BrickColor.new('Really black') | |
4513 | msh=Instance.new('SpecialMesh',pt) | |
4514 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
4515 | msh.Scale=Vector3.new(8,4,8) | |
4516 | pt2=pt:clone() | |
4517 | pt2.Parent = torso | |
4518 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
4519 | pt2.BrickColor=TorsoColor | |
4520 | msh2=msh:clone() | |
4521 | msh2.Parent=pt2 | |
4522 | msh2.Scale=Vector3.new(10,5,10) | |
4523 | ||
4524 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
4525 | ||
4526 | bl = Instance.new("Part", char) | |
4527 | bl.Locked = true | |
4528 | bl.Name = "Shell" | |
4529 | bl.BrickColor = BrickColor.new("Really black") | |
4530 | bl.Anchored = true | |
4531 | bl.CanCollide = false | |
4532 | bl.Transparency = 0 | |
4533 | bl.Reflectance = 0 | |
4534 | bl.BottomSurface = 0 | |
4535 | bl.TopSurface = 0 | |
4536 | bl.Shape = 0 | |
4537 | blm = Instance.new("SpecialMesh",bl) | |
4538 | blm.MeshType = "Sphere" | |
4539 | blm.Scale = Vector3.new(1,1,1) | |
4540 | blm.MeshId = "rbxassetid://9982590" | |
4541 | ||
4542 | bl2 = Instance.new("Part", char) | |
4543 | bl2.Locked = true | |
4544 | bl2.Name = "Shella" | |
4545 | bl2.BrickColor = BrickColor.new("Really black") | |
4546 | bl2.Anchored = true | |
4547 | bl2.CanCollide = false | |
4548 | bl2.Transparency = 0 | |
4549 | bl2.Reflectance = 0 | |
4550 | bl2.BottomSurface = 0 | |
4551 | bl2.TopSurface = 0 | |
4552 | bl2.Shape = 0 | |
4553 | blm2 = Instance.new("SpecialMesh",bl2) | |
4554 | blm2.MeshType = "Sphere" | |
4555 | blm2.Scale = Vector3.new(1,1,1) | |
4556 | blm2.MeshId = "rbxassetid://9982590" | |
4557 | ||
4558 | coroutine.resume(coroutine.create(function() | |
4559 | for i=1, math.huge, 4 do | |
4560 | if Charging == true then | |
4561 | rs:wait() | |
4562 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
4563 | blm.Scale = blm.Scale + Vector3.new(15, 15, 15) | |
4564 | bl.Transparency = bl.Transparency + 0.075 | |
4565 | bl2.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
4566 | blm2.Scale = blm2.Scale + Vector3.new(5, 5, 5) | |
4567 | bl2.Transparency = bl2.Transparency + 0.025 | |
4568 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
4569 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
4570 | msh.Scale = msh.Scale + Vector3.new(5,2.5,5) | |
4571 | msh2.Scale = msh2.Scale + Vector3.new(10,5,10) | |
4572 | elseif Charging == false then break | |
4573 | end | |
4574 | end | |
4575 | end)) | |
4576 | ||
4577 | repeat | |
4578 | local p = Instance.new('Part',torso) | |
4579 | p.formFactor = 'Custom' | |
4580 | p.Size = Vector3.new(1,1,1) | |
4581 | p.BrickColor = workspace.Base.BrickColor | |
4582 | p.CanCollide = false | |
4583 | p.Transparency = 0 | |
4584 | p.Anchored = true | |
4585 | p.Locked=true | |
4586 | p.Material = workspace.Base.Material | |
4587 | s = math.random(1,40)/10 | |
4588 | local m = Instance.new("BlockMesh",p) | |
4589 | m.Scale = Vector3.new(s,s,s) | |
4590 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
4591 | --[[coroutine.wrap(function() | |
4592 | wait(2) | |
4593 | while Charging == true do | |
4594 | wait(2) | |
4595 | GroundWave1() | |
4596 | wait(2) | |
4597 | end | |
4598 | end)()]]-- | |
4599 | Spawn(function() | |
4600 | while rs:wait() do | |
4601 | if Charging == true then | |
4602 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
4603 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
4604 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
4605 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
4606 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
4607 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
4608 | elseif Charging == false then break | |
4609 | end | |
4610 | end | |
4611 | end) | |
4612 | Spawn(function() | |
4613 | while rs:wait() do | |
4614 | if p.Transparency >= 1 then p:Destroy() break end | |
4615 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
4616 | p.Transparency = p.Transparency+0.01 | |
4617 | end | |
4618 | end) | |
4619 | wait(.3) | |
4620 | until Charging == false | |
4621 | end | |
4622 | end | |
4623 | end | |
4624 | end) | |
4625 | ---------------------------------------------------- | |
4626 | mouse.KeyUp:connect(function(key) | |
4627 | if key == "r" then | |
4628 | if Charging == true then | |
4629 | Charging = false | |
4630 | pt:Destroy() | |
4631 | pt2:Destroy() | |
4632 | bl:Destroy() | |
4633 | if Debounces.CanAttack == false then | |
4634 | Debounces.CanAttack = true | |
4635 | Debounces.NoIdl = false | |
4636 | Debounces.on = false | |
4637 | end | |
4638 | end | |
4639 | end | |
4640 | end) | |
4641 | ---------------------------------------------------- | |
4642 | mouse.KeyDown:connect(function(key) | |
4643 | if key == "g" then | |
4644 | if Debounces.CanAttack == true then | |
4645 | Debounces.CanAttack = false | |
4646 | Debounces.NoIdl = true | |
4647 | Debounces.on = true | |
4648 | local shell = Instance.new("Part",torso) | |
4649 | shell.BrickColor = TorsoColor | |
4650 | shell.Anchored = true | |
4651 | shell.CanCollide = false | |
4652 | shell.Locked = true | |
4653 | shell.TopSurface = "SmoothNoOutlines" | |
4654 | shell.BottomSurface = "SmoothNoOutlines" | |
4655 | shell.Size = Vector3.new(1,1,1) | |
4656 | shellm = Instance.new("SpecialMesh",shell) | |
4657 | shellm.MeshType = "Sphere" | |
4658 | shellm.Scale = Vector3.new(1,1,1) | |
4659 | local shell2 = Instance.new("Part",torso) | |
4660 | shell2.BrickColor = TorsoColor | |
4661 | shell2.Anchored = true | |
4662 | shell2.CanCollide = false | |
4663 | shell2.Locked = true | |
4664 | shell2.TopSurface = "SmoothNoOutlines" | |
4665 | shell2.BottomSurface = "SmoothNoOutlines" | |
4666 | shell2.Size = Vector3.new(1,1,1) | |
4667 | shellm2 = Instance.new("SpecialMesh",shell2) | |
4668 | shellm2.MeshType = "Sphere" | |
4669 | shellm2.Scale = Vector3.new(1,1,1) | |
4670 | ||
4671 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
4672 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
4673 | local List = {} | |
4674 | for i,v in pairs(workspace:GetChildren())do | |
4675 | if v:IsA("Model")then | |
4676 | if v:findFirstChild("Torso")then | |
4677 | if v ~= char then | |
4678 | if(v.Torso.Position -Position).magnitude <= Distance then | |
4679 | table.insert(List,v) | |
4680 | end | |
4681 | end | |
4682 | end | |
4683 | end | |
4684 | end | |
4685 | return List | |
4686 | end | |
4687 | ||
4688 | Shell = function() | |
4689 | local X = Instance.new("Part",char) | |
4690 | local O = Instance.new("ObjectValue",X) | |
4691 | O.Name = "creator" | |
4692 | X.Locked = true | |
4693 | X.Name = "Shell" | |
4694 | X.Anchored = false | |
4695 | X.CanCollide = false | |
4696 | X.Transparency = 0 | |
4697 | X.Reflectance = 0 | |
4698 | X.BottomSurface = 0 | |
4699 | X.TopSurface = 0 | |
4700 | X.Shape = 0 | |
4701 | local V = Instance.new("ObjectValue",X) | |
4702 | V.Value = char | |
4703 | V.Name = "creator" | |
4704 | X.BrickColor = TorsoColor | |
4705 | X.Size = Vector3.new(1,1,1) | |
4706 | --X.Material = "Neon" | |
4707 | local Z = Instance.new("SpecialMesh",X) | |
4708 | Z.MeshType = "Sphere" | |
4709 | Z.Scale = Vector3.new(1,1,1) | |
4710 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
4711 | local bv = Instance.new("BodyVelocity",X) | |
4712 | bv.maxForce = Vector3.new(99999,99999,99999) | |
4713 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
4714 | bv.velocity = root.CFrame.lookVector*65 | |
4715 | Explode = X.Touched:connect(function(hit) | |
4716 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then | |
4717 | local cf = X.CFrame | |
4718 | bv:Destroy() | |
4719 | X.Anchored = true | |
4720 | Z:Remove() | |
4721 | Explode:disconnect() | |
4722 | X.Size = Vector3.new(3,3,3) | |
4723 | X.Touched:connect(function(hit) end) | |
4724 | X.CanCollide = false | |
4725 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
4726 | if v:FindFirstChild('Humanoid') then | |
4727 | v.Humanoid:TakeDamage(math.random(6,12)) | |
4728 | end | |
4729 | end | |
4730 | for i = 1, (40) do rs:wait() | |
4731 | X.Transparency = X.Transparency + (1/40) | |
4732 | X.Size = X.Size + Vector3.new(1,1,1) | |
4733 | X.CFrame = cf | |
4734 | end | |
4735 | X:Destroy() | |
4736 | end | |
4737 | end) | |
4738 | end | |
4739 | Shell() | |
4740 | for i = 1, 10 do | |
4741 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4742 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4743 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4744 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4745 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
4746 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
4747 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
4748 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
4749 | if Debounces.on == false then break end | |
4750 | rs:wait() | |
4751 | end | |
4752 | Shell() | |
4753 | shell.Transparency = 1 | |
4754 | for i = 1, 10 do | |
4755 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4756 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4757 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4758 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4759 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4760 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4761 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4762 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4763 | if Debounces.on == false then break end | |
4764 | rs:wait() | |
4765 | end | |
4766 | Shell() | |
4767 | shell.Transparency = 0 | |
4768 | shell2.Transparency = 1 | |
4769 | for i = 1, 10 do | |
4770 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4771 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4772 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4773 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4774 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4775 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4776 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4777 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4778 | if Debounces.on == false then break end | |
4779 | rs:wait() | |
4780 | end | |
4781 | Shell() | |
4782 | shell2.Transparency = 0 | |
4783 | shell.Transparency = 1 | |
4784 | for i = 1, 10 do | |
4785 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4786 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4787 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4788 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4789 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4790 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4791 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4792 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4793 | if Debounces.on == false then break end | |
4794 | rs:wait() | |
4795 | end | |
4796 | Shell() | |
4797 | shell.Transparency = 0 | |
4798 | shell2.Transparency = 1 | |
4799 | for i = 1, 10 do | |
4800 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4801 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4802 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4803 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4804 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4805 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4806 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4807 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4808 | if Debounces.on == false then break end | |
4809 | rs:wait() | |
4810 | end | |
4811 | Shell() | |
4812 | shell2.Transparency = 0 | |
4813 | shell.Transparency = 1 | |
4814 | for i = 1, 10 do | |
4815 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4816 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4817 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4818 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4819 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4820 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4821 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4822 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4823 | if Debounces.on == false then break end | |
4824 | rs:wait() | |
4825 | end | |
4826 | Shell() | |
4827 | shell.Transparency = 0 | |
4828 | shell2.Transparency = 1 | |
4829 | for i = 1, 10 do | |
4830 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4831 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4832 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4833 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
4834 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4835 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4836 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4837 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4838 | if Debounces.on == false then break end | |
4839 | rs:wait() | |
4840 | end | |
4841 | Shell() | |
4842 | shell2.Transparency = 0 | |
4843 | shell.Transparency = 1 | |
4844 | for i = 1, 10 do | |
4845 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4846 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4847 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4848 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4849 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4850 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4851 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4852 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4853 | if Debounces.on == false then break end | |
4854 | rs:wait() | |
4855 | end | |
4856 | Shell() | |
4857 | shell.Transparency = 0 | |
4858 | shell2.Transparency = 1 | |
4859 | for i = 1, 10 do | |
4860 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4861 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4862 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4863 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4864 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4865 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4866 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4867 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4868 | if Debounces.on == false then break end | |
4869 | rs:wait() | |
4870 | end | |
4871 | Shell() | |
4872 | shell2.Transparency = 0 | |
4873 | shell.Transparency = 1 | |
4874 | for i = 1, 10 do | |
4875 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4876 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4877 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4878 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4879 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4880 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4881 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4882 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4883 | if Debounces.on == false then break end | |
4884 | rs:wait() | |
4885 | end | |
4886 | Shell() | |
4887 | shell.Transparency = 0 | |
4888 | shell2.Transparency = 1 | |
4889 | for i = 1, 10 do | |
4890 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4891 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4892 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4893 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4894 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4895 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4896 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4897 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4898 | if Debounces.on == false then break end | |
4899 | rs:wait() | |
4900 | end | |
4901 | Shell() | |
4902 | shell2.Transparency = 0 | |
4903 | shell.Transparency = 1 | |
4904 | for i = 1, 10 do | |
4905 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4906 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4907 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4908 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4909 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4910 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4911 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4912 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4913 | if Debounces.on == false then break end | |
4914 | rs:wait() | |
4915 | end | |
4916 | Shell() | |
4917 | shell.Transparency = 0 | |
4918 | shell2.Transparency = 1 | |
4919 | for i = 1, 10 do | |
4920 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4921 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4922 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4923 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4924 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4925 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4926 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4927 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4928 | if Debounces.on == false then break end | |
4929 | rs:wait() | |
4930 | end | |
4931 | shell.Transparency = 1 | |
4932 | if Debounces.CanAttack == false then | |
4933 | Debounces.CanAttack = true | |
4934 | Debounces.NoIdl = false | |
4935 | Debounces.on = false | |
4936 | end | |
4937 | end | |
4938 | end | |
4939 | end) | |
4940 | ---------------------------------------------------- | |
4941 | Search = false | |
4942 | mouse.KeyDown:connect(function(key) | |
4943 | if key == "n" then | |
4944 | if Search == false then | |
4945 | Search = true | |
4946 | for i,v in pairs(game.Players:getPlayers()) do | |
4947 | if v.Name~=char.Name then | |
4948 | for j,k in pairs(v.Character:GetChildren()) do | |
4949 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
4950 | bawx=Instance.new("SelectionBox",cam) | |
4951 | bawx.Color = BrickColor.new("Bright red") | |
4952 | bawx.Transparency = .5 | |
4953 | bawx.Adornee = k | |
4954 | end | |
4955 | end | |
4956 | end | |
4957 | end | |
4958 | elseif Search == true then | |
4959 | Search = false | |
4960 | for i, v in pairs(cam:GetChildren()) do | |
4961 | if v:IsA("SelectionBox") then | |
4962 | v:Destroy() | |
4963 | end | |
4964 | end | |
4965 | end | |
4966 | end | |
4967 | end) | |
4968 | ---------------------------------------------------- | |
4969 | Grab = false | |
4970 | mouse.KeyDown:connect(function(key) | |
4971 | if key == "z" then | |
4972 | Debounces.on = true | |
4973 | Debounces.NoIdl = true | |
4974 | Debounces.ks = true | |
4975 | if Grab == false then | |
4976 | gp = nil | |
4977 | for i = 1, 20 do | |
4978 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
4979 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
4980 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
4981 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
4982 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
4983 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
4984 | if Debounces.on == false then break end | |
4985 | rs:wait() | |
4986 | end | |
4987 | con1=larm.Touched:connect(function(hit) -- this is grab | |
4988 | ht = hit.Parent | |
4989 | hum1=ht:FindFirstChild('Humanoid') | |
4990 | if hum1 ~= nil then | |
4991 | if Debounces.ks==true then | |
4992 | z = Instance.new("Sound",hed) | |
4993 | z.SoundId = "rbxassetid://169380525" | |
4994 | z.Volume = 1 | |
4995 | z:Play() | |
4996 | Debounces.ks=false | |
4997 | end | |
4998 | hum1.PlatformStand=true | |
4999 | gp = ht | |
5000 | Grab = true | |
5001 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
5002 | asd.Parent = larm | |
5003 | asd.Name = "asd" | |
5004 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
5005 | --[[elseif hum1 == nil then | |
5006 | con1:disconnect() | |
5007 | wait() return]]-- | |
5008 | end | |
5009 | end) | |
5010 | for i = 1, 20 do | |
5011 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
5012 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
5013 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
5014 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
5015 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
5016 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
5017 | if Debounces.on == false then break end | |
5018 | rs:wait() | |
5019 | end | |
5020 | if hum1 == nil then | |
5021 | Debounces.on = false | |
5022 | Debounces.NoIdl = false | |
5023 | end | |
5024 | con1:disconnect() | |
5025 | elseif Grab == true then | |
5026 | Grab = false | |
5027 | Punch() | |
5028 | z = Instance.new("Sound",hed) | |
5029 | z.SoundId = "rbxassetid://169380525" | |
5030 | z.Pitch = ptz[math.random(1,#ptz)] | |
5031 | z.Volume = 1 | |
5032 | z:Play() | |
5033 | for i = 1, 10 do | |
5034 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
5035 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
5036 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
5037 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
5038 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5039 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5040 | if Debounces.on == false then break end | |
5041 | rs:wait() | |
5042 | end | |
5043 | Punch() | |
5044 | z = Instance.new("Sound",hed) | |
5045 | z.SoundId = "rbxassetid://169380525" | |
5046 | z.Pitch = ptz[math.random(1,#ptz)] | |
5047 | z.Volume = 1 | |
5048 | z:Play() | |
5049 | for i = 1, 10 do | |
5050 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
5051 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
5052 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
5053 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
5054 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5055 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5056 | if Debounces.on == false then break end | |
5057 | rs:wait() | |
5058 | end | |
5059 | Punch() | |
5060 | z = Instance.new("Sound",hed) | |
5061 | z.SoundId = "rbxassetid://169380525" | |
5062 | z.Pitch = ptz[math.random(1,#ptz)] | |
5063 | z.Volume = 1 | |
5064 | z:Play() | |
5065 | for i = 1, 10 do | |
5066 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
5067 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
5068 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
5069 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
5070 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5071 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5072 | if Debounces.on == false then break end | |
5073 | rs:wait() | |
5074 | end | |
5075 | Punch() | |
5076 | z = Instance.new("Sound",hed) | |
5077 | z.SoundId = "rbxassetid://169380525" | |
5078 | z.Pitch = ptz[math.random(1,#ptz)] | |
5079 | z.Volume = 1 | |
5080 | z:Play() | |
5081 | for i = 1, 10 do | |
5082 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
5083 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
5084 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
5085 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
5086 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5087 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5088 | if Debounces.on == false then break end | |
5089 | rs:wait() | |
5090 | end | |
5091 | Punch() | |
5092 | z = Instance.new("Sound",hed) | |
5093 | z.SoundId = "rbxassetid://169380525" | |
5094 | z.Pitch = ptz[math.random(1,#ptz)] | |
5095 | z.Volume = 1 | |
5096 | z:Play() | |
5097 | for i = 1, 10 do | |
5098 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
5099 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
5100 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
5101 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
5102 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5103 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5104 | if Debounces.on == false then break end | |
5105 | rs:wait() | |
5106 | end | |
5107 | Punch() | |
5108 | z = Instance.new("Sound",hed) | |
5109 | z.SoundId = "rbxassetid://169380525" | |
5110 | z.Pitch = ptz[math.random(1,#ptz)] | |
5111 | z.Volume = 1 | |
5112 | z:Play() | |
5113 | for i = 1, 10 do | |
5114 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
5115 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
5116 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
5117 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
5118 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5119 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5120 | if Debounces.on == false then break end | |
5121 | rs:wait() | |
5122 | end | |
5123 | Punch() | |
5124 | z = Instance.new("Sound",hed) | |
5125 | z.SoundId = "rbxassetid://169380525" | |
5126 | z.Pitch = ptz[math.random(1,#ptz)] | |
5127 | z.Volume = 1 | |
5128 | z:Play() | |
5129 | for i = 1, 10 do | |
5130 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
5131 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
5132 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
5133 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
5134 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5135 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5136 | if Debounces.on == false then break end | |
5137 | rs:wait() | |
5138 | end | |
5139 | Punch() | |
5140 | z = Instance.new("Sound",hed) | |
5141 | z.SoundId = "rbxassetid://169380525" | |
5142 | z.Pitch = ptz[math.random(1,#ptz)] | |
5143 | z.Volume = 1 | |
5144 | z:Play() | |
5145 | for i = 1, 10 do | |
5146 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
5147 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
5148 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
5149 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
5150 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5151 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5152 | if Debounces.on == false then break end | |
5153 | rs:wait() | |
5154 | end | |
5155 | Punch() | |
5156 | z = Instance.new("Sound",hed) | |
5157 | z.SoundId = "rbxassetid://169380525" | |
5158 | z.Pitch = ptz[math.random(1,#ptz)] | |
5159 | z.Volume = 1 | |
5160 | z:Play() | |
5161 | for i = 1, 10 do | |
5162 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
5163 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
5164 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
5165 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
5166 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5167 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5168 | if Debounces.on == false then break end | |
5169 | rs:wait() | |
5170 | end | |
5171 | Punch() | |
5172 | z = Instance.new("Sound",hed) | |
5173 | z.SoundId = "rbxassetid://169380525" | |
5174 | z.Pitch = ptz[math.random(1,#ptz)] | |
5175 | z.Volume = 1 | |
5176 | z:Play() | |
5177 | for i = 1, 10 do | |
5178 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
5179 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
5180 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
5181 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
5182 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5183 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5184 | if Debounces.on == false then break end | |
5185 | rs:wait() | |
5186 | end | |
5187 | Punch() | |
5188 | z = Instance.new("Sound",hed) | |
5189 | z.SoundId = "rbxassetid://169380525" | |
5190 | z.Pitch = ptz[math.random(1,#ptz)] | |
5191 | z.Volume = 1 | |
5192 | z:Play() | |
5193 | for i = 1, 10 do | |
5194 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
5195 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
5196 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
5197 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
5198 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5199 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5200 | if Debounces.on == false then break end | |
5201 | rs:wait() | |
5202 | end | |
5203 | Punch() | |
5204 | z = Instance.new("Sound",hed) | |
5205 | z.SoundId = "rbxassetid://169380525" | |
5206 | z.Pitch = ptz[math.random(1,#ptz)] | |
5207 | z.Volume = 1 | |
5208 | z:Play() | |
5209 | for i = 1, 10 do | |
5210 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
5211 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
5212 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
5213 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
5214 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
5215 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
5216 | if Debounces.on == false then break end | |
5217 | rs:wait() | |
5218 | end | |
5219 | con1:disconnect() | |
5220 | Debounces.on = false | |
5221 | Debounces.NoIdl = false | |
5222 | if gp ~= nil then | |
5223 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
5224 | for i,v in pairs(larm:GetChildren()) do | |
5225 | if v.Name == "asd" and v:IsA("Weld") then | |
5226 | v:Remove() | |
5227 | end | |
5228 | end | |
5229 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
5230 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
5231 | bv.P = 125000 | |
5232 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
5233 | hum1=nil | |
5234 | ht=nil | |
5235 | Debounces.on = false | |
5236 | Debounces.NoIdl = false | |
5237 | elseif ht == nil then wait() | |
5238 | Grab = false | |
5239 | Debounces.on = false | |
5240 | Debounces.NoIdl = false | |
5241 | end | |
5242 | end | |
5243 | end | |
5244 | end) | |
5245 | ---------------------------------------------------- | |
5246 | paly = game.Players.LocalPlayer | |
5247 | paly = game.Players.LocalPlayer | |
5248 | p = game.Players.LocalPlayer | |
5249 | char = paly.Character | |
5250 | vt = Vector3.new | |
5251 | rarm = char["Right Arm"] | |
5252 | larm = char["Left Arm"] | |
5253 | local maincolor = char.Torso.BrickColor | |
5254 | ||
5255 | local orb = Instance.new("Part") | |
5256 | orb.Parent = char | |
5257 | orb.Size = Vector3.new(0.5, 0.5, 0.5) | |
5258 | orb.Archivable = true | |
5259 | orb.Transparency = 1 | |
5260 | orb.BrickColor = maincolor | |
5261 | orb.Material = "Neon" | |
5262 | orb.CanCollide = false | |
5263 | local weld1 = Instance.new("Weld") | |
5264 | weld1.Parent = rarm | |
5265 | weld1.Part0 = rarm | |
5266 | weld1.Part1 = orb | |
5267 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
5268 | local pt1 = NumberSequenceKeypoint.new(0,0.85,0) | |
5269 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
5270 | local effecto = Instance.new("ParticleEmitter",orb) | |
5271 | effecto.LightEmission = 1 | |
5272 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
5273 | effecto.Color = ColorSequence.new(maincolor.Color) | |
5274 | effecto.Rate = 10000 | |
5275 | effecto.Lifetime = NumberRange.new(1) | |
5276 | effecto.Size = NumberSequence.new({pt1,pt2}) | |
5277 | effecto.Speed = NumberRange.new(0,0) | |
5278 | effecto.RotSpeed = NumberRange.new(100,100) | |
5279 | ||
5280 | local orbz = Instance.new("Part") | |
5281 | orbz.Parent = char | |
5282 | orbz.Size = Vector3.new(0.5, 0.5, 0.5) | |
5283 | orbz.Archivable = true | |
5284 | orbz.Transparency = 1 | |
5285 | orbz.BrickColor = maincolor | |
5286 | orbz.Material = "Neon" | |
5287 | orbz.CanCollide = false | |
5288 | local weldz1 = Instance.new("Weld") | |
5289 | weldz1.Parent = larm | |
5290 | weldz1.Part0 = larm | |
5291 | weldz1.Part1 = orbz | |
5292 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
5293 | local effecton = Instance.new("ParticleEmitter",orbz) | |
5294 | effecton.LightEmission = 1 | |
5295 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
5296 | effecton.Color = ColorSequence.new(maincolor.Color) | |
5297 | effecton.Rate = 10000 | |
5298 | effecton.Lifetime = NumberRange.new(1) | |
5299 | effecton.Size = NumberSequence.new({pt1,pt2}) | |
5300 | effecton.Speed = NumberRange.new(0,0) | |
5301 | effecton.RotSpeed = NumberRange.new(100,100) | |
5302 | ------------------------------------------- | |
5303 | ||
5304 | mouse.KeyDown:connect(function(key) | |
5305 | if string.byte(key) == 52 then | |
5306 | char.Humanoid.WalkSpeed = 60 | |
5307 | end | |
5308 | end) | |
5309 | mouse.KeyUp:connect(function(key) | |
5310 | if string.byte(key) == 52 then | |
5311 | char.Humanoid.WalkSpeed = 30 | |
5312 | end | |
5313 | end) | |
5314 | ------------------------------- | |
5315 | local animpose = "Idle" | |
5316 | local lastanimpose = "Idle" | |
5317 | local sine = 0 | |
5318 | local change = 1 | |
5319 | local val = 0 | |
5320 | local och = 0 | |
5321 | local ffing = false | |
5322 | ------------------------------- | |
5323 | game:GetService("RunService").RenderStepped:connect(function() | |
5324 | --[[if char.Humanoid.Jump == true then | |
5325 | jump = true | |
5326 | else | |
5327 | jump = false | |
5328 | end]] | |
5329 | char.Humanoid.FreeFalling:connect(function(f) | |
5330 | if f then | |
5331 | ffing = true | |
5332 | else | |
5333 | ffing = false | |
5334 | end | |
5335 | end) | |
5336 | sine = sine + change | |
5337 | if jumpn == true then | |
5338 | animpose = "Jumping" | |
5339 | elseif ffing == true then | |
5340 | animpose = "Freefalling" | |
5341 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
5342 | animpose = "Idle" | |
5343 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
5344 | animpose = "Walking" | |
5345 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
5346 | animpose = "Running" | |
5347 | end | |
5348 | if animpose ~= lastanimpose then | |
5349 | sine = 0 | |
5350 | if Debounces.NoIdl == false then | |
5351 | if animpose == "Idle" then | |
5352 | for i = 1, 2 do | |
5353 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
5354 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
5355 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
5356 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
5357 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.625, -0.35) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
5358 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
5359 | end | |
5360 | elseif animpose == "Walking" then | |
5361 | for i = 1, 2 do | |
5362 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
5363 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
5364 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
5365 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
5366 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
5367 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
5368 | end | |
5369 | elseif animpose == "Running" then | |
5370 | for i = 1, 2 do | |
5371 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
5372 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
5373 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
5374 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
5375 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
5376 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
5377 | wait() | |
5378 | end | |
5379 | end | |
5380 | else | |
5381 | end | |
5382 | end | |
5383 | lastanimpose = animpose | |
5384 | if Debounces.NoIdl == false then | |
5385 | if animpose == "Idle" then | |
5386 | change = 0.5 | |
5387 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3) | |
5388 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3) | |
5389 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2) | |
5390 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2) | |
5391 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2) | |
5392 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2) | |
5393 | elseif animpose == "Walking" then | |
5394 | change = 1 | |
5395 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-32),math.rad(-28),math.rad(10+2*math.cos(sine/14))), 0.2) | |
5396 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(50),math.rad(-45),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
5397 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
5398 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
5399 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.215, -0.35) * CFrame.Angles(-0.35, 0, 0), 0.4) | |
5400 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(-0.475,0,0), 0.4) | |
5401 | elseif animpose == "Running" then | |
5402 | change = 1 | |
5403 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
5404 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
5405 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
5406 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
5407 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
5408 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
5409 | end | |
5410 | end | |
5411 | end) | |
5412 | ||
5413 | hum.MaxHealth = math.huge | |
5414 | wait(3) | |
5415 | hum.Health = hum.MaxHealth | |
5416 | ||
5417 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
5418 | --[[Part0 = Vector3 (Start pos) | |
5419 | Part1 = Vector3 (End pos) | |
5420 | Times = number (Amount of lightning parts) | |
5421 | Offset = number (Offset) | |
5422 | Color = color (brickcolor value) | |
5423 | Thickness = number (thickness) | |
5424 | Trans = number (transparency) | |
5425 | ]]-- | |
5426 | local magz = (Part0 - Part1).magnitude | |
5427 | local curpos = Part0 | |
5428 | local trz = {-Offset,Offset} | |
5429 | for i=1,Times do | |
5430 | local li = Instance.new("Part", torso) | |
5431 | li.Name = "Lightning" | |
5432 | li.TopSurface =0 | |
5433 | li.Material = "Neon" | |
5434 | li.BottomSurface = 0 | |
5435 | li.Anchored = true | |
5436 | li.Locked = true | |
5437 | li.Transparency = Trans or 0.4 | |
5438 | li.BrickColor = TorsoColor | |
5439 | li.formFactor = "Custom" | |
5440 | li.CanCollide = false | |
5441 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
5442 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
5443 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
5444 | if Times == i then | |
5445 | local magz2 = (curpos - Part1).magnitude | |
5446 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
5447 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
5448 | else | |
5449 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
5450 | end | |
5451 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
5452 | game.Debris:AddItem(li,.1) | |
5453 | end | |
5454 | end | |
5455 | ||
5456 | BodyParts = {} -- Parts to emit lightning effects from | |
5457 | for _, v in pairs(char:GetChildren()) do | |
5458 | if v:IsA("Part") then | |
5459 | table.insert(BodyParts, v) | |
5460 | end | |
5461 | end | |
5462 | ||
5463 | Bounding = {} -- Calculate the bounding boxes | |
5464 | for _, v in pairs(BodyParts) do | |
5465 | local temp = {X=nil, Y=nil, Z=nil} | |
5466 | temp.X = v.Size.X/2 * 10 | |
5467 | temp.Y = v.Size.Y/2 * 10 | |
5468 | temp.Z = v.Size.Z/2 * 10 | |
5469 | Bounding[v.Name] = temp | |
5470 | --table.insert(Bounding, v.Name, temp) | |
5471 | end | |
5472 | ||
5473 | while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly | |
5474 | local Body1 = BodyParts[math.random(#BodyParts)] | |
5475 | local Body2 = BodyParts[math.random(#BodyParts)] | |
5476 | local Pos1 = Vector3.new( | |
5477 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
5478 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
5479 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
5480 | ) | |
5481 | local Pos2 = Vector3.new( | |
5482 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
5483 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
5484 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
5485 | ) | |
5486 | local SPos1 = Body1.Position + Pos1 | |
5487 | local SPos2 = Body2.Position + Pos2 | |
5488 | Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56) | |
5489 | end | |
5490 | och=och+1 | |
5491 | for _,v in pairs(orbt) do | |
5492 | pcall(function() | |
5493 | v.Mesh.Scale=Vector3.new(cns+(0.2*math.cos(och/12)),cns+(0.2*math.cos(och/10)),cns+(0.2*math.cos(och/8))) | |
5494 | end) | |
5495 | end | |
5496 | for _,v in pairs(stlt) do | |
5497 | pcall(function() | |
5498 | v.CFrame=larm.CFrame*CFrame.new(0,-3.5-(cns/2),-0.1) | |
5499 | end) | |
5500 | end | |
5501 | for _,v in pairs(chot) do | |
5502 | pcall(function() | |
5503 | v.CFrame=Lerp(v.CFrame,cnOrb.CFrame,0.1) | |
5504 | v.Mesh.Scale=Vector3.new(Tween(v.Mesh.Scale.X,0,0.1),Tween(v.Mesh.Scale.Y,0,0.1),Tween(v.Mesh.Scale.Z,0,0.1)) | |
5505 | end) | |
5506 | end | |
5507 | for _,v in pairs(cfxt) do | |
5508 | pcall(function() | |
5509 | local vs=v.Mesh.Scale | |
5510 | v.Mesh.Scale=Vector3.new(vs.x+0.5,vs.y+0.1,vs.z+0.5) | |
5511 | v.Transparency=v.Transparency+0.05 | |
5512 | end) | |
5513 | end | |
5514 | for _,v in pairs(pfxt) do | |
5515 | pcall(function() | |
5516 | local vs=v.Mesh.Scale | |
5517 | v.Mesh.Scale=Vector3.new(vs.x+2,vs.y+0.5,vs.z+2) | |
5518 | v.Transparency=v.Transparency+0.025 | |
5519 | end) | |
5520 | end |