SHOW:
|
|
- or go back to the newest paste.
1 | wait(2) | |
2 | --[[ | |
3 | ||
4 | ░▒▓█ Ultra Instinct █▓▒░ | |
5 | ||
6 | --]] | |
7 | local Player = music ("1106602456") | |
8 | local Player = game.Players.localPlayer | |
9 | local char = Player.Character | |
10 | local Character = Player.Character | |
11 | local RootPart = Character.HumanoidRootPart | |
12 | local Head = Character.Head | |
13 | local done = false | |
14 | local canheal = false | |
15 | local deathchat1 = false | |
16 | local once = true | |
17 | local dead = false | |
18 | local candie = true | |
19 | local deathchat = false | |
20 | local idleon = true | |
21 | local idle1 = true | |
22 | local idle = true | |
23 | local spiritballenergy = true | |
24 | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do | |
25 | if v:IsA("Accessory") then | |
26 | v:Destroy() | |
27 | end | |
28 | end | |
29 | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do | |
30 | if v:IsA("Shirt") then | |
31 | v:Remove() | |
32 | end | |
33 | end | |
34 | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do | |
35 | if v:IsA("Pants") then | |
36 | v:Remove() | |
37 | end | |
38 | end | |
39 | wait() | |
40 | shirt = Instance.new("Shirt", game:GetService("Players").LocalPlayer.Character) | |
41 | shirt.Name = "Shirt" | |
42 | pants = Instance.new("Pants", game:GetService("Players").LocalPlayer.Character) | |
43 | pants.Name = "Pants" | |
44 | ||
45 | ||
46 | ||
47 | local v3 = Vector3.new | |
48 | local num = 0 | |
49 | local bc = BrickColor.new | |
50 | local new = Instance.new | |
51 | ||
52 | ||
53 | Instance.new("ForceField",char).Visible = false | |
54 | local poo = Instance.new("IntValue",Character) | |
55 | poo.Name = "haha nope" | |
56 | char.Humanoid.MaxHealth = math.huge | |
57 | wait() | |
58 | char.Humanoid.Health = math.huge | |
59 | Instance.new("ForceField",char).Visible = false | |
60 | local skinCol = "Pastel brown" | |
61 | local bd = Player:FindFirstChild("Body Colors") | |
62 | if bd then | |
63 | bd.HeadColor = BrickColor.new(skinCol) | |
64 | bd.TorsoColor = BrickColor.new(skinCol) | |
65 | bd.LeftLegColor = BrickColor.new(skinCol) | |
66 | bd.RightLegColor = BrickColor.new(skinCol) | |
67 | bd.LeftArmColor = BrickColor.new(skinCol) | |
68 | bd.RightArmColor = BrickColor.new(skinCol) | |
69 | else | |
70 | bd = Instance.new("BodyColors", Player) | |
71 | bd.HeadColor = BrickColor.new(skinCol) | |
72 | bd.TorsoColor = BrickColor.new(skinCol) | |
73 | bd.LeftLegColor = BrickColor.new(skinCol) | |
74 | bd.RightLegColor = BrickColor.new(skinCol) | |
75 | bd.LeftArmColor = BrickColor.new(skinCol) | |
76 | bd.RightArmColor = BrickColor.new(skinCol) | |
77 | end | |
78 | local number = 1 | |
79 | ||
80 | -------------------------------------------------------------------------- | |
81 | --transform | |
82 | GroundWave5 = function() | |
83 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
84 | Colors = {"Dark blue", "Dark blue"} | |
85 | ||
86 | local wave11 = Instance.new("Part", char) | |
87 | wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
88 | wave11.Anchored = true | |
89 | wave11.Name = "Wave" | |
90 | wave11.CanCollide = false | |
91 | wave11.Locked = true | |
92 | wave11.Size = Vector3.new(1, 1, 1) | |
93 | wave11.TopSurface = "Smooth" | |
94 | wave11.BottomSurface = "Smooth" | |
95 | wave11.Transparency = 0.35 | |
96 | wave11.CFrame = HandCF | |
97 | wm31 = Instance.new("SpecialMesh", wave11) | |
98 | wm31.MeshId = "rbxassetid://3270017" | |
99 | coroutine.wrap(function() | |
100 | for i = 1, 30, 1 do | |
101 | wm31.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) | |
102 | wave11.Size = wm31.Scale | |
103 | wave11.CFrame = HandCF | |
104 | wave11.Transparency = i/30 | |
105 | wait() | |
106 | end | |
107 | wait() | |
108 | wave11:Destroy() | |
109 | end)() | |
110 | end | |
111 | GroundWave6 = function() | |
112 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)) | |
113 | Colors = {"White", "Dark blue"} | |
114 | local wave111 = Instance.new("Part", char) | |
115 | wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
116 | wave111.Anchored = true | |
117 | wave111.Name = "Wave" | |
118 | wave111.CanCollide = false | |
119 | wave111.Locked = true | |
120 | wave111.Size = Vector3.new(1, 1, 1) | |
121 | wave111.TopSurface = "Smooth" | |
122 | wave111.BottomSurface = "Smooth" | |
123 | wave111.Transparency = 0.35 | |
124 | wave111.CFrame = HandCF | |
125 | wm311 = Instance.new("SpecialMesh", wave111) | |
126 | wm311.MeshId = "rbxassetid://3270017" | |
127 | coroutine.wrap(function() | |
128 | for i = 1, 30, 1 do | |
129 | wm311.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) | |
130 | wave111.Size = wm311.Scale | |
131 | wave111.CFrame = HandCF | |
132 | wave111.Transparency = i/30 | |
133 | wait() | |
134 | end | |
135 | wait() | |
136 | wave111:Destroy() | |
137 | end)() | |
138 | end | |
139 | GroundWave7 = function() | |
140 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)) | |
141 | Colors = {"Dark blue", "White"} | |
142 | local wave1111 = Instance.new("Part", char) | |
143 | wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
144 | wave1111.Anchored = true | |
145 | wave1111.Name = "Wave" | |
146 | wave1111.CanCollide = false | |
147 | wave1111.Locked = true | |
148 | wave1111.Size = Vector3.new(1, 1, 1) | |
149 | wave1111.TopSurface = "Smooth" | |
150 | wave1111.BottomSurface = "Smooth" | |
151 | wave1111.Transparency = 0.35 | |
152 | wave1111.CFrame = HandCF | |
153 | wm3111 = Instance.new("SpecialMesh", wave1111) | |
154 | wm3111.MeshId = "rbxassetid://3270017" | |
155 | coroutine.wrap(function() | |
156 | for i = 1, 30, 1 do | |
157 | wm3111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) | |
158 | wave1111.Size = wm3111.Scale | |
159 | wave1111.CFrame = HandCF | |
160 | wave1111.Transparency = i/30 | |
161 | wait() | |
162 | end | |
163 | wait() | |
164 | wave1111:Destroy() | |
165 | end)() | |
166 | end | |
167 | GroundWave8 = function() | |
168 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(60), math.rad(30), math.rad(0)) | |
169 | Colors = {"Dark blue", "Dark blue"} | |
170 | local wave11111 = Instance.new("Part", char) | |
171 | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
172 | wave11111.Anchored = true | |
173 | wave11111.Name = "Wave" | |
174 | wave11111.CanCollide = false | |
175 | wave11111.Locked = true | |
176 | wave11111.Size = Vector3.new(1, 1, 1) | |
177 | wave11111.TopSurface = "Smooth" | |
178 | wave11111.BottomSurface = "Smooth" | |
179 | wave11111.Transparency = 0.35 | |
180 | wave11111.CFrame = HandCF | |
181 | wm31111 = Instance.new("SpecialMesh", wave11111) | |
182 | wm31111.MeshId = "rbxassetid://3270017" | |
183 | coroutine.wrap(function() | |
184 | for i = 1, 30, 1 do | |
185 | wm31111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) | |
186 | wave11111.Size = wm31111.Scale | |
187 | wave11111.CFrame = HandCF | |
188 | wave11111.Transparency = i/30 | |
189 | wait() | |
190 | end | |
191 | wait() | |
192 | wave11111:Destroy() | |
193 | end)() | |
194 | end | |
195 | GroundWave9 = function() | |
196 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(50), math.rad(70)) | |
197 | ||
198 | Colors = {"Cyan", "White"} | |
199 | local wave111111 = Instance.new("Part", char) | |
200 | wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
201 | wave111111.Anchored = true | |
202 | wave111111.Name = "Wave" | |
203 | wave111111.CanCollide = false | |
204 | wave111111.Locked = true | |
205 | wave111111.Size = Vector3.new(1, 1, 1) | |
206 | wave111111.TopSurface = "Smooth" | |
207 | wave111111.BottomSurface = "Smooth" | |
208 | wave111111.Transparency = 0.35 | |
209 | wave111111.CFrame = HandCF | |
210 | wm311111 = Instance.new("SpecialMesh", wave111111) | |
211 | wm311111.MeshId = "rbxassetid://3270017" | |
212 | coroutine.wrap(function() | |
213 | for i = 1, 30, 1 do | |
214 | wm311111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) | |
215 | wave111111.Size = wm311111.Scale | |
216 | wave111111.CFrame = HandCF | |
217 | wave111111.Transparency = i/30 | |
218 | wait() | |
219 | end | |
220 | wait() | |
221 | wave111111:Destroy() | |
222 | end)() | |
223 | end | |
224 | GroundWave10 = function() | |
225 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)) | |
226 | Colors = {"White", "Dark blue"} | |
227 | local wave1111111 = Instance.new("Part", char) | |
228 | wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
229 | wave1111111.Anchored = true | |
230 | wave1111111.Name = "Wave" | |
231 | wave1111111.CanCollide = false | |
232 | wave1111111.Locked = true | |
233 | wave1111111.Size = Vector3.new(1, 1, 1) | |
234 | wave1111111.TopSurface = "Smooth" | |
235 | wave1111111.BottomSurface = "Smooth" | |
236 | wave1111111.Transparency = 0.35 | |
237 | wave1111111.CFrame = HandCF | |
238 | wm3111111 = Instance.new("SpecialMesh", wave1111111) | |
239 | wm3111111.MeshId = "rbxassetid://3270017" | |
240 | coroutine.wrap(function() | |
241 | for i = 1, 30, 1 do | |
242 | wm3111111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) | |
243 | wave1111111.Size = wm3111111.Scale | |
244 | wave1111111.CFrame = HandCF | |
245 | wave1111111.Transparency = i/30 | |
246 | wait() | |
247 | end | |
248 | wait() | |
249 | wave1111111:Destroy() | |
250 | end)() | |
251 | end | |
252 | ||
253 | GroundWave1 = function() | |
254 | ||
255 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + RootPart.CFrame.lookVector * 5 | |
256 | Colors = {"White", "White"} | |
257 | local wave = Instance.new("Part", char) | |
258 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
259 | wave.Anchored = true | |
260 | wave.Name = "Wave"..number | |
261 | wave.CanCollide = false | |
262 | wave.Locked = true | |
263 | wave.Size = Vector3.new(1, 1, 1) | |
264 | wave.TopSurface = "Smooth" | |
265 | wave.BottomSurface = "Smooth" | |
266 | wave.Transparency = 0.35 | |
267 | wave.CFrame = HandCF | |
268 | wm = Instance.new("SpecialMesh", wave) | |
269 | wm.Name = "wave"..number | |
270 | wm.MeshId = "rbxassetid://3270017" | |
271 | coroutine.wrap(function() | |
272 | for i = 1, 30, 1 do | |
273 | wm.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) | |
274 | wave.Size = wm.Scale | |
275 | wave.CFrame = HandCF | |
276 | wave.Transparency = i/30 | |
277 | wait() | |
278 | end | |
279 | wait() | |
280 | wave:Destroy() | |
281 | ||
282 | end)() | |
283 | end | |
284 | ||
285 | ||
286 | shirt = Instance.new("Shirt", char) | |
287 | shirt.Name = "Shirt" | |
288 | pants = Instance.new("Pants", char) | |
289 | pants.Name = "Pants" | |
290 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1162887253" | |
291 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1162887782" | |
292 | char.Head.face.Texture = "rbxassetid://681212054" | |
293 | ||
294 | Hair7 = Instance.new("Part") | |
295 | Hair7.Parent = char | |
296 | Hair7.Name = "Hair" | |
297 | Hair7.CanCollide = false | |
298 | Hair7.Locked = true | |
299 | Hair7.TopSurface = "Smooth" | |
300 | Hair7.BottomSurface = "Smooth" | |
301 | Hair7.formFactor = "Symmetric" | |
302 | Hair7.Material = "Neon" | |
303 | Hair7.BrickColor = BrickColor.new("Really black") | |
304 | Hair7.CFrame = char.Torso.CFrame | |
305 | Hair7.Size = Vector3.new(1, 1, 1) | |
306 | Hair7.Transparency = 0 | |
307 | ||
308 | ||
309 | Weld1 = Instance.new("Weld") | |
310 | Weld1.Parent = char.Head | |
311 | Weld1.Part0 = char.Head | |
312 | Weld1.Part1 = Hair7 | |
313 | Weld1.C0 = CFrame.new(0, 1.2, -0.17) | |
314 | ||
315 | Mesh = Instance.new("SpecialMesh") | |
316 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
317 | Mesh.Parent = Hair7 | |
318 | Mesh.Scale = Vector3.new(6.5, 6.5, 6.5) | |
319 | Mesh.MeshType = "FileMesh" | |
320 | Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712" | |
321 | Mesh.TextureId = "" | |
322 | wait(0.5) | |
323 | game.Chat:Chat(Character, "Not yet... I ain't finished yet..", "White") | |
324 | local Must2 = Instance.new("Sound",char) | |
325 | Must2.SoundId = "rbxassetid://1173681504" | |
326 | Must2.Pitch = 0.99 | |
327 | Must2.Volume = 1.6 | |
328 | Must2.Looped = true | |
329 | wait(0) | |
330 | Must2:Play() | |
331 | wait(3) | |
332 | Hair7:Destroy() | |
333 | wait(0) | |
334 | Hair7 = Instance.new("Part") | |
335 | Hair7.Parent = char | |
336 | Hair7.Name = "Hair" | |
337 | Hair7.CanCollide = false | |
338 | Hair7.Locked = true | |
339 | Hair7.TopSurface = "Smooth" | |
340 | Hair7.BottomSurface = "Smooth" | |
341 | Hair7.formFactor = "Symmetric" | |
342 | Hair7.Material = "Neon" | |
343 | Hair7.BrickColor = BrickColor.new("Really black") | |
344 | Hair7.CFrame = char.Torso.CFrame | |
345 | Hair7.Size = Vector3.new(1, 1, 1) | |
346 | Hair7.Transparency = 0 | |
347 | ||
348 | ||
349 | Weld1 = Instance.new("Weld") | |
350 | Weld1.Parent = char.Head | |
351 | Weld1.Part0 = char.Head | |
352 | Weld1.Part1 = Hair7 | |
353 | Weld1.C0 = CFrame.new(-0.1, 1.1, -0.2) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) | |
354 | ||
355 | Mesh = Instance.new("SpecialMesh") | |
356 | Mesh.Offset = Vector3.new(0,-0.2,-0.14) | |
357 | Mesh.Parent = Hair7 | |
358 | Mesh.Scale = Vector3.new(7.3,7.1,7.2) | |
359 | Mesh.MeshType = "FileMesh" | |
360 | Mesh.MeshId = "http://www.roblox.com/asset/?id=1112376656" | |
361 | Mesh.TextureId = "" | |
362 | wait(4) | |
363 | local poof = Instance.new("Sound",Player) | |
364 | poof.SoundId = "rbxassetid://1035030726" | |
365 | poof.Pitch = 0.99 | |
366 | poof.Volume = 1.3 | |
367 | poof.Looped = false | |
368 | wait(0) | |
369 | poof:Play() | |
370 | GroundWave5() | |
371 | GroundWave6() | |
372 | GroundWave7() | |
373 | GroundWave8() | |
374 | GroundWave9() | |
375 | GroundWave10() | |
376 | Hair7:Destroy() | |
377 | wait(0) | |
378 | game.Chat:Chat(Character, "...", "White") | |
379 | Hair7 = Instance.new("Part") | |
380 | Hair7.Parent = char | |
381 | Hair7.Name = "Hair" | |
382 | Hair7.CanCollide = false | |
383 | Hair7.Locked = true | |
384 | Hair7.TopSurface = "Smooth" | |
385 | Hair7.BottomSurface = "Smooth" | |
386 | Hair7.formFactor = "Symmetric" | |
387 | Hair7.Material = "Neon" | |
388 | Hair7.BrickColor = BrickColor.new("Really black") | |
389 | Hair7.CFrame = char.Torso.CFrame | |
390 | Hair7.Size = Vector3.new(1, 1, 1) | |
391 | Hair7.Transparency = 0 | |
392 | ||
393 | ||
394 | Weld1 = Instance.new("Weld") | |
395 | Weld1.Parent = char.Head | |
396 | Weld1.Part0 = char.Head | |
397 | Weld1.Part1 = Hair7 | |
398 | Weld1.C0 = CFrame.new(0, 1.2, -0.17) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) | |
399 | ||
400 | Mesh = Instance.new("SpecialMesh") | |
401 | Mesh.Offset = Vector3.new(0,-0.2,-0.14) | |
402 | Mesh.Parent = Hair7 | |
403 | Mesh.Scale = Vector3.new(7.3,5.8,7.2) | |
404 | Mesh.MeshType = "FileMesh" | |
405 | Mesh.MeshId = "http://www.roblox.com/asset/?id=1125231485" | |
406 | Mesh.TextureId = "" | |
407 | char.Head.face.Texture = "rbxassetid://986775808" | |
408 | ||
409 | ||
410 | local ice = Instance.new("Part", Head) | |
411 | ice.Size = Vector3.new(0.5, 0.5, 0.5) | |
412 | ice.BrickColor = BrickColor.new("White") | |
413 | ice.CanCollide = false | |
414 | ice.TopSurface = 0 | |
415 | ice.BottomSurface = 0 | |
416 | ice.Transparency = 1 | |
417 | local ice2 = Instance.new("SpecialMesh", ice) | |
418 | ice2.MeshType = "Brick" | |
419 | ice2.Scale = Vector3.new(1, 1, 1) | |
420 | local ice3 = Instance.new("Weld", ice) | |
421 | ice3.Part0 = Head | |
422 | ice3.Part1 = ice | |
423 | ice3.C0 = CFrame.new(0, 0, -0.8) * CFrame.Angles(0, 0, 0) | |
424 | local icesmoke = Instance.new("ParticleEmitter", ice) | |
425 | icesmoke.VelocitySpread = 5 | |
426 | icesmoke.Size = NumberSequence.new({ | |
427 | NumberSequenceKeypoint.new(0, 0.01), | |
428 | NumberSequenceKeypoint.new(1, 1) | |
429 | }) | |
430 | icesmoke.Rate = math.huge | |
431 | icesmoke.Speed = NumberRange.new(1, 1) | |
432 | icesmoke.Lifetime = NumberRange.new(0.5, 0.8) | |
433 | icesmoke.Transparency = NumberSequence.new({ | |
434 | NumberSequenceKeypoint.new(0, 0.9), | |
435 | NumberSequenceKeypoint.new(1, 1) | |
436 | }) | |
437 | icesmoke.Rotation = NumberRange.new(0, 360) | |
438 | icesmoke.Name = "Smoke" | |
439 | icesmoke.LightEmission = 0 | |
440 | icesmoke.Acceleration = Vector3.new(0,0,0) | |
441 | icesmoke.Texture = "http://www.roblox.com/asset/?id=" | |
442 | icesmoke.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5)) | |
443 | icesmoke.LockedToPart = true | |
444 | maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name | |
445 | secondcolor = "Really black" | |
446 | wait(0.016666666666666666) | |
447 | Effects = {} | |
448 | local Player = game.Players.localPlayer | |
449 | local Character = Player.Character | |
450 | local Humanoid = Character.Humanoid | |
451 | local mouse = Player:GetMouse() | |
452 | local LeftArm = Character["Left Arm"] | |
453 | local RightArm = Character["Right Arm"] | |
454 | local LeftLeg = Character["Left Leg"] | |
455 | local RightLeg = Character["Right Leg"] | |
456 | local Head = Character.Head | |
457 | local Torso = Character.Torso | |
458 | local cam = game.Workspace.CurrentCamera | |
459 | local RootJoint = RootPart.RootJoint | |
460 | local equipped = true | |
461 | local attack = false | |
462 | local Anim = "Idle" | |
463 | local idle = 0 | |
464 | local attacktype = 1 | |
465 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
466 | local velocity = RootPart.Velocity.y | |
467 | local sine = 0 | |
468 | local change = 1 | |
469 | local grabbed = false | |
470 | local cn = CFrame.new | |
471 | local mr = math.rad | |
472 | local angles = CFrame.Angles | |
473 | local ud = UDim2.new | |
474 | local c3 = Color3.new | |
475 | local dir = { | |
476 | w = 0, | |
477 | s = 0, | |
478 | a = 0, | |
479 | d = 0 | |
480 | } | |
481 | firemode = true | |
482 | rock = true | |
483 | local Services = { | |
484 | SoundService = game:GetService("SoundService"), | |
485 | Players = game:GetService("Players"), | |
486 | Debris = game:GetService("Debris"), | |
487 | Workspace = game:GetService("Workspace"), | |
488 | Lighting = game:GetService("Lighting"), | |
489 | HttpService = game:GetService("HttpService"), | |
490 | InsertService = game:GetService("InsertService") | |
491 | } | |
492 | local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
493 | Humanoid.Animator:Destroy() | |
494 | Character.Animate:Destroy() | |
495 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
496 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
497 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
498 | RSH, LSH = nil, nil | |
499 | RW = Instance.new("Weld") | |
500 | LW = Instance.new("Weld") | |
501 | RH = Torso["Right Hip"] | |
502 | LH = Torso["Left Hip"] | |
503 | RSH = Torso["Right Shoulder"] | |
504 | LSH = Torso["Left Shoulder"] | |
505 | RSH.Parent = nil | |
506 | LSH.Parent = nil | |
507 | RW.Name = "RW" | |
508 | RW.Part0 = Torso | |
509 | RW.C0 = cn(1.5, 0.5, 0) | |
510 | RW.C1 = cn(0, 0.5, 0) | |
511 | RW.Part1 = RightArm | |
512 | RW.Parent = Torso | |
513 | LW.Name = "LW" | |
514 | LW.Part0 = Torso | |
515 | LW.C0 = cn(-1.5, 0.5, 0) | |
516 | LW.C1 = cn(0, 0.5, 0) | |
517 | LW.Part1 = LeftArm | |
518 | LW.Parent = Torso | |
519 | -------------- | |
520 | human = char:FindFirstChild("Humanoid") | |
521 | human.Name = "hi" | |
522 | lig = Instance.new("PointLight",Player.Character.Torso) | |
523 | lig.Color=Color3.new(0,0,255) | |
524 | lig.Range = 10 | |
525 | ---- | |
526 | function clerp(a, b, t) | |
527 | local qa = { | |
528 | QuaternionFromCFrame(a) | |
529 | } | |
530 | local qb = { | |
531 | QuaternionFromCFrame(b) | |
532 | } | |
533 | local ax, ay, az = a.x, a.y, a.z | |
534 | local bx, by, bz = b.x, b.y, b.z | |
535 | local _t = 1 - t | |
536 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
537 | end | |
538 | function QuaternionFromCFrame(cf) | |
539 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
540 | local trace = m00 + m11 + m22 | |
541 | if trace > 0 then | |
542 | local s = math.sqrt(1 + trace) | |
543 | local recip = 0.5 / s | |
544 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
545 | else | |
546 | local i = 0 | |
547 | if m00 < m11 then | |
548 | i = 1 | |
549 | end | |
550 | if m22 > (i == 0 and m00 or m11) then | |
551 | i = 2 | |
552 | end | |
553 | if i == 0 then | |
554 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
555 | local recip = 0.5 / s | |
556 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
557 | elseif i == 1 then | |
558 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
559 | local recip = 0.5 / s | |
560 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
561 | elseif i == 2 then | |
562 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
563 | local recip = 0.5 / s | |
564 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
565 | end | |
566 | end | |
567 | end | |
568 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
569 | local xs, ys, zs = x + x, y + y, z + z | |
570 | local wx, wy, wz = w * xs, w * ys, w * zs | |
571 | local xx = x * xs | |
572 | local xy = x * ys | |
573 | local xz = x * zs | |
574 | local yy = y * ys | |
575 | local yz = y * zs | |
576 | local zz = z * zs | |
577 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
578 | end | |
579 | function QuaternionSlerp(a, b, t) | |
580 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
581 | local startInterp, finishInterp | |
582 | if cosTheta >= 1.0E-4 then | |
583 | if 1 - cosTheta > 1.0E-4 then | |
584 | local theta = math.acos(cosTheta) | |
585 | local invSinTheta = 1 / math.sin(theta) | |
586 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
587 | finishInterp = math.sin(t * theta) * invSinTheta | |
588 | else | |
589 | startInterp = 1 - t | |
590 | finishInterp = t | |
591 | end | |
592 | elseif 1 + cosTheta > 1.0E-4 then | |
593 | local theta = math.acos(-cosTheta) | |
594 | local invSinTheta = 1 / math.sin(theta) | |
595 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
596 | finishInterp = math.sin(t * theta) * invSinTheta | |
597 | else | |
598 | startInterp = t - 1 | |
599 | finishInterp = t | |
600 | end | |
601 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
602 | end | |
603 | function swait(num) | |
604 | if num == 0 or num == nil then | |
605 | game:service("RunService").RenderStepped:wait(0) | |
606 | else | |
607 | for i = 0, num do | |
608 | game:service("RunService").RenderStepped:wait(0) | |
609 | end | |
610 | end | |
611 | end | |
612 | local RbxUtility = LoadLibrary("RbxUtility") | |
613 | local Create = RbxUtility.Create | |
614 | function RemoveOutlines(part) | |
615 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
616 | end | |
617 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
618 | local Part = Create("Part")({ | |
619 | formFactor = FormFactor, | |
620 | Parent = Parent, | |
621 | Reflectance = Reflectance, | |
622 | Transparency = Transparency, | |
623 | CanCollide = false, | |
624 | Locked = true, | |
625 | BrickColor = BrickColor.new(tostring(BColor)), | |
626 | Name = Name, | |
627 | Size = Size, | |
628 | Material = Material | |
629 | }) | |
630 | RemoveOutlines(Part) | |
631 | return Part | |
632 | end | |
633 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
634 | local Msh = Create(Mesh)({ | |
635 | Parent = Part, | |
636 | Offset = OffSet, | |
637 | Scale = Scale | |
638 | }) | |
639 | if Mesh == "SpecialMesh" then | |
640 | Msh.MeshType = MeshType | |
641 | Msh.MeshId = MeshId | |
642 | end | |
643 | return Msh | |
644 | end | |
645 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
646 | local Weld = Create("Weld")({ | |
647 | Parent = Parent, | |
648 | Part0 = Part0, | |
649 | Part1 = Part1, | |
650 | C0 = C0, | |
651 | C1 = C1 | |
652 | }) | |
653 | return Weld | |
654 | end | |
655 | function rayCast(Position, Direction, Range, Ignore) | |
656 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
657 | end | |
658 | function CreateSound(id, par, vol, pit) | |
659 | coroutine.resume(coroutine.create(function() | |
660 | local sou = Instance.new("Sound", par or workspace) | |
661 | sou.Volume = vol | |
662 | sou.Pitch = pit or 1 | |
663 | sou.SoundId = id | |
664 | wait() | |
665 | sou:play() | |
666 | game:GetService("Debris"):AddItem(sou, 6) | |
667 | end)) | |
668 | end | |
669 | function CreateSong(id, par, vol, pit) | |
670 | coroutine.resume(coroutine.create(function() | |
671 | sou2 = Instance.new("Sound", par or workspace) | |
672 | sou2.Volume = 1 | |
673 | sou2.Pitch = 1 | |
674 | sou2.SoundId = id | |
675 | wait() | |
676 | sou2:play() | |
677 | sou2.Looped = true | |
678 | end)) | |
679 | end | |
680 | CreateSong("http://www.roblox.com/asset/?id=", Character, 2) | |
681 | local function getclosest(obj, distance) | |
682 | local last, lastx = distance + 1, nil | |
683 | for i, v in pairs(workspace:GetChildren()) do | |
684 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
685 | local t = v.Torso | |
686 | local dist = t.Position - obj.Position.magnitude | |
687 | if distance >= dist and last > dist then | |
688 | last = dist | |
689 | lastx = v | |
690 | end | |
691 | end | |
692 | end | |
693 | return lastx | |
694 | end | |
695 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
696 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
697 | prt.Anchored = true | |
698 | prt.CFrame = cframe | |
699 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
700 | game:GetService("Debris"):AddItem(prt, 10) | |
701 | if Type == 1 or Type == nil then | |
702 | table.insert(Effects, { | |
703 | prt, | |
704 | "Block1", | |
705 | delay, | |
706 | x3, | |
707 | y3, | |
708 | z3, | |
709 | msh | |
710 | }) | |
711 | elseif Type == 2 then | |
712 | table.insert(Effects, { | |
713 | prt, | |
714 | "Block2", | |
715 | delay, | |
716 | x3, | |
717 | y3, | |
718 | z3, | |
719 | msh | |
720 | }) | |
721 | elseif Type == 3 then | |
722 | table.insert(Effects, { | |
723 | prt, | |
724 | "Block3", | |
725 | delay, | |
726 | x3, | |
727 | y3, | |
728 | z3, | |
729 | msh | |
730 | }) | |
731 | end | |
732 | end | |
733 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
734 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
735 | prt.Anchored = true | |
736 | prt.CFrame = cframe | |
737 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
738 | game:GetService("Debris"):AddItem(prt, 10) | |
739 | table.insert(Effects, { | |
740 | prt, | |
741 | "Cylinder", | |
742 | delay, | |
743 | x3, | |
744 | y3, | |
745 | z3, | |
746 | msh | |
747 | }) | |
748 | end | |
749 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
750 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
751 | prt.Anchored = true | |
752 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
753 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
754 | game:GetService("Debris"):AddItem(prt, 10) | |
755 | table.insert(Effects, { | |
756 | prt, | |
757 | "Cylinder", | |
758 | delay, | |
759 | x3, | |
760 | y3, | |
761 | z3, | |
762 | msh | |
763 | }) | |
764 | end | |
765 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
766 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
767 | prt.Anchored = true | |
768 | prt.CFrame = cframe | |
769 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
770 | game:GetService("Debris"):AddItem(prt, 10) | |
771 | table.insert(Effects, { | |
772 | prt, | |
773 | "Cylinder", | |
774 | delay, | |
775 | x3, | |
776 | y3, | |
777 | z3, | |
778 | msh | |
779 | }) | |
780 | end | |
781 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
782 | local prt = CreatePart(3, workspace, "", 0, 0, brickcolor, "Effect", Vector3.new()) | |
783 | prt.Anchored = true | |
784 | prt.CFrame = cframe | |
785 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
786 | game:GetService("Debris"):AddItem(prt, 10) | |
787 | table.insert(Effects, { | |
788 | prt, | |
789 | "Cylinder", | |
790 | delay, | |
791 | x3, | |
792 | y3, | |
793 | z3, | |
794 | msh | |
795 | }) | |
796 | end | |
797 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
798 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
799 | prt.Anchored = true | |
800 | prt.CFrame = cframe | |
801 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
802 | game:GetService("Debris"):AddItem(prt, 10) | |
803 | table.insert(Effects, { | |
804 | prt, | |
805 | "Cylinder", | |
806 | delay, | |
807 | x3, | |
808 | y3, | |
809 | z3, | |
810 | msh | |
811 | }) | |
812 | end | |
813 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
814 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
815 | prt.Anchored = true | |
816 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
817 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
818 | local num = math.random(10, 50) / 1000 | |
819 | game:GetService("Debris"):AddItem(prt, 10) | |
820 | table.insert(Effects, { | |
821 | prt, | |
822 | "Shatter", | |
823 | num, | |
824 | prt.CFrame, | |
825 | math.random() - math.random(), | |
826 | 0, | |
827 | math.random(50, 100) / 100 | |
828 | }) | |
829 | end | |
830 | ||
831 | attack = false | |
832 | game:GetService("RunService").Stepped:connect(function() | |
833 | Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
834 | velocity = RootPart.Velocity.y | |
835 | sine = sine + change | |
836 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
837 | if equipped == true or equipped == false then | |
838 | if 1 < RootPart.Velocity.y and hit == nil then | |
839 | Anim = "Jump" | |
840 | if attack == false and ice_mode == false then | |
841 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
842 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
843 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1) | |
844 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1) | |
845 | RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1) | |
846 | LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1) | |
847 | end | |
848 | elseif RootPart.Velocity.y < -1 and hit == nil and ice_mode == false then | |
849 | Anim = "Fall" | |
850 | if attack == false then | |
851 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
852 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
853 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1) | |
854 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
855 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
856 | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
857 | end | |
858 | elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 and hit ~= nil and ice_mode == false then | |
859 | Anim = "Idle" | |
860 | if attack==false then | |
861 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .3) | |
862 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .3) | |
863 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.3) | |
864 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.3) | |
865 | RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3) | |
866 | LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3) | |
867 | end | |
868 | elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 200000 and hit ~= nil and ice_mode == false then | |
869 | Anim = "Walk" | |
870 | if attack==false then | |
871 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 5)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 10))), .2) | |
872 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2) | |
873 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2) | |
874 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2) | |
875 | RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 2), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .2) | |
876 | LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 2), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .2) | |
877 | end | |
878 | end | |
879 | end | |
880 | if equipped == true or equipped == false then | |
881 | if 1 < RootPart.Velocity.Y and hit == nil then | |
882 | Anim = "Jump" | |
883 | if attack == false and ice_mode == true then | |
884 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
885 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
886 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1) | |
887 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1) | |
888 | RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1) | |
889 | LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1) | |
890 | end | |
891 | elseif RootPart.Velocity.Y < -1 and hit == nil and ice_mode == true then | |
892 | Anim = "Fall" | |
893 | if attack == false then | |
894 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
895 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
896 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1) | |
897 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
898 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
899 | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
900 | end | |
901 | elseif(Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 and hit ~= nil and ice_mode == true then | |
902 | Anim = "Idle" | |
903 | if attack == false then | |
904 | change = 0.8 | |
905 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(15)), 0.1) | |
906 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1) | |
907 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1) | |
908 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1) | |
909 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(19 + 2 * math.cos(sine / 25))), 0.1) | |
910 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 25), -0.1) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(9 + 2 * math.cos(sine / 25))), 0.1) | |
911 | end | |
912 | elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 and hit ~= nil and ice_mode == true then | |
913 | Anim = "Walk" | |
914 | if attack == false then | |
915 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(-70)), 0.1) | |
916 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(70)), 0.1) | |
917 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1) | |
918 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1) | |
919 | RH.C0 = clerp(RH.C0, cn(0.6, -0.8 - 0.1 * math.cos(sine / 25), -0.5) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(70), math.rad(4 + 2 * math.cos(sine / 25))), 0.1) | |
920 | LH.C0 = clerp(LH.C0, cn(-0.9, -0.8 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(70), math.rad(-19 + 2 * math.cos(sine / 25))), 0.1) | |
921 | end | |
922 | end | |
923 | end | |
924 | if 0 < #Effects then | |
925 | for e = 1, #Effects do | |
926 | if Effects[e] ~= nil then | |
927 | local Thing = Effects[e] | |
928 | if Thing ~= nil then | |
929 | local Part = Thing[1] | |
930 | local Mode = Thing[2] | |
931 | local Delay = Thing[3] | |
932 | local IncX = Thing[4] | |
933 | local IncY = Thing[5] | |
934 | local IncZ = Thing[6] | |
935 | if 1 >= Thing[1].Transparency then | |
936 | if Thing[2] == "Block1" then | |
937 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
938 | local Mesh = Thing[1].Mesh | |
939 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
940 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
941 | elseif Thing[2] == "Block2" then | |
942 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, -0.3, 0) | |
943 | local Mesh = Thing[7] | |
944 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
945 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
946 | elseif Thing[2] == "Block3" then | |
947 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.2, 0) | |
948 | local Mesh = Thing[7] | |
949 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
950 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
951 | elseif Thing[2] == "Cylinder" then | |
952 | local Mesh = Thing[1].Mesh | |
953 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
954 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
955 | elseif Thing[2] == "Blood" then | |
956 | local Mesh = Thing[7] | |
957 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
958 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
959 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
960 | elseif Thing[2] == "Elec" then | |
961 | local Mesh = Thing[1].Mesh | |
962 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
963 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
964 | elseif Thing[2] == "Disappear" then | |
965 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
966 | elseif Thing[2] == "Shatter" then | |
967 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
968 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
969 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
970 | Thing[6] = Thing[6] + Thing[5] | |
971 | end | |
972 | else | |
973 | Part.Parent = nil | |
974 | table.remove(Effects, e) | |
975 | end | |
976 | end | |
977 | end | |
978 | end | |
979 | end | |
980 | end) | |
981 | --- | |
982 | local whoh = Instance.new("Sound",Torso) | |
983 | whoh.SoundId = "rbxassetid://1179254378" | |
984 | whoh.Pitch = 0.99 | |
985 | whoh.Volume = 1.5 | |
986 | whoh.Looped = true | |
987 | wait(0) | |
988 | whoh:Play() | |
989 | local Aura = Instance.new('ParticleEmitter') | |
990 | Aura.Name = "Aura" | |
991 | Aura.Texture = "rbxassetid://833874434" | |
992 | Aura.Parent = LeftArm | |
993 | Aura.LightEmission = 1 | |
994 | Aura.Transparency = NumberSequence.new(1,0.2,1) | |
995 | Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color) | |
996 | Aura.Size = NumberSequence.new(0.8,0.8,0.1) | |
997 | Aura.LockedToPart = true | |
998 | Aura.Lifetime = NumberRange.new(1) | |
999 | Aura.Rate = 100 | |
1000 | Aura.Speed = NumberRange.new(0.3) | |
1001 | Aura.EmissionDirection = "Top" | |
1002 | ||
1003 | ||
1004 | local Aura = Instance.new('ParticleEmitter') | |
1005 | Aura.Name = "Aura" | |
1006 | Aura.Texture = "rbxassetid://833874434" | |
1007 | Aura.Parent = Head | |
1008 | Aura.LightEmission = 1 | |
1009 | Aura.Transparency = NumberSequence.new(1,0.2,1) | |
1010 | Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color) | |
1011 | Aura.Size = NumberSequence.new(0.8,0.8,0.1) | |
1012 | Aura.LockedToPart = true | |
1013 | Aura.Lifetime = NumberRange.new(1) | |
1014 | Aura.Rate = 100 | |
1015 | Aura.Speed = NumberRange.new(0) | |
1016 | Aura.EmissionDirection = "Top" | |
1017 | local Aura2 = Instance.new('ParticleEmitter') | |
1018 | Aura2.Name = "Aura" | |
1019 | Aura2.Texture = "rbxassetid://833874434" | |
1020 | Aura2.Parent = RightArm | |
1021 | Aura2.LightEmission = 1 | |
1022 | Aura2.Transparency = NumberSequence.new(1,0.2,1) | |
1023 | Aura2.Color = ColorSequence.new(BrickColor.new("Lapis").Color) | |
1024 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1025 | Aura2.LockedToPart = true | |
1026 | Aura2.Lifetime = NumberRange.new(1) | |
1027 | Aura2.Rate = 100 | |
1028 | Aura2.Speed = NumberRange.new(0.3) | |
1029 | Aura2.EmissionDirection = "Top" | |
1030 | local Aura2 = Instance.new('ParticleEmitter') | |
1031 | Aura2.Name = "Aura" | |
1032 | Aura2.Texture = "rbxassetid://833874434" | |
1033 | Aura2.Parent = LeftLeg | |
1034 | Aura2.LightEmission = 1 | |
1035 | Aura2.Transparency = NumberSequence.new(1,0.2,1) | |
1036 | Aura2.Color = ColorSequence.new(BrickColor.new("Lapis").Color) | |
1037 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1038 | Aura2.LockedToPart = true | |
1039 | Aura2.Lifetime = NumberRange.new(1) | |
1040 | Aura2.Rate = 100 | |
1041 | Aura2.Speed = NumberRange.new(0.3) | |
1042 | Aura2.EmissionDirection = "Top" | |
1043 | local Aura2 = Instance.new('ParticleEmitter') | |
1044 | Aura2.Name = "Aura" | |
1045 | Aura2.Texture = "rbxassetid://833874434" | |
1046 | Aura2.Parent = RightLeg | |
1047 | Aura2.LightEmission = 1 | |
1048 | Aura2.Transparency = NumberSequence.new(1,0.2,1) | |
1049 | Aura2.Color = ColorSequence.new(BrickColor.new("Lapis").Color) | |
1050 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1051 | Aura2.LockedToPart = true | |
1052 | Aura2.Lifetime = NumberRange.new(1) | |
1053 | Aura2.Rate = 100 | |
1054 | Aura2.Speed = NumberRange.new(0.3) | |
1055 | Aura2.EmissionDirection = "Top" | |
1056 | ---aura2 | |
1057 | local Aura = Instance.new('ParticleEmitter') | |
1058 | Aura.Name = "Aura" | |
1059 | Aura.Texture = "rbxassetid://833874434" | |
1060 | Aura.Parent = LeftArm | |
1061 | Aura.LightEmission = 1 | |
1062 | Aura.Transparency = NumberSequence.new(1,0.4,1) | |
1063 | Aura.Color = ColorSequence.new(BrickColor.new("Alder").Color) | |
1064 | Aura.Size = NumberSequence.new(0.8,0.8,0.1) | |
1065 | Aura.LockedToPart = true | |
1066 | Aura.Lifetime = NumberRange.new(1) | |
1067 | Aura.Rate = 60 | |
1068 | Aura.Speed = NumberRange.new(0.3) | |
1069 | Aura.EmissionDirection = "Top" | |
1070 | local Aura2 = Instance.new('ParticleEmitter') | |
1071 | Aura2.Name = "Aura" | |
1072 | Aura2.Texture = "rbxassetid://833874434" | |
1073 | Aura2.Parent = RightArm | |
1074 | Aura2.LightEmission = 1 | |
1075 | Aura2.Transparency = NumberSequence.new(1,0.4,1) | |
1076 | Aura2.Color = ColorSequence.new(BrickColor.new("Alder").Color) | |
1077 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1078 | Aura2.LockedToPart = true | |
1079 | Aura2.Lifetime = NumberRange.new(1) | |
1080 | Aura2.Rate = 60 | |
1081 | Aura2.Speed = NumberRange.new(0.3) | |
1082 | Aura2.EmissionDirection = "Top" | |
1083 | local Aura2 = Instance.new('ParticleEmitter') | |
1084 | Aura2.Name = "Aura" | |
1085 | Aura2.Texture = "rbxassetid://833874434" | |
1086 | Aura2.Parent = LeftLeg | |
1087 | Aura2.LightEmission = 1 | |
1088 | Aura2.Transparency = NumberSequence.new(1,0.4,1) | |
1089 | Aura2.Color = ColorSequence.new(BrickColor.new("Alder").Color) | |
1090 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1091 | Aura2.LockedToPart = true | |
1092 | Aura2.Lifetime = NumberRange.new(1) | |
1093 | Aura2.Rate = 60 | |
1094 | Aura2.Speed = NumberRange.new(0.1) | |
1095 | Aura2.EmissionDirection = "Top" | |
1096 | local Aura2 = Instance.new('ParticleEmitter') | |
1097 | Aura2.Name = "Aura" | |
1098 | Aura2.Texture = "rbxassetid://833874434" | |
1099 | Aura2.Parent = RightLeg | |
1100 | Aura2.LightEmission = 1 | |
1101 | Aura2.Transparency = NumberSequence.new(1,0.4,1) | |
1102 | Aura2.Color = ColorSequence.new(BrickColor.new("Alder").Color) | |
1103 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1104 | Aura2.LockedToPart = true | |
1105 | Aura2.Lifetime = NumberRange.new(1) | |
1106 | Aura2.Rate = 60 | |
1107 | Aura2.Speed = NumberRange.new(0.3) | |
1108 | Aura2.EmissionDirection = "Top" | |
1109 | ----aura3 | |
1110 | ---aura2 | |
1111 | local Aura = Instance.new('ParticleEmitter') | |
1112 | Aura.Name = "Aura" | |
1113 | Aura.Texture = "rbxassetid://833874434" | |
1114 | Aura.Parent = LeftArm | |
1115 | Aura.LightEmission = 1 | |
1116 | Aura.Transparency = NumberSequence.new(1,0.7,1) | |
1117 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1118 | Aura.Size = NumberSequence.new(0.8,0.8,0.1) | |
1119 | Aura.LockedToPart = true | |
1120 | Aura.Lifetime = NumberRange.new(1) | |
1121 | Aura.Rate = 60 | |
1122 | Aura.Speed = NumberRange.new(0.3) | |
1123 | Aura.EmissionDirection = "Top" | |
1124 | local Aura2 = Instance.new('ParticleEmitter') | |
1125 | Aura2.Name = "Aura" | |
1126 | Aura2.Texture = "rbxassetid://833874434" | |
1127 | Aura2.Parent = RightArm | |
1128 | Aura2.LightEmission = 1 | |
1129 | Aura2.Transparency = NumberSequence.new(1,0.7,1) | |
1130 | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1131 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1132 | Aura2.LockedToPart = true | |
1133 | Aura2.Lifetime = NumberRange.new(1) | |
1134 | Aura2.Rate = 60 | |
1135 | Aura2.Speed = NumberRange.new(0.3) | |
1136 | Aura2.EmissionDirection = "Top" | |
1137 | local Aura2 = Instance.new('ParticleEmitter') | |
1138 | Aura2.Name = "Aura" | |
1139 | Aura2.Texture = "rbxassetid://833874434" | |
1140 | Aura2.Parent = LeftLeg | |
1141 | Aura2.LightEmission = 1 | |
1142 | Aura2.Transparency = NumberSequence.new(1,0.7,1) | |
1143 | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1144 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1145 | Aura2.LockedToPart = true | |
1146 | Aura2.Lifetime = NumberRange.new(1) | |
1147 | Aura2.Rate = 60 | |
1148 | Aura2.Speed = NumberRange.new(0.3) | |
1149 | Aura2.EmissionDirection = "Top" | |
1150 | local Aura2 = Instance.new('ParticleEmitter') | |
1151 | Aura2.Name = "Aura" | |
1152 | Aura2.Texture = "rbxassetid://833874434" | |
1153 | Aura2.Parent = RightLeg | |
1154 | Aura2.LightEmission = 1 | |
1155 | Aura2.Transparency = NumberSequence.new(1,0.7,1) | |
1156 | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1157 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1158 | Aura2.LockedToPart = true | |
1159 | Aura2.Lifetime = NumberRange.new(0.6) | |
1160 | Aura2.Rate = 60 | |
1161 | Aura2.Speed = NumberRange.new(0.3) | |
1162 | Aura2.EmissionDirection = "Top" | |
1163 | ---- | |
1164 | ||
1165 | ---aura2 | |
1166 | local Aura = Instance.new('ParticleEmitter') | |
1167 | Aura.Name = "Aura" | |
1168 | Aura.Texture = "rbxassetid://833874434" | |
1169 | Aura.Parent = LeftArm | |
1170 | Aura.LightEmission = 1 | |
1171 | Aura.Transparency = NumberSequence.new(1,0.7,1) | |
1172 | Aura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
1173 | Aura.Size = NumberSequence.new(0.8,0.8,0.1) | |
1174 | Aura.LockedToPart = true | |
1175 | Aura.Lifetime = NumberRange.new(1) | |
1176 | Aura.Rate = 60 | |
1177 | Aura.Speed = NumberRange.new(0.3) | |
1178 | Aura.EmissionDirection = "Top" | |
1179 | local Aura2 = Instance.new('ParticleEmitter') | |
1180 | Aura2.Name = "Aura" | |
1181 | Aura2.Texture = "rbxassetid://833874434" | |
1182 | Aura2.Parent = RightArm | |
1183 | Aura2.LightEmission = 1 | |
1184 | Aura2.Transparency = NumberSequence.new(1,0.7,1) | |
1185 | Aura2.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
1186 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1187 | Aura2.LockedToPart = true | |
1188 | Aura2.Lifetime = NumberRange.new(1) | |
1189 | Aura2.Rate = 60 | |
1190 | Aura2.Speed = NumberRange.new(0.3) | |
1191 | Aura2.EmissionDirection = "Top" | |
1192 | local Aura2 = Instance.new('ParticleEmitter') | |
1193 | Aura2.Name = "Aura" | |
1194 | Aura2.Texture = "rbxassetid://833874434" | |
1195 | Aura2.Parent = LeftLeg | |
1196 | Aura2.LightEmission = 1 | |
1197 | Aura2.Transparency = NumberSequence.new(1,0.7,1) | |
1198 | Aura2.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
1199 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1200 | Aura2.LockedToPart = true | |
1201 | Aura2.Lifetime = NumberRange.new(1) | |
1202 | Aura2.Rate = 60 | |
1203 | Aura2.Speed = NumberRange.new(0.3) | |
1204 | Aura2.EmissionDirection = "Top" | |
1205 | local Aura2 = Instance.new('ParticleEmitter') | |
1206 | Aura2.Name = "Aura" | |
1207 | Aura2.Texture = "rbxassetid://833874434" | |
1208 | Aura2.Parent = RightLeg | |
1209 | Aura2.LightEmission = 1 | |
1210 | Aura2.Transparency = NumberSequence.new(1,0.7,1) | |
1211 | Aura2.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
1212 | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) | |
1213 | Aura2.LockedToPart = true | |
1214 | Aura2.Lifetime = NumberRange.new(0.6) | |
1215 | Aura2.Rate = 60 | |
1216 | Aura2.Speed = NumberRange.new(0.3) | |
1217 | Aura2.EmissionDirection = "Top" | |
1218 | local tra = Instance.new('ParticleEmitter') | |
1219 | tra.Parent = Torso | |
1220 | tra.LightEmission = 1 | |
1221 | tra.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1222 | tra.Rate = 15 | |
1223 | tra.Rotation = NumberRange.new(-5, 5) | |
1224 | tra.Lifetime = NumberRange.new(1.5, 2) | |
1225 | tra.Size = NumberSequence.new(0.098,0) | |
1226 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
1227 | tra.Speed = NumberRange.new(0.5) | |
1228 | tra.VelocitySpread = 360 | |
1229 | tra.VelocityInheritance = 0.5 | |
1230 | tra.ZOffset = 2 | |
1231 | local tra = Instance.new('ParticleEmitter') | |
1232 | tra.Parent = Head | |
1233 | tra.LightEmission = 1 | |
1234 | tra.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1235 | tra.Rate = 15 | |
1236 | tra.Rotation = NumberRange.new(-5, 5) | |
1237 | tra.Lifetime = NumberRange.new(1.5, 2) | |
1238 | tra.Size = NumberSequence.new(0.098,0) | |
1239 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
1240 | tra.Speed = NumberRange.new(0.5) | |
1241 | tra.VelocitySpread = 360 | |
1242 | tra.VelocityInheritance = 0.5 | |
1243 | tra.ZOffset = 2 | |
1244 | local tra = Instance.new('ParticleEmitter') | |
1245 | tra.Parent = LeftArm | |
1246 | tra.LightEmission = 1 | |
1247 | tra.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1248 | tra.Rate = 15 | |
1249 | tra.Rotation = NumberRange.new(-5, 5) | |
1250 | tra.Lifetime = NumberRange.new(1.5, 2) | |
1251 | tra.Size = NumberSequence.new(0.098,0) | |
1252 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
1253 | tra.Speed = NumberRange.new(0.5) | |
1254 | tra.VelocitySpread = 360 | |
1255 | tra.VelocityInheritance = 0.5 | |
1256 | tra.ZOffset = 2 | |
1257 | local tra = Instance.new('ParticleEmitter') | |
1258 | tra.Parent = RightArm | |
1259 | tra.LightEmission = 1 | |
1260 | tra.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1261 | tra.Rate = 15 | |
1262 | tra.Rotation = NumberRange.new(-5, 5) | |
1263 | tra.Lifetime = NumberRange.new(1.5, 2) | |
1264 | tra.Size = NumberSequence.new(0.098,0) | |
1265 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
1266 | tra.Speed = NumberRange.new(0.5) | |
1267 | tra.VelocitySpread = 360 | |
1268 | tra.VelocityInheritance = 0.5 | |
1269 | tra.ZOffset = 2 | |
1270 | local tra = Instance.new('ParticleEmitter') | |
1271 | tra.Parent = LeftLeg | |
1272 | tra.LightEmission = 1 | |
1273 | tra.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1274 | tra.Rate = 15 | |
1275 | tra.Rotation = NumberRange.new(-5, 5) | |
1276 | tra.Lifetime = NumberRange.new(1.5, 2) | |
1277 | tra.Size = NumberSequence.new(0.098,0) | |
1278 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
1279 | tra.Speed = NumberRange.new(0.5) | |
1280 | tra.VelocitySpread = 360 | |
1281 | tra.VelocityInheritance = 0.5 | |
1282 | tra.ZOffset = 2 | |
1283 | local tra = Instance.new('ParticleEmitter') | |
1284 | tra.Parent = RightLeg | |
1285 | tra.LightEmission = 1 | |
1286 | tra.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1287 | tra.Rate = 15 | |
1288 | tra.Rotation = NumberRange.new(-5, 5) | |
1289 | tra.Lifetime = NumberRange.new(1.5, 2) | |
1290 | tra.Size = NumberSequence.new(0.098,0) | |
1291 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
1292 | tra.Speed = NumberRange.new(0.5) | |
1293 | tra.VelocitySpread = 360 | |
1294 | tra.VelocityInheritance = 0.5 | |
1295 | tra.ZOffset = 2 | |
1296 | ---- | |
1297 | function RemoveOutlines(part) | |
1298 | part.TopSurface = 10 | |
1299 | end | |
1300 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1301 | local Part = Create("Part")({ | |
1302 | Parent = Parent, | |
1303 | Reflectance = Reflectance, | |
1304 | Transparency = Transparency, | |
1305 | CanCollide = false, | |
1306 | Locked = true, | |
1307 | BrickColor = BrickColor.new(tostring(BColor)), | |
1308 | Name = Name, | |
1309 | Size = Size, | |
1310 | Material = Material | |
1311 | }) | |
1312 | RemoveOutlines(Part) | |
1313 | return Part | |
1314 | end | |
1315 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1316 | local Msh = Create(Mesh)({ | |
1317 | Parent = Part, | |
1318 | Offset = OffSet, | |
1319 | Scale = Scale | |
1320 | }) | |
1321 | if Mesh == "SpecialMesh" then | |
1322 | Msh.MeshType = MeshType | |
1323 | Msh.MeshId = MeshId | |
1324 | end | |
1325 | return Msh | |
1326 | end | |
1327 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1328 | local Weld = Create("Weld")({ | |
1329 | Parent = Parent, | |
1330 | Part0 = Part0, | |
1331 | Part1 = Part1, | |
1332 | C0 = C0, | |
1333 | C1 = C1 | |
1334 | }) | |
1335 | return Weld | |
1336 | end | |
1337 | WSHM = { | |
1338 | "White", | |
1339 | "Pastel light blue" | |
1340 | } | |
1341 | WSH = WSHM[math.random(1, #WSHM)] | |
1342 | function IcePartFunk(HPart, aria, Min, Max) | |
1343 | IcePart = Instance.new("Part", HPart) | |
1344 | IcePart.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max)) | |
1345 | IcePart.CanCollide = false | |
1346 | IuW = Instance.new("Weld") | |
1347 | IuW.Name = "GuW" | |
1348 | IuW.Part0 = HPart | |
1349 | IuW.C0 = cn(math.random(-aria, aria), math.random(-aria, aria), math.random(-aria, aria)) * angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)) | |
1350 | IuW.C1 = cn(0, math.random(-aria / 2, aria / 2), 0) | |
1351 | IuW.Part1 = IcePart | |
1352 | IuW.Parent = HPart | |
1353 | IcePart.Transparency = 0.85 | |
1354 | IcePart.Material = "Neon" | |
1355 | WSH = WSHM[math.random(1, #WSHM)] | |
1356 | IcePart.BrickColor = BrickColor.new("" .. WSH) | |
1357 | RemoveOutlines(IcePart) | |
1358 | game:GetService("Debris"):AddItem(IuW, 4) | |
1359 | game:GetService("Debris"):AddItem(IcePart, 6) | |
1360 | end | |
1361 | SpikeMeshId = 1033714 | |
1362 | local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale) | |
1363 | local Part = Instance.new("Part", Parent) | |
1364 | Part.Name = Name | |
1365 | Part.BrickColor = BrickColor.new(Color) | |
1366 | Part.Size = Size | |
1367 | Part.Material = Material | |
1368 | Part.Transparency = Transparency | |
1369 | Part.CanCollide = false | |
1370 | RemoveOutlines(Part) | |
1371 | local Mesh = Instance.new("SpecialMesh", Part) | |
1372 | Mesh.MeshType = "Sphere" | |
1373 | Mesh.Scale = Scale | |
1374 | return Mesh and Part | |
1375 | end | |
1376 | CFuncs = { | |
1377 | Part = { | |
1378 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1379 | local Part = Create("Part")({ | |
1380 | Parent = Parent, | |
1381 | Reflectance = Reflectance, | |
1382 | Transparency = Transparency, | |
1383 | CanCollide = false, | |
1384 | Locked = true, | |
1385 | BrickColor = BrickColor.new(tostring(BColor)), | |
1386 | Name = Name, | |
1387 | Size = Size, | |
1388 | Material = Material | |
1389 | }) | |
1390 | RemoveOutlines(Part) | |
1391 | return Part | |
1392 | end | |
1393 | }, | |
1394 | Mesh = { | |
1395 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1396 | local Msh = Create(Mesh)({ | |
1397 | Parent = Part, | |
1398 | Offset = OffSet, | |
1399 | Scale = Scale | |
1400 | }) | |
1401 | if Mesh == "SpecialMesh" then | |
1402 | Msh.MeshType = MeshType | |
1403 | Msh.MeshId = MeshId | |
1404 | end | |
1405 | return Msh | |
1406 | end | |
1407 | }, | |
1408 | Mesh = { | |
1409 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1410 | local Msh = Create(Mesh)({ | |
1411 | Parent = Part, | |
1412 | Offset = OffSet, | |
1413 | Scale = Scale | |
1414 | }) | |
1415 | if Mesh == "SpecialMesh" then | |
1416 | Msh.MeshType = MeshType | |
1417 | Msh.MeshId = MeshId | |
1418 | end | |
1419 | return Msh | |
1420 | end | |
1421 | }, | |
1422 | Weld = { | |
1423 | Create = function(Parent, Part0, Part1, C0, C1) | |
1424 | local Weld = Create("Weld")({ | |
1425 | Parent = Parent, | |
1426 | Part0 = Part0, | |
1427 | Part1 = Part1, | |
1428 | C0 = C0, | |
1429 | C1 = C1 | |
1430 | }) | |
1431 | return Weld | |
1432 | end | |
1433 | }, | |
1434 | Sound = { | |
1435 | Create = function(id, par, vol, pit) | |
1436 | coroutine.resume(coroutine.create(function() | |
1437 | local S = Create("Sound")({ | |
1438 | Volume = vol, | |
1439 | Pitch = pit or 1, | |
1440 | SoundId = id, | |
1441 | Parent = par or workspace | |
1442 | }) | |
1443 | wait() | |
1444 | S:play() | |
1445 | game:GetService("Debris"):AddItem(S, 6) | |
1446 | end)) | |
1447 | end | |
1448 | }, | |
1449 | ParticleEmitter = { | |
1450 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
1451 | local fp = Create("ParticleEmitter")({ | |
1452 | Parent = Parent, | |
1453 | Color = ColorSequence.new(Color1, Color2), | |
1454 | LightEmission = LightEmission, | |
1455 | Size = Size, | |
1456 | Texture = Texture, | |
1457 | Transparency = Transparency, | |
1458 | ZOffset = ZOffset, | |
1459 | Acceleration = Accel, | |
1460 | Drag = Drag, | |
1461 | LockedToPart = LockedToPart, | |
1462 | VelocityInheritance = VelocityInheritance, | |
1463 | EmissionDirection = EmissionDirection, | |
1464 | Enabled = Enabled, | |
1465 | Lifetime = LifeTime, | |
1466 | Rate = Rate, | |
1467 | Rotation = Rotation, | |
1468 | RotSpeed = RotSpeed, | |
1469 | Speed = Speed, | |
1470 | VelocitySpread = VelocitySpread | |
1471 | }) | |
1472 | return fp | |
1473 | end | |
1474 | } | |
1475 | } | |
1476 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1477 | if hit.Parent == nil then | |
1478 | return | |
1479 | end | |
1480 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1481 | for _, v in pairs(hit.Parent:children()) do | |
1482 | if v:IsA("Humanoid") then | |
1483 | h = v | |
1484 | end | |
1485 | end | |
1486 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1487 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1488 | return | |
1489 | end | |
1490 | local c = Create("ObjectValue")({ | |
1491 | Name = "creator", | |
1492 | Value = game:service("Players").LocalPlayer, | |
1493 | Parent = h | |
1494 | }) | |
1495 | game:GetService("Debris"):AddItem(c, 0.5) | |
1496 | if HitSound ~= nil and HitPitch ~= nil then | |
1497 | CreateSound(HitSound, hit, 1, HitPitch) | |
1498 | end | |
1499 | local Damage = math.random(minim, maxim) | |
1500 | local blocked = false | |
1501 | local block = hit.Parent:findFirstChild("Block") | |
1502 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1503 | blocked = true | |
1504 | block.Value = block.Value - 1 | |
1505 | print(block.Value) | |
1506 | end | |
1507 | if blocked == false then | |
1508 | h.Health = h.Health - Damage | |
1509 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1510 | else | |
1511 | h.Health = h.Health - Damage / 2 | |
1512 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1513 | end | |
1514 | if Type == "Knockdown" then | |
1515 | local hum = hit.Parent.Humanoid | |
1516 | hum.PlatformStand = true | |
1517 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1518 | swait(1) | |
1519 | HHumanoid.PlatformStand = false | |
1520 | end), hum) | |
1521 | local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit | |
1522 | local bodvol = Create("BodyVelocity")({ | |
1523 | velocity = angle * knockback, | |
1524 | P = 5000, | |
1525 | maxForce = Vector3.new(8000, 8000, 8000), | |
1526 | Parent = hit | |
1527 | }) | |
1528 | local rl = Create("BodyAngularVelocity")({ | |
1529 | P = 3000, | |
1530 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1531 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1532 | Parent = hit | |
1533 | }) | |
1534 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1535 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1536 | elseif Type == "Normal" then | |
1537 | local vp = Create("BodyVelocity")({ | |
1538 | P = 500, | |
1539 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1540 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1541 | }) | |
1542 | if knockback > 0 then | |
1543 | vp.Parent = hit.Parent.Torso | |
1544 | end | |
1545 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1546 | elseif Type == "Impale" then | |
1547 | local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Pastel light blue", Vector3.new(1, 1, 1), "Neon", 0.7, Vector3.new(1, 25, 1)) | |
1548 | Spike.Anchored = true | |
1549 | Spike.Rotation = Vector3.new(math.random(-10, 10), 0, math.random(-10, 10)) | |
1550 | Spike.Position = hit.Parent.Torso.Position | |
1551 | for i = 1, 5 do | |
1552 | IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1) | |
1553 | end | |
1554 | Services.Debris:AddItem(Spike, 4) | |
1555 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, 0.8, 2) | |
1556 | hit.Parent.Humanoid.PlatformStand = true | |
1557 | swait(1) | |
1558 | hit.Parent.Humanoid.PlatformStand = false | |
1559 | elseif Type == "Up" then | |
1560 | local bodyVelocity = Create("BodyVelocity")({ | |
1561 | velocity = Vector3.new(0, 20, 0), | |
1562 | P = 5000, | |
1563 | maxForce = Vector3.new(8000, 8000, 8000), | |
1564 | Parent = hit | |
1565 | }) | |
1566 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1567 | local bodyVelocity = Create("BodyVelocity")({ | |
1568 | velocity = Vector3.new(0, 20, 0), | |
1569 | P = 5000, | |
1570 | maxForce = Vector3.new(8000, 8000, 8000), | |
1571 | Parent = hit | |
1572 | }) | |
1573 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1574 | elseif Type == "Snare" then | |
1575 | local bp = Create("BodyPosition")({ | |
1576 | P = 900, | |
1577 | D = 1000, | |
1578 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1579 | position = hit.Parent.Torso.Position, | |
1580 | Parent = hit.Parent.Torso | |
1581 | }) | |
1582 | game:GetService("Debris"):AddItem(bp, 1) | |
1583 | elseif Type == "Slowness" then | |
1584 | local SpeedSave = hit.Parent.Humanoid.WalkSpeed | |
1585 | for i = 1, 25 do | |
1586 | hit.Parent.Humanoid.WalkSpeed = 4 | |
1587 | IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1) | |
1588 | end | |
1589 | wait(4) | |
1590 | hit.Parent.Humanoid.WalkSpeed = SpeedSave | |
1591 | elseif Type == "FireDmg" then | |
1592 | for i = 1, math.random(60, 150) do | |
1593 | BlockEffect(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 20, 20, 20, 1.5, 1.5, 1.5, 0.05, 3) | |
1594 | BlockEffect(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 20, 20, 20, 2, 2, 2, 0.05, 3) | |
1595 | BlockEffect(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 3) | |
1596 | wait(0.1) | |
1597 | MagniDamage(hit.Parent.Torso, 12304, 1, 8, 0, "Normal") | |
1598 | end | |
1599 | elseif Type == "Freeze" then | |
1600 | local bp = Create("BodyPosition")({ | |
1601 | P = 900, | |
1602 | D = 1000, | |
1603 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1604 | position = hit.Parent.Torso.Position, | |
1605 | Parent = hit.Parent.Torso | |
1606 | }) | |
1607 | game:GetService("Debris"):AddItem(bp, 4) | |
1608 | for i = 1, 25 do | |
1609 | IcePartFunk(hit.Parent.Torso, 1, 1.5, 2) | |
1610 | end | |
1611 | elseif Type == "Freeze2" then | |
1612 | local BodPos = Create("BodyPosition")({ | |
1613 | P = 50000, | |
1614 | D = 1000, | |
1615 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1616 | position = hit.Parent.Torso.Position, | |
1617 | Parent = hit.Parent.Torso | |
1618 | }) | |
1619 | local BodGy = Create("BodyGyro")({ | |
1620 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
1621 | P = 20000, | |
1622 | Parent = hit.Parent.Torso, | |
1623 | cframe = hit.Parent.Torso.CFrame | |
1624 | }) | |
1625 | hit.Parent.Torso.Anchored = true | |
1626 | coroutine.resume(coroutine.create(function(Part) | |
1627 | swait(1.5) | |
1628 | Part.Anchored = false | |
1629 | end), hit.Parent.Torso) | |
1630 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1631 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1632 | end | |
1633 | local debounce = Create("BoolValue")({ | |
1634 | Name = "DebounceHit", | |
1635 | Parent = hit.Parent, | |
1636 | Value = true | |
1637 | }) | |
1638 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1639 | c = Instance.new("ObjectValue") | |
1640 | c.Name = "creator" | |
1641 | c.Value = Player | |
1642 | c.Parent = h | |
1643 | game:GetService("Debris"):AddItem(c, 0.5) | |
1644 | end | |
1645 | end | |
1646 | function ShowDamage(Pos, Text, Time, Color) | |
1647 | local Rate = 0.033333333333333 | |
1648 | if not Pos then | |
1649 | local Pos = Vector3.new(0, 0, 0) | |
1650 | end | |
1651 | local Text = Text or "" | |
1652 | local Time = Time or 2 | |
1653 | if not Color then | |
1654 | local Color = Color3.new(1, 0, 1) | |
1655 | end | |
1656 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1657 | EffectPart.Anchored = true | |
1658 | local BillboardGui = Create("BillboardGui")({ | |
1659 | Size = UDim2.new(3, 0, 3, 0), | |
1660 | Adornee = EffectPart, | |
1661 | Parent = EffectPart | |
1662 | }) | |
1663 | local TextLabel = Create("TextLabel")({ | |
1664 | BackgroundTransparency = 1, | |
1665 | Size = UDim2.new(1, 0, 1, 0), | |
1666 | Text = Text, | |
1667 | TextColor3 = Color, | |
1668 | TextScaled = true, | |
1669 | Font = Enum.Font.ArialBold, | |
1670 | Parent = BillboardGui | |
1671 | }) | |
1672 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
1673 | EffectPart.Parent = game:GetService("Workspace") | |
1674 | delay(0, function() | |
1675 | local Frames = Time / Rate | |
1676 | for Frame = 1, Frames do | |
1677 | wait(Rate) | |
1678 | local Percent = Frame / Frames | |
1679 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1680 | TextLabel.TextTransparency = Percent | |
1681 | end | |
1682 | if EffectPart and EffectPart.Parent then | |
1683 | EffectPart:Destroy() | |
1684 | end | |
1685 | end) | |
1686 | end | |
1687 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1688 | for _, c in pairs(workspace:children()) do | |
1689 | local hum = c:findFirstChild("Humanoid") | |
1690 | if hum ~= nil then | |
1691 | local head = c:findFirstChild("Head") | |
1692 | if head ~= nil then | |
1693 | local targ = head.Position - Part.Position | |
1694 | local mag = targ.magnitude | |
1695 | if magni >= mag and c.Name ~= Player.Name then | |
1696 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=1050733875", 1) | |
1697 | end | |
1698 | end | |
1699 | end | |
1700 | end | |
1701 | end | |
1702 | function MagniKILL(Part, magni, knock, Type) | |
1703 | for _, c in pairs(workspace:children()) do | |
1704 | local hum = c:findFirstChild("Humanoid") | |
1705 | if hum ~= nil then | |
1706 | local head = c:findFirstChild("Head") | |
1707 | if head ~= nil then | |
1708 | local targ = head.Position - Part.Position | |
1709 | local mag = targ.magnitude | |
1710 | if magni >= mag and c.Name ~= Player.Name then | |
1711 | hum.Health = 0 | |
1712 | end | |
1713 | end | |
1714 | end | |
1715 | end | |
1716 | end | |
1717 | EffectModel = Instance.new("Model", Character) | |
1718 | EffectModel.Name = "Effects" | |
1719 | Effects = { | |
1720 | Block = { | |
1721 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1722 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1723 | prt.Anchored = true | |
1724 | prt.CFrame = cframe | |
1725 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1726 | game:GetService("Debris"):AddItem(prt, 10) | |
1727 | if Type == 1 or Type == nil then | |
1728 | table.insert(Effects, { | |
1729 | prt, | |
1730 | "Block1", | |
1731 | delay, | |
1732 | x3, | |
1733 | y3, | |
1734 | z3, | |
1735 | msh | |
1736 | }) | |
1737 | elseif Type == 2 then | |
1738 | table.insert(Effects, { | |
1739 | prt, | |
1740 | "Block2", | |
1741 | delay, | |
1742 | x3, | |
1743 | y3, | |
1744 | z3, | |
1745 | msh | |
1746 | }) | |
1747 | else | |
1748 | table.insert(Effects, { | |
1749 | prt, | |
1750 | "Block3", | |
1751 | delay, | |
1752 | x3, | |
1753 | y3, | |
1754 | z3, | |
1755 | msh | |
1756 | }) | |
1757 | end | |
1758 | end | |
1759 | }, | |
1760 | Sphere = { | |
1761 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1762 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1763 | prt.Anchored = true | |
1764 | prt.CFrame = cframe | |
1765 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1766 | game:GetService("Debris"):AddItem(prt, 10) | |
1767 | table.insert(Effects, { | |
1768 | prt, | |
1769 | "Cylinder", | |
1770 | delay, | |
1771 | x3, | |
1772 | y3, | |
1773 | z3, | |
1774 | msh | |
1775 | }) | |
1776 | end | |
1777 | }, | |
1778 | Cylinder = { | |
1779 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1780 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1781 | prt.Anchored = true | |
1782 | prt.CFrame = cframe | |
1783 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1784 | game:GetService("Debris"):AddItem(prt, 10) | |
1785 | table.insert(Effects, { | |
1786 | prt, | |
1787 | "Cylinder", | |
1788 | delay, | |
1789 | x3, | |
1790 | y3, | |
1791 | z3, | |
1792 | msh | |
1793 | }) | |
1794 | end | |
1795 | }, | |
1796 | Wave = { | |
1797 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1798 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1799 | prt.Anchored = true | |
1800 | prt.CFrame = cframe | |
1801 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1802 | game:GetService("Debris"):AddItem(prt, 10) | |
1803 | table.insert(Effects, { | |
1804 | prt, | |
1805 | "Cylinder", | |
1806 | delay, | |
1807 | x3, | |
1808 | y3, | |
1809 | z3, | |
1810 | msh | |
1811 | }) | |
1812 | end | |
1813 | }, | |
1814 | Ring = { | |
1815 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1816 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1817 | prt.Anchored = true | |
1818 | prt.CFrame = cframe | |
1819 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1820 | game:GetService("Debris"):AddItem(prt, 10) | |
1821 | table.insert(Effects, { | |
1822 | prt, | |
1823 | "Cylinder", | |
1824 | delay, | |
1825 | x3, | |
1826 | y3, | |
1827 | z3, | |
1828 | msh | |
1829 | }) | |
1830 | end | |
1831 | }, | |
1832 | Break = { | |
1833 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1834 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1835 | prt.Anchored = true | |
1836 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1837 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1838 | local num = math.random(10, 50) / 1000 | |
1839 | game:GetService("Debris"):AddItem(prt, 10) | |
1840 | table.insert(Effects, { | |
1841 | prt, | |
1842 | "Shatter", | |
1843 | num, | |
1844 | prt.CFrame, | |
1845 | math.random() - math.random(), | |
1846 | 0, | |
1847 | math.random(50, 100) / 100 | |
1848 | }) | |
1849 | end | |
1850 | } | |
1851 | } | |
1852 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1853 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1854 | prt.Anchored = true | |
1855 | prt.CFrame = cframe | |
1856 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1857 | game:GetService("Debris"):AddItem(prt, 10) | |
1858 | if Type == 1 or Type == nil then | |
1859 | table.insert(Effects, { | |
1860 | prt, | |
1861 | "Block1", | |
1862 | delay, | |
1863 | x3, | |
1864 | y3, | |
1865 | z3, | |
1866 | msh | |
1867 | }) | |
1868 | elseif Type == 2 then | |
1869 | table.insert(Effects, { | |
1870 | prt, | |
1871 | "Block2", | |
1872 | delay, | |
1873 | x3, | |
1874 | y3, | |
1875 | z3, | |
1876 | msh | |
1877 | }) | |
1878 | elseif Type == 3 then | |
1879 | table.insert(Effects, { | |
1880 | prt, | |
1881 | "Block3", | |
1882 | delay, | |
1883 | x3, | |
1884 | y3, | |
1885 | z3, | |
1886 | msh | |
1887 | }) | |
1888 | end | |
1889 | end | |
1890 | function CreateSound(id, par, vol, pit) | |
1891 | coroutine.resume(coroutine.create(function() | |
1892 | local sou = Instance.new("Sound", par or workspace) | |
1893 | sou.Volume = vol | |
1894 | sou.Pitch = pit or 1 | |
1895 | sou.SoundId = id | |
1896 | swait() | |
1897 | sou:play() | |
1898 | game:GetService("Debris"):AddItem(sou, 6) | |
1899 | end)) | |
1900 | end | |
1901 | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1902 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1903 | prt.Anchored = true | |
1904 | prt.CFrame = cframe | |
1905 | prt.Material = "Neon" | |
1906 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1907 | game:GetService("Debris"):AddItem(prt, 10) | |
1908 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1909 | for i = 0, 6, delay do | |
1910 | swait() | |
1911 | Part.Transparency = i | |
1912 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1913 | end | |
1914 | Part.Parent = nil | |
1915 | end), prt, msh) | |
1916 | end | |
1917 | function shoottraildd(mouse, partt, SpreadAmount, dmg) ---effects | |
1918 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1919 | local MainPos = partt.Position | |
1920 | local MainPos2 = mouse + SpreadVectors | |
1921 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1922 | local speed = 1000 | |
1923 | local num = 1 | |
1924 | coroutine.resume(coroutine.create(function() | |
1925 | repeat | |
1926 | swait() | |
1927 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1928 | local mag =(MainPos - pos).magnitude | |
1929 | Laser(BrickColor.new("Lapis"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -2.175, 0, -2.175, 0.15) | |
1930 | MainPos = MainPos + MouseLook.lookVector * speed | |
1931 | num = num - 1 | |
1932 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
1933 | if hit ~= nil then | |
1934 | num = 0 | |
1935 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1936 | refpart.Anchored = true | |
1937 | refpart.CFrame = CFrame.new(pos) | |
1938 | game:GetService("Debris"):AddItem(refpart, 2) | |
1939 | end | |
1940 | if num <= 0 then | |
1941 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1942 | refpart.Anchored = true | |
1943 | refpart.CFrame = CFrame.new(pos) | |
1944 | if hit ~= nil then | |
1945 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
1946 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05) | |
1947 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
1948 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
1949 | MagniDamage(refpart, 40, dmg, dmg, 0, "FireDmg") | |
1950 | end | |
1951 | game:GetService("Debris"):AddItem(refpart, 0) | |
1952 | end | |
1953 | until num <= 0 | |
1954 | end)) | |
1955 | end | |
1956 | function shoottraildd2(mouse, partt, SpreadAmount) | |
1957 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1958 | local MainPos = partt.Position | |
1959 | local MainPos2 = mouse + SpreadVectors | |
1960 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1961 | local speed = 3000 | |
1962 | local num = 1 | |
1963 | coroutine.resume(coroutine.create(function() | |
1964 | repeat | |
1965 | swait() | |
1966 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1967 | local mag = (MainPos - pos).magnitude | |
1968 | Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -17.175, 0, -17.175, 0.15) | |
1969 | MainPos = MainPos + MouseLook.lookVector * speed | |
1970 | num = num - 1 | |
1971 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
1972 | if hit ~= nil then | |
1973 | num = 0 | |
1974 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1975 | refpart.Anchored = true | |
1976 | refpart.CFrame = CFrame.new(pos) | |
1977 | game:GetService("Debris"):AddItem(refpart, 2) | |
1978 | end | |
1979 | if num <= 0 then | |
1980 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1981 | refpart.Anchored = true | |
1982 | refpart.CFrame = CFrame.new(pos) | |
1983 | if hit ~= nil then | |
1984 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
1985 | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05) | |
1986 | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) | |
1987 | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) | |
1988 | MagniKILL(refpart, 80, 0, "Normal") | |
1989 | end | |
1990 | game:GetService("Debris"):AddItem(refpart, 0) | |
1991 | end | |
1992 | until num <= 0 | |
1993 | end)) | |
1994 | end | |
1995 | function shoottraildd22(mouse, partt, SpreadAmount) | |
1996 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1997 | local MainPos = partt.Position | |
1998 | local MainPos2 = mouse + SpreadVectors | |
1999 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
2000 | local speed = 900 | |
2001 | local num = 1 | |
2002 | coroutine.resume(coroutine.create(function() | |
2003 | repeat | |
2004 | swait() | |
2005 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
2006 | local mag = (MainPos - pos).magnitude | |
2007 | Laser(BrickColor.new("Magenta"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -6.175, 0, -6.175, 0.15) | |
2008 | MainPos = MainPos + MouseLook.lookVector * speed | |
2009 | num = num - 1 | |
2010 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
2011 | if hit ~= nil then | |
2012 | num = 0 | |
2013 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
2014 | refpart.Anchored = true | |
2015 | refpart.CFrame = CFrame.new(pos) | |
2016 | game:GetService("Debris"):AddItem(refpart, 2) | |
2017 | end | |
2018 | if num <= 0 then | |
2019 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
2020 | refpart.Anchored = true | |
2021 | refpart.CFrame = CFrame.new(pos) | |
2022 | if hit ~= nil then | |
2023 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
2024 | BlockEffect(BrickColor.new("Magenta"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05) | |
2025 | BlockEffect(BrickColor.new("Magenta"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) | |
2026 | BlockEffect(BrickColor.new("Magenta"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) | |
2027 | MagniKILL(refpart, 80, 0, "Normal") | |
2028 | end | |
2029 | game:GetService("Debris"):AddItem(refpart, 0) | |
2030 | end | |
2031 | until num <= 0 | |
2032 | end)) | |
2033 | end | |
2034 | function shoottraildd3(mouse, partt, SpreadAmount, dmg) | |
2035 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
2036 | local MainPos = partt.Position | |
2037 | local MainPos2 = mouse + SpreadVectors | |
2038 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
2039 | local speed = 200 | |
2040 | local num = 0 | |
2041 | coroutine.resume(coroutine.create(function() | |
2042 | repeat | |
2043 | swait() | |
2044 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
2045 | local mag = (MainPos - pos).magnitude | |
2046 | Laser(BrickColor.new("Cyan"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.375, 0, -0.375, 0.05) | |
2047 | MainPos = MainPos + MouseLook.lookVector * speed | |
2048 | num = num - 1 | |
2049 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
2050 | if hit ~= nil then | |
2051 | num = 0 | |
2052 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
2053 | refpart.Anchored = true | |
2054 | refpart.CFrame = CFrame.new(pos) | |
2055 | BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
2056 | game:GetService("Debris"):AddItem(refpart, 2) | |
2057 | end | |
2058 | if num <= 0 then | |
2059 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
2060 | refpart.Anchored = true | |
2061 | refpart.CFrame = CFrame.new(pos) | |
2062 | if hit ~= nil then | |
2063 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
2064 | BlockEffect(BrickColor.new("White"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05) | |
2065 | BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
2066 | MagniDamage(refpart, 6, dmg, dmg, 0, "Slowness") | |
2067 | end | |
2068 | game:GetService("Debris"):AddItem(refpart, 0) | |
2069 | end | |
2070 | until num <= 0 | |
2071 | end)) | |
2072 | end | |
2073 | function shoottraildd4(mouse, partt, SpreadAmount, dmg) | |
2074 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
2075 | local MainPos = partt.Position | |
2076 | local MainPos2 = mouse + SpreadVectors | |
2077 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
2078 | local speed = 500 | |
2079 | local num = 1 | |
2080 | coroutine.resume(coroutine.create(function() | |
2081 | repeat | |
2082 | swait() | |
2083 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
2084 | local mag = (MainPos - pos).magnitude | |
2085 | Laser(BrickColor.new("Cyan"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -1.175, 0, -1.175, 0.15) | |
2086 | MainPos = MainPos + MouseLook.lookVector * speed | |
2087 | num = num - 1 | |
2088 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
2089 | if hit ~= nil then | |
2090 | num = 0 | |
2091 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
2092 | refpart.Anchored = true | |
2093 | refpart.CFrame = CFrame.new(pos) | |
2094 | game:GetService("Debris"):AddItem(refpart, 2) | |
2095 | end | |
2096 | if num <= 0 then | |
2097 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
2098 | refpart.Anchored = true | |
2099 | refpart.CFrame = CFrame.new(pos) | |
2100 | if hit ~= nil then | |
2101 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
2102 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05) | |
2103 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
2104 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
2105 | MagniDamage(refpart, 4, dmg, 40, 0, "Normal") | |
2106 | end | |
2107 | game:GetService("Debris"):AddItem(refpart, 0) | |
2108 | end | |
2109 | until num <= 0 | |
2110 | end)) | |
2111 | end | |
2112 | ||
2113 | ||
2114 | --- | |
2115 | ||
2116 | attackdebounce = false | |
2117 | deb=false | |
2118 | ||
2119 | ugothit=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
2120 | if hit.Parent==nil then | |
2121 | return | |
2122 | end | |
2123 | h=hit.Parent:FindFirstChildOfClass("Humanoid") | |
2124 | for _,v in pairs(hit.Parent:children()) do | |
2125 | if v:IsA("Humanoid") then | |
2126 | h=v | |
2127 | end | |
2128 | end | |
2129 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
2130 | h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
2131 | end | |
2132 | if hit.Parent.className=="Hat" then | |
2133 | hit=hit.Parent.Parent:findFirstChild("Head") | |
2134 | end | |
2135 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
2136 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
2137 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
2138 | return | |
2139 | end]] | |
2140 | -- hs(hit,1.2) | |
2141 | c=Instance.new("ObjectValue") | |
2142 | c.Name="creator" | |
2143 | c.Value=game:service("Players").LocalPlayer | |
2144 | c.Parent=h | |
2145 | game:GetService("Debris"):AddItem(c,.5) | |
2146 | Damage=math.random(minim,maxim) | |
2147 | -- h:TakeDamage(Damage) | |
2148 | blocked=false | |
2149 | block=hit.Parent:findFirstChild("Block") | |
2150 | if block~=nil then | |
2151 | print(block.className) | |
2152 | if block.className=="NumberValue" then | |
2153 | if block.Value>0 then | |
2154 | blocked=true | |
2155 | if decreaseblock==nil then | |
2156 | block.Value=block.Value-1 | |
2157 | end | |
2158 | end | |
2159 | end | |
2160 | if block.className=="IntValue" then | |
2161 | if block.Value>0 then | |
2162 | blocked=true | |
2163 | if decreaseblock~=nil then | |
2164 | block.Value=block.Value-1 | |
2165 | end | |
2166 | end | |
2167 | end | |
2168 | end | |
2169 | if blocked==false then | |
2170 | -- h:TakeDamage(Damage) | |
2171 | h.Health=h.Health-Damage | |
2172 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red")) | |
2173 | else | |
2174 | h.Health=h.Health-(Damage/2) | |
2175 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
2176 | end | |
2177 | if Type=="Knockdown" then | |
2178 | Humanoid=hit.Parent.Humanoid | |
2179 | Humanoid.PlatformStand=true | |
2180 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2181 | swait(1) | |
2182 | HHumanoid.PlatformStand=false | |
2183 | end),Humanoid) | |
2184 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
2185 | hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
2186 | local bodvol=Instance.new("BodyVelocity") | |
2187 | bodvol.velocity=angle*knockback | |
2188 | bodvol.P=5000 | |
2189 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
2190 | bodvol.Parent=hit | |
2191 | rl=Instance.new("BodyAngularVelocity") | |
2192 | rl.P=3000 | |
2193 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
2194 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2195 | rl.Parent=hit | |
2196 | game:GetService("Debris"):AddItem(bodvol,.5) | |
2197 | game:GetService("Debris"):AddItem(rl,.5) | |
2198 | elseif Type=="Normal" then | |
2199 | bp=Instance.new("BodyVelocity") | |
2200 | bp.P=100000 | |
2201 | bp.maxForce=Vector3.new(math.huge,0,math.huge) | |
2202 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
2203 | if KnockbackType==1 then | |
2204 | bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
2205 | elseif KnockbackType==2 then | |
2206 | bp.velocity=Property.CFrame.lookVector*knockback | |
2207 | end | |
2208 | if knockback>0 then | |
2209 | bp.Parent=hit.Parent.Torso | |
2210 | ||
2211 | end | |
2212 | game:GetService("Debris"):AddItem(bp,.5) | |
2213 | elseif Type=="Up" then | |
2214 | local bodyVelocity=Instance.new("BodyVelocity") | |
2215 | bodyVelocity.velocity=vt(0,60,0) | |
2216 | bodyVelocity.P=5000 | |
2217 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
2218 | bodyVelocity.Parent=hit | |
2219 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
2220 | rl=Instance.new("BodyAngularVelocity") | |
2221 | rl.P=3000 | |
2222 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
2223 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
2224 | rl.Parent=hit | |
2225 | game:GetService("Debris"):AddItem(rl,.5) | |
2226 | elseif Type=="Snare" then | |
2227 | bp=Instance.new("BodyPosition") | |
2228 | bp.P=2000 | |
2229 | bp.D=100 | |
2230 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2231 | bp.position=hit.Parent.Torso.Position | |
2232 | bp.Parent=hit.Parent.Torso | |
2233 | game:GetService("Debris"):AddItem(bp,1) | |
2234 | elseif Type=="Target" then | |
2235 | if Targetting==false then | |
2236 | ZTarget=hit.Parent.Torso | |
2237 | coroutine.resume(coroutine.create(function(Part) | |
2238 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
2239 | swait(1) | |
2240 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
2241 | end),ZTarget) | |
2242 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
2243 | targetgui=Instance.new("BillboardGui") | |
2244 | targetgui.Parent=ZTarget | |
2245 | targetgui.Size=UDim2.new(10,100,10,100) | |
2246 | targ=Instance.new("ImageLabel") | |
2247 | targ.Parent=targetgui | |
2248 | targ.BackgroundTransparency=1 | |
2249 | targ.Image="rbxassetid://4834067" | |
2250 | targ.Size=UDim2.new(1,0,1,0) | |
2251 | cam.CameraType="Scriptable" | |
2252 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2253 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
2254 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2255 | Targetting=true | |
2256 | RocketTarget=ZTarget | |
2257 | for i=1,Property do | |
2258 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
2259 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
2260 | swait() | |
2261 | end | |
2262 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
2263 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2264 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
2265 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
2266 | end | |
2267 | Targetting=true | |
2268 | RocketTarget=true | |
2269 | targetgui.Parent=true | |
2270 | cam.CameraType="Custom" | |
2271 | end | |
2272 | end | |
2273 | debounce=Instance.new("BoolValue") | |
2274 | debounce.Name="DebounceHit" | |
2275 | debounce.Parent=hit.Parent | |
2276 | debounce.Value=true | |
2277 | game:GetService("Debris"):AddItem(debounce,Delay) | |
2278 | c=Instance.new("ObjectValue") | |
2279 | c.Name="creator" | |
2280 | c.Value=Player | |
2281 | c.Parent=h | |
2282 | game:GetService("Debris"):AddItem(c,.5) | |
2283 | CRIT=true | |
2284 | hitDeb=true | |
2285 | AttackPos=6 | |
2286 | end | |
2287 | end | |
2288 | ||
2289 | showDamage=function(Char,Dealt,du,Color) | |
2290 | m=Instance.new("Model") | |
2291 | m.Name=tostring(Dealt) | |
2292 | h=Instance.new("Humanoid") | |
2293 | h.Health=0 | |
2294 | h.MaxHealth=0 | |
2295 | h.Parent=m | |
2296 | c=Instance.new("Part") | |
2297 | c.Transparency=0 | |
2298 | c.BrickColor=Color | |
2299 | c.Transparency = 1 | |
2300 | c.Name="Head" | |
2301 | c.TopSurface=0 | |
2302 | c.BottomSurface=0 | |
2303 | c.formFactor="Plate" | |
2304 | c.Size=Vector3.new(1,.4,1) | |
2305 | ||
2306 | local txt = Instance.new("BillboardGui", c) | |
2307 | txt.Adornee = c | |
2308 | txt.Name = "_status" | |
2309 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
2310 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
2311 | local text = Instance.new("TextLabel", txt) | |
2312 | text.Size = UDim2.new(10, 0, 7, 0) | |
2313 | text.FontSize = "Size12" | |
2314 | text.TextScaled = true | |
2315 | text.TextTransparency = 0.5 | |
2316 | text.BackgroundTransparency = 1 | |
2317 | text.TextTransparency = 0.5 | |
2318 | text.TextStrokeTransparency = 0.5 | |
2319 | text.Font = "SciFi" | |
2320 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
2321 | v=Instance.new("Part") | |
2322 | v.Name = "ColorBrick" | |
2323 | v.Parent=c | |
2324 | v.FormFactor="Symmetric" | |
2325 | v.Anchored=true | |
2326 | v.CanCollide=false | |
2327 | v.BottomSurface="Smooth" | |
2328 | v.TopSurface="Smooth" | |
2329 | v.Size=Vector3.new(10,5,3) | |
2330 | v.Transparency=1 | |
2331 | v.CFrame=c.CFrame | |
2332 | v.BrickColor=BrickColor.random() | |
2333 | v.Transparency=1 | |
2334 | text.TextColor3 = t.BrickColor.Color | |
2335 | v.Shape="Block" | |
2336 | text.Text = tostring(Dealt) | |
2337 | ms=Instance.new("CylinderMesh") | |
2338 | ms.Scale=Vector3.new(.8,.8,.8) | |
2339 | --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
2340 | local rndm=math.random(1,#hitsounds) | |
2341 | local r=rndm | |
2342 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]-- | |
2343 | if CRIT==true then | |
2344 | ms.Scale=Vector3.new(1,1.25,1) | |
2345 | end | |
2346 | ms.Parent=c | |
2347 | c.Reflectance=0 | |
2348 | Instance.new("BodyGyro").Parent=c | |
2349 | c.Parent=m | |
2350 | if Char:findFirstChild("Head")~=nil then | |
2351 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2352 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
2353 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2354 | end | |
2355 | f=Instance.new("BodyPosition") | |
2356 | f.P=200000 | |
2357 | f.D=100 | |
2358 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2359 | f.position=c.Position+Vector3.new(0,3,0) | |
2360 | f.Parent=c | |
2361 | game:GetService("Debris"):AddItem(m,.5+du) | |
2362 | c.CanCollide=false | |
2363 | m.Parent=workspace | |
2364 | c.CanCollide=false | |
2365 | end | |
2366 | ||
2367 | ||
2368 | ------ | |
2369 | hito = function(dm, X, c, dn, dp, dq) | |
2370 | for I,dr in pairs(workspace:GetChildren()) do | |
2371 | if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then | |
2372 | local ds = dr:FindFirstChild("Humanoid") | |
2373 | local dt = dr:FindFirstChild("HumanoidRootPart") | |
2374 | TakeDamage(ds, c) | |
2375 | if InForm == true then | |
2376 | ds.Parent:BreakJoints() | |
2377 | wait(1.2) | |
2378 | ds.Parent:Destroy() | |
2379 | end | |
2380 | ds:SetStateEnabled(16, true) | |
2381 | delay(dn, function() | |
2382 | ds:SetStateEnabled(16, true) | |
2383 | end) | |
2384 | local du = Instance.new("StringValue") | |
2385 | du.Name = "alabo" | |
2386 | du.Parent = dt | |
2387 | game.Debris:AddItem(du, dn) | |
2388 | local dv = Instance.new("Part") | |
2389 | ||
2390 | dv.Size = Vector3.new(0.2, 0.2, 0.2) | |
2391 | dv.Transparency = 0.25 | |
2392 | dv.Anchored = true | |
2393 | dv.CanCollide = false | |
2394 | dv.BrickColor = BrickColor.new("White") | |
2395 | dv.Material = "Neon" | |
2396 | dv.Locked = true | |
2397 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
2398 | dv.Parent = modz | |
2399 | local dw = Instance.new("SpecialMesh") | |
2400 | dw.MeshType = "Sphere" | |
2401 | dw.Scale = Vector3.new(0.5, 0.5, 0.5) | |
2402 | dw.Parent = dv | |
2403 | game.Debris:AddItem(dv, 1) | |
2404 | local dx = Instance.new("Model") | |
2405 | dx.Name = c | |
2406 | dx.Parent = workspace | |
2407 | game.Debris:AddItem(dx, 0.5 + c / 75) | |
2408 | local dy = Instance.new("Humanoid") | |
2409 | dy.MaxHealth = 0 | |
2410 | dy.Parent = dx | |
2411 | local dz = Instance.new("Part") | |
2412 | dz.Name = "Head" | |
2413 | dz.Locked = true | |
2414 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
2415 | dz.Position = dt.Position | |
2416 | dz.BrickColor = BrickColor.new("New Yeller") | |
2417 | dz.Material = "Neon" | |
2418 | dz.Transparency = 1 | |
2419 | dz.CanCollide = false | |
2420 | dz.Parent = dx | |
2421 | local dA = Instance.new("BodyPosition") | |
2422 | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
2423 | dA.P = 20000 | |
2424 | dA.D = 300 | |
2425 | dA.Position = dz.Position + Vector3.new(0, 5, 0) | |
2426 | dA.Parent = dz | |
2427 | local dB = Instance.new("CylinderMesh") | |
2428 | dB.Parent = dz | |
2429 | coroutine.resume(coroutine.create(function() | |
2430 | while dB do | |
2431 | swait() | |
2432 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
2433 | end | |
2434 | end)) | |
2435 | if dp then | |
2436 | local dC = Instance.new("BodyVelocity") | |
2437 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
2438 | dC.P = 9999999999 | |
2439 | dC.Velocity = dp | |
2440 | dC.Parent = dt | |
2441 | game.Debris:AddItem(dC, dn) | |
2442 | end | |
2443 | if dq then | |
2444 | local dD = Instance.new("BodyAngularVelocity") | |
2445 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
2446 | dD.P = math.huge | |
2447 | dD.AngularVelocity = dq | |
2448 | dD.Parent = dt | |
2449 | game.Debris:AddItem(dD, dn) | |
2450 | end | |
2451 | local dE = Instance.new("Sound") | |
2452 | dE.Pitch = rd2(10, 11) / 10 | |
2453 | dE.Volume = rd2(10, 13) / 10 | |
2454 | dE.EmitterSize = 10 | |
2455 | dE.SoundId = "rbxassetid://" | |
2456 | dE.Parent = dv | |
2457 | dE:Play() | |
2458 | coroutine.resume(coroutine.create(function() | |
2459 | for I = 1, 5 do | |
2460 | swait() | |
2461 | dv.Transparency = dv.Transparency + 0.175 | |
2462 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
2463 | end | |
2464 | end)) | |
2465 | end | |
2466 | end | |
2467 | end | |
2468 | ------ | |
2469 | ||
2470 | vt = Vector3.new | |
2471 | local new = Instance.new | |
2472 | local cf = CFrame.new | |
2473 | local cfa = CFrame.Angles | |
2474 | local bc = BrickColor.new | |
2475 | ||
2476 | function bigbangattack() | |
2477 | attack = true | |
2478 | Humanoid.WalkSpeed = 0 | |
2479 | for i = 0, 8, 0.1 do | |
2480 | swait() | |
2481 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
2482 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
2483 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
2484 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
2485 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
2486 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
2487 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
2488 | end | |
2489 | local rng = Instance.new("Part", mouse) | |
2490 | rng.Anchored = true | |
2491 | rng.BrickColor = BrickColor.new("Cyan") | |
2492 | rng.CanCollide = false | |
2493 | rng.FormFactor = 3 | |
2494 | rng.Name = "Ring" | |
2495 | rng.Size = Vector3.new(0.4,0.4,0.4) | |
2496 | rng.Transparency = 0 | |
2497 | rng.TopSurface = 0 | |
2498 | rng.BottomSurface = 0 | |
2499 | rng.CFrame = RootPart.CFrame | |
2500 | local rngm = Instance.new("SpecialMesh", rng) | |
2501 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2502 | ||
2503 | local rng3 = rng:Clone() | |
2504 | rng3.Parent = char | |
2505 | local rng3m = rng3.Mesh | |
2506 | ||
2507 | local rng5 = rng:Clone() | |
2508 | rng5.Parent = char | |
2509 | rng5.BrickColor = BrickColor.new("Cyan") | |
2510 | local rng5m = rng5.Mesh | |
2511 | local rng6 = rng:Clone() | |
2512 | rng6.Material = "Plastic" | |
2513 | rng6.BrickColor = BrickColor.new("Cyan") | |
2514 | rng6.Parent = char | |
2515 | local rng6m = rng6.Mesh | |
2516 | rng6m.Scale = vt(7.5,7.5,7.5) | |
2517 | rng6m.MeshType = "FileMesh" | |
2518 | rng6m.MeshId = "rbxassetid://430736398" | |
2519 | local Must2 = Instance.new("Sound",rng6) | |
2520 | Must2.SoundId = "rbxassetid://135581154" | |
2521 | Must2.Pitch = 0.99 | |
2522 | Must2.Volume = 3 | |
2523 | Must2.Looped = false | |
2524 | wait(0) | |
2525 | Must2:Play() | |
2526 | local hita = rng6.Touched:connect(function(hit) | |
2527 | ugothit(hit,40,50,math.random(49,56),"Normal",RootJoint,.2,1) | |
2528 | end) | |
2529 | ||
2530 | rng3.CFrame = RootPart.CFrame | |
2531 | ||
2532 | rng5.CFrame = RootPart.CFrame | |
2533 | rng6.CFrame = RootPart.CFrame | |
2534 | local pie222 = Instance.new("ParticleEmitter") | |
2535 | pie222.Parent = rng6 | |
2536 | pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2537 | pie222.LightEmission = 1 | |
2538 | pie222.Size = NumberSequence.new(6,1) | |
2539 | pie222.Texture = "http://www.roblox.com/asset/?id=224413104" | |
2540 | pie222.Transparency = NumberSequence.new(0.6,1) | |
2541 | pie222.EmissionDirection = "Top" | |
2542 | pie222.Enabled = true | |
2543 | pie222.Lifetime = NumberRange.new(1) | |
2544 | pie222.Rotation = NumberRange.new(-320, 320) | |
2545 | pie222.Rate = 404 | |
2546 | pie222.Speed = NumberRange.new(0) | |
2547 | pie222.LockedToPart = false | |
2548 | pie222.VelocitySpread = 2 | |
2549 | wait() | |
2550 | local scaler = 10/5 | |
2551 | local scaler2 = 10/5 | |
2552 | for i = 0,10,0.1 do | |
2553 | swait() | |
2554 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
2555 | ||
2556 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
2557 | ||
2558 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/10 | |
2559 | rng6.Size = rng6.Size + Vector3.new(scaler2/3.8, scaler2/3.8, scaler2/3.8) | |
2560 | rng6.CFrame = rng3.CFrame | |
2561 | rng.Transparency = rng.Transparency + 1 | |
2562 | ||
2563 | rng3.Transparency = rng3.Transparency + 0.01 | |
2564 | ||
2565 | rng5.Transparency = rng5.Transparency + 0.01 | |
2566 | rng6.Transparency = rng6.Transparency + 0.021 | |
2567 | scaler = scaler - 0.125/5 | |
2568 | scaler2 = scaler2 - 0.1/5 | |
2569 | ||
2570 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
2571 | ||
2572 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0.3) | |
2573 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/1, scaler2/1, 1) | |
2574 | end | |
2575 | hita:disconnect() | |
2576 | game:GetService("Debris"):AddItem(rng, 1) | |
2577 | ||
2578 | game:GetService("Debris"):AddItem(rng3, 1) | |
2579 | ||
2580 | game:GetService("Debris"):AddItem(rng5, 1) | |
2581 | attack = false | |
2582 | pie222:Destroy() | |
2583 | Humanoid.WalkSpeed = 16 | |
2584 | end | |
2585 | ||
2586 | ||
2587 | function bigbangattack2() | |
2588 | attack = true | |
2589 | Humanoid.WalkSpeed = 0 | |
2590 | for i = 0, 8, 0.1 do | |
2591 | swait() | |
2592 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
2593 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
2594 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
2595 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
2596 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
2597 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
2598 | end | |
2599 | local rng = Instance.new("Part", RightArm) | |
2600 | rng.Anchored = true | |
2601 | rng.BrickColor = BrickColor.new("Cyan") | |
2602 | rng.CanCollide = false | |
2603 | rng.FormFactor = 3 | |
2604 | rng.Name = "Ring" | |
2605 | rng.Size = Vector3.new(0.4,0.4,0.4) | |
2606 | rng.Transparency = 0 | |
2607 | rng.TopSurface = 0 | |
2608 | rng.BottomSurface = 0 | |
2609 | rng.CFrame = RootPart.CFrame | |
2610 | local rngm = Instance.new("SpecialMesh", rng) | |
2611 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2612 | ||
2613 | local rng3 = rng:Clone() | |
2614 | rng3.Parent = char | |
2615 | local rng3m = rng3.Mesh | |
2616 | ||
2617 | local rng5 = rng:Clone() | |
2618 | rng5.Parent = char | |
2619 | rng5.BrickColor = BrickColor.new("Cyan") | |
2620 | local rng5m = rng5.Mesh | |
2621 | local rng6 = rng:Clone() | |
2622 | rng6.Material = "Plastic" | |
2623 | rng6.BrickColor = BrickColor.new("Cyan") | |
2624 | rng6.Parent = char | |
2625 | local rng6m = rng6.Mesh | |
2626 | rng6m.Scale = vt(7.5,7.5,30.5) | |
2627 | rng6m.MeshType = "FileMesh" | |
2628 | rng6m.MeshId = "rbxassetid://430736398" | |
2629 | local Must2 = Instance.new("Sound",Torso) | |
2630 | Must2.SoundId = "rbxassetid://719747626" | |
2631 | Must2.Pitch = 0.99 | |
2632 | Must2.Volume = 3 | |
2633 | Must2.Looped = false | |
2634 | wait(0) | |
2635 | Must2:Play() | |
2636 | local hita = rng6.Touched:connect(function(hit) | |
2637 | ugothit(hit,40,50,math.random(49,56),"Normal",RootJoint,.2,1) | |
2638 | end) | |
2639 | ||
2640 | rng3.CFrame = Head.CFrame | |
2641 | ||
2642 | rng5.CFrame = Head.CFrame | |
2643 | rng6.CFrame = rng5.CFrame | |
2644 | local pie222 = Instance.new("ParticleEmitter") | |
2645 | pie222.Parent = rng6 | |
2646 | pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2647 | pie222.LightEmission = 1 | |
2648 | pie222.Size = NumberSequence.new(15,1) | |
2649 | pie222.Texture = "http://www.roblox.com/asset/?id=224413104" | |
2650 | pie222.Transparency = NumberSequence.new(0.6,1) | |
2651 | pie222.EmissionDirection = "Top" | |
2652 | pie222.Enabled = true | |
2653 | pie222.Lifetime = NumberRange.new(1) | |
2654 | pie222.Rotation = NumberRange.new(-320, 320) | |
2655 | pie222.Rate = 404 | |
2656 | pie222.Speed = NumberRange.new(0) | |
2657 | pie222.LockedToPart = false | |
2658 | pie222.VelocitySpread = 2 | |
2659 | wait() | |
2660 | local scaler = 10/5 | |
2661 | local scaler2 = 10/5 | |
2662 | for i = 0,10,0.1 do | |
2663 | swait() | |
2664 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
2665 | ||
2666 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
2667 | ||
2668 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/10 | |
2669 | rng6.Size = rng6.Size + Vector3.new(scaler2/3.8, scaler2/3.8, scaler2/0.8) | |
2670 | rng6.CFrame = rng3.CFrame | |
2671 | rng.Transparency = rng.Transparency + 1 | |
2672 | ||
2673 | rng3.Transparency = rng3.Transparency + 0.01 | |
2674 | ||
2675 | rng5.Transparency = rng5.Transparency + 0.01 | |
2676 | rng6.Transparency = rng6.Transparency + 0.021 | |
2677 | scaler = scaler - 0.125/5 | |
2678 | scaler2 = scaler2 - 0.1/5 | |
2679 | ||
2680 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
2681 | ||
2682 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0.3) | |
2683 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/1, scaler2/1, 1) | |
2684 | end | |
2685 | hita:disconnect() | |
2686 | game:GetService("Debris"):AddItem(rng, 1) | |
2687 | ||
2688 | game:GetService("Debris"):AddItem(rng3, 1) | |
2689 | ||
2690 | game:GetService("Debris"):AddItem(rng5, 1) | |
2691 | attack = false | |
2692 | pie222:Destroy() | |
2693 | Humanoid.WalkSpeed = 16 | |
2694 | end | |
2695 | ||
2696 | ||
2697 | ||
2698 | ||
2699 | ||
2700 | mouse.KeyDown:connect(function(k) ---galickgun | |
2701 | if attack == false and k == "=" and MV4 > 80 and firemode == true then | |
2702 | MV4 = 0 | |
2703 | local Must = Instance.new("Sound",Torso) | |
2704 | Must.SoundId = "rbxassetid://719748223" | |
2705 | Must.Pitch = 0.99 | |
2706 | Must.Volume = 3.4 | |
2707 | Must.Looped = false | |
2708 | wait(0) | |
2709 | Must:Play() | |
2710 | Humanoid.WalkSpeed = 13 | |
2711 | local Aura = Instance.new('ParticleEmitter') | |
2712 | Aura.Name = "Aura" | |
2713 | Aura.Texture = "rbxassetid://347730682" | |
2714 | Aura.Parent = Torso | |
2715 | Aura.LightEmission = 1 | |
2716 | Aura.Transparency = NumberSequence.new(0.4,1) | |
2717 | Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color) | |
2718 | Aura.Size = NumberSequence.new(1,9) | |
2719 | Aura.Rotation = NumberRange.new(-360,360) | |
2720 | Aura.LockedToPart = true | |
2721 | Aura.Lifetime = NumberRange.new(1) | |
2722 | Aura.Rate = 100 | |
2723 | Aura.Speed = NumberRange.new(0) | |
2724 | Aura.EmissionDirection = "Top" | |
2725 | local Aura2 = Instance.new('ParticleEmitter') | |
2726 | Aura2.Name = "Aura" | |
2727 | Aura2.Texture = "rbxassetid://1046299182" | |
2728 | Aura2.Parent = Torso | |
2729 | Aura2.LightEmission = 1 | |
2730 | Aura2.Transparency = NumberSequence.new(0,1) | |
2731 | Aura2.Color = ColorSequence.new(BrickColor.new("Magenta").Color) | |
2732 | Aura2.Size = NumberSequence.new(14) | |
2733 | Aura2.Rotation = NumberRange.new(-360,360) | |
2734 | Aura2.LockedToPart = true | |
2735 | Aura2.Lifetime = NumberRange.new(0.2) | |
2736 | Aura2.Rate = 20 | |
2737 | Aura2.Speed = NumberRange.new(0) | |
2738 | Aura2.EmissionDirection = "Top" | |
2739 | attack = true | |
2740 | Firepart1 = Instance.new("Part", RightArm) | |
2741 | Firepart1.Size = Vector3.new(1, 1, 1) | |
2742 | GuW1 = Instance.new("Weld") | |
2743 | GuW1.Name = "GuW" | |
2744 | GuW1.Part0 = RightArm | |
2745 | GuW1.C0 = cn(0, -1, 0) | |
2746 | GuW1.C1 = cn(0, 0, 0) | |
2747 | GuW1.Part1 = Firepart1 | |
2748 | GuW1.Parent = RightArm | |
2749 | Firepart1.Transparency = 1 | |
2750 | Firepart2 = Instance.new("Part", LeftArm) | |
2751 | Firepart2.Size = Vector3.new(1, 1, 1) | |
2752 | GuW2 = Instance.new("Weld") | |
2753 | GuW2.Name = "GuW" | |
2754 | GuW2.Part0 = LeftArm | |
2755 | GuW2.C0 = cn(0, -1, 0) | |
2756 | GuW2.C1 = cn(0, 0, 0) | |
2757 | GuW2.Part1 = Firepart2 | |
2758 | GuW2.Parent = LeftArm | |
2759 | Firepart2.Transparency = 1 | |
2760 | GuW1:Destroy() | |
2761 | GuW1 = Instance.new("Weld") | |
2762 | GuW1.Name = "GuW" | |
2763 | GuW1.Part0 = Torso | |
2764 | GuW1.C0 = cn(0, 0, -6) | |
2765 | GuW1.C1 = cn(0, 0, 0) | |
2766 | GuW1.Part1 = Firepart1 | |
2767 | GuW1.Parent = Torso | |
2768 | GuW2:Destroy() | |
2769 | GuW2 = Instance.new("Weld") | |
2770 | GuW2.Name = "GuW" | |
2771 | GuW2.Part0 = Torso | |
2772 | GuW2.C0 = cn(0, 0, -6) | |
2773 | GuW2.C1 = cn(0, 0, 0) | |
2774 | GuW2.Part1 = Firepart2 | |
2775 | GuW2.Parent = Torso | |
2776 | GuW2:Destroy() | |
2777 | GuW2 = Instance.new("Weld") | |
2778 | GuW2.Name = "GuW" | |
2779 | GuW2.Part0 = Torso | |
2780 | GuW2.C0 = cn(0, 0, -4) | |
2781 | GuW2.C1 = cn(0, 0, 0) | |
2782 | GuW2.Part1 = Firepart2 | |
2783 | GuW2.Parent = Torso | |
2784 | for i = 0, 18, 0.1 do | |
2785 | swait() | |
2786 | if Torsovelocity.Y > 2 then | |
2787 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2788 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-59)), 0.1) | |
2789 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
2790 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
2791 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2792 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2793 | elseif Torsovelocity.Y < 1 then | |
2794 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.1) | |
2795 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-59)), 0.05) | |
2796 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
2797 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-120), math.rad(-90)), 0.1) | |
2798 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2799 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2800 | end | |
2801 | end | |
2802 | GuW1:Destroy() | |
2803 | GuW1 = Instance.new("Weld") | |
2804 | GuW1.Name = "GuW" | |
2805 | GuW1.Part0 = Torso | |
2806 | GuW1.C0 = cn(0, 0, -15) | |
2807 | GuW1.C1 = cn(0, 0, 0) | |
2808 | GuW1.Part1 = Firepart1 | |
2809 | GuW1.Parent = Torso | |
2810 | GuW2:Destroy() | |
2811 | GuW2 = Instance.new("Weld") | |
2812 | GuW2.Name = "GuW" | |
2813 | GuW2.Part0 = Torso | |
2814 | GuW2.C0 = cn(0, 0, -17.5) | |
2815 | GuW2.C1 = cn(0, 0, 0) | |
2816 | GuW2.Part1 = Firepart2 | |
2817 | GuW2.Parent = Torso | |
2818 | local Must = Instance.new("Sound",Torso) | |
2819 | Must.SoundId = "rbxassetid://719747626" | |
2820 | Must.Pitch = 0.99 | |
2821 | Must.Volume = 3.9 | |
2822 | Must.Looped = false | |
2823 | wait(0) | |
2824 | Must:Play() | |
2825 | for i = 0, 1.25, 0.01 do | |
2826 | swait() | |
2827 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
2828 | shoottraildd22(mouse.Hit.p, Torso, 0) | |
2829 | BlockEffect(BrickColor.new("Magenta"), Torso.CFrame, 1, 1, 1, 30, 30, 30, 0.06) | |
2830 | BlockEffect(BrickColor.new("Magenta"), Torso.CFrame, 1, 1, 1, 29.5, 29.5, 29.5, 0.06) | |
2831 | if Torsovelocity.Y > 2 then | |
2832 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2833 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2834 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
2835 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
2836 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2837 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2838 | end | |
2839 | end | |
2840 | Must:Stop() | |
2841 | Aura:Destroy() | |
2842 | Aura2:Destroy() | |
2843 | wait(0.5) | |
2844 | Humanoid.WalkSpeed = 16 | |
2845 | attack = false | |
2846 | MV4 = 300 | |
2847 | Firepart1:Destroy() | |
2848 | Firepart2:Destroy() | |
2849 | end | |
2850 | end) | |
2851 | ||
2852 | ||
2853 | d = {} | |
2854 | function iteffect() | |
2855 | ||
2856 | coroutine.resume(coroutine.create(function() | |
2857 | ||
2858 | for i = 1, 10 do | |
2859 | effect = Instance.new("Part", workspace) | |
2860 | effect.Anchored = true | |
2861 | effect.CanCollide = false | |
2862 | effect.Size = Vector3.new(0.2, 3, 0.2) | |
2863 | effect.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3)) | |
2864 | effect.Transparency = 0 | |
2865 | effect.Material = "Plastic" | |
2866 | effect.BrickColor = BrickColor.new("Really black") | |
2867 | table.insert(d, effect) | |
2868 | game:GetService("Debris"):AddItem(effect, 0.3) | |
2869 | end | |
2870 | ||
2871 | coroutine.resume(coroutine.create(function() | |
2872 | for i = 1, 10 do | |
2873 | for i,e in pairs(d) do | |
2874 | e.CFrame = e.CFrame * CFrame.new(0, math.random(0, 10)/10, 0) | |
2875 | e.Transparency = e.Transparency + 0.030 | |
2876 | end | |
2877 | wait(0.01) | |
2878 | end | |
2879 | ||
2880 | end)) | |
2881 | end)) | |
2882 | ||
2883 | ||
2884 | end | |
2885 | ||
2886 | tp = true | |
2887 | ||
2888 | mouse.KeyDown:connect(function(k) | |
2889 | if k == "e" then | |
2890 | if tp == true then | |
2891 | tp = false | |
2892 | char.Head.face.Parent = game.Lighting | |
2893 | wait(0) | |
2894 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
2895 | game.Lighting.face.Parent = char.Head | |
2896 | wait(0) | |
2897 | tp = true | |
2898 | ||
2899 | ||
2900 | end | |
2901 | end | |
2902 | end) | |
2903 | ||
2904 | ||
2905 | MV4 = 300 | |
2906 | mouse.KeyDown:connect(function(k) | |
2907 | if attack == false and k == "=" and MV4 > 80 and firemode == true then | |
2908 | MV4 = 0 | |
2909 | local Must = Instance.new("Sound",workspace) | |
2910 | Must.SoundId = "rbxassetid://512366303" | |
2911 | Must.Pitch = 0.99 | |
2912 | Must.Volume = 3.5 | |
2913 | Must.Looped = true | |
2914 | wait(0) | |
2915 | Must:Play() | |
2916 | local lb = Instance.new("Part") | |
2917 | lb.Parent = char | |
2918 | lb.Material = "Neon" | |
2919 | lb.Color = BrickColor.new("Gold").Color | |
2920 | lb.CanCollide = false | |
2921 | lb.Material = "Neon" | |
2922 | lb.Size = vt(1,1,1) | |
2923 | lb.CFrame = Torso.CFrame | |
2924 | lb.Rotation = vt(0,0,0) | |
2925 | lb.Anchored = true | |
2926 | lb.Transparency = 0 | |
2927 | local thing = Instance.new("SpecialMesh",lb) | |
2928 | thing.MeshType = "FileMesh" | |
2929 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2930 | thing.Scale = vt(0,15,0) | |
2931 | local chancerot = math.random(1,2) | |
2932 | for z = 0, 4 do | |
2933 | if chancerot == 1 then | |
2934 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
2935 | elseif chancerot == 2 then | |
2936 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
2937 | end | |
2938 | lb.Transparency = lb.Transparency + 0.1 | |
2939 | thing.Scale = thing.Scale + vt(15,0,15) | |
2940 | wait() | |
2941 | end | |
2942 | for z = 0, 4 do | |
2943 | if chancerot == 1 then | |
2944 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
2945 | elseif chancerot == 2 then | |
2946 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
2947 | end | |
2948 | lb.Transparency = lb.Transparency + 0.1 | |
2949 | thing.Scale = thing.Scale + vt(15,0,15) | |
2950 | wait() | |
2951 | end | |
2952 | ||
2953 | local Aura = Instance.new('ParticleEmitter') | |
2954 | Aura.Name = "Aura" | |
2955 | Aura.Texture = "rbxassetid://347730682" | |
2956 | Aura.Parent = Torso | |
2957 | Aura.LightEmission = 1 | |
2958 | Aura.Transparency = NumberSequence.new(0.5,1) | |
2959 | Aura.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
2960 | Aura.Size = NumberSequence.new(1,25) | |
2961 | Aura.Rotation = NumberRange.new(-360,360) | |
2962 | Aura.LockedToPart = true | |
2963 | Aura.Lifetime = NumberRange.new(1) | |
2964 | Aura.Rate = 100 | |
2965 | Aura.Speed = NumberRange.new(0) | |
2966 | Aura.EmissionDirection = "Top" | |
2967 | local Aura2 = Instance.new('ParticleEmitter') | |
2968 | Aura2.Name = "Aura" | |
2969 | Aura2.Texture = "rbxassetid://1046299182" | |
2970 | Aura2.Parent = Torso | |
2971 | Aura2.LightEmission = 1 | |
2972 | Aura2.Transparency = NumberSequence.new(0,1) | |
2973 | Aura2.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
2974 | Aura2.Size = NumberSequence.new(55) | |
2975 | Aura2.Rotation = NumberRange.new(-360,360) | |
2976 | Aura2.LockedToPart = true | |
2977 | Aura2.Lifetime = NumberRange.new(0.2) | |
2978 | Aura2.Rate = 20 | |
2979 | Aura2.Speed = NumberRange.new(0) | |
2980 | Aura2.EmissionDirection = "Top" | |
2981 | lig = Instance.new("PointLight",Player.Character.Torso) | |
2982 | lig.Color=Color3.new(255,255,0) | |
2983 | lig.Range = 12 | |
2984 | Humanoid.WalkSpeed = 0.01 | |
2985 | attack = true | |
2986 | Firepart1 = Instance.new("Part", RightArm) | |
2987 | Firepart1.Size = Vector3.new(1, 1, 1) | |
2988 | GuW1 = Instance.new("Weld") | |
2989 | GuW1.Name = "GuW" | |
2990 | GuW1.Part0 = RightArm | |
2991 | GuW1.C0 = cn(0, -1, 0) | |
2992 | GuW1.C1 = cn(0, 0, 0) | |
2993 | GuW1.Part1 = Firepart1 | |
2994 | GuW1.Parent = RightArm | |
2995 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=257001355", Torso, 2, 0.7) | |
2996 | Firepart1.Transparency = 1 | |
2997 | Firepart2 = Instance.new("Part", LeftArm) | |
2998 | Firepart2.Size = Vector3.new(1, 1, 1) | |
2999 | GuW2 = Instance.new("Weld") | |
3000 | GuW2.Name = "GuW" | |
3001 | GuW2.Part0 = LeftArm | |
3002 | GuW2.C0 = cn(0, -1, 0) | |
3003 | GuW2.C1 = cn(0, 0, 0) | |
3004 | GuW2.Part1 = Firepart2 | |
3005 | GuW2.Parent = LeftArm | |
3006 | Firepart2.Transparency = 1 | |
3007 | ||
3008 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=743499393", Firepart2, 2, 0.8) | |
3009 | GuW1:Destroy() | |
3010 | GuW1 = Instance.new("Weld") | |
3011 | GuW1.Name = "GuW" | |
3012 | GuW1.Part0 = Torso | |
3013 | GuW1.C0 = cn(0, 0, -6) | |
3014 | GuW1.C1 = cn(0, 0, 0) | |
3015 | GuW1.Part1 = Firepart1 | |
3016 | GuW1.Parent = Torso | |
3017 | GuW2:Destroy() | |
3018 | GuW2 = Instance.new("Weld") | |
3019 | GuW2.Name = "GuW" | |
3020 | GuW2.Part0 = Torso | |
3021 | GuW2.C0 = cn(0, 0, -6) | |
3022 | GuW2.C1 = cn(0, 0, 0) | |
3023 | GuW2.Part1 = Firepart2 | |
3024 | GuW2.Parent = Torso | |
3025 | ||
3026 | GuW2:Destroy() | |
3027 | GuW2 = Instance.new("Weld") | |
3028 | GuW2.Name = "GuW" | |
3029 | GuW2.Part0 = Torso | |
3030 | GuW2.C0 = cn(0, 0, -4) | |
3031 | GuW2.C1 = cn(0, 0, 0) | |
3032 | GuW2.Part1 = Firepart2 | |
3033 | GuW2.Parent = Torso | |
3034 | for i = 0, 15, 0.1 do | |
3035 | swait() | |
3036 | if Torsovelocity.Y > 2 then | |
3037 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3038 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
3039 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
3040 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
3041 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3042 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3043 | elseif Torsovelocity.Y < 1 then | |
3044 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3045 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
3046 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
3047 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
3048 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3049 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3050 | end | |
3051 | end | |
3052 | wait(16) | |
3053 | local Aura3 = Instance.new('ParticleEmitter') | |
3054 | Aura3.Name = "Aura" | |
3055 | Aura3.Texture = "rbxassetid://1046299182" | |
3056 | Aura3.Parent = Torso | |
3057 | Aura3.LightEmission = 1 | |
3058 | Aura3.Transparency = NumberSequence.new(0.4,1) | |
3059 | Aura3.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
3060 | Aura3.Size = NumberSequence.new(140) | |
3061 | Aura3.Rotation = NumberRange.new(-360,360) | |
3062 | Aura3.LockedToPart = true | |
3063 | Aura3.Lifetime = NumberRange.new(0.2) | |
3064 | Aura3.Rate = 70 | |
3065 | Aura3.Speed = NumberRange.new(0) | |
3066 | Aura3.EmissionDirection = "Top" | |
3067 | local Aura4 = Instance.new('ParticleEmitter') | |
3068 | Aura4.Name = "Aura" | |
3069 | Aura4.Texture = "rbxassetid://1046299182" | |
3070 | Aura4.Parent = Torso | |
3071 | Aura4.LightEmission = 1 | |
3072 | Aura4.Transparency = NumberSequence.new(0.7,1) | |
3073 | Aura4.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3074 | Aura4.Size = NumberSequence.new(190) | |
3075 | Aura4.Rotation = NumberRange.new(-360,360) | |
3076 | Aura4.LockedToPart = true | |
3077 | Aura4.Lifetime = NumberRange.new(0.2) | |
3078 | Aura4.Rate = 120 | |
3079 | Aura4.Speed = NumberRange.new(0) | |
3080 | Aura4.EmissionDirection = "Top" | |
3081 | local Aura5 = Instance.new('ParticleEmitter') | |
3082 | Aura5.Name = "Aura" | |
3083 | Aura5.Texture = "rbxassetid://347730682" | |
3084 | Aura5.Parent = Torso | |
3085 | Aura5.LightEmission = 1 | |
3086 | Aura5.Transparency = NumberSequence.new(0.2,1) | |
3087 | Aura5.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
3088 | Aura5.Size = NumberSequence.new(1,65) | |
3089 | Aura5.Rotation = NumberRange.new(-360,360) | |
3090 | Aura5.LockedToPart = true | |
3091 | Aura5.Lifetime = NumberRange.new(1) | |
3092 | Aura5.Rate = 200 | |
3093 | Aura5.Speed = NumberRange.new(0) | |
3094 | Aura5.EmissionDirection = "Top" | |
3095 | local quake = Instance.new("Sound",workspace) | |
3096 | quake.SoundId = "rbxassetid://1048411878" | |
3097 | quake.Pitch = 0.99 | |
3098 | quake.Volume = 1.3 | |
3099 | quake.Looped = true | |
3100 | wait(0) | |
3101 | quake:Play() | |
3102 | local scrr = Instance.new("Sound",Torso) | |
3103 | scrr.SoundId = "rbxassetid://908472235" | |
3104 | scrr.Pitch = 0.99 | |
3105 | scrr.Volume = 5.5 | |
3106 | scrr.Looped = true | |
3107 | wait(0) | |
3108 | scrr:Play() | |
3109 | ||
3110 | for i = 0, 2, 0.1 do | |
3111 | swait() | |
3112 | local lb = Instance.new("Part") | |
3113 | lb.Parent = char | |
3114 | lb.Material = "Neon" | |
3115 | lb.Color = BrickColor.new("Gold").Color | |
3116 | lb.CanCollide = false | |
3117 | lb.Material = "Neon" | |
3118 | lb.Size = vt(0.5,0,0.5) | |
3119 | lb.CFrame = Torso.CFrame | |
3120 | lb.Rotation = vt(0,0,0) | |
3121 | lb.Anchored = true | |
3122 | lb.Transparency = 0 | |
3123 | local thing = Instance.new("SpecialMesh",lb) | |
3124 | thing.MeshType = "FileMesh" | |
3125 | thing.MeshId = "http://www.roblox.com/asset/?id=471124075" | |
3126 | thing.Scale = vt(0,15,0) | |
3127 | local chancerot = math.random(1,2) | |
3128 | for z = 0, 4 do | |
3129 | if chancerot == 1 then | |
3130 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
3131 | elseif chancerot == 2 then | |
3132 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
3133 | end | |
3134 | lb.Transparency = lb.Transparency + 0.1 | |
3135 | thing.Scale = thing.Scale + vt(0.5,0,0.5) | |
3136 | wait() | |
3137 | end | |
3138 | for z = 0, 4 do | |
3139 | if chancerot == 1 then | |
3140 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
3141 | elseif chancerot == 2 then | |
3142 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
3143 | end | |
3144 | lb.Transparency = lb.Transparency + 0.1 | |
3145 | thing.Scale = thing.Scale + vt(0.5,0,0.5) | |
3146 | wait() | |
3147 | end | |
3148 | end | |
3149 | ||
3150 | ||
3151 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=244578827", Firepart2, 2, 1) | |
3152 | for i = 0, 24, 0.1 do | |
3153 | swait() | |
3154 | if Torsovelocity.Y > 2 then | |
3155 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3156 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3157 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
3158 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
3159 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3160 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3161 | elseif Torsovelocity.Y < 1 then | |
3162 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3163 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
3164 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
3165 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
3166 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3167 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3168 | end | |
3169 | end | |
3170 | wait(5) | |
3171 | GuW1:Destroy() | |
3172 | GuW1 = Instance.new("Weld") | |
3173 | GuW1.Name = "GuW" | |
3174 | GuW1.Part0 = Torso | |
3175 | GuW1.C0 = cn(0, 0, -15) | |
3176 | GuW1.C1 = cn(0, 0, 0) | |
3177 | GuW1.Part1 = Firepart1 | |
3178 | GuW1.Parent = Torso | |
3179 | GuW2:Destroy() | |
3180 | GuW2 = Instance.new("Weld") | |
3181 | GuW2.Name = "GuW" | |
3182 | GuW2.Part0 = Torso | |
3183 | GuW2.C0 = cn(0, 0, -17.5) | |
3184 | GuW2.C1 = cn(0, 0, 0) | |
3185 | GuW2.Part1 = Firepart2 | |
3186 | GuW2.Parent = Torso | |
3187 | local Must2 = Instance.new("Sound",Torso) --1048411878 | |
3188 | Must2.SoundId = "rbxassetid://950551676" | |
3189 | Must2.Pitch = 0.99 | |
3190 | Must2.Volume = 10 | |
3191 | Must2.Looped = false | |
3192 | wait(0) | |
3193 | Must2:Play() | |
3194 | quake:Stop() | |
3195 | scrr:Stop() | |
3196 | local Gone = Instance.new('ParticleEmitter') | |
3197 | Gone.Name = "Aura" | |
3198 | Gone.Texture = "rbxassetid://1046299182" | |
3199 | Gone.Parent = Torso | |
3200 | Gone.LightEmission = 1 | |
3201 | Gone.Transparency = NumberSequence.new(0.7,1) | |
3202 | Gone.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
3203 | Gone.Size = NumberSequence.new(340) | |
3204 | Gone.Rotation = NumberRange.new(-360,360) | |
3205 | Gone.LockedToPart = true | |
3206 | Gone.Lifetime = NumberRange.new(0.2) | |
3207 | Gone.Rate = 70 | |
3208 | Gone.Speed = NumberRange.new(0) | |
3209 | Gone.EmissionDirection = "Top" | |
3210 | wait(2) | |
3211 | Aura:Destroy() | |
3212 | Aura2:Destroy() | |
3213 | Aura3:Destroy() | |
3214 | Aura4:Destroy() | |
3215 | Aura5:Destroy() | |
3216 | lig:Destroy() | |
3217 | Gone:Destroy() | |
3218 | for i = 0, 3, 0.01 do | |
3219 | swait() | |
3220 | shoottraildd2(mouse.Hit.p, Torso, 0) | |
3221 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=463177334", Firepart2, 5, 2) | |
3222 | BlockEffect(BrickColor.new("New Yeller"), Torso.CFrame, 1, 1, 1, 70, 70, 70, 0.06) | |
3223 | BlockEffect(BrickColor.new("New Yeller"), Torso.CFrame, 1, 1, 1, 69.5, 69.5, 69.5, 0.06) | |
3224 | if Torsovelocity.Y > 2 then | |
3225 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3226 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3227 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
3228 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
3229 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3230 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3231 | elseif Torsovelocity.Y < 1 then | |
3232 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3233 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
3234 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
3235 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
3236 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3237 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3238 | end | |
3239 | end | |
3240 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=170278900", Torso, 8, 1) | |
3241 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 50, 50, 50, 0.02) | |
3242 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.04) | |
3243 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 19.5, 19.5, 19.5, 0.04) | |
3244 | for i = 0, 3, 0.1 do | |
3245 | swait() | |
3246 | if Torsovelocity.Y > 2 then | |
3247 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3248 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
3249 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
3250 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
3251 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3252 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3253 | elseif Torsovelocity.Y < 1 then | |
3254 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3255 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
3256 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
3257 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
3258 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3259 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3260 | end | |
3261 | end | |
3262 | wait(1) | |
3263 | Humanoid.WalkSpeed = 16 | |
3264 | attack = false | |
3265 | MV4 = 0 | |
3266 | Must:Stop() | |
3267 | Firepart1:Destroy() | |
3268 | Firepart2:Destroy() | |
3269 | end | |
3270 | end) | |
3271 | ||
3272 | ||
3273 | ||
3274 | ||
3275 | ||
3276 | musiccommand = 1 | |
3277 | musicwait = false | |
3278 | mouse.KeyDown:connect(function(k) | |
3279 | if k == "=" and attack == false then | |
3280 | if musiccommand == 1 and musicwait == false then | |
3281 | musicwait = true | |
3282 | sou2:Stop() | |
3283 | musiccommand = 2 | |
3284 | end | |
3285 | if musiccommand == 2 and musicwait == false then | |
3286 | musicwait = true | |
3287 | sou2:Play() | |
3288 | sou2.Volume = 2 | |
3289 | musiccommand = 3 | |
3290 | end | |
3291 | if musiccommand == 3 and musicwait == false then | |
3292 | musicwait = true | |
3293 | sou2.Volume = 0.5 | |
3294 | musiccommand = 1 | |
3295 | end | |
3296 | musicwait = false | |
3297 | end | |
3298 | end) | |
3299 | function HitpartFunk3(HPart3, Xv, Yv, Zv) | |
3300 | Hitpart3 = Instance.new("Part", HPart3) | |
3301 | Hitpart3.Size = Vector3.new(1, 1, 1) | |
3302 | Hitpart3.CanCollide = false | |
3303 | HuW3 = Instance.new("Weld") | |
3304 | HuW3.Name = "GuW" | |
3305 | HuW3.Part0 = HPart3 | |
3306 | HuW3.C0 = cn(Xv, Yv, Zv) | |
3307 | HuW3.C1 = cn(0, 0, 0) | |
3308 | HuW3.Part1 = Hitpart3 | |
3309 | HuW3.Parent = HPart3 | |
3310 | Hitpart3.Transparency = 1 | |
3311 | game:GetService("Debris"):AddItem(Hitpart3, 20) | |
3312 | end | |
3313 | function HitpartFunk2(HPart2, Xv, Yv, Zv) | |
3314 | Hitpart2 = Instance.new("Part", HPart2) | |
3315 | Hitpart2.Size = Vector3.new(1, 1, 1) | |
3316 | Hitpart2.CanCollide = false | |
3317 | HuW2 = Instance.new("Weld") | |
3318 | HuW2.Name = "GuW" | |
3319 | HuW2.Part0 = HPart2 | |
3320 | HuW2.C0 = cn(Xv, Yv, Zv) | |
3321 | HuW2.C1 = cn(0, 0, 0) | |
3322 | HuW2.Part1 = Hitpart2 | |
3323 | HuW2.Parent = HPart2 | |
3324 | Hitpart2.Transparency = 1 | |
3325 | game:GetService("Debris"):AddItem(Hitpart2, 20) | |
3326 | end | |
3327 | function HitpartFunk(HPart, Min, Max, Xv, Yv, Zv) | |
3328 | Hitpart = Instance.new("Part", HPart) | |
3329 | Hitpart.Size = Vector3.new(1, 1, 1) | |
3330 | Hitpart.CanCollide = false | |
3331 | HuW = Instance.new("Weld") | |
3332 | HuW.Name = "GuW" | |
3333 | HuW.Part0 = HPart | |
3334 | HuW.C0 = cn(Xv, Yv, Zv) | |
3335 | HuW.C1 = cn(0, 0, 0) | |
3336 | HuW.Part1 = Hitpart | |
3337 | HuW.Parent = HPart | |
3338 | Hitpart.Transparency = 1 | |
3339 | MagniDamage(Hitpart, 4.5, Min, Max, 1, "Normal") | |
3340 | end | |
3341 | wait2 = false | |
3342 | combo = 1 | |
3343 | mouse.Button1Down:connect(function(key) | |
3344 | if attack == false then | |
3345 | attack = true | |
3346 | Humanoid.WalkSpeed = 17.01 | |
3347 | if combo == 1 and wait2 == false then | |
3348 | wait2 = true | |
3349 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=232210079", LeftArm, 1, 1) | |
3350 | HitpartFunk(LeftArm, 40, 80, 0, -0.5, 0) | |
3351 | for i = 0, 0.3, 0.1 do | |
3352 | swait() | |
3353 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
3354 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
3355 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
3356 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-99 + 1 * math.cos(sine / 25))), 0.3) | |
3357 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
3358 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
3359 | end | |
3360 | combo = 2 | |
3361 | end | |
3362 | if combo == 2 and wait2 == false then | |
3363 | wait2 = true | |
3364 | ||
3365 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=232210079", RightArm, 1, 1) | |
3366 | for i = 0, 0.3, 0.1 do | |
3367 | swait() | |
3368 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
3369 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
3370 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
3371 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
3372 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
3373 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
3374 | end | |
3375 | combo = 3 | |
3376 | end | |
3377 | if combo == 3 and wait2 == false then | |
3378 | wait2 = true | |
3379 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=232210079", LeftArm, 1, 1) | |
3380 | HitpartFunk(RightLeg, 40, 60, 0, -0.5, 0) | |
3381 | for i = 0, 0.1, 0.1 do | |
3382 | swait() | |
3383 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
3384 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
3385 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
3386 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
3387 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3) | |
3388 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
3389 | end | |
3390 | combo = 1 | |
3391 | end | |
3392 | Humanoid.WalkSpeed = 16 | |
3393 | Hitpart:Destroy() | |
3394 | wait2 = false | |
3395 | attack = false | |
3396 | end | |
3397 | end) | |
3398 | -- | |
3399 | mouse.KeyDown:connect(function(k) | |
3400 | if k == "f" then | |
3401 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=232210079", RightLeg, 1, 1) | |
3402 | HitpartFunk(RightLeg, 60, 160, 0, -0.5, 0) | |
3403 | for i = 0, 1.2, 0.1 do | |
3404 | swait() | |
3405 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2) * angles(math.rad(-99), math.rad(-0), math.rad(-30)), 0.3) | |
3406 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(90), math.rad(0), math.rad(0)), 0.2) | |
3407 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(-30), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
3408 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(-30 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-0 + 1 * math.cos(sine / 25))), 0.3) | |
3409 | RH.C0 = clerp(RH.C0, cn(1.1, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
3410 | LH.C0 = clerp(LH.C0, cn(-0.5, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
3411 | end | |
3412 | end | |
3413 | end) | |
3414 | -- | |
3415 | MV1 = 20 | |
3416 | mouse.KeyDown:connect(function(k) | |
3417 | if k == "=" and attack == false then | |
3418 | if firemode == true then | |
3419 | firemode = false | |
3420 | print("ice mode") | |
3421 | icesmoke.Acceleration = Vector3.new(0,0,0) | |
3422 | icesmoke.Texture = "http://www.roblox.com/asset/?id=243728104" | |
3423 | icesmoke.Transparency = NumberSequence.new({ | |
3424 | NumberSequenceKeypoint.new(0, 0.9), | |
3425 | NumberSequenceKeypoint.new(1, 1) | |
3426 | }) | |
3427 | icesmoke.Size = NumberSequence.new(3) | |
3428 | icesmoke.Parent = RightArm | |
3429 | else | |
3430 | firemode = true | |
3431 | print("fire mode") | |
3432 | ice_mode = false | |
3433 | game.Players.LocalPlayer.Character.Head.Running.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3" | |
3434 | icesmoke.Acceleration = Vector3.new(0, 15, 0) | |
3435 | icesmoke.Rate = 400 | |
3436 | icesmoke.Texture = "http://www.roblox.com/asset/?id=11601142" | |
3437 | icesmoke.Transparency = NumberSequence.new(0.7, 1) | |
3438 | icesmoke.Size = NumberSequence.new(3) | |
3439 | icesmoke.EmissionDirection = "Top" | |
3440 | icesmoke.Parent = LeftArm | |
3441 | end | |
3442 | end | |
3443 | if attack == false and k == "x==" and MV1 > 19 and firemode == false then | |
3444 | MV1 = 90 | |
3445 | Humanoid.WalkSpeed = 15 | |
3446 | attack = true | |
3447 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=131632972", LeftArm, 1, 1.5) | |
3448 | Firepart2 = Instance.new("Part", LeftArm) | |
3449 | Firepart2.Size = Vector3.new(1, 1, 1) | |
3450 | Firepart2.CanCollide = false | |
3451 | GuW2 = Instance.new("Weld") | |
3452 | GuW2.Name = "GuW" | |
3453 | GuW2.Part0 = LeftArm | |
3454 | GuW2.C0 = cn(0, -0.5, 0) | |
3455 | GuW2.C1 = cn(0, 0, 0) | |
3456 | GuW2.Part1 = Firepart2 | |
3457 | GuW2.Parent = LeftArm | |
3458 | Firepart2.Transparency = 1 | |
3459 | MagniDamage(Firepart2, 6, 20, 40, 10, "Normal") | |
3460 | for i = 0, 2, 0.1 do | |
3461 | swait() | |
3462 | BlockEffect(BrickColor.new("Cyan"), Firepart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
3463 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
3464 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
3465 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
3466 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(130 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
3467 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
3468 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
3469 | end | |
3470 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", LeftArm, 1, 2.7) | |
3471 | BlockEffect(BrickColor.new("Cyan"), Firepart2.CFrame, 1, 1, 1, 3, 3, 3, 0.025) | |
3472 | BlockEffect(BrickColor.new("White"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.02) | |
3473 | MagniDamage(Firepart2, 35, 35, 35, 0, "Freeze") | |
3474 | Humanoid.WalkSpeed = 16 | |
3475 | attack = false | |
3476 | Firepart2:Destroy() | |
3477 | end | |
3478 | end) | |
3479 | MV2 = 90 | |
3480 | ||
3481 | mouse.KeyDown:connect(function(key) | |
3482 | if key == "=" then | |
3483 | Head.Transparency = 1 | |
3484 | Torso.Transparency = 1 | |
3485 | LeftArm.Transparency = 1 | |
3486 | Head.face.Texture = "" | |
3487 | RightArm.Transparency = 1 | |
3488 | LeftLeg.Transparency = 1 | |
3489 | RightLeg.Transparency = 1 | |
3490 | mesh1.Transparency = 1 | |
3491 | mesh2.Transparency = 1 | |
3492 | mesh5.Transparency = 1 | |
3493 | mesheye.Transparency = 1 | |
3494 | mesheye1.Transparency = 1 | |
3495 | mesheye2.Transparency = 1 | |
3496 | mesheye3.Transparency = 1 | |
3497 | char.Parent = workspace.Camera | |
3498 | char.WalkSpeed = 60 | |
3499 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
3500 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
3501 | end | |
3502 | end | |
3503 | end) | |
3504 | mouse.KeyUp:connect(function(key) | |
3505 | if key == "=" then | |
3506 | Head.Transparency = 0 | |
3507 | Torso.Transparency = 0 | |
3508 | LeftArm.Transparency = 0 | |
3509 | Head.face.Texture = "" | |
3510 | RightArm.Transparency = 0 | |
3511 | LeftLeg.Transparency = 0 | |
3512 | RightLeg.Transparency = 0 | |
3513 | mesh1.Transparency = 0 | |
3514 | mesh2.Transparency = 0 | |
3515 | mesh5.Transparency = 0 | |
3516 | mesheye.Transparency = 0 | |
3517 | mesheye1.Transparency = 0 | |
3518 | mesheye2.Transparency = 0 | |
3519 | mesheye3.Transparency = 0 | |
3520 | hat1.Transparency = 0 | |
3521 | hat2.Transparency = 0 | |
3522 | hat3.Transparency = 0 | |
3523 | hat4.Transparency = 0 | |
3524 | hat5.Transparency = 0 | |
3525 | hat6.Transparency = 0 | |
3526 | hat7.Transparency = 0 | |
3527 | hat8.Transparency = 0 | |
3528 | hat9.Transparency = 0 | |
3529 | char.Parent = workspace | |
3530 | end | |
3531 | end) | |
3532 | ||
3533 | mouse.KeyDown:connect(function(k) | |
3534 | if attack == false and k == "=" and MV2 > 89 and firemode == true then | |
3535 | MV2 = 90 | |
3536 | attack = true | |
3537 | Firepart = Instance.new("Part", RightArm) | |
3538 | Firepart.Size = Vector3.new(1, 1, 1) | |
3539 | GuW = Instance.new("Weld") | |
3540 | GuW.Name = "GuW" | |
3541 | GuW.Part0 = RightArm | |
3542 | GuW.C0 = cn(0, -1, 0) | |
3543 | GuW.C1 = cn(0, 0, 0) | |
3544 | GuW.Part1 = Firepart | |
3545 | GuW.Parent = RightArm | |
3546 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.7) | |
3547 | Firepart.Transparency = 1 | |
3548 | Humanoid.WalkSpeed = 15 | |
3549 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=586187912", RightArm, 1, 0.8) | |
3550 | CreateSound("http://www.roblox.com/asset/?id=633130540", RightArm, 0.5, 1.5) | |
3551 | for i = 1, 3 do | |
3552 | BlockEffect(BrickColor.new("New Yeller"), Firepart.CFrame, 1, 1, 1, 6, 6, 6, 0.06) | |
3553 | BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 5.8, 5.8, 5.8, 0.06) | |
3554 | end | |
3555 | for i = 0, 3, 0.1 do | |
3556 | BlockEffect(BrickColor.new("New Yeller"), Firepart.CFrame, 1, 1, 1, 1, 1, 1, 0.06) | |
3557 | swait() | |
3558 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
3559 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
3560 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(130 + 1 * math.cos(sine / 25))), 0.05) | |
3561 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1) | |
3562 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
3563 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
3564 | end | |
3565 | wait(1) | |
3566 | shoottraildd22(mouse.Hit.p, RightArm, 0, 10) | |
3567 | ||
3568 | Humanoid.WalkSpeed = 16 | |
3569 | attack = false | |
3570 | Firepart:Destroy() | |
3571 | end | |
3572 | ||
3573 | ||
3574 | ||
3575 | ||
3576 | if attack == false and k == "=" and MV2 > 89 and InForm == true then | |
3577 | MV2 = 90 | |
3578 | attack = true | |
3579 | Firepart = Instance.new("Part", RightArm) | |
3580 | Firepart.Size = Vector3.new(1, 1, 1) | |
3581 | GuW = Instance.new("Weld") | |
3582 | GuW.Name = "GuW" | |
3583 | GuW.Part0 = RightArm | |
3584 | GuW.C0 = cn(0, -1, 0) | |
3585 | GuW.C1 = cn(0, 0, 0) | |
3586 | GuW.Part1 = Firepart | |
3587 | GuW.Parent = RightArm | |
3588 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.7) | |
3589 | Firepart.Transparency = 1 | |
3590 | Humanoid.WalkSpeed = 0.01 | |
3591 | for i = 0, 4, 0.1 do | |
3592 | swait() | |
3593 | BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
3594 | BlockEffect(BrickColor.new("Really red"), Firepart.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
3595 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
3596 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
3597 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(90 + 0.1 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.1) | |
3598 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1) | |
3599 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
3600 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
3601 | end | |
3602 | for i = 0, 4, 0.1 do | |
3603 | swait() | |
3604 | BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
3605 | BlockEffect(BrickColor.new("Really red"), Firepart.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
3606 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
3607 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
3608 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.1) | |
3609 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1) | |
3610 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
3611 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
3612 | end | |
3613 | shoottraildd(mouse.Hit.p, RightArm, 0, 10) | |
3614 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433410", RightArm, 1, 0.8) | |
3615 | CreateSound("http://www.roblox.com/asset/?id=633130540", RightArm, 0.5, 1.5) | |
3616 | for i = 1, 3 do | |
3617 | BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 6, 6, 6, 0.06) | |
3618 | BlockEffect(BrickColor.new("Really red"), Firepart.CFrame, 1, 1, 1, 5.8, 5.8, 5.8, 0.06) | |
3619 | end | |
3620 | for i = 0, 2, 0.1 do | |
3621 | BlockEffect(BrickColor.new("Really black"), Firepart.CFrame, 1, 1, 1, 1, 1, 1, 0.06) | |
3622 | swait() | |
3623 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
3624 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
3625 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(130 + 1 * math.cos(sine / 25))), 0.05) | |
3626 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1) | |
3627 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
3628 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
3629 | end | |
3630 | Humanoid.WalkSpeed = 16 | |
3631 | attack = false | |
3632 | Firepart:Destroy() | |
3633 | end | |
3634 | end) | |
3635 | Rapid = false | |
3636 | BasePart = Instance.new("Part") | |
3637 | BasePart.Shape = Enum.PartType.Block | |
3638 | BasePart.Material = Enum.Material.Neon | |
3639 | BasePart.TopSurface = Enum.SurfaceType.Smooth | |
3640 | BasePart.BottomSurface = Enum.SurfaceType.Smooth | |
3641 | BasePart.FormFactor = Enum.FormFactor.Custom | |
3642 | BasePart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3643 | BasePart.CanCollide = true | |
3644 | BasePart.Locked = true | |
3645 | BasePart.Anchored = false | |
3646 | local icy_Player = game.Players.localPlayer | |
3647 | local icy_mouse = icy_Player:GetMouse() | |
3648 | ice_mode = false | |
3649 | local colors = { | |
3650 | BrickColor.new("Cyan"), | |
3651 | BrickColor.new("Medium blue"), | |
3652 | BrickColor.new("Pastel blue") | |
3653 | } | |
3654 | local root = game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") | |
3655 | if root then | |
3656 | icy_mouse.KeyDown:connect(function(k) | |
3657 | if k == "=" and firemode == false then | |
3658 | if ice_mode == true then | |
3659 | ice_mode = false | |
3660 | game.Players.LocalPlayer.Character.Head.Running.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3" | |
3661 | else | |
3662 | ice_mode = true | |
3663 | game.Players.LocalPlayer.Character.Head.Running.SoundId = "rbxassetid://571670708" | |
3664 | end | |
3665 | end | |
3666 | if k == "z" and firemode == true then | |
3667 | attack = true | |
3668 | do | |
3669 | local Stop = false | |
3670 | local Version = 0 | |
3671 | local MaxSpeed = 5 | |
3672 | local Speed = 3.5 | |
3673 | local Keys = {} | |
3674 | local Force = 10000 | |
3675 | CreateSound("http://www.roblox.com/asset/?id=1056635059", Torso, 1, 1) | |
3676 | swait(0.5) | |
3677 | local Fly, Rot = char.Torso:FindFirstChild("LMMFly"), char.Torso:FindFirstChild("LMMRot") | |
3678 | if Fly then | |
3679 | Fly:Destroy() | |
3680 | end | |
3681 | if Rot then | |
3682 | Rot:Destroy() | |
3683 | end | |
3684 | Fly = Instance.new("BodyPosition", char.Torso) | |
3685 | Fly.Name = "LMMFly" | |
3686 | Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
3687 | Fly.P = Force | |
3688 | Fly.position = char.Torso.Position | |
3689 | Rot = Instance.new("BodyGyro", char.Torso) | |
3690 | Rot.Name = "LMMRot" | |
3691 | Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
3692 | Rot.P = Force | |
3693 | Rot.cframe = cam.CoordinateFrame | |
3694 | CreateSound("http://www.roblox.com/asset/?id=", Fly, 2, 1.5) | |
3695 | local Thread, Old = Version, nil | |
3696 | char.Humanoid.PlatformStand = true | |
3697 | function StopFly() | |
3698 | Version = Version + 1 | |
3699 | Stop = true | |
3700 | char.Humanoid.PlatformStand = false | |
3701 | Fly:Destroy() | |
3702 | Rot:Destroy() | |
3703 | attack = false | |
3704 | end | |
3705 | char.ChildAdded:connect(function(Obj) | |
3706 | wait() | |
3707 | if Obj.Name == "LM" .. "MFlyStop" then | |
3708 | Obj:Destroy() | |
3709 | StopFly() | |
3710 | end | |
3711 | end) | |
3712 | HitpartFunk2(RightArm, 0, -0.7, 0) | |
3713 | HitpartFunk3(LeftArm, 0, -0.7, 0) | |
3714 | for i = 0, 25, 0.1 do | |
3715 | if attack == true then | |
3716 | swait() | |
3717 | ||
3718 | end | |
3719 | local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position | |
3720 | if Keys[string.char(48)] then | |
3721 | Speed = 1 | |
3722 | end | |
3723 | if Keys.w then | |
3724 | Vectoring = Vectoring + cam.CoordinateFrame.lookVector * Speed | |
3725 | end | |
3726 | if Keys.s then | |
3727 | Vectoring = Vectoring - cam.CoordinateFrame.lookVector * Speed | |
3728 | end | |
3729 | if Keys.d then | |
3730 | Vectoring = Vectoring * CFrame.new(Speed, 0, 0) | |
3731 | end | |
3732 | if Keys.a then | |
3733 | Vectoring = Vectoring * CFrame.new(-Speed, 0, 0) | |
3734 | end | |
3735 | if Keys.e or Keys[" "] then | |
3736 | Vectoring = Vectoring * CFrame.new(0, Speed, 0) | |
3737 | end | |
3738 | if Keys.q then | |
3739 | Vectoring = Vectoring * CFrame.new(0, -Speed, 0) | |
3740 | end | |
3741 | if Keys.z then | |
3742 | StopFly() | |
3743 | end | |
3744 | if Old ~= Vectoring then | |
3745 | Fly.position = Vectoring.p | |
3746 | Old = Vectoring | |
3747 | Speed = math.min(Speed + Speed * 0.025, MaxSpeed) | |
3748 | else | |
3749 | Speed = 1 | |
3750 | end | |
3751 | Rot.cframe = cam.CoordinateFrame | |
3752 | mouse.KeyDown:connect(function(Key) | |
3753 | Keys[Key] = true | |
3754 | end) | |
3755 | mouse.KeyUp:connect(function(Key) | |
3756 | Keys[Key] = false | |
3757 | end) | |
3758 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3759 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
3760 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.2) | |
3761 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-20)), 0.2) | |
3762 | RH.C0 = clerp(RH.C0, cn(1, -0.6, -0.4) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1) | |
3763 | LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.1) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(5)), 0.1) | |
3764 | end | |
3765 | CreateSound("http://www.roblox.com/asset/?id=633130540", Torso, 0.8, 0.8) | |
3766 | attack = false | |
3767 | char.Humanoid.PlatformStand = false | |
3768 | Fly:Destroy() | |
3769 | Rot:Destroy() | |
3770 | end | |
3771 | end | |
3772 | if k == "=" and InForm == true then | |
3773 | attack = true | |
3774 | do | |
3775 | local Stop = false | |
3776 | local Version = 0 | |
3777 | local MaxSpeed = 6 | |
3778 | local Speed = 3 | |
3779 | local Keys = {} | |
3780 | local Force = 10000 | |
3781 | CreateSound("http://www.roblox.com/asset/?id=260433410", Torso, 1, 1) | |
3782 | swait(1) | |
3783 | local Fly, Rot = char.Torso:FindFirstChild("LMMFly"), char.Torso:FindFirstChild("LMMRot") | |
3784 | if Fly then | |
3785 | Fly:Destroy() | |
3786 | end | |
3787 | if Rot then | |
3788 | Rot:Destroy() | |
3789 | end | |
3790 | Fly = Instance.new("BodyPosition", char.Torso) | |
3791 | Fly.Name = "LMMFly" | |
3792 | Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
3793 | Fly.P = Force | |
3794 | Fly.position = char.Torso.Position | |
3795 | Rot = Instance.new("BodyGyro", char.Torso) | |
3796 | Rot.Name = "LMMRot" | |
3797 | Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
3798 | Rot.P = Force | |
3799 | Rot.cframe = cam.CoordinateFrame | |
3800 | CreateSound("http://www.roblox.com/asset/?id=192104941", Fly, 2, 1.5) | |
3801 | local Thread, Old = Version, nil | |
3802 | char.Humanoid.PlatformStand = true | |
3803 | function StopFly() | |
3804 | Version = Version + 1 | |
3805 | Stop = true | |
3806 | char.Humanoid.PlatformStand = false | |
3807 | Fly:Destroy() | |
3808 | Rot:Destroy() | |
3809 | attack = false | |
3810 | end | |
3811 | char.ChildAdded:connect(function(Obj) | |
3812 | wait() | |
3813 | if Obj.Name == "LM" .. "MFlyStop" then | |
3814 | Obj:Destroy() | |
3815 | StopFly() | |
3816 | end | |
3817 | end) | |
3818 | HitpartFunk2(RightArm, 0, -0.7, 0) | |
3819 | HitpartFunk3(LeftArm, 0, -0.7, 0) | |
3820 | for i = 0, 25, 0.1 do | |
3821 | if attack == true then | |
3822 | swait() | |
3823 | BlockEffect(BrickColor.new("Gold"), Hitpart2.CFrame, 13, 13, 13, 2, 2, 2, 0.1, 2) | |
3824 | BlockEffect(BrickColor.new("Really red"), Hitpart2.CFrame, 11, 11, 11, 1.8, 1.8, 1.8, 0.1, 2) | |
3825 | BlockEffect(BrickColor.new("Gold"), Hitpart3.CFrame, 13, 13, 13, 2, 2, 2, 0.1, 2) | |
3826 | BlockEffect(BrickColor.new("Really red"), Hitpart3.CFrame, 11, 11, 11, 1.8, 1.8, 1.8, 0.1, 2) | |
3827 | end | |
3828 | local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position | |
3829 | if Keys[string.char(48)] then | |
3830 | Speed = 1 | |
3831 | end | |
3832 | if Keys.w then | |
3833 | Vectoring = Vectoring + cam.CoordinateFrame.lookVector * Speed | |
3834 | end | |
3835 | if Keys.s then | |
3836 | Vectoring = Vectoring - cam.CoordinateFrame.lookVector * Speed | |
3837 | end | |
3838 | if Keys.d then | |
3839 | Vectoring = Vectoring * CFrame.new(Speed, 0, 0) | |
3840 | end | |
3841 | if Keys.a then | |
3842 | Vectoring = Vectoring * CFrame.new(-Speed, 0, 0) | |
3843 | end | |
3844 | if Keys.e or Keys[" "] then | |
3845 | Vectoring = Vectoring * CFrame.new(0, Speed, 0) | |
3846 | end | |
3847 | if Keys.q then | |
3848 | Vectoring = Vectoring * CFrame.new(0, -Speed, 0) | |
3849 | end | |
3850 | if Keys.z then | |
3851 | StopFly() | |
3852 | end | |
3853 | if Old ~= Vectoring then | |
3854 | Fly.position = Vectoring.p | |
3855 | Old = Vectoring | |
3856 | Speed = math.min(Speed + Speed * 0.025, MaxSpeed) | |
3857 | else | |
3858 | Speed = 1 | |
3859 | end | |
3860 | Rot.cframe = cam.CoordinateFrame | |
3861 | mouse.KeyDown:connect(function(Key) | |
3862 | Keys[Key] = true | |
3863 | end) | |
3864 | mouse.KeyUp:connect(function(Key) | |
3865 | Keys[Key] = false | |
3866 | end) | |
3867 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3868 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
3869 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.2) | |
3870 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-20)), 0.2) | |
3871 | RH.C0 = clerp(RH.C0, cn(1, -0.6, -0.4) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1) | |
3872 | LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.1) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(5)), 0.1) | |
3873 | end | |
3874 | CreateSound("http://www.roblox.com/asset/?id=633130540", Torso, 0.8, 0.8) | |
3875 | attack = false | |
3876 | char.Humanoid.PlatformStand = false | |
3877 | Fly:Destroy() | |
3878 | Rot:Destroy() | |
3879 | end | |
3880 | end | |
3881 | end) | |
3882 | game:GetService("RunService").Stepped:connect(function() | |
3883 | if ice_mode == true then | |
3884 | local part, pos, normal = workspace:FindPartOnRay(Ray.new(root.Position, Vector3.new(0, -64, 0)), game:GetService("Players").LocalPlayer.Character) | |
3885 | local icePath = BasePart:Clone() | |
3886 | icePath.Anchored = true | |
3887 | icePath.Transparency = 0.85 | |
3888 | icePath.Size = Vector3.new(3 + math.random(), 0.2 + math.random() * 0.2, 3 + math.random()) | |
3889 | icePath.CFrame = CFrame.new(pos, pos + normal) * CFrame.Angles(-math.pi / 2, math.pi * 2 * math.random(), 0) | |
3890 | icePath.BrickColor = colors[math.random(1, #colors)] | |
3891 | icePath.Parent = game:GetService("Players").LocalPlayer.Character | |
3892 | game:GetService("Debris"):AddItem(icePath, 1) | |
3893 | icePath.Velocity = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 36 | |
3894 | end | |
3895 | end) | |
3896 | end | |
3897 | MV3 = 190 | |
3898 | mouse.KeyDown:connect(function(k) | |
3899 | if attack == false and k == "=" and MV3 > 19 and hoop == true then | |
3900 | MV3 = 80 | |
3901 | attack = true | |
3902 | Humanoid.WalkSpeed = 15 | |
3903 | HitpartFunk2(RightArm, 0, -0.5, 0) | |
3904 | HitpartFunk3(LeftArm, 0, -0.5, 0) | |
3905 | for i = 0, 1.5, 0.1 do | |
3906 | swait() | |
3907 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3908 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3) | |
3909 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
3910 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
3911 | RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3912 | LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
3913 | end | |
3914 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", Torso, 1, 0.6) | |
3915 | for i = 0, 2, 0.1 do | |
3916 | swait() | |
3917 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3918 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
3919 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.1) | |
3920 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.1) | |
3921 | RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3922 | LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
3923 | end | |
3924 | for i = 0, 4.2, 0.1 do | |
3925 | swait() | |
3926 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
3927 | BlockEffect(BrickColor.new("Medium blue"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.09) | |
3928 | BlockEffect(BrickColor.new("Cyan"), Hitpart3.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
3929 | BlockEffect(BrickColor.new("Medium blue"), Hitpart3.CFrame, 21, 21, 21, -2, -2, -2, 0.09) | |
3930 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1.5, -1) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2) | |
3931 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
3932 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.1) | |
3933 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.1) | |
3934 | RH.C0 = clerp(RH.C0, cn(1, -0.7, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.2) | |
3935 | LH.C0 = clerp(LH.C0, cn(-1, -0.55, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3936 | end | |
3937 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 61, 61, 61, -2, -2, -2, 0.04) | |
3938 | BlockEffect(BrickColor.new("White"), Hitpart2.CFrame, 10, 10, 10, 2, 2, 2, 0.06) | |
3939 | BlockEffect(BrickColor.new("Cyan"), Hitpart3.CFrame, 61, 61, 61, -2, -2, -2, 0.04) | |
3940 | BlockEffect(BrickColor.new("White"), Hitpart3.CFrame, 10, 10, 10, 2, 2, 2, 0.06) | |
3941 | BlockEffect(BrickColor.new("Cyan"), Torso.CFrame, 1, 1, 1, 55, 55, 55, 0.08) | |
3942 | MagniDamage(Torso, 75, 70, 75, 40, "Freeze") | |
3943 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Torso, 2, 0.5) | |
3944 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435136", Torso, 4, 1.5) | |
3945 | for i = 0, 2, 0.1 do | |
3946 | swait() | |
3947 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1.5, -1) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2) | |
3948 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
3949 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.1) | |
3950 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.1) | |
3951 | RH.C0 = clerp(RH.C0, cn(1, -0.7, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.1) | |
3952 | LH.C0 = clerp(LH.C0, cn(-1, -0.55, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3953 | end | |
3954 | for i = 0, 2, 0.1 do | |
3955 | swait() | |
3956 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3957 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3) | |
3958 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
3959 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.1) | |
3960 | RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3961 | LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
3962 | end | |
3963 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=201858144", Torso, 3, 0.65) | |
3964 | for i = 0, 4, 0.1 do | |
3965 | swait() | |
3966 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
3967 | BlockEffect(BrickColor.new("Medium blue"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.09) | |
3968 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, -0.1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
3969 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
3970 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.1) | |
3971 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
3972 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.1) | |
3973 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.1) | |
3974 | end | |
3975 | for i = 0, 2, 0.1 do | |
3976 | swait() | |
3977 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
3978 | BlockEffect(BrickColor.new("Medium blue"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.09) | |
3979 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -0.1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
3980 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(25), math.rad(0), math.rad(0)), 0.1) | |
3981 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, -0.6) * angles(math.rad(100), math.rad(0), math.rad(-25)), 0.4) | |
3982 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1) | |
3983 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.1) | |
3984 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3985 | end | |
3986 | for i = 1, 6 do | |
3987 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 61, 61, 61, -2, -2, -2, 0.04) | |
3988 | BlockEffect(BrickColor.new("White"), Hitpart2.CFrame, 10, 10, 10, 2, 2, 2, 0.06) | |
3989 | MagniDamage(Torso, 75, 1, 75, 40, "Impale") | |
3990 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Hitpart2, 1, 0.65) | |
3991 | wait(0.15) | |
3992 | end | |
3993 | attack = false | |
3994 | Humanoid.WalkSpeed = 16 | |
3995 | end | |
3996 | if attack == false and k == "c" and MV3 > 189 and firemode == true then | |
3997 | Humanoid.WalkSpeed = 1 | |
3998 | MV3 = 80 | |
3999 | attack = true | |
4000 | FastFireBall = Instance.new("Part", RightArm) | |
4001 | FastFireBall.Size = Vector3.new(1, 1, 1) | |
4002 | FFW = Instance.new("Weld") | |
4003 | FFW.Name = "GuW" | |
4004 | FFW.Part0 = RightArm | |
4005 | FFW.C0 = cn(0, -1, 0) | |
4006 | FFW.C1 = cn(0, 0, 0) | |
4007 | FFW.Part1 = FastFireBall | |
4008 | FFW.Parent = RightArm | |
4009 | FastFireBall.Transparency = 1 | |
4010 | FastFireBall2 = Instance.new("Part", LeftArm) | |
4011 | FastFireBall2.Size = Vector3.new(1, 1, 1) | |
4012 | FFW2 = Instance.new("Weld") | |
4013 | FFW2.Name = "GuW" | |
4014 | FFW2.Part0 = LeftArm | |
4015 | FFW2.C0 = cn(0, -1, 0) | |
4016 | FFW2.C1 = cn(0, 0, 0) | |
4017 | FFW2.Part1 = FastFireBall2 | |
4018 | FFW2.Parent = LeftArm | |
4019 | FastFireBall2.Transparency = 1 | |
4020 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.04, 1) | |
4021 | BlockEffect(BrickColor.new("Gold"), FastFireBall2.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.04, 1) | |
4022 | for i = 0, 1, 0.1 do | |
4023 | swait() | |
4024 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
4025 | BlockEffect(BrickColor.new("Gold"), FastFireBall.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
4026 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
4027 | BlockEffect(BrickColor.new("Gold"), FastFireBall2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
4028 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
4029 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4030 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.2) | |
4031 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.2) | |
4032 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
4033 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
4034 | end | |
4035 | BlockEffect(BrickColor.new("White"), FastFireBall.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.05) | |
4036 | BlockEffect(BrickColor.new("White"), FastFireBall2.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.05) | |
4037 | function holding() | |
4038 | if Rapid == true and ice_mode == false then | |
4039 | for i = 0, 0.8, 0.1 do | |
4040 | swait() | |
4041 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall2.CFrame, 1, 1, 1, 3, 3, 3, 0.09, 1) | |
4042 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall2.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.09, 1) | |
4043 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-20)), 0.3) | |
4044 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(5), math.rad(20)), 0.25) | |
4045 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(200), math.rad(0), math.rad(70)), 0.5) | |
4046 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(20)), 0.4) | |
4047 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(20), math.rad(0)), 0.3) | |
4048 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(20), math.rad(0)), 0.3) | |
4049 | end | |
4050 | CreateSound("http://www.roblox.com/asset/?id=201858144", FastFireBall2, 2, 2) | |
4051 | shoottraildd4(mouse.Hit.p, FastFireBall2, 0, 10) | |
4052 | for i = 0, 0.8, 0.1 do | |
4053 | swait() | |
4054 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall.CFrame, 1, 1, 1, 3, 3, 3, 0.09, 1) | |
4055 | BlockEffect(BrickColor.new("Gold"), FastFireBall.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.09, 1) | |
4056 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(20)), 0.3) | |
4057 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(-5), math.rad(-20)), 0.25) | |
4058 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-20)), 0.4) | |
4059 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(200), math.rad(0), math.rad(-70)), 0.5) | |
4060 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.3) | |
4061 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.3) | |
4062 | end | |
4063 | CreateSound("http://www.roblox.com/asset/?id=150442604", FastFireBall, 2, 2) | |
4064 | shoottraildd4(mouse.Hit.p, FastFireBall, 0, 10) | |
4065 | holding() | |
4066 | end | |
4067 | end | |
4068 | if Rapid == false then | |
4069 | Rapid = true | |
4070 | holding() | |
4071 | end | |
4072 | end | |
4073 | end) | |
4074 | mouse.KeyUp:connect(function(k) | |
4075 | if k == "c" and Rapid == true then | |
4076 | MV3 = 180 | |
4077 | Rapid = false | |
4078 | CreateSound("http://www.roblox.com/asset/?id=150442604", Torso, 2, 0.8) | |
4079 | attack = false | |
4080 | wait(0.5) | |
4081 | Humanoid.WalkSpeed = 16 | |
4082 | FastFireBall:Destroy() | |
4083 | FastFireBall2:Destroy() | |
4084 | end | |
4085 | end) | |
4086 | ||
4087 | mouse.KeyDown:connect(function(key) | |
4088 | if key == "t" then | |
4089 | if Morph == false then | |
4090 | Morph = true | |
4091 | MorphFunction() | |
4092 | end | |
4093 | end | |
4094 | end) | |
4095 | mouse.KeyUp:connect(function(key) | |
4096 | if key == "t" then | |
4097 | Morph = false | |
4098 | end | |
4099 | end) | |
4100 | ||
4101 | ||
4102 | ||
4103 | Object = Player.Character.HumanoidRootPart | |
4104 | ||
4105 | Run = game["Run Service"] | |
4106 | ||
4107 | PreviousP = Object.CFrame.p | |
4108 | Running = false | |
4109 | ||
4110 | MorphFunction = function() | |
4111 | local MaxX = 100 | |
4112 | local MinX = -100 | |
4113 | local MaxY = 100 | |
4114 | local MinY = -100 | |
4115 | local MaxZ = 100 | |
4116 | local MinZ = -100 | |
4117 | local Morph = coroutine.wrap(function() | |
4118 | while Run.Stepped:wait(0.1) do | |
4119 | if Morph == false then break end | |
4120 | local Model = Instance.new("Model",workspace) | |
4121 | if Player.Character:FindFirstChild("Shirt") then | |
4122 | local Shirt = Player.Character.Shirt:Clone() | |
4123 | Shirt.Parent = Model | |
4124 | end | |
4125 | if Player.Character:FindFirstChild("Pants") then | |
4126 | local Pants = Player.Character.Pants:Clone() | |
4127 | Pants.Parent = Model | |
4128 | end | |
4129 | local Humanoid = Instance.new("Humanoid",Model) | |
4130 | local LeftArm = Player.Character["Left Arm"]:Clone() | |
4131 | LeftArm.Parent = Model | |
4132 | LeftArm.Transparency = 0.4 | |
4133 | LeftArm.Anchored = true | |
4134 | LeftArm.CFrame = Player.Character["Left Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.00,math.random(MinY,MaxY)*0.00,math.random(MinZ,MaxZ)*0.00) | |
4135 | local RightArm = Player.Character["Right Arm"]:Clone() | |
4136 | RightArm.Parent = Model | |
4137 | RightArm.Transparency = 0.4 | |
4138 | RightArm.Anchored = true | |
4139 | RightArm.CFrame = Player.Character["Right Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.00,math.random(MinY,MaxY)*0.00,math.random(MinZ,MaxZ)*0.00) | |
4140 | local LeftLeg = Player.Character["Left Leg"]:Clone() | |
4141 | LeftLeg.Parent = Model | |
4142 | LeftLeg.Transparency = 0.4 | |
4143 | LeftLeg.Anchored = true | |
4144 | LeftLeg.CFrame = Player.Character["Left Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.00,math.random(MinY,MaxY)*0.00,math.random(MinZ,MaxZ)*0.00) | |
4145 | local RightLeg = Player.Character["Right Leg"]:Clone() | |
4146 | RightLeg.Parent = Model | |
4147 | RightLeg.Transparency = 0.4 | |
4148 | RightLeg.Anchored = true | |
4149 | RightLeg.CFrame = Player.Character["Right Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.00,math.random(MinY,MaxY)*0.00,math.random(MinZ,MaxZ)*0.00) | |
4150 | local Children = Model:GetChildren() | |
4151 | wait(0.01) | |
4152 | for i = 1,#Children do | |
4153 | if Children[i]:IsA("Part") then | |
4154 | Children[i].Transparency = 1 | |
4155 | end | |
4156 | game.Debris:AddItem(Children[i],0) | |
4157 | end | |
4158 | end | |
4159 | end) | |
4160 | Morph() | |
4161 | end | |
4162 | ||
4163 | ||
4164 | mouse.KeyDown:connect(function(key) | |
4165 | if key == "r" then | |
4166 | Humanoid.WalkSpeed = 150 | |
4167 | ||
4168 | end | |
4169 | end) | |
4170 | ||
4171 | ||
4172 | mouse.KeyDown:connect(function(key) | |
4173 | if key == "m" then | |
4174 | Must2.Volume = 0.7 | |
4175 | end | |
4176 | end) | |
4177 | ||
4178 | mouse.KeyDown:connect(function(key) | |
4179 | if key == "n" then | |
4180 | Must2.Volume = 1.6 | |
4181 | end | |
4182 | end) | |
4183 | ||
4184 | ||
4185 | mouse.KeyUp:connect(function(key) | |
4186 | if key == "r" then | |
4187 | Humanoid.WalkSpeed = 16 | |
4188 | ||
4189 | end | |
4190 | end) | |
4191 | ||
4192 | function smooth(obj) | |
4193 | local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"} | |
4194 | for i,v in pairs(sides) do | |
4195 | obj[v.."Surface"] = "SmoothNoOutlines" | |
4196 | end | |
4197 | end | |
4198 | function fade(obj, dest, grow) | |
4199 | spawn(function() | |
4200 | local oldcf = obj.CFrame | |
4201 | for i = 0, 10 do | |
4202 | if grow then | |
4203 | obj.Size = obj.Size +Vector3.new(1,1,1) | |
4204 | obj.CFrame = oldcf | |
4205 | end | |
4206 | obj.Transparency = obj.Transparency +0.2 | |
4207 | swait() | |
4208 | end | |
4209 | if dest then | |
4210 | obj:Destroy() | |
4211 | end | |
4212 | end) | |
4213 | end | |
4214 | ||
4215 | ||
4216 | sprint = false | |
4217 | mouse.KeyDown:connect(function(key) | |
4218 | if key=="r" then | |
4219 | sprint = true | |
4220 | char:FindFirstChildOfClass("Humanoid") | |
4221 | local mod = Instance.new("Model", workspace) | |
4222 | mod.Name = "MobModel" | |
4223 | for i,v in pairs(char:children()) do | |
4224 | if v:IsA("Accessory") and not rage then | |
4225 | if v:FindFirstChild("Handle") then | |
4226 | v.Handle.Transparency = 1 | |
4227 | end | |
4228 | end | |
4229 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" and v.Name ~= "Percent" then | |
4230 | v.Transparency = 0 | |
4231 | end | |
4232 | end | |
4233 | if char.Head:FindFirstChild("face") then | |
4234 | char.Head.face.Transparency = 1 | |
4235 | end | |
4236 | repeat wait() | |
4237 | if not workspace:FindFirstChild("MobModel") then | |
4238 | mod = Instance.new("Model", workspace) | |
4239 | mod.Name = "MobModel" | |
4240 | end | |
4241 | for i,v in pairs(Character:children()) do | |
4242 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" and v.Name ~= "Percent" then | |
4243 | local new = v:Clone() | |
4244 | smooth(new) | |
4245 | new.Transparency = 0.3 | |
4246 | new.Anchored = true | |
4247 | new.CanCollide = false | |
4248 | new.Material = "Neon" | |
4249 | new.BrickColor = BrickColor.new("Dark blue") | |
4250 | for i,v in pairs(new:children()) do if not v:IsA("SpecialMesh") then v:Destroy() end end | |
4251 | new.Parent = mod | |
4252 | fade(new, true) | |
4253 | end | |
4254 | end | |
4255 | until not sprint | |
4256 | if mod then | |
4257 | spawn(function() | |
4258 | repeat wait() until not mod or #mod:children() == 0 | |
4259 | mod:Destroy() | |
4260 | end) | |
4261 | end | |
4262 | char:FindFirstChildOfClass("Humanoid") | |
4263 | end | |
4264 | end) | |
4265 | mouse.KeyUp:connect(function(key) | |
4266 | if key=="r" then | |
4267 | sprint = false | |
4268 | for i,v in pairs(char:children()) do | |
4269 | if v:IsA("Accessory") and not rage then | |
4270 | if v:FindFirstChild("Handle") then | |
4271 | v.Handle.Transparency = 1 | |
4272 | end | |
4273 | end | |
4274 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" and v.Name ~= "Percent" and not v:FindFirstChildOfClass("ParticleEmitter") then | |
4275 | v.Transparency = 0 | |
4276 | end | |
4277 | end | |
4278 | if char.Head:FindFirstChild("face") then | |
4279 | char.Head.face.Transparency = 0 | |
4280 | end | |
4281 | end | |
4282 | end) | |
4283 | ||
4284 | mouse.KeyUp:connect(function(k) | |
4285 | if k == "q" then | |
4286 | Combo1() | |
4287 | end | |
4288 | end) | |
4289 | ||
4290 | mouse.KeyUp:connect(function(k) | |
4291 | if k == "r" then | |
4292 | Combo2() | |
4293 | end | |
4294 | end) | |
4295 | ||
4296 | mouse.KeyUp:connect(function(k) | |
4297 | if k == "t" then | |
4298 | Combo3() | |
4299 | end | |
4300 | end) | |
4301 | mouse.KeyUp:connect(function(k) | |
4302 | if k == "u" then | |
4303 | Combo4() | |
4304 | end | |
4305 | end) | |
4306 | ||
4307 | ||
4308 | SoundFolder = Instance.new("Folder",char) | |
4309 | SoundFolder.Name = "SoundFolder" | |
4310 | punchsound1 = Instance.new("Sound",Torso) | |
4311 | punchsound1.Volume = 1.2 | |
4312 | punchsound1.Name = "punchsound1" | |
4313 | punchsound1.Looped = false | |
4314 | punchsound1.SoundId = "rbxassetid://137579113" | |
4315 | StrongPunch = Instance.new("Sound",Torso) | |
4316 | StrongPunch.Volume = 1.6 | |
4317 | StrongPunch.Name = "StrongPunch" | |
4318 | StrongPunch.Looped = false | |
4319 | StrongPunch.SoundId = "rbxassetid://441202925" | |
4320 | StrongPunch = Instance.new("Sound",Torso) | |
4321 | StrongPunch.Volume = 1.6 | |
4322 | StrongPunch.Name = "StrongPunch" | |
4323 | StrongPunch.Looped = false | |
4324 | StrongPunch.SoundId = "rbxassetid://441202925" | |
4325 | StrongPunch1 = Instance.new("Sound",Torso) | |
4326 | StrongPunch1.Volume = 1.6 | |
4327 | StrongPunch1.Name = "StrongPunch" | |
4328 | StrongPunch1.Looped = false | |
4329 | StrongPunch1.SoundId = "rbxassetid://441202925" | |
4330 | StrongPunch2 = Instance.new("Sound",Torso) | |
4331 | StrongPunch2.Volume = 1.6 | |
4332 | StrongPunch2.Name = "StrongPunch" | |
4333 | StrongPunch.Looped = false | |
4334 | StrongPunch2.SoundId = "rbxassetid://441202925" | |
4335 | Zano = Instance.new("Sound",Torso) | |
4336 | Zano.Volume = 6 | |
4337 | Zano.Name = "Zano" | |
4338 | Zano.Looped = false | |
4339 | Zano.SoundId = "rbxassetid://744770874" | |
4340 | GroundImpact = Instance.new("Sound",Torso) | |
4341 | GroundImpact.Volume = 8 | |
4342 | GroundImpact.Name = "GroundImpact" | |
4343 | GroundImpact.Looped = false | |
4344 | GroundImpact.SoundId = "rbxassetid://165970126" | |
4345 | Break = Instance.new("Sound",Torso) | |
4346 | Break.Volume = 5 | |
4347 | Break.Name = "Bonebreak" | |
4348 | Break.Looped = false | |
4349 | Break.SoundId = "rbxassetid://314390675" | |
4350 | ||
4351 | local hit1 = false | |
4352 | local hit2 = false | |
4353 | local hit3 = false | |
4354 | local hit4 = false | |
4355 | ||
4356 | function Combo1() | |
4357 | getplayer = new("Part",char) | |
4358 | getplayer.Position = Vector3.new(999,999,999) | |
4359 | getplayer.Transparency = 1 | |
4360 | getplayer.Size = v3(3,3,3) | |
4361 | getplayer.CanCollide = false | |
4362 | getplayer.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3 | |
4363 | getplayer.Name = "GetPlayer" | |
4364 | ||
4365 | game.Debris:AddItem(getplayer,0.5) | |
4366 | ||
4367 | getplayer.Touched:connect(function(hit) | |
4368 | if hit.Parent:FindFirstChild("GetPlayer") == nil and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
4369 | getplayer:Destroy() | |
4370 | to = hit.Parent:findFirstChild("HumanoidRootPart") | |
4371 | to.CFrame = CFrame.new(RootPart.CFrame.p+v3(0,0.5,0)) + RootPart.CFrame.lookVector*2 | |
4372 | to.Anchored = true | |
4373 | idle = false | |
4374 | ||
4375 | ||
4376 | punchsound1:Play() | |
4377 | hit1 = true | |
4378 | for i = 0, 1, 0.1 do | |
4379 | swait() | |
4380 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4381 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4382 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4383 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4384 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4385 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4386 | end | |
4387 | punchsound1:Play() | |
4388 | for i = 0, 1, 0.1 do | |
4389 | swait() | |
4390 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4391 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4392 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4393 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4394 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4395 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4396 | end | |
4397 | punchsound1:Play() | |
4398 | for i = 0, 1, 0.1 do | |
4399 | swait() | |
4400 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4401 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4402 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4403 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4404 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4405 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4406 | end | |
4407 | for i = 0, 1, 0.1 do | |
4408 | swait() | |
4409 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4410 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4411 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4412 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4413 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4414 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4415 | end | |
4416 | for i = 0, 1, 0.1 do | |
4417 | swait() | |
4418 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4419 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4420 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4421 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4422 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4423 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4424 | end | |
4425 | StrongPunch1:Play() | |
4426 | for i = 0, 1, 0.1 do | |
4427 | swait() | |
4428 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4429 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4430 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4431 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4432 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4433 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4434 | end | |
4435 | for i = 0, 0.6, 0.1 do | |
4436 | swait() | |
4437 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4438 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4439 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4440 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4441 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4442 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4443 | end | |
4444 | for i = 0, 0.6, 0.1 do | |
4445 | swait() | |
4446 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4447 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4448 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4449 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4450 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4451 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4452 | end | |
4453 | for i,v in pairs(to.Parent:GetChildren()) do | |
4454 | if v:IsA("Humanoid") then | |
4455 | v.Health = v.Health - 3 | |
4456 | ||
4457 | v.PlatformStand = true | |
4458 | end | |
4459 | end | |
4460 | StrongPunch:Play() | |
4461 | for i = 0, 1, 0.1 do | |
4462 | swait() | |
4463 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4464 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4465 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4466 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4467 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
4468 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4469 | end | |
4470 | for i,v in pairs(to.Parent:GetChildren()) do | |
4471 | if v:IsA("Humanoid") then | |
4472 | v.Health = v.Health - 5 | |
4473 | ||
4474 | v.PlatformStand = true | |
4475 | end | |
4476 | end | |
4477 | ||
4478 | hit1 = false | |
4479 | ||
4480 | punchsound1:Play() | |
4481 | hit2 = true | |
4482 | HitpartFunk(RightArm, 10, 20, 0, -0.7, 0) | |
4483 | for i = 0, 1, 0.1 do | |
4484 | swait() | |
4485 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4486 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4487 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4488 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4489 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4490 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4491 | end | |
4492 | for i,v in pairs(to.Parent:GetChildren()) do | |
4493 | if v:IsA("Humanoid") then | |
4494 | v.Health = v.Health - 5 | |
4495 | ||
4496 | v.PlatformStand = true | |
4497 | end | |
4498 | end | |
4499 | hit2 = false | |
4500 | ||
4501 | punchsound1:Play() | |
4502 | hit3 = true | |
4503 | hit4 = true | |
4504 | ||
4505 | ||
4506 | punchsound1:Play() | |
4507 | ||
4508 | coroutine.wrap(function() | |
4509 | for i=1,5 do | |
4510 | wait() | |
4511 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,15,0)) | |
4512 | GroundImpact:Play() | |
4513 | a21e = new("Part",to) | |
4514 | a21e.Name = "Beam"..num | |
4515 | a21e.Locked = true | |
4516 | a21e.Size = v3(1,1,1) | |
4517 | a21e.CanCollide = false | |
4518 | a21e.BrickColor = bc("Gold") | |
4519 | a21e.Material = "Neon" | |
4520 | a21e.Transparency = 0 | |
4521 | aa21e = new("SpecialMesh",a21e) | |
4522 | a21e.Anchored = true | |
4523 | a21e.Position = to.Position | |
4524 | aa21e.MeshType = "Sphere" | |
4525 | aa21e.Scale = v3(1,1,1) | |
4526 | a51e = new("Part",char) | |
4527 | a51e.Name = "Beam"..num | |
4528 | a51e.Locked = true | |
4529 | a51e.Size = v3(1,1,1) | |
4530 | a51e.CanCollide = false | |
4531 | a51e.BrickColor = bc("White") | |
4532 | a51e.Material = "Neon" | |
4533 | a51e.Transparency = 0 | |
4534 | aa51e = new("SpecialMesh",a51e) | |
4535 | a51e.Anchored = true | |
4536 | a51e.Position = to.Position | |
4537 | aa51e.MeshType = "Sphere" | |
4538 | aa51e.Scale = v3(1,1,1) | |
4539 | a61e = new("Part",char) | |
4540 | a61e.Name = "Beam"..num | |
4541 | a61e.Locked = true | |
4542 | a61e.Size = v3(1,1,1) | |
4543 | a61e.CanCollide = false | |
4544 | a61e.BrickColor = bc("Really red") | |
4545 | a61e.Material = "Neon" | |
4546 | a61e.Transparency = 0 | |
4547 | aa61e = new("SpecialMesh",a61e) | |
4548 | a61e.Anchored = true | |
4549 | a61e.Position = to.Position | |
4550 | aa61e.MeshType = "Sphere" | |
4551 | aa61e.Scale = v3(1,1,1) | |
4552 | for i = 1,20 do | |
4553 | wait() | |
4554 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
4555 | a21e.Transparency = a21e.Transparency + 0.03 | |
4556 | aa51e.Scale = aa51e.Scale + v3(1.2,1.2,1.2) | |
4557 | a51e.Transparency = a51e.Transparency + 0.03 | |
4558 | aa61e.Scale = aa61e.Scale + v3(0.5,0.5,0.5) | |
4559 | a61e.Transparency = a61e.Transparency + 0.02 | |
4560 | for i,v in pairs(to.Parent:GetChildren()) do | |
4561 | if v:IsA("Humanoid") then | |
4562 | v.Health = v.Health - 0.5 | |
4563 | ||
4564 | v.PlatformStand = true | |
4565 | end | |
4566 | end | |
4567 | end | |
4568 | a61e:Destroy() | |
4569 | aa61e:Destroy() | |
4570 | a51e:Destroy() | |
4571 | aa51e:Destroy() | |
4572 | a21e:Destroy() | |
4573 | aa21e:Destroy() | |
4574 | ||
4575 | end | |
4576 | ||
4577 | ||
4578 | HitpartFunk(RightArm, 10, 20, 0, -0.7, 0) | |
4579 | for i = 0, 1, 0.1 do | |
4580 | swait() | |
4581 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4582 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4583 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4584 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4585 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4586 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4587 | end | |
4588 | ||
4589 | ||
4590 | ||
4591 | wait(0.7) | |
4592 | end)() | |
4593 | ||
4594 | ||
4595 | ||
4596 | ||
4597 | RootPart.Anchored = true | |
4598 | ||
4599 | for i = 0, 1, 0.1 do | |
4600 | swait() | |
4601 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4602 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4603 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4604 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4605 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4606 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4607 | end | |
4608 | ||
4609 | ||
4610 | StrongPunch:Play() | |
4611 | ||
4612 | ||
4613 | for i = 0, 1, 0.1 do | |
4614 | swait() | |
4615 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4616 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4617 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4618 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4619 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4620 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4621 | end | |
4622 | ||
4623 | for i = 0, 1, 0.1 do | |
4624 | swait() | |
4625 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4626 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4627 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4628 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4629 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4630 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4631 | end | |
4632 | ||
4633 | ||
4634 | ||
4635 | for i,v in pairs(to.Parent:GetChildren()) do | |
4636 | if v:IsA("Humanoid") then | |
4637 | v.Health = v.Health - 20 | |
4638 | ||
4639 | v.PlatformStand = true | |
4640 | end | |
4641 | end | |
4642 | ||
4643 | StrongPunch2:Play() | |
4644 | for i = 0, 1, 0.1 do | |
4645 | swait() | |
4646 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4647 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4648 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4649 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4650 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
4651 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4652 | end | |
4653 | ||
4654 | hitground = new("Part",char) | |
4655 | hitground.Size = Vector3.new(5,5,5) | |
4656 | hitground.Name = "Ground" | |
4657 | hitground.Transparency = 1 | |
4658 | hitground.CanCollide = false | |
4659 | game.Debris:AddItem(hitground,2) | |
4660 | hitground.Position = Vector3.new(999,999,999) | |
4661 | hitgroundweld = new("Weld",hitground) | |
4662 | hitgroundweld.Part0 = to | |
4663 | hitgroundweld.Part1 = hitground | |
4664 | hitground.Touched:connect(function(hit2) | |
4665 | if hit2.Size.x > 150 then | |
4666 | hitground:Destroy() | |
4667 | ad = new("Part",char) | |
4668 | ad.Name = "NewPart" | |
4669 | ad.Size = Vector3.new(30,0.1,30) | |
4670 | ad.CanCollide = false | |
4671 | ad.Anchored = true | |
4672 | ad.Position = Vector3.new(hitground.Position.x,hit2.Position.y,hitground.Position.z) | |
4673 | ad.Transparency = 1 | |
4674 | aad = new("Decal",ad) | |
4675 | ||
4676 | aad.Face = "Top" | |
4677 | aad.Transparency = 1 | |
4678 | aad.Transparency = 0 | |
4679 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
4680 | smoke = new("Part",to) | |
4681 | smokemesh = new("SpecialMesh",smoke) | |
4682 | smokemesh.MeshId = "rbxassetid://928329648" | |
4683 | smoke.BrickColor = hit2.BrickColor | |
4684 | smoke.Anchored = true | |
4685 | smoke.Position = hitground.Position | |
4686 | GroundImpact:Play() | |
4687 | for i = 1,20 do | |
4688 | wait() | |
4689 | smokemesh.Scale = smokemesh.Scale + Vector3.new(3,3,3) | |
4690 | smoke.Transparency = smoke.Transparency + 1/20 | |
4691 | end | |
4692 | smoke:Destroy() | |
4693 | wait(0.5) | |
4694 | ||
4695 | for i = 1,20 do | |
4696 | wait(0.1) | |
4697 | aad.Transparency = aad.Transparency + 1/20 | |
4698 | end | |
4699 | end | |
4700 | end) | |
4701 | to.Anchored = false | |
4702 | ys = Instance.new("BodyVelocity",to) | |
4703 | ys.Name = "GO" | |
4704 | ||
4705 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4706 | ||
4707 | ys.Velocity = v3(0,-90,0) | |
4708 | ||
4709 | wait(1) | |
4710 | ys:Destroy() | |
4711 | ||
4712 | ||
4713 | ||
4714 | ||
4715 | ||
4716 | hit3 = false | |
4717 | hit4 = false | |
4718 | ||
4719 | ||
4720 | hit1 = false | |
4721 | hit2 = false | |
4722 | hit3 = false | |
4723 | hit4 = false | |
4724 | idle = true | |
4725 | RootPart.Anchored = false | |
4726 | end | |
4727 | end) | |
4728 | end | |
4729 | ||
4730 | ||
4731 | function Combo4() | |
4732 | getplayer = new("Part",char) | |
4733 | getplayer.Position = Vector3.new(999,999,999) | |
4734 | getplayer.Transparency = 1 | |
4735 | getplayer.Size = v3(3,3,3) | |
4736 | getplayer.CanCollide = false | |
4737 | getplayer.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3 | |
4738 | getplayer.Name = "GetPlayer" | |
4739 | ||
4740 | game.Debris:AddItem(getplayer,0.5) | |
4741 | ||
4742 | getplayer.Touched:connect(function(hit) | |
4743 | if hit.Parent:FindFirstChild("GetPlayer") == nil and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
4744 | getplayer:Destroy() | |
4745 | to = hit.Parent:findFirstChild("HumanoidRootPart") | |
4746 | to.CFrame = CFrame.new(RootPart.CFrame.p+v3(0,0.5,0)) + RootPart.CFrame.lookVector*2 | |
4747 | to.Anchored = true | |
4748 | RootPart.Anchored = true | |
4749 | idle = false | |
4750 | ||
4751 | ||
4752 | punchsound1:Play() | |
4753 | hit1 = true | |
4754 | for i = 0, 0.5, 0.1 do | |
4755 | swait() | |
4756 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4757 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4758 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4759 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4760 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4761 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4762 | end | |
4763 | punchsound1:Play() | |
4764 | for i = 0, 0.5, 0.1 do | |
4765 | swait() | |
4766 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4767 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4768 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4769 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4770 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4771 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4772 | end | |
4773 | punchsound1:Play() | |
4774 | for i = 0, 0.6, 0.1 do | |
4775 | swait() | |
4776 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4777 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4778 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4779 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4780 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4781 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4782 | end | |
4783 | for i = 0, 0.6, 0.1 do | |
4784 | swait() | |
4785 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4786 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4787 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4788 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4789 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
4790 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4791 | end | |
4792 | for i = 0, 0.5, 0.1 do | |
4793 | swait() | |
4794 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4795 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4796 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4797 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4798 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4799 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4800 | end | |
4801 | punchsound1:Play() | |
4802 | for i = 0, 0.5, 0.1 do | |
4803 | swait() | |
4804 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4805 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4806 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4807 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4808 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4809 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4810 | end | |
4811 | punchsound1:Play() | |
4812 | for i = 0, 0.6, 0.1 do | |
4813 | swait() | |
4814 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4815 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4816 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4817 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4818 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4819 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4820 | end | |
4821 | for i = 0, 0.6, 0.1 do | |
4822 | swait() | |
4823 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4824 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4825 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4826 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4827 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
4828 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4829 | end | |
4830 | for i = 0, 0.5, 0.1 do | |
4831 | swait() | |
4832 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4833 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4834 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4835 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4836 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4837 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4838 | end | |
4839 | punchsound1:Play() | |
4840 | for i = 0, 0.5, 0.1 do | |
4841 | swait() | |
4842 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4843 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4844 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4845 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4846 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4847 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4848 | end | |
4849 | punchsound1:Play() | |
4850 | for i = 0, 0.6, 0.1 do | |
4851 | swait() | |
4852 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4853 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4854 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4855 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4856 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4857 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4858 | end | |
4859 | for i = 0, 0.6, 0.1 do | |
4860 | swait() | |
4861 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4862 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4863 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4864 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4865 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
4866 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4867 | end | |
4868 | for i = 0, 0.5, 0.1 do | |
4869 | swait() | |
4870 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4871 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4872 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4873 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4874 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4875 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4876 | end | |
4877 | punchsound1:Play() | |
4878 | for i = 0, 0.5, 0.1 do | |
4879 | swait() | |
4880 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4881 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4882 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4883 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4884 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4885 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4886 | end | |
4887 | punchsound1:Play() | |
4888 | for i = 0, 0.6, 0.1 do | |
4889 | swait() | |
4890 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4891 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4892 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4893 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4894 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4895 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4896 | end | |
4897 | for i = 0, 0.6, 0.1 do | |
4898 | swait() | |
4899 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4900 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4901 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4902 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4903 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
4904 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4905 | end | |
4906 | for i = 0, 0.5, 0.1 do | |
4907 | swait() | |
4908 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4909 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4910 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4911 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4912 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4913 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4914 | end | |
4915 | punchsound1:Play() | |
4916 | for i = 0, 0.5, 0.1 do | |
4917 | swait() | |
4918 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4919 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4920 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4921 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4922 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4923 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4924 | end | |
4925 | punchsound1:Play() | |
4926 | for i = 0, 0.6, 0.1 do | |
4927 | swait() | |
4928 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4929 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4930 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4931 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4932 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4933 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4934 | end | |
4935 | StrongPunch2:Play() | |
4936 | for i = 0, 5, 0.1 do | |
4937 | swait() | |
4938 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4939 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4940 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4941 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4942 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
4943 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4944 | end | |
4945 | ||
4946 | for i,v in pairs(to.Parent:GetChildren()) do | |
4947 | if v:IsA("Humanoid") then | |
4948 | v.Health = v.Health - 20 | |
4949 | ||
4950 | v.PlatformStand = true | |
4951 | end | |
4952 | end | |
4953 | to.CFrame = CFrame.new(to.CFrame.p + v3(100,5,0)) | |
4954 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(100,5,0)) | |
4955 | Zanzoken = Instance.new("Part",char) | |
4956 | Zanzoken.Anchored = true | |
4957 | Zanzoken.Position = v3(999,999,999) | |
4958 | Zanzoken.CFrame = Torso.CFrame | |
4959 | game.Debris:AddItem(Zanzoken,0.5) | |
4960 | Zanzoken.Transparency = 1 | |
4961 | Zano:Play() | |
4962 | wait() | |
4963 | idk = Instance.new("BillboardGui",Zanzoken) | |
4964 | idk.Size = UDim2.new(10,0,15,0) | |
4965 | idk.AlwaysOnTop = false | |
4966 | idk1 = Instance.new("ImageLabel",idk) | |
4967 | idk1.BackgroundTransparency = 1 | |
4968 | idk.ExtentsOffset = v3(0,0,0) | |
4969 | idk1.ImageTransparency = 0 | |
4970 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
4971 | idk1.Size = UDim2.new(2,0,1,0) | |
4972 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
4973 | idk1.Image = "rbxassetid://319554883" | |
4974 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
4975 | wait() | |
4976 | Zanzoken = Instance.new("Part",char) | |
4977 | Zanzoken.Anchored = true | |
4978 | Zanzoken.Position = v3(999,999,999) | |
4979 | Zanzoken.CFrame = Torso.CFrame | |
4980 | game.Debris:AddItem(Zanzoken,0.5) | |
4981 | Zanzoken.Transparency = 1 | |
4982 | wait() | |
4983 | idk = Instance.new("BillboardGui",Zanzoken) | |
4984 | idk.Size = UDim2.new(20,0,20,0) | |
4985 | idk.AlwaysOnTop = false | |
4986 | idk1 = Instance.new("ImageLabel",idk) | |
4987 | idk1.BackgroundTransparency = 1 | |
4988 | idk.ExtentsOffset = v3(0,0,0) | |
4989 | idk1.ImageTransparency = 0 | |
4990 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
4991 | idk1.Size = UDim2.new(2,0,1,0) | |
4992 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
4993 | idk1.Image = "rbxassetid://319554883" | |
4994 | for i = 0, 0.5, 0.1 do | |
4995 | swait() | |
4996 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4997 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4998 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4999 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5000 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5001 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5002 | end | |
5003 | punchsound1:Play() | |
5004 | for i = 0, 0.5, 0.1 do | |
5005 | swait() | |
5006 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5007 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5008 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5009 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5010 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5011 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5012 | end | |
5013 | punchsound1:Play() | |
5014 | for i = 0, 0.6, 0.1 do | |
5015 | swait() | |
5016 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5017 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5018 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5019 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5020 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5021 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5022 | end | |
5023 | for i = 0, 0.6, 0.1 do | |
5024 | swait() | |
5025 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5026 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5027 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5028 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5029 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5030 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5031 | end | |
5032 | for i = 0, 0.5, 0.1 do | |
5033 | swait() | |
5034 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5035 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5036 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5037 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5038 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5039 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5040 | end | |
5041 | punchsound1:Play() | |
5042 | for i = 0, 0.5, 0.1 do | |
5043 | swait() | |
5044 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5045 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5046 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5047 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5048 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5049 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5050 | end | |
5051 | punchsound1:Play() | |
5052 | for i = 0, 0.6, 0.1 do | |
5053 | swait() | |
5054 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5055 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5056 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5057 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5058 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5059 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5060 | end | |
5061 | for i = 0, 0.6, 0.1 do | |
5062 | swait() | |
5063 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5064 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5065 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5066 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5067 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5068 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5069 | end | |
5070 | for i = 0, 0.5, 0.1 do | |
5071 | swait() | |
5072 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5073 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5074 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5075 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5076 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5077 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5078 | end | |
5079 | punchsound1:Play() | |
5080 | for i = 0, 0.5, 0.1 do | |
5081 | swait() | |
5082 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5083 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5084 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5085 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5086 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5087 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5088 | end | |
5089 | punchsound1:Play() | |
5090 | for i = 0, 0.6, 0.1 do | |
5091 | swait() | |
5092 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5093 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5094 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5095 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5096 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5097 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5098 | end | |
5099 | for i = 0, 0.6, 0.1 do | |
5100 | swait() | |
5101 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5102 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5103 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5104 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5105 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5106 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5107 | end | |
5108 | for i = 0, 0.5, 0.1 do | |
5109 | swait() | |
5110 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5111 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5112 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5113 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5114 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5115 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5116 | end | |
5117 | punchsound1:Play() | |
5118 | for i = 0, 0.5, 0.1 do | |
5119 | swait() | |
5120 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5121 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5122 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5123 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5124 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5125 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5126 | end | |
5127 | punchsound1:Play() | |
5128 | for i = 0, 0.3, 0.1 do | |
5129 | swait() | |
5130 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5131 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5132 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5133 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5134 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5135 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5136 | end | |
5137 | for i = 0, 0.3, 0.1 do | |
5138 | swait() | |
5139 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5140 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5141 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5142 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5143 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5144 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5145 | end | |
5146 | for i = 0, 0.3, 0.1 do | |
5147 | swait() | |
5148 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5149 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5150 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5151 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5152 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5153 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5154 | end | |
5155 | punchsound1:Play() | |
5156 | for i = 0, 0.3, 0.1 do | |
5157 | swait() | |
5158 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5159 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5160 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5161 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5162 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5163 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5164 | end | |
5165 | punchsound1:Play() | |
5166 | for i = 0, 0.3, 0.1 do | |
5167 | swait() | |
5168 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5169 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5170 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5171 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5172 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5173 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5174 | end | |
5175 | for i = 0, 0.3, 0.1 do | |
5176 | swait() | |
5177 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5178 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5179 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5180 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5181 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5182 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5183 | end | |
5184 | punchsound1:Play() | |
5185 | for i = 0, 1, 0.1 do | |
5186 | swait() | |
5187 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5188 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5189 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5190 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5191 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5192 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5193 | end | |
5194 | for i = 0, 0.3, 0.1 do | |
5195 | swait() | |
5196 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5197 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5198 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5199 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5200 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5201 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5202 | end | |
5203 | punchsound1:Play() | |
5204 | for i = 0, 0.3, 0.1 do | |
5205 | swait() | |
5206 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5207 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5208 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5209 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5210 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5211 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5212 | end | |
5213 | for i = 0, 0.3, 0.1 do | |
5214 | swait() | |
5215 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5216 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5217 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5218 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5219 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5220 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5221 | end | |
5222 | for i = 0, 0.3, 0.1 do | |
5223 | swait() | |
5224 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5225 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5226 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5227 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5228 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5229 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5230 | end | |
5231 | punchsound1:Play() | |
5232 | for i = 0, 0.3, 0.1 do | |
5233 | swait() | |
5234 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5235 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5236 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5237 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5238 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5239 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5240 | end | |
5241 | punchsound1:Play() | |
5242 | for i = 0, 0.6, 0.1 do | |
5243 | swait() | |
5244 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5245 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5246 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5247 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5248 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5249 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5250 | end | |
5251 | for i = 0, 0.3, 0.1 do | |
5252 | swait() | |
5253 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5254 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5255 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5256 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5257 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5258 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5259 | end | |
5260 | for i = 0, 0.3, 0.1 do | |
5261 | swait() | |
5262 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5263 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5264 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5265 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5266 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5267 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5268 | end | |
5269 | punchsound1:Play() | |
5270 | for i = 0, 0.5, 0.1 do | |
5271 | swait() | |
5272 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5273 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5274 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5275 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5276 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5277 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5278 | end | |
5279 | punchsound1:Play() | |
5280 | for i = 0, 0.6, 0.1 do | |
5281 | swait() | |
5282 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5283 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5284 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5285 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5286 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5287 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5288 | end | |
5289 | for i = 0, 0.6, 0.1 do | |
5290 | swait() | |
5291 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5292 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5293 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5294 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5295 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5296 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5297 | end | |
5298 | for i = 0, 0.5, 0.1 do | |
5299 | swait() | |
5300 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5301 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5302 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5303 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5304 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5305 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5306 | end | |
5307 | punchsound1:Play() | |
5308 | for i = 0, 0.5, 0.1 do | |
5309 | swait() | |
5310 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5311 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5312 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5313 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5314 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5315 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5316 | end | |
5317 | punchsound1:Play() | |
5318 | for i = 0, 0.6, 0.1 do | |
5319 | swait() | |
5320 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5321 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5322 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5323 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5324 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5325 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5326 | end | |
5327 | for i = 0, 0.6, 0.1 do | |
5328 | swait() | |
5329 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5330 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5331 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5332 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5333 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5334 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5335 | end | |
5336 | for i = 0, 0.5, 0.1 do | |
5337 | swait() | |
5338 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5339 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5340 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5341 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5342 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5343 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5344 | end | |
5345 | punchsound1:Play() | |
5346 | for i = 0, 0.5, 0.1 do | |
5347 | swait() | |
5348 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5349 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5350 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5351 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5352 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5353 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5354 | end | |
5355 | punchsound1:Play() | |
5356 | for i = 0, 0.6, 0.1 do | |
5357 | swait() | |
5358 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5359 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5360 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5361 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5362 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5363 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5364 | end | |
5365 | for i = 0, 0.6, 0.1 do | |
5366 | swait() | |
5367 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5368 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5369 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5370 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5371 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5372 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5373 | end | |
5374 | punchsound1:Play() | |
5375 | for i = 0, 1, 0.1 do | |
5376 | swait() | |
5377 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5378 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5379 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5380 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5381 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5382 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5383 | end | |
5384 | for i = 0, 0.5, 0.1 do | |
5385 | swait() | |
5386 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5387 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5388 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5389 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5390 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5391 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5392 | end | |
5393 | punchsound1:Play() | |
5394 | for i = 0, 0.6, 0.1 do | |
5395 | swait() | |
5396 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5397 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5398 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5399 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5400 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5401 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5402 | end | |
5403 | for i = 0, 0.6, 0.1 do | |
5404 | swait() | |
5405 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5406 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5407 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5408 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5409 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5410 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5411 | end | |
5412 | for i = 0, 0.5, 0.1 do | |
5413 | swait() | |
5414 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5415 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5416 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5417 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5418 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5419 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5420 | end | |
5421 | punchsound1:Play() | |
5422 | for i = 0, 0.5, 0.1 do | |
5423 | swait() | |
5424 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5425 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5426 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5427 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5428 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5429 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5430 | end | |
5431 | punchsound1:Play() | |
5432 | for i = 0, 0.6, 0.1 do | |
5433 | swait() | |
5434 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5435 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5436 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5437 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5438 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5439 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5440 | end | |
5441 | for i = 0, 0.6, 0.1 do | |
5442 | swait() | |
5443 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5444 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5445 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5446 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5447 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5448 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5449 | end | |
5450 | for i = 0, 0.5, 0.1 do | |
5451 | swait() | |
5452 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5453 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5454 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5455 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5456 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5457 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5458 | end | |
5459 | punchsound1:Play() | |
5460 | for i = 0, 0.5, 0.1 do | |
5461 | swait() | |
5462 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5463 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5464 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5465 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5466 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5467 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5468 | end | |
5469 | punchsound1:Play() | |
5470 | for i = 0, 0.6, 0.1 do | |
5471 | swait() | |
5472 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5473 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5474 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5475 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5476 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5477 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5478 | end | |
5479 | for i = 0, 0.6, 0.1 do | |
5480 | swait() | |
5481 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5482 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5483 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5484 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5485 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5486 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5487 | end | |
5488 | for i = 0, 0.5, 0.1 do | |
5489 | swait() | |
5490 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5491 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5492 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5493 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5494 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5495 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5496 | end | |
5497 | punchsound1:Play() | |
5498 | for i = 0, 0.5, 0.1 do | |
5499 | swait() | |
5500 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5501 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5502 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5503 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5504 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5505 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5506 | end | |
5507 | punchsound1:Play() | |
5508 | for i = 0, 0.6, 0.1 do | |
5509 | swait() | |
5510 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5511 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5512 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5513 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5514 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5515 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5516 | end | |
5517 | for i = 0, 0.6, 0.1 do | |
5518 | swait() | |
5519 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5520 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5521 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5522 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5523 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5524 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5525 | end | |
5526 | for i = 0, 0.5, 0.1 do | |
5527 | swait() | |
5528 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5529 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5530 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5531 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5532 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5533 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5534 | end | |
5535 | punchsound1:Play() | |
5536 | for i = 0, 0.5, 0.1 do | |
5537 | swait() | |
5538 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5539 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5540 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5541 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5542 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5543 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5544 | end | |
5545 | punchsound1:Play() | |
5546 | for i = 0, 0.6, 0.1 do | |
5547 | swait() | |
5548 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5549 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5550 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5551 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5552 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5553 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5554 | end | |
5555 | for i = 0, 0.6, 0.1 do | |
5556 | swait() | |
5557 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5558 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5559 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5560 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5561 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5562 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5563 | end | |
5564 | punchsound1:Play() | |
5565 | for i = 0, 1, 0.1 do | |
5566 | swait() | |
5567 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5568 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5569 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5570 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5571 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5572 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5573 | end | |
5574 | for i = 0, 0.5, 0.1 do | |
5575 | swait() | |
5576 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5577 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5578 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5579 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5580 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5581 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5582 | end | |
5583 | punchsound1:Play() | |
5584 | for i = 0, 0.6, 0.1 do | |
5585 | swait() | |
5586 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5587 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5588 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5589 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5590 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5591 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5592 | end | |
5593 | for i = 0, 0.6, 0.1 do | |
5594 | swait() | |
5595 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5596 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5597 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5598 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5599 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5600 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5601 | end | |
5602 | for i = 0, 0.5, 0.1 do | |
5603 | swait() | |
5604 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5605 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5606 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5607 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5608 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5609 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5610 | end | |
5611 | punchsound1:Play() | |
5612 | for i = 0, 0.3, 0.1 do | |
5613 | swait() | |
5614 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5615 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5616 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5617 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5618 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5619 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5620 | end | |
5621 | punchsound1:Play() | |
5622 | for i = 0, 0.3, 0.1 do | |
5623 | swait() | |
5624 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5625 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5626 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5627 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5628 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5629 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5630 | end | |
5631 | for i = 0, 0.3, 0.1 do | |
5632 | swait() | |
5633 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5634 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5635 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5636 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5637 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5638 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5639 | end | |
5640 | for i = 0, 0.3, 0.1 do | |
5641 | swait() | |
5642 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5643 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5644 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5645 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5646 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5647 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5648 | end | |
5649 | punchsound1:Play() | |
5650 | for i = 0, 0.3, 0.1 do | |
5651 | swait() | |
5652 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5653 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5654 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5655 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5656 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5657 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5658 | end | |
5659 | punchsound1:Play() | |
5660 | for i = 0, 0.3, 0.1 do | |
5661 | swait() | |
5662 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5663 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5664 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5665 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5666 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5667 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5668 | end | |
5669 | for i = 0, 0.3, 0.1 do | |
5670 | swait() | |
5671 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5672 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5673 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5674 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5675 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5676 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5677 | end | |
5678 | for i = 0, 0.3, 0.1 do | |
5679 | swait() | |
5680 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5681 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5682 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5683 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5684 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5685 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5686 | end | |
5687 | punchsound1:Play() | |
5688 | for i = 0, 0.3, 0.1 do | |
5689 | swait() | |
5690 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5691 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5692 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5693 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5694 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5695 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5696 | end | |
5697 | punchsound1:Play() | |
5698 | for i = 0, 0.3, 0.1 do | |
5699 | swait() | |
5700 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5701 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5702 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5703 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5704 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5705 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5706 | end | |
5707 | for i = 0, 0.1, 0.1 do | |
5708 | swait() | |
5709 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5710 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5711 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5712 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5713 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5714 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5715 | end | |
5716 | for i = 0, 0.1, 0.1 do | |
5717 | swait() | |
5718 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5719 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5720 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5721 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5722 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5723 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5724 | end | |
5725 | punchsound1:Play() | |
5726 | for i = 0, 0.1, 0.1 do | |
5727 | swait() | |
5728 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5729 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5730 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5731 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5732 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5733 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5734 | end | |
5735 | punchsound1:Play() | |
5736 | for i = 0, 0.1, 0.1 do | |
5737 | swait() | |
5738 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5739 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5740 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5741 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5742 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5743 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5744 | end | |
5745 | for i = 0, 0.1, 0.1 do | |
5746 | swait() | |
5747 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5748 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5749 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5750 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5751 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5752 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5753 | end | |
5754 | punchsound1:Play() | |
5755 | for i = 0, 0.4, 0.1 do | |
5756 | swait() | |
5757 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5758 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5759 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5760 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5761 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5762 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5763 | end | |
5764 | for i,v in pairs(to.Parent:GetChildren()) do | |
5765 | if v:IsA("Humanoid") then | |
5766 | v.Health = v.Health - 20 | |
5767 | ||
5768 | v.PlatformStand = true | |
5769 | end | |
5770 | end | |
5771 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,50,0)) | |
5772 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,50,0)) | |
5773 | Zanzoken = Instance.new("Part",char) | |
5774 | Zanzoken.Anchored = true | |
5775 | Zanzoken.Position = v3(999,999,999) | |
5776 | Zanzoken.CFrame = Torso.CFrame | |
5777 | game.Debris:AddItem(Zanzoken,0.5) | |
5778 | Zanzoken.Transparency = 1 | |
5779 | Zano:Play() | |
5780 | wait() | |
5781 | idk = Instance.new("BillboardGui",Zanzoken) | |
5782 | idk.Size = UDim2.new(10,0,15,0) | |
5783 | idk.AlwaysOnTop = false | |
5784 | idk1 = Instance.new("ImageLabel",idk) | |
5785 | idk1.BackgroundTransparency = 1 | |
5786 | idk.ExtentsOffset = v3(0,0,0) | |
5787 | idk1.ImageTransparency = 0 | |
5788 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
5789 | idk1.Size = UDim2.new(2,0,1,0) | |
5790 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
5791 | idk1.Image = "rbxassetid://319554883" | |
5792 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
5793 | wait() | |
5794 | Zanzoken = Instance.new("Part",char) | |
5795 | Zanzoken.Anchored = true | |
5796 | Zanzoken.Position = v3(999,999,999) | |
5797 | Zanzoken.CFrame = Torso.CFrame | |
5798 | game.Debris:AddItem(Zanzoken,0.5) | |
5799 | Zanzoken.Transparency = 1 | |
5800 | wait() | |
5801 | idk = Instance.new("BillboardGui",Zanzoken) | |
5802 | idk.Size = UDim2.new(20,0,20,0) | |
5803 | idk.AlwaysOnTop = false | |
5804 | idk1 = Instance.new("ImageLabel",idk) | |
5805 | idk1.BackgroundTransparency = 1 | |
5806 | idk.ExtentsOffset = v3(0,0,0) | |
5807 | idk1.ImageTransparency = 0 | |
5808 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
5809 | idk1.Size = UDim2.new(2,0,1,0) | |
5810 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
5811 | idk1.Image = "rbxassetid://319554883" | |
5812 | punchsound1:Play() | |
5813 | for i = 0, 6, 0.1 do | |
5814 | swait() | |
5815 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5816 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5817 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5818 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5819 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5820 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5821 | end | |
5822 | for i = 0, 0.6, 0.1 do | |
5823 | swait() | |
5824 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5825 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5826 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5827 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5828 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5829 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5830 | end | |
5831 | for i = 0, 0.6, 0.1 do | |
5832 | swait() | |
5833 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5834 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5835 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5836 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5837 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5838 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5839 | end | |
5840 | punchsound1:Play() | |
5841 | for i = 0, 1, 0.1 do | |
5842 | swait() | |
5843 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5844 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5845 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5846 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5847 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5848 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5849 | end | |
5850 | for i = 0, 0.6, 0.1 do | |
5851 | swait() | |
5852 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5853 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5854 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5855 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5856 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5857 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5858 | end | |
5859 | for i = 0, 0.6, 0.1 do | |
5860 | swait() | |
5861 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5862 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5863 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5864 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5865 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5866 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5867 | end | |
5868 | punchsound1:Play() | |
5869 | for i = 0, 1, 0.1 do | |
5870 | swait() | |
5871 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5872 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5873 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5874 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5875 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5876 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5877 | end | |
5878 | for i = 0, 0.6, 0.1 do | |
5879 | swait() | |
5880 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5881 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5882 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5883 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5884 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5885 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5886 | end | |
5887 | for i = 0, 0.6, 0.1 do | |
5888 | swait() | |
5889 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5890 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5891 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5892 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5893 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5894 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5895 | end | |
5896 | punchsound1:Play() | |
5897 | for i = 0, 1, 0.1 do | |
5898 | swait() | |
5899 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5900 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5901 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5902 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5903 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5904 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5905 | end | |
5906 | for i = 0, 0.6, 0.1 do | |
5907 | swait() | |
5908 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5909 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5910 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5911 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5912 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5913 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5914 | end | |
5915 | for i = 0, 0.6, 0.1 do | |
5916 | swait() | |
5917 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5918 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5919 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5920 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5921 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5922 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5923 | end | |
5924 | punchsound1:Play() | |
5925 | for i = 0, 1, 0.1 do | |
5926 | swait() | |
5927 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5928 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5929 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5930 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5931 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5932 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5933 | end | |
5934 | for i = 0, 0.6, 0.1 do | |
5935 | swait() | |
5936 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5937 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5938 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5939 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5940 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5941 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5942 | end | |
5943 | for i = 0, 0.6, 0.1 do | |
5944 | swait() | |
5945 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5946 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5947 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5948 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5949 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5950 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5951 | end | |
5952 | punchsound1:Play() | |
5953 | for i = 0, 1, 0.1 do | |
5954 | swait() | |
5955 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5956 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5957 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5958 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5959 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5960 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5961 | end | |
5962 | for i = 0, 0.6, 0.1 do | |
5963 | swait() | |
5964 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5965 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5966 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5967 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5968 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5969 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5970 | end | |
5971 | for i = 0, 0.6, 0.1 do | |
5972 | swait() | |
5973 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5974 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5975 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5976 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5977 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5978 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5979 | end | |
5980 | punchsound1:Play() | |
5981 | for i = 0, 1, 0.1 do | |
5982 | swait() | |
5983 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5984 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5985 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5986 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5987 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5988 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5989 | end | |
5990 | ||
5991 | ||
5992 | ||
5993 | for i,v in pairs(to.Parent:GetChildren()) do | |
5994 | if v:IsA("Humanoid") then | |
5995 | v.Health = v.Health - 20 | |
5996 | ||
5997 | v.PlatformStand = true | |
5998 | end | |
5999 | end | |
6000 | StrongPunch:Play() | |
6001 | for i = 0, 1, 0.1 do | |
6002 | swait() | |
6003 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6004 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6005 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6006 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6007 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6008 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6009 | end | |
6010 | for i = 0, 1, 0.1 do | |
6011 | swait() | |
6012 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6013 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6014 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6015 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6016 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6017 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6018 | end | |
6019 | for i,v in pairs(to.Parent:GetChildren()) do | |
6020 | if v:IsA("Humanoid") then | |
6021 | v.Health = v.Health - 5 | |
6022 | ||
6023 | v.PlatformStand = true | |
6024 | end | |
6025 | end | |
6026 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,200,0)) | |
6027 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,200,0)) | |
6028 | Zanzoken = Instance.new("Part",char) | |
6029 | Zanzoken.Anchored = true | |
6030 | Zanzoken.Position = v3(999,999,999) | |
6031 | Zanzoken.CFrame = Torso.CFrame | |
6032 | game.Debris:AddItem(Zanzoken,0.5) | |
6033 | Zanzoken.Transparency = 1 | |
6034 | Zano:Play() | |
6035 | wait() | |
6036 | idk = Instance.new("BillboardGui",Zanzoken) | |
6037 | idk.Size = UDim2.new(10,0,15,0) | |
6038 | idk.AlwaysOnTop = false | |
6039 | idk1 = Instance.new("ImageLabel",idk) | |
6040 | idk1.BackgroundTransparency = 1 | |
6041 | idk.ExtentsOffset = v3(0,0,0) | |
6042 | idk1.ImageTransparency = 0 | |
6043 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6044 | idk1.Size = UDim2.new(2,0,1,0) | |
6045 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6046 | idk1.Image = "rbxassetid://319554883" | |
6047 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6048 | wait() | |
6049 | Zanzoken = Instance.new("Part",char) | |
6050 | Zanzoken.Anchored = true | |
6051 | Zanzoken.Position = v3(999,999,999) | |
6052 | Zanzoken.CFrame = Torso.CFrame | |
6053 | game.Debris:AddItem(Zanzoken,0.5) | |
6054 | Zanzoken.Transparency = 1 | |
6055 | wait() | |
6056 | idk = Instance.new("BillboardGui",Zanzoken) | |
6057 | idk.Size = UDim2.new(20,0,20,0) | |
6058 | idk.AlwaysOnTop = false | |
6059 | idk1 = Instance.new("ImageLabel",idk) | |
6060 | idk1.BackgroundTransparency = 1 | |
6061 | idk.ExtentsOffset = v3(0,0,0) | |
6062 | idk1.ImageTransparency = 0 | |
6063 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6064 | idk1.Size = UDim2.new(2,0,1,0) | |
6065 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6066 | idk1.Image = "rbxassetid://319554883" | |
6067 | for i = 0, 1, 0.1 do | |
6068 | swait() | |
6069 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6070 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6071 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6072 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6073 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6074 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6075 | end | |
6076 | punchsound1:Play() | |
6077 | for i = 0, 1, 0.1 do | |
6078 | swait() | |
6079 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6080 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6081 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6082 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6083 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6084 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6085 | end | |
6086 | punchsound1:Play() | |
6087 | for i = 0, 1, 0.1 do | |
6088 | swait() | |
6089 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6090 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6091 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6092 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6093 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6094 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6095 | end | |
6096 | for i = 0, 1, 0.1 do | |
6097 | swait() | |
6098 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6099 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6100 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6101 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6102 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6103 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6104 | end | |
6105 | for i = 0, 1, 0.1 do | |
6106 | swait() | |
6107 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6108 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6109 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6110 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6111 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6112 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6113 | end | |
6114 | to.CFrame = CFrame.new(to.CFrame.p + v3(30,70,0)) | |
6115 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(30,70,0)) | |
6116 | Zanzoken = Instance.new("Part",char) | |
6117 | Zanzoken.Anchored = true | |
6118 | Zanzoken.Position = v3(999,999,999) | |
6119 | Zanzoken.CFrame = Torso.CFrame | |
6120 | game.Debris:AddItem(Zanzoken,0.5) | |
6121 | Zanzoken.Transparency = 1 | |
6122 | Zano:Play() | |
6123 | wait() | |
6124 | idk = Instance.new("BillboardGui",Zanzoken) | |
6125 | idk.Size = UDim2.new(10,0,15,0) | |
6126 | idk.AlwaysOnTop = false | |
6127 | idk1 = Instance.new("ImageLabel",idk) | |
6128 | idk1.BackgroundTransparency = 1 | |
6129 | idk.ExtentsOffset = v3(0,0,0) | |
6130 | idk1.ImageTransparency = 0 | |
6131 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6132 | idk1.Size = UDim2.new(2,0,1,0) | |
6133 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6134 | idk1.Image = "rbxassetid://319554883" | |
6135 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6136 | wait() | |
6137 | Zanzoken = Instance.new("Part",char) | |
6138 | Zanzoken.Anchored = true | |
6139 | Zanzoken.Position = v3(999,999,999) | |
6140 | Zanzoken.CFrame = Torso.CFrame | |
6141 | game.Debris:AddItem(Zanzoken,0.5) | |
6142 | Zanzoken.Transparency = 1 | |
6143 | wait() | |
6144 | idk = Instance.new("BillboardGui",Zanzoken) | |
6145 | idk.Size = UDim2.new(20,0,20,0) | |
6146 | idk.AlwaysOnTop = false | |
6147 | idk1 = Instance.new("ImageLabel",idk) | |
6148 | idk1.BackgroundTransparency = 1 | |
6149 | idk.ExtentsOffset = v3(0,0,0) | |
6150 | idk1.ImageTransparency = 0 | |
6151 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6152 | idk1.Size = UDim2.new(2,0,1,0) | |
6153 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6154 | idk1.Image = "rbxassetid://319554883" | |
6155 | StrongPunch:Play() | |
6156 | Break:Play() | |
6157 | ||
6158 | for i = 0, 6, 0.1 do | |
6159 | swait() | |
6160 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6161 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6162 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6163 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6164 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6165 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6166 | end | |
6167 | StrongPunch1:Play() | |
6168 | for i = 0, 6, 0.1 do | |
6169 | swait() | |
6170 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6171 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6172 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6173 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6174 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6175 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6176 | end | |
6177 | StrongPunch2:Play() | |
6178 | for i = 0, 7, 0.1 do | |
6179 | swait() | |
6180 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6181 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6182 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6183 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6184 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6185 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6186 | end | |
6187 | for i = 0, 1, 0.1 do | |
6188 | swait() | |
6189 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6190 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6191 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6192 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6193 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6194 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6195 | end | |
6196 | punchsound1:Play() | |
6197 | for i = 0, 1, 0.1 do | |
6198 | swait() | |
6199 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6200 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6201 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6202 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6203 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6204 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6205 | end | |
6206 | punchsound1:Play() | |
6207 | for i = 0, 1, 0.1 do | |
6208 | swait() | |
6209 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6210 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6211 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6212 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6213 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6214 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6215 | end | |
6216 | for i = 0, 1, 0.1 do | |
6217 | swait() | |
6218 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6219 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6220 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6221 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6222 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6223 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6224 | end | |
6225 | for i = 0, 1, 0.1 do | |
6226 | swait() | |
6227 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6228 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6229 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6230 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6231 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6232 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6233 | end | |
6234 | punchsound1:Play() | |
6235 | for i = 0, 0.5, 0.1 do | |
6236 | swait() | |
6237 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6238 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6239 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6240 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6241 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6242 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6243 | end | |
6244 | punchsound1:Play() | |
6245 | for i = 0, 0.5, 0.1 do | |
6246 | swait() | |
6247 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6248 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6249 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6250 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6251 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6252 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6253 | end | |
6254 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,-100,0)) | |
6255 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,-100,0)) | |
6256 | Zanzoken = Instance.new("Part",char) | |
6257 | Zanzoken.Anchored = true | |
6258 | Zanzoken.Position = v3(999,999,999) | |
6259 | Zanzoken.CFrame = Torso.CFrame | |
6260 | game.Debris:AddItem(Zanzoken,0.5) | |
6261 | Zanzoken.Transparency = 1 | |
6262 | Zano:Play() | |
6263 | wait() | |
6264 | idk = Instance.new("BillboardGui",Zanzoken) | |
6265 | idk.Size = UDim2.new(10,0,15,0) | |
6266 | idk.AlwaysOnTop = false | |
6267 | idk1 = Instance.new("ImageLabel",idk) | |
6268 | idk1.BackgroundTransparency = 1 | |
6269 | idk.ExtentsOffset = v3(0,0,0) | |
6270 | idk1.ImageTransparency = 0 | |
6271 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6272 | idk1.Size = UDim2.new(2,0,1,0) | |
6273 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6274 | idk1.Image = "rbxassetid://319554883" | |
6275 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6276 | wait() | |
6277 | Zanzoken = Instance.new("Part",char) | |
6278 | Zanzoken.Anchored = true | |
6279 | Zanzoken.Position = v3(999,999,999) | |
6280 | Zanzoken.CFrame = Torso.CFrame | |
6281 | game.Debris:AddItem(Zanzoken,0.5) | |
6282 | Zanzoken.Transparency = 1 | |
6283 | wait() | |
6284 | idk = Instance.new("BillboardGui",Zanzoken) | |
6285 | idk.Size = UDim2.new(20,0,20,0) | |
6286 | idk.AlwaysOnTop = false | |
6287 | idk1 = Instance.new("ImageLabel",idk) | |
6288 | idk1.BackgroundTransparency = 1 | |
6289 | idk.ExtentsOffset = v3(0,0,0) | |
6290 | idk1.ImageTransparency = 0 | |
6291 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6292 | idk1.Size = UDim2.new(2,0,1,0) | |
6293 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6294 | idk1.Image = "rbxassetid://319554883" | |
6295 | for i = 0, 0.4, 0.1 do | |
6296 | swait() | |
6297 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6298 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6299 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6300 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6301 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6302 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6303 | end | |
6304 | punchsound1:Play() | |
6305 | for i = 0, 0.4, 0.1 do | |
6306 | swait() | |
6307 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6308 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6309 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6310 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6311 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6312 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6313 | end | |
6314 | for i = 0, 0.4, 0.1 do | |
6315 | swait() | |
6316 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6317 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6318 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6319 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6320 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6321 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6322 | end | |
6323 | punchsound1:Play() | |
6324 | for i = 0, 0.4, 0.1 do | |
6325 | swait() | |
6326 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6327 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6328 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6329 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6330 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6331 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6332 | end | |
6333 | for i = 0, 0.4, 0.1 do | |
6334 | swait() | |
6335 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6336 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6337 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6338 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6339 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6340 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6341 | end | |
6342 | punchsound1:Play() | |
6343 | for i = 0, 0.4, 0.1 do | |
6344 | swait() | |
6345 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6346 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6347 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6348 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6349 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6350 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6351 | end | |
6352 | for i = 0, 0.4, 0.1 do | |
6353 | swait() | |
6354 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6355 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6356 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6357 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6358 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6359 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6360 | end | |
6361 | punchsound1:Play() | |
6362 | for i = 0, 0.4, 0.1 do | |
6363 | swait() | |
6364 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6365 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6366 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6367 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6368 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6369 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6370 | end | |
6371 | for i = 0, 0.4, 0.1 do | |
6372 | swait() | |
6373 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6374 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6375 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6376 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6377 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6378 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6379 | end | |
6380 | punchsound1:Play() | |
6381 | for i = 0, 0.4, 0.1 do | |
6382 | swait() | |
6383 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6384 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6385 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6386 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6387 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6388 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6389 | end | |
6390 | for i = 0, 0.4, 0.1 do | |
6391 | swait() | |
6392 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6393 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6394 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6395 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6396 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6397 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6398 | end | |
6399 | punchsound1:Play() | |
6400 | for i = 0, 0.4, 0.1 do | |
6401 | swait() | |
6402 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6403 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6404 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6405 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6406 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6407 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6408 | end | |
6409 | for i = 0, 0.4, 0.1 do | |
6410 | swait() | |
6411 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6412 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6413 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6414 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6415 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6416 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6417 | end | |
6418 | punchsound1:Play() | |
6419 | for i = 0, 0.4, 0.1 do | |
6420 | swait() | |
6421 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6422 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6423 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6424 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6425 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6426 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6427 | end | |
6428 | punchsound1:Play() | |
6429 | local pie222 = Instance.new("ParticleEmitter") | |
6430 | pie222.Parent = LeftArm | |
6431 | pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
6432 | pie222.LightEmission = 1 | |
6433 | pie222.Size = NumberSequence.new(3) | |
6434 | pie222.Texture = "http://www.roblox.com/asset/?id=224413104" | |
6435 | pie222.Transparency = NumberSequence.new(0.6,1) | |
6436 | pie222.EmissionDirection = "Top" | |
6437 | pie222.Enabled = true | |
6438 | pie222.Lifetime = NumberRange.new(1) | |
6439 | pie222.Rotation = NumberRange.new(-320, 320) | |
6440 | pie222.Rate = 404 | |
6441 | pie222.Speed = NumberRange.new(0) | |
6442 | pie222.LockedToPart = false | |
6443 | pie222.VelocitySpread = 2 | |
6444 | for i = 0, 2, 0.1 do | |
6445 | swait() | |
6446 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6447 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6448 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6449 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6450 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6451 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6452 | end | |
6453 | wait(2) | |
6454 | bigbangattack2() | |
6455 | pie222:Destroy() | |
6456 | ||
6457 | for i,v in pairs(to.Parent:GetChildren()) do | |
6458 | if v:IsA("Humanoid") then | |
6459 | v.Health = v.Health - math.huge | |
6460 | ||
6461 | v.PlatformStand = true | |
6462 | end | |
6463 | end | |
6464 | ||
6465 | hit1 = false | |
6466 | ||
6467 | hit2 = true | |
6468 | for i,v in pairs(to.Parent:GetChildren()) do | |
6469 | if v:IsA("Humanoid") then | |
6470 | v.Health = v.Health - 10 | |
6471 | ||
6472 | v.PlatformStand = true | |
6473 | end | |
6474 | end | |
6475 | hit2 = false | |
6476 | ||
6477 | hit3 = true | |
6478 | hit4 = true | |
6479 | ||
6480 | ||
6481 | ||
6482 | ||
6483 | coroutine.wrap(function() | |
6484 | for i=1,2 do | |
6485 | wait() | |
6486 | ||
6487 | ||
6488 | ||
6489 | ||
6490 | ||
6491 | for i,v in pairs(to.Parent:GetChildren()) do | |
6492 | if v:IsA("Humanoid") then | |
6493 | v.Health = v.Health - 2 | |
6494 | ||
6495 | v.PlatformStand = true | |
6496 | end | |
6497 | end | |
6498 | end | |
6499 | ||
6500 | ||
6501 | wait(3) | |
6502 | end)() | |
6503 | ||
6504 | ||
6505 | ||
6506 | ||
6507 | ||
6508 | ||
6509 | ||
6510 | ||
6511 | ||
6512 | ||
6513 | ||
6514 | ||
6515 | ||
6516 | ||
6517 | for i,v in pairs(to.Parent:GetChildren()) do | |
6518 | if v:IsA("Humanoid") then | |
6519 | v.Health = v.Health - 10 | |
6520 | ||
6521 | v.PlatformStand = true | |
6522 | end | |
6523 | end | |
6524 | ||
6525 | ||
6526 | ||
6527 | hitground = new("Part",char) | |
6528 | hitground.Size = Vector3.new(5,5,5) | |
6529 | hitground.Name = "Ground" | |
6530 | hitground.Transparency = 1 | |
6531 | hitground.CanCollide = false | |
6532 | game.Debris:AddItem(hitground,2) | |
6533 | hitground.Position = Vector3.new(999,999,999) | |
6534 | hitgroundweld = new("Weld",hitground) | |
6535 | hitgroundweld.Part0 = to | |
6536 | hitgroundweld.Part1 = hitground | |
6537 | hitground.Touched:connect(function(hit2) | |
6538 | if hit2.Size.x > 150 then | |
6539 | hitground:Destroy() | |
6540 | ad = new("Part",char) | |
6541 | ad.Name = "NewPart" | |
6542 | ad.Size = Vector3.new(30,0.1,30) | |
6543 | ad.CanCollide = false | |
6544 | ad.Anchored = true | |
6545 | ad.Position = Vector3.new(hitground.Position.x,hit2.Position.y,hitground.Position.z) | |
6546 | ad.Transparency = 1 | |
6547 | aad = new("Decal",ad) | |
6548 | ||
6549 | aad.Face = "Top" | |
6550 | aad.Transparency = 1 | |
6551 | aad.Transparency = 0 | |
6552 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
6553 | smoke = new("Part",to) | |
6554 | smokemesh = new("SpecialMesh",smoke) | |
6555 | smokemesh.MeshId = "rbxassetid://928329648" | |
6556 | smoke.BrickColor = hit2.BrickColor | |
6557 | smoke.Anchored = true | |
6558 | smoke.Position = hitground.Position | |
6559 | GroundImpact:Play() | |
6560 | for i = 1,20 do | |
6561 | wait() | |
6562 | smokemesh.Scale = smokemesh.Scale + Vector3.new(3,3,3) | |
6563 | smoke.Transparency = smoke.Transparency + 1/20 | |
6564 | end | |
6565 | smoke:Destroy() | |
6566 | wait(0.5) | |
6567 | ||
6568 | for i = 1,20 do | |
6569 | wait(0.1) | |
6570 | aad.Transparency = aad.Transparency + 1/20 | |
6571 | end | |
6572 | end | |
6573 | end) | |
6574 | ys = Instance.new("BodyVelocity",to) | |
6575 | ys.Name = "GO" | |
6576 | ||
6577 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
6578 | ||
6579 | ys.Velocity = v3(0,-90,0) | |
6580 | ||
6581 | wait(1) | |
6582 | ys:Destroy() | |
6583 | ||
6584 | ||
6585 | ||
6586 | hit3 = false | |
6587 | hit4 = false | |
6588 | ||
6589 | ||
6590 | hit1 = false | |
6591 | hit2 = false | |
6592 | hit3 = false | |
6593 | hit4 = false | |
6594 | idle = true | |
6595 | RootPart.Anchored = false | |
6596 | end | |
6597 | end) | |
6598 | end | |
6599 | ||
6600 | function Combo3() | |
6601 | getplayer = new("Part",char) | |
6602 | getplayer.Position = Vector3.new(999,999,999) | |
6603 | getplayer.Transparency = 1 | |
6604 | getplayer.Size = v3(3,3,3) | |
6605 | getplayer.CanCollide = false | |
6606 | getplayer.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3 | |
6607 | getplayer.Name = "GetPlayer" | |
6608 | ||
6609 | game.Debris:AddItem(getplayer,0.5) | |
6610 | ||
6611 | getplayer.Touched:connect(function(hit) | |
6612 | if hit.Parent:FindFirstChild("GetPlayer") == nil and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
6613 | getplayer:Destroy() | |
6614 | to = hit.Parent:findFirstChild("HumanoidRootPart") | |
6615 | to.CFrame = CFrame.new(RootPart.CFrame.p+v3(0,0.5,0)) + RootPart.CFrame.lookVector*2 | |
6616 | to.Anchored = true | |
6617 | RootPart.Anchored = true | |
6618 | idle = false | |
6619 | ||
6620 | ||
6621 | punchsound1:Play() | |
6622 | hit1 = true | |
6623 | for i = 0, 1, 0.1 do | |
6624 | swait() | |
6625 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6626 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6627 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6628 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6629 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6630 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6631 | end | |
6632 | punchsound1:Play() | |
6633 | for i = 0, 1, 0.1 do | |
6634 | swait() | |
6635 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6636 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6637 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6638 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6639 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6640 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6641 | end | |
6642 | punchsound1:Play() | |
6643 | for i = 0, 1, 0.1 do | |
6644 | swait() | |
6645 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6646 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6647 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6648 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6649 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6650 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6651 | end | |
6652 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,5,70)) | |
6653 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,5,74)) | |
6654 | Zanzoken = Instance.new("Part",char) | |
6655 | Zanzoken.Anchored = true | |
6656 | Zanzoken.Position = v3(999,999,999) | |
6657 | Zanzoken.CFrame = Torso.CFrame | |
6658 | game.Debris:AddItem(Zanzoken,0.5) | |
6659 | Zanzoken.Transparency = 1 | |
6660 | Zano:Play() | |
6661 | wait() | |
6662 | idk = Instance.new("BillboardGui",Zanzoken) | |
6663 | idk.Size = UDim2.new(10,0,15,0) | |
6664 | idk.AlwaysOnTop = false | |
6665 | idk1 = Instance.new("ImageLabel",idk) | |
6666 | idk1.BackgroundTransparency = 1 | |
6667 | idk.ExtentsOffset = v3(0,0,0) | |
6668 | idk1.ImageTransparency = 0 | |
6669 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6670 | idk1.Size = UDim2.new(2,0,1,0) | |
6671 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6672 | idk1.Image = "rbxassetid://319554883" | |
6673 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6674 | wait() | |
6675 | Zanzoken = Instance.new("Part",char) | |
6676 | Zanzoken.Anchored = true | |
6677 | Zanzoken.Position = v3(999,999,999) | |
6678 | Zanzoken.CFrame = Torso.CFrame | |
6679 | game.Debris:AddItem(Zanzoken,0.5) | |
6680 | Zanzoken.Transparency = 1 | |
6681 | wait() | |
6682 | idk = Instance.new("BillboardGui",Zanzoken) | |
6683 | idk.Size = UDim2.new(20,0,20,0) | |
6684 | idk.AlwaysOnTop = false | |
6685 | idk1 = Instance.new("ImageLabel",idk) | |
6686 | idk1.BackgroundTransparency = 1 | |
6687 | idk.ExtentsOffset = v3(0,0,0) | |
6688 | idk1.ImageTransparency = 0 | |
6689 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6690 | idk1.Size = UDim2.new(2,0,1,0) | |
6691 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6692 | idk1.Image = "rbxassetid://319554883" | |
6693 | for i = 0, 1, 0.1 do | |
6694 | swait() | |
6695 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6696 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6697 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6698 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6699 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6700 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6701 | end | |
6702 | punchsound1:Play() | |
6703 | for i = 0, 1, 0.1 do | |
6704 | swait() | |
6705 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6706 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6707 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6708 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6709 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6710 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6711 | end | |
6712 | punchsound1:Play() | |
6713 | for i = 0, 1, 0.1 do | |
6714 | swait() | |
6715 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6716 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6717 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6718 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6719 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6720 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6721 | end | |
6722 | for i = 0, 1, 0.1 do | |
6723 | swait() | |
6724 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6725 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6726 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6727 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6728 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6729 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6730 | end | |
6731 | punchsound1:Play() | |
6732 | for i = 0, 1, 0.1 do | |
6733 | swait() | |
6734 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6735 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6736 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6737 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6738 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6739 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6740 | end | |
6741 | punchsound1:Play() | |
6742 | for i = 0, 1, 0.1 do | |
6743 | swait() | |
6744 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6745 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6746 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6747 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6748 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6749 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6750 | end | |
6751 | for i = 0, 1, 0.1 do | |
6752 | swait() | |
6753 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6754 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6755 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6756 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6757 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6758 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6759 | end | |
6760 | punchsound1:Play() | |
6761 | for i = 0, 1, 0.1 do | |
6762 | swait() | |
6763 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6764 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6765 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6766 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6767 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6768 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6769 | end | |
6770 | punchsound1:Play() | |
6771 | for i,v in pairs(to.Parent:GetChildren()) do | |
6772 | if v:IsA("Humanoid") then | |
6773 | v.Health = v.Health - 10 | |
6774 | ||
6775 | v.PlatformStand = true | |
6776 | end | |
6777 | end | |
6778 | for i = 0, 1, 0.1 do | |
6779 | swait() | |
6780 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6781 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6782 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6783 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6784 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6785 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6786 | end | |
6787 | ||
6788 | for i = 0, 1, 0.1 do | |
6789 | swait() | |
6790 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6791 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6792 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6793 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6794 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6795 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6796 | end | |
6797 | punchsound1:Play() | |
6798 | for i = 0, 1, 0.1 do | |
6799 | swait() | |
6800 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6801 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6802 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6803 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6804 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6805 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6806 | end | |
6807 | for i,v in pairs(to.Parent:GetChildren()) do | |
6808 | if v:IsA("Humanoid") then | |
6809 | v.Health = v.Health - 3 | |
6810 | ||
6811 | v.PlatformStand = true | |
6812 | end | |
6813 | end | |
6814 | to.CFrame = CFrame.new(to.CFrame.p + v3(60,5,0)) | |
6815 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(60,5,0)) | |
6816 | Zanzoken = Instance.new("Part",char) | |
6817 | Zanzoken.Anchored = true | |
6818 | Zanzoken.Position = v3(999,999,999) | |
6819 | Zanzoken.CFrame = Torso.CFrame | |
6820 | game.Debris:AddItem(Zanzoken,0.5) | |
6821 | Zanzoken.Transparency = 1 | |
6822 | Zano:Play() | |
6823 | wait() | |
6824 | idk = Instance.new("BillboardGui",Zanzoken) | |
6825 | idk.Size = UDim2.new(10,0,15,0) | |
6826 | idk.AlwaysOnTop = false | |
6827 | idk1 = Instance.new("ImageLabel",idk) | |
6828 | idk1.BackgroundTransparency = 1 | |
6829 | idk.ExtentsOffset = v3(0,0,0) | |
6830 | idk1.ImageTransparency = 0 | |
6831 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6832 | idk1.Size = UDim2.new(2,0,1,0) | |
6833 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6834 | idk1.Image = "rbxassetid://319554883" | |
6835 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6836 | wait() | |
6837 | Zanzoken = Instance.new("Part",char) | |
6838 | Zanzoken.Anchored = true | |
6839 | Zanzoken.Position = v3(999,999,999) | |
6840 | Zanzoken.CFrame = Torso.CFrame | |
6841 | game.Debris:AddItem(Zanzoken,0.5) | |
6842 | Zanzoken.Transparency = 1 | |
6843 | wait() | |
6844 | idk = Instance.new("BillboardGui",Zanzoken) | |
6845 | idk.Size = UDim2.new(20,0,20,0) | |
6846 | idk.AlwaysOnTop = false | |
6847 | idk1 = Instance.new("ImageLabel",idk) | |
6848 | idk1.BackgroundTransparency = 1 | |
6849 | idk.ExtentsOffset = v3(0,0,0) | |
6850 | idk1.ImageTransparency = 0 | |
6851 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6852 | idk1.Size = UDim2.new(2,0,1,0) | |
6853 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6854 | idk1.Image = "rbxassetid://319554883" | |
6855 | for i = 0, 1, 0.1 do | |
6856 | swait() | |
6857 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6858 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6859 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6860 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6861 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6862 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6863 | end | |
6864 | for i = 0, 1, 0.1 do | |
6865 | swait() | |
6866 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6867 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6868 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6869 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6870 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6871 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6872 | end | |
6873 | punchsound1:Play() | |
6874 | for i = 0, 1, 0.1 do | |
6875 | swait() | |
6876 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6877 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6878 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6879 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6880 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6881 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6882 | end | |
6883 | for i,v in pairs(to.Parent:GetChildren()) do | |
6884 | if v:IsA("Humanoid") then | |
6885 | v.Health = v.Health - 3 | |
6886 | ||
6887 | v.PlatformStand = true | |
6888 | end | |
6889 | end | |
6890 | to.CFrame = CFrame.new(to.CFrame.p + v3(90,20,0)) | |
6891 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(90,20,0)) | |
6892 | Zanzoken = Instance.new("Part",char) | |
6893 | Zanzoken.Anchored = true | |
6894 | Zanzoken.Position = v3(999,999,999) | |
6895 | Zanzoken.CFrame = Torso.CFrame | |
6896 | game.Debris:AddItem(Zanzoken,0.5) | |
6897 | Zanzoken.Transparency = 1 | |
6898 | Zano:Play() | |
6899 | wait() | |
6900 | idk = Instance.new("BillboardGui",Zanzoken) | |
6901 | idk.Size = UDim2.new(10,0,15,0) | |
6902 | idk.AlwaysOnTop = false | |
6903 | idk1 = Instance.new("ImageLabel",idk) | |
6904 | idk1.BackgroundTransparency = 1 | |
6905 | idk.ExtentsOffset = v3(0,0,0) | |
6906 | idk1.ImageTransparency = 0 | |
6907 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6908 | idk1.Size = UDim2.new(2,0,1,0) | |
6909 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6910 | idk1.Image = "rbxassetid://319554883" | |
6911 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6912 | wait() | |
6913 | Zanzoken = Instance.new("Part",char) | |
6914 | Zanzoken.Anchored = true | |
6915 | Zanzoken.Position = v3(999,999,999) | |
6916 | Zanzoken.CFrame = Torso.CFrame | |
6917 | game.Debris:AddItem(Zanzoken,0.5) | |
6918 | Zanzoken.Transparency = 1 | |
6919 | wait() | |
6920 | idk = Instance.new("BillboardGui",Zanzoken) | |
6921 | idk.Size = UDim2.new(20,0,20,0) | |
6922 | idk.AlwaysOnTop = false | |
6923 | idk1 = Instance.new("ImageLabel",idk) | |
6924 | idk1.BackgroundTransparency = 1 | |
6925 | idk.ExtentsOffset = v3(0,0,0) | |
6926 | idk1.ImageTransparency = 0 | |
6927 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6928 | idk1.Size = UDim2.new(2,0,1,0) | |
6929 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6930 | idk1.Image = "rbxassetid://319554883" | |
6931 | punchsound1:Play() | |
6932 | for i = 0, 1, 0.1 do | |
6933 | swait() | |
6934 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6935 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6936 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6937 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6938 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6939 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6940 | end | |
6941 | punchsound1:Play() | |
6942 | for i = 0, 1, 0.1 do | |
6943 | swait() | |
6944 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6945 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6946 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6947 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6948 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6949 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6950 | end | |
6951 | ||
6952 | ||
6953 | for i,v in pairs(to.Parent:GetChildren()) do | |
6954 | if v:IsA("Humanoid") then | |
6955 | v.Health = v.Health - 20 | |
6956 | ||
6957 | v.PlatformStand = true | |
6958 | end | |
6959 | end | |
6960 | StrongPunch:Play() | |
6961 | for i = 0, 1, 0.1 do | |
6962 | swait() | |
6963 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6964 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6965 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6966 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6967 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6968 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6969 | end | |
6970 | for i = 0, 1, 0.1 do | |
6971 | swait() | |
6972 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6973 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6974 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6975 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6976 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6977 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6978 | end | |
6979 | for i,v in pairs(to.Parent:GetChildren()) do | |
6980 | if v:IsA("Humanoid") then | |
6981 | v.Health = v.Health - 3 | |
6982 | ||
6983 | v.PlatformStand = true | |
6984 | end | |
6985 | end | |
6986 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,200,0)) | |
6987 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,200,0)) | |
6988 | Zanzoken = Instance.new("Part",char) | |
6989 | Zanzoken.Anchored = true | |
6990 | Zanzoken.Position = v3(999,999,999) | |
6991 | Zanzoken.CFrame = Torso.CFrame | |
6992 | game.Debris:AddItem(Zanzoken,0.5) | |
6993 | Zanzoken.Transparency = 1 | |
6994 | Zano:Play() | |
6995 | wait() | |
6996 | idk = Instance.new("BillboardGui",Zanzoken) | |
6997 | idk.Size = UDim2.new(10,0,15,0) | |
6998 | idk.AlwaysOnTop = false | |
6999 | idk1 = Instance.new("ImageLabel",idk) | |
7000 | idk1.BackgroundTransparency = 1 | |
7001 | idk.ExtentsOffset = v3(0,0,0) | |
7002 | idk1.ImageTransparency = 0 | |
7003 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7004 | idk1.Size = UDim2.new(2,0,1,0) | |
7005 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7006 | idk1.Image = "rbxassetid://319554883" | |
7007 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7008 | wait() | |
7009 | Zanzoken = Instance.new("Part",char) | |
7010 | Zanzoken.Anchored = true | |
7011 | Zanzoken.Position = v3(999,999,999) | |
7012 | Zanzoken.CFrame = Torso.CFrame | |
7013 | game.Debris:AddItem(Zanzoken,0.5) | |
7014 | Zanzoken.Transparency = 1 | |
7015 | wait() | |
7016 | idk = Instance.new("BillboardGui",Zanzoken) | |
7017 | idk.Size = UDim2.new(20,0,20,0) | |
7018 | idk.AlwaysOnTop = false | |
7019 | idk1 = Instance.new("ImageLabel",idk) | |
7020 | idk1.BackgroundTransparency = 1 | |
7021 | idk.ExtentsOffset = v3(0,0,0) | |
7022 | idk1.ImageTransparency = 0 | |
7023 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7024 | idk1.Size = UDim2.new(2,0,1,0) | |
7025 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7026 | idk1.Image = "rbxassetid://319554883" | |
7027 | for i = 0, 1, 0.1 do | |
7028 | swait() | |
7029 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7030 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7031 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7032 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7033 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7034 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7035 | end | |
7036 | punchsound1:Play() | |
7037 | for i = 0, 1, 0.1 do | |
7038 | swait() | |
7039 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7040 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7041 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7042 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7043 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7044 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7045 | end | |
7046 | punchsound1:Play() | |
7047 | for i = 0, 1, 0.1 do | |
7048 | swait() | |
7049 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7050 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7051 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7052 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7053 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7054 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7055 | end | |
7056 | for i = 0, 1, 0.1 do | |
7057 | swait() | |
7058 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7059 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7060 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7061 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7062 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
7063 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7064 | end | |
7065 | for i = 0, 1, 0.1 do | |
7066 | swait() | |
7067 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7068 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7069 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7070 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7071 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7072 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7073 | end | |
7074 | to.CFrame = CFrame.new(to.CFrame.p + v3(60,100,0)) | |
7075 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(60,140,0)) | |
7076 | Zanzoken = Instance.new("Part",char) | |
7077 | Zanzoken.Anchored = true | |
7078 | Zanzoken.Position = v3(999,999,999) | |
7079 | Zanzoken.CFrame = Torso.CFrame | |
7080 | game.Debris:AddItem(Zanzoken,0.5) | |
7081 | Zanzoken.Transparency = 1 | |
7082 | Zano:Play() | |
7083 | wait() | |
7084 | idk = Instance.new("BillboardGui",Zanzoken) | |
7085 | idk.Size = UDim2.new(10,0,15,0) | |
7086 | idk.AlwaysOnTop = false | |
7087 | idk1 = Instance.new("ImageLabel",idk) | |
7088 | idk1.BackgroundTransparency = 1 | |
7089 | idk.ExtentsOffset = v3(0,0,0) | |
7090 | idk1.ImageTransparency = 0 | |
7091 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7092 | idk1.Size = UDim2.new(2,0,1,0) | |
7093 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7094 | idk1.Image = "rbxassetid://319554883" | |
7095 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7096 | wait() | |
7097 | Zanzoken = Instance.new("Part",char) | |
7098 | Zanzoken.Anchored = true | |
7099 | Zanzoken.Position = v3(999,999,999) | |
7100 | Zanzoken.CFrame = Torso.CFrame | |
7101 | game.Debris:AddItem(Zanzoken,0.5) | |
7102 | Zanzoken.Transparency = 1 | |
7103 | wait() | |
7104 | idk = Instance.new("BillboardGui",Zanzoken) | |
7105 | idk.Size = UDim2.new(20,0,20,0) | |
7106 | idk.AlwaysOnTop = false | |
7107 | idk1 = Instance.new("ImageLabel",idk) | |
7108 | idk1.BackgroundTransparency = 1 | |
7109 | idk.ExtentsOffset = v3(0,0,0) | |
7110 | idk1.ImageTransparency = 0 | |
7111 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7112 | idk1.Size = UDim2.new(2,0,1,0) | |
7113 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7114 | idk1.Image = "rbxassetid://319554883" | |
7115 | StrongPunch:Play() | |
7116 | Break:Play() | |
7117 | local Aura4 = Instance.new('ParticleEmitter') | |
7118 | Aura4.Name = "Aura" | |
7119 | Aura4.Texture = "rbxassetid://1046299182" | |
7120 | Aura4.Parent = Torso | |
7121 | Aura4.LightEmission = 1 | |
7122 | Aura4.Transparency = NumberSequence.new(0.7,1) | |
7123 | Aura4.Color = ColorSequence.new(BrickColor.new("White").Color) | |
7124 | Aura4.Size = NumberSequence.new(1,30) | |
7125 | Aura4.Rotation = NumberRange.new(-360,360) | |
7126 | Aura4.LockedToPart = true | |
7127 | Aura4.Lifetime = NumberRange.new(0.2) | |
7128 | Aura4.Rate = 100 | |
7129 | Aura4.Speed = NumberRange.new(0) | |
7130 | Aura4.EmissionDirection = "Top" | |
7131 | for i = 0, 6, 0.1 do | |
7132 | swait() | |
7133 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7134 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7135 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7136 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7137 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7138 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7139 | end | |
7140 | Aura4:Destroy() | |
7141 | wait(0.1) | |
7142 | local Aura4 = Instance.new('ParticleEmitter') | |
7143 | Aura4.Name = "Aura" | |
7144 | Aura4.Texture = "rbxassetid://1046299182" | |
7145 | Aura4.Parent = Torso | |
7146 | Aura4.LightEmission = 1 | |
7147 | Aura4.Transparency = NumberSequence.new(0.7,1) | |
7148 | Aura4.Color = ColorSequence.new(BrickColor.new("White").Color) | |
7149 | Aura4.Size = NumberSequence.new(1,30) | |
7150 | Aura4.Rotation = NumberRange.new(-360,360) | |
7151 | Aura4.LockedToPart = true | |
7152 | Aura4.Lifetime = NumberRange.new(0.2) | |
7153 | Aura4.Rate = 100 | |
7154 | Aura4.Speed = NumberRange.new(0) | |
7155 | Aura4.EmissionDirection = "Top" | |
7156 | StrongPunch1:Play() | |
7157 | Break:Play() | |
7158 | for i = 0, 6, 0.1 do | |
7159 | swait() | |
7160 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7161 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7162 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7163 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7164 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7165 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7166 | end | |
7167 | Aura4:Destroy() | |
7168 | StrongPunch2:Play() | |
7169 | Break:Play() | |
7170 | local Aura4 = Instance.new('ParticleEmitter') | |
7171 | Aura4.Name = "Aura" | |
7172 | Aura4.Texture = "rbxassetid://1046299182" | |
7173 | Aura4.Parent = Torso | |
7174 | Aura4.LightEmission = 1 | |
7175 | Aura4.Transparency = NumberSequence.new(0.7,1) | |
7176 | Aura4.Color = ColorSequence.new(BrickColor.new("White").Color) | |
7177 | Aura4.Size = NumberSequence.new(1,30) | |
7178 | Aura4.Rotation = NumberRange.new(-360,360) | |
7179 | Aura4.LockedToPart = true | |
7180 | Aura4.Lifetime = NumberRange.new(0.2) | |
7181 | Aura4.Rate = 100 | |
7182 | Aura4.Speed = NumberRange.new(0) | |
7183 | Aura4.EmissionDirection = "Top" | |
7184 | for i = 0, 7, 0.1 do | |
7185 | swait() | |
7186 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7187 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7188 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7189 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7190 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
7191 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7192 | end | |
7193 | to.CFrame = CFrame.new(to.CFrame.p + v3(-100,600,0)) | |
7194 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(-100,600,0)) | |
7195 | Aura4:Destroy() | |
7196 | Zanzoken = Instance.new("Part",char) | |
7197 | Zanzoken.Anchored = true | |
7198 | Zanzoken.Position = v3(999,999,999) | |
7199 | Zanzoken.CFrame = Torso.CFrame | |
7200 | game.Debris:AddItem(Zanzoken,0.5) | |
7201 | Zanzoken.Transparency = 1 | |
7202 | Zano:Play() | |
7203 | wait() | |
7204 | idk = Instance.new("BillboardGui",Zanzoken) | |
7205 | idk.Size = UDim2.new(10,0,15,0) | |
7206 | idk.AlwaysOnTop = false | |
7207 | idk1 = Instance.new("ImageLabel",idk) | |
7208 | idk1.BackgroundTransparency = 1 | |
7209 | idk.ExtentsOffset = v3(0,0,0) | |
7210 | idk1.ImageTransparency = 0 | |
7211 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7212 | idk1.Size = UDim2.new(2,0,1,0) | |
7213 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7214 | idk1.Image = "rbxassetid://319554883" | |
7215 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7216 | wait() | |
7217 | Zanzoken = Instance.new("Part",char) | |
7218 | Zanzoken.Anchored = true | |
7219 | Zanzoken.Position = v3(999,999,999) | |
7220 | Zanzoken.CFrame = Torso.CFrame | |
7221 | game.Debris:AddItem(Zanzoken,0.5) | |
7222 | Zanzoken.Transparency = 1 | |
7223 | wait() | |
7224 | idk = Instance.new("BillboardGui",Zanzoken) | |
7225 | idk.Size = UDim2.new(20,0,20,0) | |
7226 | idk.AlwaysOnTop = false | |
7227 | idk1 = Instance.new("ImageLabel",idk) | |
7228 | idk1.BackgroundTransparency = 1 | |
7229 | idk.ExtentsOffset = v3(0,0,0) | |
7230 | idk1.ImageTransparency = 0 | |
7231 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7232 | idk1.Size = UDim2.new(2,0,1,0) | |
7233 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7234 | idk1.Image = "rbxassetid://319554883" | |
7235 | for i = 0, 1, 0.1 do | |
7236 | swait() | |
7237 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7238 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7239 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7240 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7241 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7242 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7243 | end | |
7244 | punchsound1:Play() | |
7245 | for i = 0, 1, 0.1 do | |
7246 | swait() | |
7247 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7248 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7249 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7250 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7251 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7252 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7253 | end | |
7254 | punchsound1:Play() | |
7255 | for i = 0, 1, 0.1 do | |
7256 | swait() | |
7257 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7258 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7259 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7260 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7261 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7262 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7263 | end | |
7264 | for i = 0, 1, 0.1 do | |
7265 | swait() | |
7266 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7267 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7268 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7269 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7270 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
7271 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7272 | end | |
7273 | for i = 0, 1, 0.1 do | |
7274 | swait() | |
7275 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7276 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7277 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7278 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7279 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7280 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7281 | end | |
7282 | punchsound1:Play() | |
7283 | for i = 0, 0.5, 0.1 do | |
7284 | swait() | |
7285 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7286 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7287 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7288 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7289 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7290 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7291 | end | |
7292 | punchsound1:Play() | |
7293 | for i = 0, 0.5, 0.1 do | |
7294 | swait() | |
7295 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7296 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7297 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7298 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7299 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7300 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7301 | end | |
7302 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,-800,0)) | |
7303 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,-800,0)) | |
7304 | Zanzoken = Instance.new("Part",char) | |
7305 | Zanzoken.Anchored = true | |
7306 | Zanzoken.Position = v3(999,999,999) | |
7307 | Zanzoken.CFrame = Torso.CFrame | |
7308 | game.Debris:AddItem(Zanzoken,0.5) | |
7309 | Zanzoken.Transparency = 1 | |
7310 | Zano:Play() | |
7311 | wait() | |
7312 | idk = Instance.new("BillboardGui",Zanzoken) | |
7313 | idk.Size = UDim2.new(10,0,15,0) | |
7314 | idk.AlwaysOnTop = false | |
7315 | idk1 = Instance.new("ImageLabel",idk) | |
7316 | idk1.BackgroundTransparency = 1 | |
7317 | idk.ExtentsOffset = v3(0,0,0) | |
7318 | idk1.ImageTransparency = 0 | |
7319 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7320 | idk1.Size = UDim2.new(2,0,1,0) | |
7321 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7322 | idk1.Image = "rbxassetid://319554883" | |
7323 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7324 | wait() | |
7325 | Zanzoken = Instance.new("Part",char) | |
7326 | Zanzoken.Anchored = true | |
7327 | Zanzoken.Position = v3(999,999,999) | |
7328 | Zanzoken.CFrame = Torso.CFrame | |
7329 | game.Debris:AddItem(Zanzoken,0.5) | |
7330 | Zanzoken.Transparency = 1 | |
7331 | wait() | |
7332 | idk = Instance.new("BillboardGui",Zanzoken) | |
7333 | idk.Size = UDim2.new(20,0,20,0) | |
7334 | idk.AlwaysOnTop = false | |
7335 | idk1 = Instance.new("ImageLabel",idk) | |
7336 | idk1.BackgroundTransparency = 1 | |
7337 | idk.ExtentsOffset = v3(0,0,0) | |
7338 | idk1.ImageTransparency = 0 | |
7339 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7340 | idk1.Size = UDim2.new(2,0,1,0) | |
7341 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7342 | idk1.Image = "rbxassetid://319554883" | |
7343 | for i = 0, 0.4, 0.1 do | |
7344 | swait() | |
7345 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7346 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7347 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7348 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7349 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7350 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7351 | end | |
7352 | punchsound1:Play() | |
7353 | for i = 0, 0.4, 0.1 do | |
7354 | swait() | |
7355 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7356 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7357 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7358 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7359 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7360 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7361 | end | |
7362 | punchsound1:Play() | |
7363 | for i = 0, 1, 0.1 do | |
7364 | swait() | |
7365 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7366 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7367 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7368 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7369 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7370 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7371 | end | |
7372 | for i,v in pairs(to.Parent:GetChildren()) do | |
7373 | if v:IsA("Humanoid") then | |
7374 | v.Health = v.Health - 8 | |
7375 | ||
7376 | v.PlatformStand = true | |
7377 | end | |
7378 | end | |
7379 | ||
7380 | hit1 = false | |
7381 | ||
7382 | punchsound1:Play() | |
7383 | hit2 = true | |
7384 | for i = 0, 1, 0.1 do | |
7385 | swait() | |
7386 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7387 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7388 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7389 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7390 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7391 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7392 | end | |
7393 | for i,v in pairs(to.Parent:GetChildren()) do | |
7394 | if v:IsA("Humanoid") then | |
7395 | v.Health = v.Health - 10 | |
7396 | ||
7397 | v.PlatformStand = true | |
7398 | end | |
7399 | end | |
7400 | hit2 = false | |
7401 | ||
7402 | punchsound1:Play() | |
7403 | hit3 = true | |
7404 | hit4 = true | |
7405 | ||
7406 | ||
7407 | punchsound1:Play() | |
7408 | ||
7409 | ||
7410 | coroutine.wrap(function() | |
7411 | for i=1,2 do | |
7412 | wait() | |
7413 | ||
7414 | ||
7415 | ||
7416 | ||
7417 | ||
7418 | for i,v in pairs(to.Parent:GetChildren()) do | |
7419 | if v:IsA("Humanoid") then | |
7420 | v.Health = v.Health - 30 | |
7421 | ||
7422 | v.PlatformStand = true | |
7423 | end | |
7424 | end | |
7425 | end | |
7426 | ||
7427 | ||
7428 | wait(3) | |
7429 | end)() | |
7430 | ||
7431 | ||
7432 | ||
7433 | RootPart.Anchored = false | |
7434 | ||
7435 | ||
7436 | ||
7437 | ||
7438 | ||
7439 | StrongPunch:Play() | |
7440 | ||
7441 | ||
7442 | ||
7443 | ||
7444 | ||
7445 | ||
7446 | for i,v in pairs(to.Parent:GetChildren()) do | |
7447 | if v:IsA("Humanoid") then | |
7448 | v.Health = v.Health - 20 | |
7449 | ||
7450 | v.PlatformStand = true | |
7451 | end | |
7452 | end | |
7453 | ||
7454 | StrongPunch2:Play() | |
7455 | ||
7456 | ||
7457 | hitground = new("Part",char) | |
7458 | hitground.Size = Vector3.new(5,5,5) | |
7459 | hitground.Name = "Ground" | |
7460 | hitground.Transparency = 1 | |
7461 | hitground.CanCollide = false | |
7462 | game.Debris:AddItem(hitground,2) | |
7463 | hitground.Position = Vector3.new(999,999,999) | |
7464 | hitgroundweld = new("Weld",hitground) | |
7465 | hitgroundweld.Part0 = to | |
7466 | hitgroundweld.Part1 = hitground | |
7467 | hitground.Touched:connect(function(hit2) | |
7468 | if hit2.Size.x > 150 then | |
7469 | hitground:Destroy() | |
7470 | ad = new("Part",char) | |
7471 | ad.Name = "NewPart" | |
7472 | ad.Size = Vector3.new(30,0.1,30) | |
7473 | ad.CanCollide = false | |
7474 | ad.Anchored = true | |
7475 | ad.Position = Vector3.new(hitground.Position.x,hit2.Position.y,hitground.Position.z) | |
7476 | ad.Transparency = 1 | |
7477 | aad = new("Decal",ad) | |
7478 | ||
7479 | aad.Face = "Top" | |
7480 | aad.Transparency = 1 | |
7481 | aad.Transparency = 0 | |
7482 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
7483 | smoke = new("Part",to) | |
7484 | smokemesh = new("SpecialMesh",smoke) | |
7485 | smokemesh.MeshId = "rbxassetid://928329648" | |
7486 | smoke.BrickColor = hit2.BrickColor | |
7487 | smoke.Anchored = true | |
7488 | smoke.Position = hitground.Position | |
7489 | GroundImpact:Play() | |
7490 | for i = 1,20 do | |
7491 | wait() | |
7492 | smokemesh.Scale = smokemesh.Scale + Vector3.new(3,3,3) | |
7493 | smoke.Transparency = smoke.Transparency + 1/20 | |
7494 | end | |
7495 | smoke:Destroy() | |
7496 | wait(0.5) | |
7497 | ||
7498 | for i = 1,20 do | |
7499 | wait(0.1) | |
7500 | aad.Transparency = aad.Transparency + 1/20 | |
7501 | end | |
7502 | end | |
7503 | end) | |
7504 | ys = Instance.new("BodyVelocity",to) | |
7505 | ys.Name = "GO" | |
7506 | ||
7507 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
7508 | ||
7509 | ys.Velocity = v3(0,-90,0) | |
7510 | ||
7511 | wait(1) | |
7512 | ys:Destroy() | |
7513 | ||
7514 | ||
7515 | ||
7516 | ||
7517 | ||
7518 | hit3 = false | |
7519 | hit4 = false | |
7520 | ||
7521 | ||
7522 | hit1 = false | |
7523 | hit2 = false | |
7524 | hit3 = false | |
7525 | hit4 = false | |
7526 | idle = true | |
7527 | RootPart.Anchored = false | |
7528 | to.Anchored = false | |
7529 | end | |
7530 | end) | |
7531 | end | |
7532 | ||
7533 | ||
7534 | function Combo2() | |
7535 | getplayer = new("Part",char) | |
7536 | getplayer.Position = Vector3.new(999,999,999) | |
7537 | getplayer.Transparency = 1 | |
7538 | getplayer.Size = v3(3,3,3) | |
7539 | getplayer.CanCollide = false | |
7540 | getplayer.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3 | |
7541 | getplayer.Name = "GetPlayer" | |
7542 | ||
7543 | game.Debris:AddItem(getplayer,0.5) | |
7544 | ||
7545 | getplayer.Touched:connect(function(hit) | |
7546 | if hit.Parent:FindFirstChild("GetPlayer") == nil and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
7547 | getplayer:Destroy() | |
7548 | to = hit.Parent:findFirstChild("HumanoidRootPart") | |
7549 | to.CFrame = CFrame.new(RootPart.CFrame.p+v3(0,0.5,0)) + RootPart.CFrame.lookVector*2 | |
7550 | to.Anchored = true | |
7551 | idle = false | |
7552 | ||
7553 | ||
7554 | punchsound1:Play() | |
7555 | hit1 = true | |
7556 | for i = 0, 1, 0.1 do | |
7557 | swait() | |
7558 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7559 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7560 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7561 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7562 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7563 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7564 | end | |
7565 | punchsound1:Play() | |
7566 | for i = 0, 1, 0.1 do | |
7567 | swait() | |
7568 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7569 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7570 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7571 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7572 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7573 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7574 | end | |
7575 | punchsound1:Play() | |
7576 | for i = 0, 1, 0.1 do | |
7577 | swait() | |
7578 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7579 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7580 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7581 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7582 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7583 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7584 | end | |
7585 | for i = 0, 1, 0.1 do | |
7586 | swait() | |
7587 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7588 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7589 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7590 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7591 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7592 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7593 | end | |
7594 | for i = 0, 1, 0.1 do | |
7595 | swait() | |
7596 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7597 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7598 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7599 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7600 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7601 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7602 | end | |
7603 | StrongPunch1:Play() | |
7604 | for i = 0, 1, 0.1 do | |
7605 | swait() | |
7606 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7607 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7608 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7609 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7610 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7611 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7612 | end | |
7613 | for i = 0, 0.6, 0.1 do | |
7614 | swait() | |
7615 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7616 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7617 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7618 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7619 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7620 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7621 | end | |
7622 | for i = 0, 0.6, 0.1 do | |
7623 | swait() | |
7624 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7625 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7626 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7627 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7628 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7629 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7630 | end | |
7631 | for i,v in pairs(to.Parent:GetChildren()) do | |
7632 | if v:IsA("Humanoid") then | |
7633 | v.Health = v.Health - 6 | |
7634 | ||
7635 | v.PlatformStand = true | |
7636 | end | |
7637 | end | |
7638 | StrongPunch:Play() | |
7639 | for i = 0, 1, 0.1 do | |
7640 | swait() | |
7641 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7642 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7643 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7644 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7645 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
7646 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7647 | end | |
7648 | for i,v in pairs(to.Parent:GetChildren()) do | |
7649 | if v:IsA("Humanoid") then | |
7650 | v.Health = v.Health - 8 | |
7651 | ||
7652 | v.PlatformStand = true | |
7653 | end | |
7654 | end | |
7655 | ||
7656 | hit1 = false | |
7657 | ||
7658 | punchsound1:Play() | |
7659 | hit2 = true | |
7660 | for i = 0, 1, 0.1 do | |
7661 | swait() | |
7662 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7663 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7664 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7665 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7666 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7667 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7668 | end | |
7669 | for i,v in pairs(to.Parent:GetChildren()) do | |
7670 | if v:IsA("Humanoid") then | |
7671 | v.Health = v.Health - 5 | |
7672 | ||
7673 | v.PlatformStand = true | |
7674 | end | |
7675 | end | |
7676 | hit2 = false | |
7677 | ||
7678 | punchsound1:Play() | |
7679 | hit3 = true | |
7680 | hit4 = true | |
7681 | ||
7682 | ||
7683 | punchsound1:Play() | |
7684 | ||
7685 | coroutine.wrap(function() | |
7686 | for i=1,2 do | |
7687 | wait() | |
7688 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,35,0)) | |
7689 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,35,0)) | |
7690 | Zanzoken = Instance.new("Part",char) | |
7691 | Zanzoken.Anchored = true | |
7692 | Zanzoken.Position = v3(999,999,999) | |
7693 | Zanzoken.CFrame = Torso.CFrame | |
7694 | game.Debris:AddItem(Zanzoken,0.5) | |
7695 | Zanzoken.Transparency = 1 | |
7696 | Zano:Play() | |
7697 | wait() | |
7698 | idk = Instance.new("BillboardGui",Zanzoken) | |
7699 | idk.Size = UDim2.new(10,0,15,0) | |
7700 | idk.AlwaysOnTop = false | |
7701 | idk1 = Instance.new("ImageLabel",idk) | |
7702 | idk1.BackgroundTransparency = 1 | |
7703 | idk.ExtentsOffset = v3(0,0,0) | |
7704 | idk1.ImageTransparency = 0 | |
7705 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7706 | idk1.Size = UDim2.new(2,0,1,0) | |
7707 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7708 | idk1.Image = "rbxassetid://319554883" | |
7709 | wait() | |
7710 | Zanzoken = Instance.new("Part",char) | |
7711 | Zanzoken.Anchored = true | |
7712 | Zanzoken.Position = v3(999,999,999) | |
7713 | Zanzoken.CFrame = Torso.CFrame | |
7714 | game.Debris:AddItem(Zanzoken,0.5) | |
7715 | Zanzoken.Transparency = 1 | |
7716 | wait() | |
7717 | idk = Instance.new("BillboardGui",Zanzoken) | |
7718 | idk.Size = UDim2.new(20,0,20,0) | |
7719 | idk.AlwaysOnTop = false | |
7720 | idk1 = Instance.new("ImageLabel",idk) | |
7721 | idk1.BackgroundTransparency = 1 | |
7722 | idk.ExtentsOffset = v3(0,0,0) | |
7723 | idk1.ImageTransparency = 0 | |
7724 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7725 | idk1.Size = UDim2.new(2,0,1,0) | |
7726 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7727 | idk1.Image = "rbxassetid://319554883" | |
7728 | for i = 0, 1, 0.1 do | |
7729 | swait() | |
7730 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7731 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7732 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7733 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7734 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7735 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7736 | end | |
7737 | StrongPunch:Play() | |
7738 | for i,v in pairs(to.Parent:GetChildren()) do | |
7739 | if v:IsA("Humanoid") then | |
7740 | v.Health = v.Health - 10 | |
7741 | ||
7742 | v.PlatformStand = true | |
7743 | end | |
7744 | end | |
7745 | end | |
7746 | ||
7747 | ||
7748 | wait(0.7) | |
7749 | end)() | |
7750 | ||
7751 | ||
7752 | ||
7753 | ||
7754 | RootPart.Anchored = true | |
7755 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,0,35)) | |
7756 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,0,35)) | |
7757 | Zanzoken = Instance.new("Part",char) | |
7758 | Zanzoken.Anchored = true | |
7759 | Zanzoken.Position = v3(999,999,999) | |
7760 | Zanzoken.CFrame = Torso.CFrame | |
7761 | game.Debris:AddItem(Zanzoken,0.5) | |
7762 | Zanzoken.Transparency = 1 | |
7763 | Zano:Play() | |
7764 | wait() | |
7765 | idk = Instance.new("BillboardGui",Zanzoken) | |
7766 | idk.Size = UDim2.new(10,0,15,0) | |
7767 | idk.AlwaysOnTop = false | |
7768 | idk1 = Instance.new("ImageLabel",idk) | |
7769 | idk1.BackgroundTransparency = 1 | |
7770 | idk.ExtentsOffset = v3(0,0,0) | |
7771 | idk1.ImageTransparency = 0 | |
7772 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7773 | idk1.Size = UDim2.new(2,0,1,0) | |
7774 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7775 | idk1.Image = "rbxassetid://319554883" | |
7776 | wait() | |
7777 | Zanzoken = Instance.new("Part",char) | |
7778 | Zanzoken.Anchored = true | |
7779 | Zanzoken.Position = v3(999,999,999) | |
7780 | Zanzoken.CFrame = Torso.CFrame | |
7781 | game.Debris:AddItem(Zanzoken,0.5) | |
7782 | Zanzoken.Transparency = 1 | |
7783 | wait() | |
7784 | idk = Instance.new("BillboardGui",Zanzoken) | |
7785 | idk.Size = UDim2.new(20,0,20,0) | |
7786 | idk.AlwaysOnTop = false | |
7787 | idk1 = Instance.new("ImageLabel",idk) | |
7788 | idk1.BackgroundTransparency = 1 | |
7789 | idk.ExtentsOffset = v3(0,0,0) | |
7790 | idk1.ImageTransparency = 0 | |
7791 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7792 | idk1.Size = UDim2.new(2,0,1,0) | |
7793 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7794 | idk1.Image = "rbxassetid://319554883" | |
7795 | ||
7796 | for i = 0, 1, 0.1 do | |
7797 | swait() | |
7798 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7799 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7800 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7801 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7802 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7803 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7804 | end | |
7805 | ||
7806 | ||
7807 | StrongPunch:Play() | |
7808 | ||
7809 | ||
7810 | for i = 0, 1, 0.1 do | |
7811 | swait() | |
7812 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7813 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7814 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7815 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7816 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7817 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7818 | end | |
7819 | ||
7820 | for i = 0, 1, 0.1 do | |
7821 | swait() | |
7822 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7823 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7824 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7825 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7826 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7827 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7828 | end | |
7829 | ||
7830 | ||
7831 | ||
7832 | for i,v in pairs(to.Parent:GetChildren()) do | |
7833 | if v:IsA("Humanoid") then | |
7834 | v.Health = v.Health - 20 | |
7835 | ||
7836 | v.PlatformStand = true | |
7837 | end | |
7838 | end | |
7839 | ||
7840 | StrongPunch2:Play() | |
7841 | for i = 0, 1, 0.1 do | |
7842 | swait() | |
7843 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7844 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7845 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7846 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7847 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
7848 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7849 | end | |
7850 | ||
7851 | hitground = new("Part",char) | |
7852 | hitground.Size = Vector3.new(5,5,5) | |
7853 | hitground.Name = "Ground" | |
7854 | hitground.Transparency = 1 | |
7855 | hitground.CanCollide = false | |
7856 | game.Debris:AddItem(hitground,2) | |
7857 | hitground.Position = Vector3.new(999,999,999) | |
7858 | hitgroundweld = new("Weld",hitground) | |
7859 | hitgroundweld.Part0 = to | |
7860 | hitgroundweld.Part1 = hitground | |
7861 | hitground.Touched:connect(function(hit2) | |
7862 | if hit2.Size.x > 150 then | |
7863 | hitground:Destroy() | |
7864 | ad = new("Part",char) | |
7865 | ad.Name = "NewPart" | |
7866 | ad.Size = Vector3.new(30,0.1,30) | |
7867 | ad.CanCollide = false | |
7868 | ad.Anchored = true | |
7869 | ad.Position = Vector3.new(hitground.Position.x,hit2.Position.y,hitground.Position.z) | |
7870 | ad.Transparency = 1 | |
7871 | aad = new("Decal",ad) | |
7872 | ||
7873 | aad.Face = "Top" | |
7874 | aad.Transparency = 1 | |
7875 | aad.Transparency = 0 | |
7876 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
7877 | smoke = new("Part",to) | |
7878 | smokemesh = new("SpecialMesh",smoke) | |
7879 | smokemesh.MeshId = "rbxassetid://928329648" | |
7880 | smoke.BrickColor = hit2.BrickColor | |
7881 | smoke.Anchored = true | |
7882 | smoke.Position = hitground.Position | |
7883 | GroundImpact:Play() | |
7884 | for i = 1,20 do | |
7885 | wait() | |
7886 | smokemesh.Scale = smokemesh.Scale + Vector3.new(3,3,3) | |
7887 | smoke.Transparency = smoke.Transparency + 1/20 | |
7888 | end | |
7889 | smoke:Destroy() | |
7890 | wait(0.5) | |
7891 | ||
7892 | for i = 1,20 do | |
7893 | wait(0.1) | |
7894 | aad.Transparency = aad.Transparency + 1/20 | |
7895 | end | |
7896 | end | |
7897 | end) | |
7898 | to.Anchored = false | |
7899 | ys = Instance.new("BodyVelocity",to) | |
7900 | ys.Name = "GO" | |
7901 | ||
7902 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
7903 | ||
7904 | ys.Velocity = v3(0,-90,0) | |
7905 | ||
7906 | wait(1) | |
7907 | ys:Destroy() | |
7908 | ||
7909 | ||
7910 | ||
7911 | ||
7912 | ||
7913 | hit3 = false | |
7914 | hit4 = false | |
7915 | ||
7916 | ||
7917 | hit1 = false | |
7918 | hit2 = false | |
7919 | hit3 = false | |
7920 | hit4 = false | |
7921 | idle = true | |
7922 | RootPart.Anchored = false | |
7923 | end | |
7924 | end) | |
7925 | end | |
7926 | ||
7927 | function KABOOMZ222() | |
7928 | local effspwn = Instance.new("Part") | |
7929 | coroutine.resume(coroutine.create(function() | |
7930 | local sound1 = Instance.new("Sound") | |
7931 | sound1.SoundId = "rbxassetid://440145223" | |
7932 | sound1.MaxDistance = 600 | |
7933 | sound1.EmitterSize = 60 | |
7934 | sound1.Volume = 5.5 | |
7935 | sound1.Pitch = 1.3 | |
7936 | sound1.Parent = effspwn | |
7937 | local sound2 = Instance.new("Sound") | |
7938 | sound2.SoundId = "rbxassetid://440145223" | |
7939 | sound2.MaxDistance = 300 | |
7940 | sound2.EmitterSize = 20 | |
7941 | sound2.Volume = 3 | |
7942 | sound2.Pitch = 0.7 | |
7943 | sound2.Parent = effspwn | |
7944 | local sound3 = Instance.new("Sound") | |
7945 | sound3.SoundId = "rbxassetid://440145223" | |
7946 | sound2.MaxDistance = 400 | |
7947 | sound2.EmitterSize = 30 | |
7948 | sound2.Volume = 0.5 | |
7949 | sound2.Pitch = 0.5 | |
7950 | sound2.Parent = effspwn | |
7951 | sound2:Play() | |
7952 | wait() | |
7953 | sound1:Play() | |
7954 | sound3:Play() | |
7955 | end)) | |
7956 | local model = Instance.new("Model") | |
7957 | game.Debris:AddItem(model, 20) | |
7958 | model.Name = "smasheffects" | |
7959 | model.Parent = workspace | |
7960 | effspwn.Name = "spwnr" | |
7961 | effspwn.Size = Vector3.new(1, 1, 1) | |
7962 | effspwn.Anchored = true | |
7963 | effspwn.CanCollide = false | |
7964 | effspwn.Transparency = 1 | |
7965 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
7966 | effspwn.Parent = model | |
7967 | ||
7968 | ||
7969 | ||
7970 | ||
7971 | coroutine.resume(coroutine.create(function() | |
7972 | local shok = Instance.new("Part") | |
7973 | shok.Name = "whoosh" | |
7974 | shok.BrickColor = BrickColor.new("Institutional white") | |
7975 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
7976 | shok.Size = Vector3.new(1, 1, 1) | |
7977 | shok.Anchored = true | |
7978 | shok.Material = "Neon" | |
7979 | shok.Transparency = 1 | |
7980 | shok.CanCollide = false | |
7981 | shok.Parent = model | |
7982 | game.Debris:AddItem(shok, 12) | |
7983 | local mesh = Instance.new("SpecialMesh") | |
7984 | mesh.MeshType = "FileMesh" | |
7985 | mesh.MeshId = "rbxassetid://437347603" | |
7986 | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) | |
7987 | mesh.Parent = shok | |
7988 | ||
7989 | ||
7990 | ||
7991 | ||
7992 | ||
7993 | for e = 1, 8 do | |
7994 | wait() | |
7995 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
7996 | shok.Transparency = shok.Transparency + 0.035 | |
7997 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4) | |
7998 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
7999 | ||
8000 | ||
8001 | end | |
8002 | for e = 1, 16 do | |
8003 | wait() | |
8004 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
8005 | shok.Transparency = shok.Transparency + 0.11 | |
8006 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4) | |
8007 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
8008 | ||
8009 | end | |
8010 | end)) | |
8011 | coroutine.resume(coroutine.create(function() | |
8012 | local shok = Instance.new("Part") | |
8013 | shok.Name = "wring1" | |
8014 | shok.BrickColor = BrickColor.new("Institutional white") | |
8015 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
8016 | shok.Size = Vector3.new(1, 1, 1) | |
8017 | shok.Anchored = true | |
8018 | shok.Material = "Neon" | |
8019 | shok.Transparency = 0.25 | |
8020 | shok.CanCollide = false | |
8021 | shok.Parent = model | |
8022 | game.Debris:AddItem(shok, 12) | |
8023 | local mesh = Instance.new("SpecialMesh") | |
8024 | mesh.MeshType = "FileMesh" | |
8025 | mesh.MeshId = "rbxassetid://3270017" | |
8026 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
8027 | mesh.Parent = shok | |
8028 | for e = 1, 30 do | |
8029 | wait() | |
8030 | mesh.Scale = mesh.Scale + Vector3.new(0.9, 0.9, 1) | |
8031 | shok.Transparency = shok.Transparency + 0.002 | |
8032 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.52), 0.4) | |
8033 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
8034 | end | |
8035 | for e = 1, 38 do | |
8036 | wait() | |
8037 | mesh.Scale = mesh.Scale + Vector3.new(0.9, 0.9, 0.1) | |
8038 | shok.Transparency = shok.Transparency + 0.002 | |
8039 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.52), 0.4) | |
8040 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
8041 | end | |
8042 | for e = 1, 24 do | |
8043 | wait() | |
8044 | mesh.Scale = mesh.Scale + Vector3.new(0.9, 0.9, 0.1) | |
8045 | shok.Transparency = shok.Transparency + 0.03 | |
8046 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.52), 0.4) | |
8047 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
8048 | end | |
8049 | end)) | |
8050 | coroutine.resume(coroutine.create(function() | |
8051 | local shok = Instance.new("Part") | |
8052 | shok.Name = "wring2" | |
8053 | shok.BrickColor = BrickColor.new("Institutional white") | |
8054 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
8055 | shok.Size = Vector3.new(1, 1, 1) | |
8056 | shok.Anchored = true | |
8057 | shok.Material = "Neon" | |
8058 | shok.Transparency = 0.25 | |
8059 | shok.CanCollide = false | |
8060 | shok.Parent = model | |
8061 | game.Debris:AddItem(shok, 12) | |
8062 | local mesh = Instance.new("SpecialMesh") | |
8063 | mesh.MeshType = "FileMesh" | |
8064 | mesh.MeshId = "rbxassetid://3270017" | |
8065 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
8066 | mesh.Parent = shok | |
8067 | for e = 1, 30 do | |
8068 | wait() | |
8069 | mesh.Scale = mesh.Scale + Vector3.new(0.6, 0.6, 1.2) | |
8070 | shok.Transparency = shok.Transparency + 0.002 | |
8071 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.76), 0.4) | |
8072 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
8073 | end | |
8074 | for e = 1, 38 do | |
8075 | wait() | |
8076 | mesh.Scale = mesh.Scale + Vector3.new(0.6, 0.6, 0.1) | |
8077 | shok.Transparency = shok.Transparency + 0.002 | |
8078 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.76), 0.4) | |
8079 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
8080 | end | |
8081 | for e = 1, 24 do | |
8082 | wait() | |
8083 | mesh.Scale = mesh.Scale + Vector3.new(0.6, 0.6, 0.1) | |
8084 | shok.Transparency = shok.Transparency + 0.03 | |
8085 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.76), 0.4) | |
8086 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
8087 | end | |
8088 | end)) | |
8089 | coroutine.resume(coroutine.create(function() | |
8090 | local shok = Instance.new("Part") | |
8091 | shok.Name = "coil1" | |
8092 | shok.BrickColor = BrickColor.new("Institutional white") | |
8093 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
8094 | shok.Size = Vector3.new(1, 1, 1) | |
8095 | shok.Anchored = true | |
8096 | shok.Material = "Neon" | |
8097 | shok.Transparency = 0.25 | |
8098 | shok.CanCollide = false | |
8099 | shok.Parent = model | |
8100 | game.Debris:AddItem(shok, 12) | |
8101 | local mesh = Instance.new("SpecialMesh") | |
8102 | mesh.MeshType = "FileMesh" | |
8103 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
8104 | mesh.Scale = Vector3.new(12, 12, 12) | |
8105 | mesh.Parent = shok | |
8106 | for e = 1, 15 do | |
8107 | wait() | |
8108 | mesh.Scale = mesh.Scale + Vector3.new(1.8, 1.8, 1.5) | |
8109 | shok.Transparency = shok.Transparency + 0.004 | |
8110 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
8111 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8112 | end | |
8113 | for e = 1, 16 do | |
8114 | wait() | |
8115 | mesh.Scale = mesh.Scale + Vector3.new(1.8, 1.8, 1.5) | |
8116 | shok.Transparency = shok.Transparency + 0.004 | |
8117 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
8118 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8119 | end | |
8120 | for e = 1, 12 do | |
8121 | wait() | |
8122 | mesh.Scale = mesh.Scale + Vector3.new(1.8, 1.8, 1.5) | |
8123 | shok.Transparency = shok.Transparency + 0.06 | |
8124 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
8125 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8126 | end | |
8127 | end)) | |
8128 | coroutine.resume(coroutine.create(function() | |
8129 | local shok = Instance.new("Part") | |
8130 | shok.Name = "coil2" | |
8131 | shok.BrickColor = BrickColor.new("Institutional white") | |
8132 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
8133 | shok.Size = Vector3.new(1, 1, 1) | |
8134 | shok.Anchored = true | |
8135 | shok.Material = "Neon" | |
8136 | shok.Transparency = 1 | |
8137 | shok.CanCollide = false | |
8138 | shok.Parent = model | |
8139 | game.Debris:AddItem(shok, 12) | |
8140 | local mesh = Instance.new("SpecialMesh") | |
8141 | mesh.MeshType = "FileMesh" | |
8142 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
8143 | mesh.Scale = Vector3.new(6, 12, 6) | |
8144 | mesh.Parent = shok | |
8145 | for e = 1, 15 do | |
8146 | wait() | |
8147 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 1.2, 1.1) | |
8148 | shok.Transparency = shok.Transparency + 0.005 | |
8149 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
8150 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
8151 | end | |
8152 | for e = 1, 16 do | |
8153 | wait() | |
8154 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 1.2, 1.1) | |
8155 | shok.Transparency = shok.Transparency + 0.005 | |
8156 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
8157 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
8158 | end | |
8159 | for e = 1, 12 do | |
8160 | wait() | |
8161 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 1.2, 1.1) | |
8162 | shok.Transparency = shok.Transparency + 0.09 | |
8163 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
8164 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
8165 | end | |
8166 | end)) | |
8167 | coroutine.resume(coroutine.create(function() | |
8168 | local shok = Instance.new("Part") | |
8169 | shok.Name = "shokwve" | |
8170 | shok.BrickColor = BrickColor.new("Institutional white") | |
8171 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
8172 | shok.Size = Vector3.new(1, 1, 1) | |
8173 | shok.Anchored = true | |
8174 | shok.Material = "Neon" | |
8175 | shok.Transparency = 0.6 | |
8176 | shok.CanCollide = false | |
8177 | shok.Parent = model | |
8178 | game.Debris:AddItem(shok, 12) | |
8179 | local mesh = Instance.new("SpecialMesh") | |
8180 | mesh.MeshType = "FileMesh" | |
8181 | mesh.MeshId = "rbxassetid://489415447" | |
8182 | mesh.Scale = Vector3.new(1, 1, 1) | |
8183 | mesh.Parent = shok | |
8184 | for e = 1, 12 do | |
8185 | wait() | |
8186 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
8187 | shok.Transparency = shok.Transparency + 0.002 | |
8188 | end | |
8189 | for e = 1, 32 do | |
8190 | wait() | |
8191 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
8192 | shok.Transparency = shok.Transparency + 0.002 | |
8193 | end | |
8194 | for e = 1, 24 do | |
8195 | wait() | |
8196 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
8197 | shok.Transparency = shok.Transparency + 0.03 | |
8198 | end | |
8199 | end)) | |
8200 | coroutine.resume(coroutine.create(function() | |
8201 | local shok = Instance.new("Part") | |
8202 | shok.Name = "shock2" | |
8203 | shok.BrickColor = BrickColor.new("Institutional white") | |
8204 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
8205 | shok.Size = Vector3.new(1, 1, 1) | |
8206 | shok.Anchored = true | |
8207 | shok.Material = "Neon" | |
8208 | shok.Transparency = 0.35 | |
8209 | shok.CanCollide = false | |
8210 | shok.Parent = model | |
8211 | game.Debris:AddItem(shok, 12) | |
8212 | local mesh = Instance.new("SpecialMesh") | |
8213 | mesh.MeshType = "FileMesh" | |
8214 | mesh.MeshId = "rbxassetid://1095709" | |
8215 | mesh.Scale = Vector3.new(12, 12, 12) | |
8216 | mesh.Parent = shok | |
8217 | for e = 1, 15 do | |
8218 | wait() | |
8219 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
8220 | shok.Transparency = shok.Transparency + 0.004 | |
8221 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8222 | end | |
8223 | for e = 1, 16 do | |
8224 | wait() | |
8225 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
8226 | shok.Transparency = shok.Transparency + 0.004 | |
8227 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8228 | end | |
8229 | for e = 1, 12 do | |
8230 | wait() | |
8231 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
8232 | shok.Transparency = shok.Transparency + 0.06 | |
8233 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8234 | end | |
8235 | end)) | |
8236 | coroutine.resume(coroutine.create(function() | |
8237 | local shok = Instance.new("Part") | |
8238 | shok.Name = "shock3" | |
8239 | shok.BrickColor = BrickColor.new("Institutional white") | |
8240 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
8241 | shok.Size = Vector3.new(1, 1, 1) | |
8242 | shok.Anchored = true | |
8243 | shok.Material = "Neon" | |
8244 | shok.Transparency = 0.35 | |
8245 | shok.CanCollide = false | |
8246 | shok.Parent = model | |
8247 | game.Debris:AddItem(shok, 12) | |
8248 | local mesh = Instance.new("SpecialMesh") | |
8249 | mesh.MeshType = "FileMesh" | |
8250 | mesh.MeshId = "rbxassetid://1095709" | |
8251 | mesh.Scale = Vector3.new(12, 12, 12) | |
8252 | mesh.Parent = shok | |
8253 | for e = 1, 15 do | |
8254 | wait() | |
8255 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
8256 | shok.Transparency = shok.Transparency + 0.004 | |
8257 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
8258 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
8259 | end | |
8260 | for e = 1, 16 do | |
8261 | wait() | |
8262 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
8263 | shok.Transparency = shok.Transparency + 0.004 | |
8264 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
8265 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
8266 | end | |
8267 | for e = 1, 12 do | |
8268 | wait() | |
8269 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
8270 | shok.Transparency = shok.Transparency + 0.06 | |
8271 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
8272 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
8273 | end | |
8274 | end)) | |
8275 | end | |
8276 | ||
8277 | ||
8278 | ||
8279 | mouse.KeyDown:connect(function(k) | |
8280 | if attack == false and k == "=" and MV4 > 80 and firemode == true then | |
8281 | local exp = Instance.new("Explosion",Torso) | |
8282 | exp.BlastRadius = 45.5 | |
8283 | exp.BlastPressure = 100 | |
8284 | exp.Position = Torso | |
8285 | exp.Visible = true | |
8286 | end | |
8287 | end) | |
8288 | ||
8289 | MV4 = 300 | |
8290 | mouse.KeyDown:connect(function(k) | |
8291 | if attack == false and k == "8" then | |
8292 | for i, v in pairs(Torso:GetChildren()) do | |
8293 | if v:IsA('ParticleEmitter') then | |
8294 | v:Remove() | |
8295 | end | |
8296 | end | |
8297 | end | |
8298 | end) | |
8299 | ||
8300 | ||
8301 | MV4 = 300 | |
8302 | mouse.KeyDown:connect(function(k) | |
8303 | if attack == false and k == "]" and MV4 > 80 and firemode == true then | |
8304 | MV4 = 0 | |
8305 | Humanoid.WalkSpeed = 13 | |
8306 | attack = true | |
8307 | Firepart1 = Instance.new("Part", RightArm) | |
8308 | Firepart1.Size = Vector3.new(1, 1, 1) | |
8309 | GuW1 = Instance.new("Weld") | |
8310 | GuW1.Name = "GuW" | |
8311 | GuW1.Part0 = RightArm | |
8312 | GuW1.C0 = cn(0, -1, 0) | |
8313 | GuW1.C1 = cn(0, 0, 0) | |
8314 | GuW1.Part1 = Firepart1 | |
8315 | GuW1.Parent = RightArm | |
8316 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=257001355", Torso, 2, 0.7) | |
8317 | Firepart1.Transparency = 1 | |
8318 | Firepart2 = Instance.new("Part", LeftArm) | |
8319 | Firepart2.Size = Vector3.new(1, 1, 1) | |
8320 | GuW2 = Instance.new("Weld") | |
8321 | GuW2.Name = "GuW" | |
8322 | GuW2.Part0 = LeftArm | |
8323 | GuW2.C0 = cn(0, -1, 0) | |
8324 | GuW2.C1 = cn(0, 0, 0) | |
8325 | GuW2.Part1 = Firepart2 | |
8326 | GuW2.Parent = LeftArm | |
8327 | Firepart2.Transparency = 1 | |
8328 | for i = 0, 5, 0.1 do | |
8329 | swait() | |
8330 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
8331 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
8332 | BlockEffect(BrickColor.new("Plum"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
8333 | BlockEffect(BrickColor.new("Plum"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
8334 | if Torsovelocity.Y > 2 then | |
8335 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8336 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8337 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1) | |
8338 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1) | |
8339 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
8340 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
8341 | elseif Torsovelocity.Y < 1 then | |
8342 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
8343 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
8344 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
8345 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
8346 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8347 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8348 | end | |
8349 | end | |
8350 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=331888777", Firepart2, 8, 1) | |
8351 | for i = 0, 7, 0.1 do | |
8352 | swait() | |
8353 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
8354 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
8355 | BlockEffect(BrickColor.new("Plum"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
8356 | BlockEffect(BrickColor.new("Plum"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
8357 | if Torsovelocity.Y > 2 then | |
8358 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8359 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
8360 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1) | |
8361 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1) | |
8362 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8363 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8364 | elseif Torsovelocity.Y < 1 then | |
8365 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
8366 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
8367 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
8368 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
8369 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8370 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8371 | end | |
8372 | end | |
8373 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=743499393", Firepart2, 2, 0.8) | |
8374 | GuW1:Destroy() | |
8375 | GuW1 = Instance.new("Weld") | |
8376 | GuW1.Name = "GuW" | |
8377 | GuW1.Part0 = Torso | |
8378 | GuW1.C0 = cn(0, 0, -6) | |
8379 | GuW1.C1 = cn(0, 0, 0) | |
8380 | GuW1.Part1 = Firepart1 | |
8381 | GuW1.Parent = Torso | |
8382 | GuW2:Destroy() | |
8383 | GuW2 = Instance.new("Weld") | |
8384 | GuW2.Name = "GuW" | |
8385 | GuW2.Part0 = Torso | |
8386 | GuW2.C0 = cn(0, 0, -6) | |
8387 | GuW2.C1 = cn(0, 0, 0) | |
8388 | GuW2.Part1 = Firepart2 | |
8389 | GuW2.Parent = Torso | |
8390 | BlockEffect(BrickColor.new("White"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.06) | |
8391 | BlockEffect(BrickColor.new("White"), Firepart2.CFrame, 1, 1, 1, 20, 20, 20, 0.06) | |
8392 | GuW2:Destroy() | |
8393 | GuW2 = Instance.new("Weld") | |
8394 | GuW2.Name = "GuW" | |
8395 | GuW2.Part0 = Torso | |
8396 | GuW2.C0 = cn(0, 0, -4) | |
8397 | GuW2.C1 = cn(0, 0, 0) | |
8398 | GuW2.Part1 = Firepart2 | |
8399 | GuW2.Parent = Torso | |
8400 | ||
8401 | ||
8402 | for i = 0, 7, 0.1 do | |
8403 | swait() | |
8404 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
8405 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
8406 | if Torsovelocity.Y > 2 then | |
8407 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8408 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
8409 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
8410 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
8411 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8412 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8413 | elseif Torsovelocity.Y < 1 then | |
8414 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8415 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
8416 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
8417 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
8418 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8419 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8420 | end | |
8421 | end | |
8422 | local bp2 = Create("BodyPosition")({ | |
8423 | P = 900, | |
8424 | D = 1000, | |
8425 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
8426 | position = Torso.Position + Vector3.new(0, 60, 0), | |
8427 | Parent = Torso | |
8428 | }) | |
8429 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=244578827", Firepart2, 2, 1) | |
8430 | for i = 0, 8, 0.1 do | |
8431 | swait() | |
8432 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
8433 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
8434 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
8435 | if Torsovelocity.Y > 2 then | |
8436 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8437 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8438 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
8439 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
8440 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8441 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8442 | elseif Torsovelocity.Y < 1 then | |
8443 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8444 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
8445 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
8446 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
8447 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8448 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8449 | end | |
8450 | end | |
8451 | for i = 0, 18, 0.1 do | |
8452 | swait() | |
8453 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
8454 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
8455 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
8456 | if Torsovelocity.Y > 2 then | |
8457 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8458 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8459 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
8460 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
8461 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8462 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8463 | elseif Torsovelocity.Y < 1 then | |
8464 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8465 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
8466 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
8467 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
8468 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8469 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8470 | end | |
8471 | end | |
8472 | GuW1:Destroy() | |
8473 | GuW1 = Instance.new("Weld") | |
8474 | GuW1.Name = "GuW" | |
8475 | GuW1.Part0 = Torso | |
8476 | GuW1.C0 = cn(0, 0, -15) | |
8477 | GuW1.C1 = cn(0, 0, 0) | |
8478 | GuW1.Part1 = Firepart1 | |
8479 | GuW1.Parent = Torso | |
8480 | GuW2:Destroy() | |
8481 | GuW2 = Instance.new("Weld") | |
8482 | GuW2.Name = "GuW" | |
8483 | GuW2.Part0 = Torso | |
8484 | GuW2.C0 = cn(0, 0, -17.5) | |
8485 | GuW2.C1 = cn(0, 0, 0) | |
8486 | GuW2.Part1 = Firepart2 | |
8487 | GuW2.Parent = Torso | |
8488 | for i = 0, 1.25, 0.01 do | |
8489 | swait() | |
8490 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
8491 | shoottraildd2(mouse.Hit.p, Firepart2, 0) | |
8492 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=463177334", Firepart2, 5, 2) | |
8493 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 30, 30, 30, 0.06) | |
8494 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 29.5, 29.5, 29.5, 0.06) | |
8495 | if Torsovelocity.Y > 2 then | |
8496 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8497 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8498 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
8499 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
8500 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8501 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8502 | elseif Torsovelocity.Y < 1 then | |
8503 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8504 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
8505 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
8506 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
8507 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8508 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8509 | end | |
8510 | end | |
8511 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=170278900", Torso, 8, 1) | |
8512 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 50, 50, 50, 0.02) | |
8513 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.04) | |
8514 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 19.5, 19.5, 19.5, 0.04) | |
8515 | for i = 0, 3, 0.1 do | |
8516 | swait() | |
8517 | if Torsovelocity.Y > 2 then | |
8518 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8519 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
8520 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
8521 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
8522 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8523 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8524 | elseif Torsovelocity.Y < 1 then | |
8525 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8526 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
8527 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
8528 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
8529 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8530 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8531 | end | |
8532 | end | |
8533 | wait(1) | |
8534 | bp2:Destroy() | |
8535 | Humanoid.WalkSpeed = 16 | |
8536 | attack = false | |
8537 | MV4 = 0 | |
8538 | Firepart1:Destroy() | |
8539 | Firepart2:Destroy() | |
8540 | end | |
8541 | end) | |
8542 | spiritballenergy = true | |
8543 | local spirit1 = true | |
8544 | local spirit2 = true | |
8545 | local sizeup = 38 | |
8546 | local ringgo = 18 | |
8547 | local potara = false | |
8548 | local potara1 = false | |
8549 | local potara2 = false | |
8550 | local potara3 = false | |
8551 | local potara4 = false | |
8552 | local hipheight = false | |
8553 | local idle7 = true | |
8554 | local idle6 = true | |
8555 | local idle5 = false | |
8556 | local noidle = false | |
8557 | local noidle1 = false | |
8558 | local fuse = false | |
8559 | local bigkamehameha1 = false | |
8560 | local bigkamehameha2 = false | |
8561 | local idle2 = false | |
8562 | local idle3 = false | |
8563 | local com1 = 10 | |
8564 | local com2 = -5 | |
8565 | local fuse1 = false | |
8566 | local fuse2 = false | |
8567 | local fuse3 = false | |
8568 | local fuse4 = false | |
8569 | local fuse5 = false | |
8570 | local fuse6 = false | |
8571 | local fuse7 = false | |
8572 | local fuse8 = false | |
8573 | local ssj4 = false | |
8574 | local headcolor = 0 | |
8575 | local walk11 = true | |
8576 | local great = false | |
8577 | local size = 0 | |
8578 | local size2 = 0 | |
8579 | local kicharging = false | |
8580 | local ki = 100 | |
8581 | ||
8582 | ||
8583 | ||
8584 | --Sounds | |
8585 | --Folder | |
8586 | soundfolder = Instance.new("Model",char) | |
8587 | soundfolder.Name = "Sound Folder" | |
8588 | --Sounds | |
8589 | kamecharge = Instance.new("Sound",soundfolder) | |
8590 | kamecharge.Volume = 10 | |
8591 | kamecharge.Name = "kamecharge" | |
8592 | kamecharge.Looped = false | |
8593 | kamecharge.SoundId = "rbxassetid://908489666" | |
8594 | kamefire = Instance.new("Sound",soundfolder) | |
8595 | kamefire.Volume = 10 | |
8596 | kamefire.Name = "kamefire" | |
8597 | kamefire.Looped = false | |
8598 | kamefire.TimePosition = 0.5 | |
8599 | kamefire.SoundId = "rbxassetid://977360812" | |
8600 | kamehit = Instance.new("Sound",soundfolder) | |
8601 | kamehit.Volume = 30 | |
8602 | kamehit.Name = "kamehit" | |
8603 | kamehit.Looped = false | |
8604 | kamehit.SoundId = "rbxassetid://908484148" | |
8605 | ssjaura = Instance.new("Sound",soundfolder) | |
8606 | ssjaura.Volume = 5 | |
8607 | ssjaura.Name = "ssjaura" | |
8608 | ssjaura.Looped = true | |
8609 | ssjaura.SoundId = "rbxassetid://891397456" | |
8610 | ssjauraburst = Instance.new("Sound",soundfolder) | |
8611 | ssjauraburst.Volume = math.huge | |
8612 | ssjauraburst.Name = "ssjauraburst" | |
8613 | ssjauraburst.Looped =false | |
8614 | ssjauraburst.SoundId = "rbxassetid://437393965" | |
8615 | ssjmusic = Instance.new("Sound",soundfolder) | |
8616 | ssjmusic.Volume = 0 | |
8617 | ssjmusic.Name = "ssjmusic" | |
8618 | ssjmusic.Looped = true | |
8619 | ssjmusic.SoundId = "rbxassetid://390946253" | |
8620 | ssj2music = Instance.new("Sound",soundfolder) | |
8621 | ssj2music.Volume = 0 | |
8622 | ssj2music.Name = "ssj2music" | |
8623 | ssj2music.Looped = true | |
8624 | ssj2music.SoundId = "rbxassetid://144377132" | |
8625 | ssj2aura = Instance.new("Sound",soundfolder) | |
8626 | ssj2aura.Volume = 5 | |
8627 | ssj2aura.Name = "ssj2aura" | |
8628 | ssj2aura.Looped = true | |
8629 | ssj2aura.SoundId = "rbxassetid://850205092" | |
8630 | ssj3music = Instance.new("Sound",soundfolder) | |
8631 | ssj3music.Volume = 0 | |
8632 | ssj3music.Name = "ssj3music" | |
8633 | ssj3music.Looped = true | |
8634 | ssj3music.SoundId = "rbxassetid://156056027" | |
8635 | KiCharge = Instance.new("Sound",soundfolder) | |
8636 | KiCharge.Volume = 10000 | |
8637 | KiCharge.Name = "KiCharge" | |
8638 | KiCharge.Looped = true | |
8639 | KiCharge.TimePosition = 0.7 | |
8640 | KiCharge.SoundId = "rbxassetid://700499952" | |
8641 | ||
8642 | KiCharge2 = Instance.new("Sound",soundfolder) | |
8643 | KiCharge2.Volume = 10000 | |
8644 | KiCharge2.Name = "KiCharge2" | |
8645 | KiCharge2.Looped = false | |
8646 | KiCharge2.TimePosition = 7.3 | |
8647 | ||
8648 | KiCharge2.SoundId = "rbxassetid://700499952" | |
8649 | Lightning = Instance.new("Sound",soundfolder) | |
8650 | Lightning.Volume = 10000 | |
8651 | Lightning.TimePosition = 1 | |
8652 | Lightning.Name = "Lightning" | |
8653 | Lightning.Looped = false | |
8654 | Lightning.SoundId = "http://www.roblox.com/asset/?id=12222030" | |
8655 | AuraOff = Instance.new("Sound",soundfolder) | |
8656 | AuraOff.Volume = 10000 | |
8657 | AuraOff.Name = "AuraOff" | |
8658 | AuraOff.Looped = false | |
8659 | AuraOff.SoundId = "http://www.roblox.com/asset/?id=922710675" | |
8660 | PowerDown = Instance.new("Sound",soundfolder) | |
8661 | PowerDown.Volume = 10000 | |
8662 | PowerDown.Name = "PowerDown" | |
8663 | PowerDown.Looped = false | |
8664 | PowerDown.SoundId = "http://www.roblox.com/asset/?id=598621913" | |
8665 | punchsound1 = Instance.new("Sound",soundfolder) | |
8666 | punchsound1.Volume = 10 | |
8667 | punchsound1.Name = "punchsound1" | |
8668 | punchsound1.Looped = false | |
8669 | punchsound1.SoundId = "rbxassetid://137579113" | |
8670 | punchsound2 = Instance.new("Sound",soundfolder) | |
8671 | punchsound2.Volume = 10 | |
8672 | punchsound2.Name = "punchsound2" | |
8673 | punchsound2.Looped = false | |
8674 | punchsound2.SoundId = "rbxassetid://441202925" | |
8675 | kiblastsound = Instance.new("Sound",soundfolder) | |
8676 | kiblastsound.Volume = 10000 | |
8677 | kiblastsound.Name = "kiblastsound" | |
8678 | kiblastsound.Looped = false | |
8679 | kiblastsound.SoundId = "http://www.roblox.com/asset/?id=586187912" | |
8680 | screaming = Instance.new("Sound",soundfolder) | |
8681 | screaming.Volume = 1 | |
8682 | screaming.Name = "screaming" | |
8683 | screaming.Looped = true | |
8684 | screaming.SoundId = "rbxassetid://1096434714" | |
8685 | screaming1 = Instance.new("Sound",soundfolder) | |
8686 | screaming1.Volume = 10 | |
8687 | screaming1.Name = "screaming1" | |
8688 | screaming1.Looped = false | |
8689 | screaming1.SoundId = "rbxassetid://975468335" | |
8690 | FastPunch = Instance.new("Sound",soundfolder) | |
8691 | FastPunch.Volume = 10000 | |
8692 | FastPunch.Name = "FastPunch" | |
8693 | FastPunch.Looped = false | |
8694 | FastPunch.SoundId = "http://www.roblox.com/asset/?id=253255373" | |
8695 | GiantStep = Instance.new("Sound",soundfolder) | |
8696 | GiantStep.Volume = 10000 | |
8697 | GiantStep.Name = "GiantStep" | |
8698 | GiantStep.Looped = false | |
8699 | GiantStep.SoundId = "http://www.roblox.com/asset/?id=863810402" | |
8700 | StrongPunch = Instance.new("Sound",soundfolder) | |
8701 | StrongPunch.Volume = 10000 | |
8702 | StrongPunch.Name = "StrongPunch" | |
8703 | StrongPunch.Looped = false | |
8704 | StrongPunch.SoundId = "http://www.roblox.com/asset/?id=735524546" | |
8705 | KamehamehaVoice = Instance.new("Sound",soundfolder) | |
8706 | KamehamehaVoice.Volume = 10000 | |
8707 | KamehamehaVoice.Name = "KamehamehaVoice" | |
8708 | KamehamehaVoice.Looped = false | |
8709 | KamehamehaVoice.SoundId = "http://www.roblox.com/asset/?id=130777838" | |
8710 | KamehamehaVoice6 = Instance.new("Sound",soundfolder) | |
8711 | KamehamehaVoice6.Volume = 10000 | |
8712 | KamehamehaVoice6.Name = "KamehamehaVoice6" | |
8713 | KamehamehaVoice6.Looped = false | |
8714 | KamehamehaVoice6.SoundId = "http://www.roblox.com/asset/?id=670166779" | |
8715 | KamehamehaVoice3 = Instance.new("Sound",soundfolder) | |
8716 | KamehamehaVoice3.Volume = 10000 | |
8717 | KamehamehaVoice3.Name = "KamehamehaVoice3" | |
8718 | KamehamehaVoice3.Looped = false | |
8719 | KamehamehaVoice3.SoundId = "http://www.roblox.com/asset/?id=1001695447" | |
8720 | KamehamehaVoice2 = Instance.new("Sound",soundfolder) | |
8721 | KamehamehaVoice2.Volume = 10000 | |
8722 | KamehamehaVoice2.Name = "KamehamehaVoice2" | |
8723 | KamehamehaVoice2.Looped = false | |
8724 | KamehamehaVoice2.SoundId = "http://www.roblox.com/asset/?id=1000078112" | |
8725 | KamehamehaVoice1 = Instance.new("Sound",soundfolder) | |
8726 | KamehamehaVoice1.Volume = 10000 | |
8727 | KamehamehaVoice1.Name = "KamehamehaVoice1" | |
8728 | KamehamehaVoice1.Looped = false | |
8729 | KamehamehaVoice1.SoundId = "http://www.roblox.com/asset/?id=1000028467" | |
8730 | KamehamehaVoice4 = Instance.new("Sound",soundfolder) | |
8731 | KamehamehaVoice4.Volume = 10000 | |
8732 | KamehamehaVoice4.Name = "KamehamehaVoice4" | |
8733 | KamehamehaVoice4.Looped = false | |
8734 | KamehamehaVoice4.SoundId = "http://www.roblox.com/asset/?id=1006793453" | |
8735 | ssjbaura = Instance.new("Sound",soundfolder) | |
8736 | ssjbaura.Volume = 1 | |
8737 | ssjbaura.Name = "ssjbaura" | |
8738 | ssjbaura.Looped = true | |
8739 | ssjbaura.SoundId = "rbxassetid://443386048" | |
8740 | ssjbauraburst = Instance.new("Sound",soundfolder) | |
8741 | ssjbauraburst.Volume = 1 | |
8742 | ssjbauraburst.Name = "ssjbauraburst" | |
8743 | ssjbauraburst.Looped = false | |
8744 | ssjbauraburst.SoundId = "rbxassetid://874183151" | |
8745 | ssjbmusic = Instance.new("Sound",soundfolder) | |
8746 | ssjbmusic.Volume = 0 | |
8747 | ssjbmusic.Name = "ssjbmusic" | |
8748 | ssjbmusic.Looped = true | |
8749 | ssjbmusic.SoundId = "rbxassetid://180572775" | |
8750 | ssjbkaioken = Instance.new("Sound",soundfolder) | |
8751 | ssjbkaioken.Volume = 10000 | |
8752 | ssjbkaioken.Name = "ssjbkaioken" | |
8753 | ssjbkaioken.Looped = false | |
8754 | ssjbkaioken.SoundId = "http://www.roblox.com/asset/?id=975627244" | |
8755 | ssjbkaioken1 = Instance.new("Sound",soundfolder) | |
8756 | ssjbkaioken1.Volume = 10000 | |
8757 | ssjbkaioken1.Name = "ssjbkaioken1" | |
8758 | ssjbkaioken1.Looped = false | |
8759 | ssjbkaioken1.SoundId = "http://www.roblox.com/asset/?id=975627532" | |
8760 | ssjbkaura = Instance.new("Sound",soundfolder) | |
8761 | ssjbkaura.Volume = 3 | |
8762 | ssjbkaura.Name = "ssjbkaura" | |
8763 | ssjbkaura.Looped = true | |
8764 | ssjbkaura.SoundId = "rbxassetid://972925821" | |
8765 | ssjgaura = Instance.new("Sound",soundfolder) | |
8766 | ssjgaura.Volume = 5 | |
8767 | ssjgaura.Name = "ssjgaura" | |
8768 | ssjgaura.Looped = true | |
8769 | ssjgaura.SoundId = "rbxassetid://590580266" | |
8770 | ApeGrowl = Instance.new("Sound",soundfolder) | |
8771 | ApeGrowl.Volume = 10 | |
8772 | ApeGrowl.Name = "ApeGrowl" | |
8773 | ApeGrowl.Looped = false | |
8774 | ApeGrowl.SoundId = "rbxassetid://849892755" | |
8775 | ssjgmusic = Instance.new("Sound",soundfolder) | |
8776 | ssjgmusic.Volume = 0 | |
8777 | ssjgmusic.Name = "ssjgmusic" | |
8778 | ssjgmusic.Looped = true | |
8779 | ssjgmusic.SoundId = "rbxassetid://785398417" | |
8780 | Ape1 = Instance.new("Sound",soundfolder) | |
8781 | Ape1.Volume = 10 | |
8782 | Ape1.Name = "Ape1" | |
8783 | Ape1.Looped = false | |
8784 | Ape1.SoundId = "rbxassetid://851581494" | |
8785 | ||
8786 | Ape2 = Instance.new("Sound",soundfolder) | |
8787 | Ape2.Volume = 10 | |
8788 | Ape2.Name = "Ape2" | |
8789 | Ape2.Looped = false | |
8790 | Ape2.SoundId = "rbxassetid://851581851" | |
8791 | Ape3 = Instance.new("Sound",soundfolder) | |
8792 | Ape3.Volume = 10 | |
8793 | Ape3.Name = "Ape3" | |
8794 | Ape3.Looped = false | |
8795 | Ape3.SoundId = "rbxassetid://851582274" | |
8796 | ||
8797 | local beamgo = 6 | |
8798 | local beamgo1 = 1 | |
8799 | local startk = false | |
8800 | local beam1 = false | |
8801 | local beam2 = false | |
8802 | ||
8803 | local kamehameha5 = false | |
8804 | enabled = false | |
8805 | local number = 1 | |
8806 | --GoundWaves | |
8807 | ||
8808 | ||
8809 | ||
8810 | function RenderStepped3() | |
8811 | if spiritballenergy == true then | |
8812 | wait(math.random(0.1,0.5)) | |
8813 | ay = new("Part",char) | |
8814 | ay.Name = "NewPart2" | |
8815 | ay.Size = v3(0.3,0.3,0.3) | |
8816 | ay.CanCollide = false | |
8817 | ay.Material = "Neon" | |
8818 | ||
8819 | ay.BrickColor = bc("Cyan") | |
8820 | ||
8821 | imcool = new("Part",char) | |
8822 | imcool = Instance.new("SpecialMesh",ay) | |
8823 | imcool.MeshType = "Sphere" | |
8824 | ||
8825 | ay.Position = v3(999,999,999) | |
8826 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-12,RootPart.Position.z+math.random(-15,15)) | |
8827 | ys = Instance.new("BodyVelocity",ay) | |
8828 | ys.Name = "GO1" | |
8829 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
8830 | ||
8831 | ys.Velocity = v3(0,6,0) | |
8832 | game.Debris:AddItem(ay,4) | |
8833 | end | |
8834 | end | |
8835 | ||
8836 | --[[a1 = new("Part",char) | |
8837 | a1.Name = "Beam" | |
8838 | a1.Anchored = true | |
8839 | a1.Size = v3(6,6,6) | |
8840 | a1.CanCollide = false | |
8841 | a1.Locked = true | |
8842 | a1.Position = v3(999,999,999) | |
8843 | a1.BrickColor = bc("Cyan") | |
8844 | a1.Material = "Neon" | |
8845 | a1.Transparency = 0 | |
8846 | aa1 = new("SpecialMesh",a1) | |
8847 | if fuse == false then | |
8848 | aa1.MeshType = "Cylinder" | |
8849 | if potara == false then | |
8850 | aa1.MeshType = "Cylinder" | |
8851 | else | |
8852 | aa1.MeshType = "Sphere" | |
8853 | end | |
8854 | else | |
8855 | aa1.MeshType = "Sphere" | |
8856 | end | |
8857 | ||
8858 | aa1.Scale = v3(1,1,1) | |
8859 | ||
8860 | a2 = new("Part",char) | |
8861 | a2.Name = "Beam" | |
8862 | a2.Anchored = true | |
8863 | a2.Locked = true | |
8864 | ||
8865 | a2.Size = v3(0.1,0.1,0.1) | |
8866 | a2.CanCollide = false | |
8867 | a2.Position = v3(999,999,999) | |
8868 | a2.BrickColor = bc("Cyan") | |
8869 | a2.Material = "Neon" | |
8870 | if fuse == false then | |
8871 | if potara == false then | |
8872 | a2.Transparency = 0 | |
8873 | else | |
8874 | a2.Transparency = 1 | |
8875 | end | |
8876 | else | |
8877 | ||
8878 | a2.Transparency = 1 | |
8879 | end | |
8880 | aa2 = new("SpecialMesh",a2) | |
8881 | aa2.MeshType = "Sphere" | |
8882 | aa2.Scale = v3(150,100,100) | |
8883 | a3 = new("Part",char) | |
8884 | a3.Name = "Beam" | |
8885 | a3.Locked = true | |
8886 | a3.Anchored = true | |
8887 | a3.Size = v3(0.1,0.1,0.1) | |
8888 | a3.CanCollide = false | |
8889 | a3.Position = v3(999,999,999) | |
8890 | a3.BrickColor = bc("Cyan") | |
8891 | a3.Material = "Neon" | |
8892 | if fuse == false then | |
8893 | if potara == false then | |
8894 | a3.Transparency = 0 | |
8895 | else | |
8896 | a3.Transparency = 1 | |
8897 | end | |
8898 | else | |
8899 | ||
8900 | a3.Transparency = 1 | |
8901 | end | |
8902 | aa3 = new("SpecialMesh",a3) | |
8903 | aa3.MeshType = "Sphere" | |
8904 | aa3.Scale = v3(200,100,100) | |
8905 | if ssj4 == true and fuse == false then | |
8906 | a1.BrickColor = bc("Really red") | |
8907 | a2.BrickColor = bc("Really red") | |
8908 | a3.BrickColor = bc("Really red") | |
8909 | --]] | |
8910 | ||
8911 | ||
8912 | mouse.KeyDown:connect(function(key) | |
8913 | if key == "=" then | |
8914 | ||
8915 | Humanoid.WalkSpeed = 0 | |
8916 | RootPart.Anchored = true | |
8917 | bigkamehameha1 = true | |
8918 | ||
8919 | wait(0) | |
8920 | bigkamehameha1 = false | |
8921 | bigkamehameha2 = true | |
8922 | ar = new("Part",char) | |
8923 | ar.Name = "NewPart" | |
8924 | ar.Position = v3(999,999,999) | |
8925 | ar.Size = v3(1,1,1) | |
8926 | ar.BrickColor = bc("Cyan") | |
8927 | ar.Material = "Neon" | |
8928 | ar.Transparency = 1 | |
8929 | aar = new("SpecialMesh",ar) | |
8930 | aar.MeshType = "Sphere" | |
8931 | aar.Scale = v3(3,3,4) | |
8932 | ||
8933 | aaar =new("Weld",ar) | |
8934 | aaar.Part0 = Torso | |
8935 | aaar.Part1 = ar | |
8936 | aaar.C0 = cf(0,1,-6) * cfa(rad(0),rad(0),rad(0)) | |
8937 | for i = 1,9 do | |
8938 | wait(0.5) | |
8939 | GroundWave1d() | |
8940 | ar.Transparency = ar.Transparency - 0.1 | |
8941 | end | |
8942 | kamehameha() | |
8943 | ||
8944 | idle7 = true | |
8945 | ar:Destroy() | |
8946 | bigkamehameha2 = false | |
8947 | RootPart.Anchored = false | |
8948 | end | |
8949 | end) | |
8950 | ||
8951 | function splash() | |
8952 | beamgo = 6 | |
8953 | beamgo1 = 1 | |
8954 | enabled = true | |
8955 | sizeup = -25 | |
8956 | ||
8957 | kamefire.Volume = 5 | |
8958 | ||
8959 | wait(0.2) | |
8960 | RootPart.Anchored = true | |
8961 | kamecharge:Stop() | |
8962 | ||
8963 | ||
8964 | a1 = new("Part",char) | |
8965 | a1.Name = "Beam" | |
8966 | a1.Anchored = true | |
8967 | a1.Size = v3(6,6,6) | |
8968 | a1.CanCollide = false | |
8969 | a1.Locked = true | |
8970 | a1.Position = v3(999,999,999) | |
8971 | a1.BrickColor = bc("Cyan") | |
8972 | a1.Material = "Neon" | |
8973 | a1.Transparency = 0 | |
8974 | aa1 = new("SpecialMesh",a1) | |
8975 | if fuse == false then | |
8976 | aa1.MeshType = "Cylinder" | |
8977 | if potara == false then | |
8978 | aa1.MeshType = "Cylinder" | |
8979 | else | |
8980 | aa1.MeshType = "Sphere" | |
8981 | end | |
8982 | else | |
8983 | aa1.MeshType = "Sphere" | |
8984 | end | |
8985 | ||
8986 | aa1.Scale = v3(1,1,1) | |
8987 | ||
8988 | a2 = new("Part",char) | |
8989 | a2.Name = "Beam" | |
8990 | a2.Anchored = true | |
8991 | a2.Locked = true | |
8992 | ||
8993 | a2.Size = v3(0.1,0.1,0.1) | |
8994 | a2.CanCollide = false | |
8995 | a2.Position = v3(999,999,999) | |
8996 | a2.BrickColor = bc("Cyan") | |
8997 | a2.Material = "Neon" | |
8998 | if fuse == false then | |
8999 | if potara == false then | |
9000 | a2.Transparency = 0 | |
9001 | else | |
9002 | a2.Transparency = 1 | |
9003 | end | |
9004 | else | |
9005 | ||
9006 | a2.Transparency = 1 | |
9007 | end | |
9008 | aa2 = new("SpecialMesh",a2) | |
9009 | aa2.MeshType = "Sphere" | |
9010 | aa2.Scale = v3(150,100,100) | |
9011 | a3 = new("Part",char) | |
9012 | a3.Name = "Beam" | |
9013 | a3.Locked = true | |
9014 | a3.Anchored = true | |
9015 | a3.Size = v3(0.1,0.1,0.1) | |
9016 | a3.CanCollide = false | |
9017 | a3.Position = v3(999,999,999) | |
9018 | a3.BrickColor = bc("Cyan") | |
9019 | a3.Material = "Neon" | |
9020 | if fuse == false then | |
9021 | if potara == false then | |
9022 | a3.Transparency = 0 | |
9023 | else | |
9024 | a3.Transparency = 1 | |
9025 | end | |
9026 | else | |
9027 | ||
9028 | a3.Transparency = 1 | |
9029 | end | |
9030 | aa3 = new("SpecialMesh",a3) | |
9031 | aa3.MeshType = "Sphere" | |
9032 | aa3.Scale = v3(200,100,100) | |
9033 | if ssj4 == true and fuse == false then | |
9034 | a1.BrickColor = bc("Really red") | |
9035 | a2.BrickColor = bc("Really red") | |
9036 | a3.BrickColor = bc("Really red") | |
9037 | end | |
9038 | kamecharge:Stop() | |
9039 | kamefire:Play() | |
9040 | ||
9041 | GroundWave1() | |
9042 | startk = false | |
9043 | ringfolder = Instance.new("Model",char) | |
9044 | end | |
9045 | ||
9046 | ||
9047 | GroundWave2 = function() | |
9048 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
9049 | Colors = {"White", "White"} | |
9050 | local wave3 = Instance.new("Part", char) | |
9051 | wave3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
9052 | wave3.Anchored = true | |
9053 | wave3.Name = "Wave" | |
9054 | wave3.CanCollide = false | |
9055 | wave3.Locked = true | |
9056 | wave3.Size = Vector3.new(1, 1, 1) | |
9057 | wave3.TopSurface = "Smooth" | |
9058 | wave3.BottomSurface = "Smooth" | |
9059 | wave3.Transparency = 0.35 | |
9060 | wave3.CFrame = HandCF | |
9061 | wm1 = Instance.new("SpecialMesh", wave3) | |
9062 | wm1.MeshId = "rbxassetid://3270017" | |
9063 | coroutine.wrap(function() | |
9064 | for i = 1, 30, 1 do | |
9065 | wm1.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
9066 | wave3.Size = wm1.Scale | |
9067 | wave3.CFrame = HandCF | |
9068 | wave3.Transparency = i/30 | |
9069 | wait() | |
9070 | end | |
9071 | wait() | |
9072 | wave3:Destroy() | |
9073 | end)() | |
9074 | end | |
9075 | GroundWave3 = function() | |
9076 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
9077 | Colors = {"White", "White"} | |
9078 | local wave2 = Instance.new("Part", char) | |
9079 | wave2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
9080 | wave2.Anchored = true | |
9081 | wave2.Name = "Wave" | |
9082 | wave2.CanCollide = false | |
9083 | wave2.Locked = true | |
9084 | wave2.Size = Vector3.new(1, 1, 1) | |
9085 | wave2.TopSurface = "Smooth" | |
9086 | wave2.BottomSurface = "Smooth" | |
9087 | wave2.Transparency = 0.35 | |
9088 | wave2.CFrame = HandCF | |
9089 | wm2 = Instance.new("SpecialMesh", wave2) | |
9090 | wm2.MeshId = "rbxassetid://3270017" | |
9091 | coroutine.wrap(function() | |
9092 | for i = 1, 30, 1 do | |
9093 | wm2.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
9094 | wave2.Size = wm2.Scale | |
9095 | wave2.CFrame = HandCF | |
9096 | wave2.Transparency = i/30 | |
9097 | wait() | |
9098 | end | |
9099 | wait() | |
9100 | wave2:Destroy() | |
9101 | end)() | |
9102 | end | |
9103 | GroundWave4 = function() | |
9104 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
9105 | Colors = {"White", "White"} | |
9106 | local wave1 = Instance.new("Part", char) | |
9107 | wave1.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
9108 | wave1.Anchored = true | |
9109 | wave1.Name = "Wave" | |
9110 | wave1.CanCollide = false | |
9111 | wave1.Locked = true | |
9112 | wave1.Size = Vector3.new(1, 1, 1) | |
9113 | wave1.TopSurface = "Smooth" | |
9114 | wave1.BottomSurface = "Smooth" | |
9115 | wave1.Transparency = 0.35 | |
9116 | wave1.CFrame = HandCF | |
9117 | wm3 = Instance.new("SpecialMesh", wave1) | |
9118 | wm3.MeshId = "rbxassetid://3270017" | |
9119 | coroutine.wrap(function() | |
9120 | for i = 1, 30, 1 do | |
9121 | wm3.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
9122 | wave1.Size = wm3.Scale | |
9123 | wave1.CFrame = HandCF | |
9124 | wave1.Transparency = i/30 | |
9125 | wait() | |
9126 | end | |
9127 | wait() | |
9128 | wave1:Destroy() | |
9129 | end)() | |
9130 | end | |
9131 | ||
9132 | ||
9133 | function kamehameha() | |
9134 | beamgo = 6 | |
9135 | beamgo1 = 1 | |
9136 | enabled = true | |
9137 | sizeup = -25 | |
9138 | ||
9139 | kamefire.Volume = 5 | |
9140 | ||
9141 | wait(0.2) | |
9142 | RootPart.Anchored = true | |
9143 | kamecharge:Stop() | |
9144 | ||
9145 | ||
9146 | a1 = new("Part",char) | |
9147 | a1.Name = "Beam" | |
9148 | a1.Anchored = true | |
9149 | a1.Size = v3(6,6,6) | |
9150 | a1.CanCollide = false | |
9151 | a1.Locked = true | |
9152 | a1.Position = v3(999,999,999) | |
9153 | a1.BrickColor = bc("Cyan") | |
9154 | a1.Material = "Neon" | |
9155 | a1.Transparency = 0 | |
9156 | aa1 = new("SpecialMesh",a1) | |
9157 | if fuse == false then | |
9158 | aa1.MeshType = "Cylinder" | |
9159 | if potara == false then | |
9160 | aa1.MeshType = "Cylinder" | |
9161 | else | |
9162 | aa1.MeshType = "Sphere" | |
9163 | end | |
9164 | else | |
9165 | aa1.MeshType = "Sphere" | |
9166 | end | |
9167 | ||
9168 | aa1.Scale = v3(1,1,1) | |
9169 | ||
9170 | a2 = new("Part",char) | |
9171 | a2.Name = "Beam" | |
9172 | a2.Anchored = true | |
9173 | a2.Locked = true | |
9174 | ||
9175 | a2.Size = v3(0.1,0.1,0.1) | |
9176 | a2.CanCollide = false | |
9177 | a2.Position = v3(999,999,999) | |
9178 | a2.BrickColor = bc("Cyan") | |
9179 | a2.Material = "Neon" | |
9180 | if fuse == false then | |
9181 | if potara == false then | |
9182 | a2.Transparency = 0 | |
9183 | else | |
9184 | a2.Transparency = 1 | |
9185 | end | |
9186 | else | |
9187 | ||
9188 | a2.Transparency = 1 | |
9189 | end | |
9190 | aa2 = new("SpecialMesh",a2) | |
9191 | aa2.MeshType = "Sphere" | |
9192 | aa2.Scale = v3(150,100,100) | |
9193 | a3 = new("Part",char) | |
9194 | a3.Name = "Beam" | |
9195 | a3.Locked = true | |
9196 | a3.Anchored = true | |
9197 | a3.Size = v3(0.1,0.1,0.1) | |
9198 | a3.CanCollide = false | |
9199 | a3.Position = v3(999,999,999) | |
9200 | a3.BrickColor = bc("Cyan") | |
9201 | a3.Material = "Neon" | |
9202 | if fuse == false then | |
9203 | if potara == false then | |
9204 | a3.Transparency = 0 | |
9205 | else | |
9206 | a3.Transparency = 1 | |
9207 | end | |
9208 | else | |
9209 | ||
9210 | a3.Transparency = 1 | |
9211 | end | |
9212 | aa3 = new("SpecialMesh",a3) | |
9213 | aa3.MeshType = "Sphere" | |
9214 | aa3.Scale = v3(200,100,100) | |
9215 | if ssj4 == true and fuse == false then | |
9216 | a1.BrickColor = bc("Really red") | |
9217 | a2.BrickColor = bc("Really red") | |
9218 | a3.BrickColor = bc("Really red") | |
9219 | end | |
9220 | kamecharge:Stop() | |
9221 | kamefire:Play() | |
9222 | ||
9223 | GroundWave1() | |
9224 | startk = false | |
9225 | ringfolder = Instance.new("Model",char) | |
9226 | --Damages | |
9227 | ----------------------------------------------------------------------------------------- | |
9228 | a1.Touched:connect(function(hit) | |
9229 | ||
9230 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil then | |
9231 | ||
9232 | ||
9233 | ||
9234 | if hit.Parent:IsA("Model") then | |
9235 | hit.Parent:BreakJoints() | |
9236 | end | |
9237 | hit:Destroy() | |
9238 | if enabled == true then | |
9239 | enabled = false | |
9240 | num = num + 1 | |
9241 | kamehit:Play() | |
9242 | a21 = new("Part",char) | |
9243 | a21.Name = "Beam"..num | |
9244 | a21.Locked = true | |
9245 | a21.Size = v3(1,1,1) | |
9246 | a21.CanCollide = false | |
9247 | a21.Position = v3(999,999,999) | |
9248 | a21.BrickColor = bc("Cyan") | |
9249 | a21.Material = "Neon" | |
9250 | a21.Transparency = 0 | |
9251 | aa21 = new("SpecialMesh",a21) | |
9252 | a21.Anchored = true | |
9253 | a21.Position = hit.Position | |
9254 | aa21.MeshType = "Sphere" | |
9255 | aa21.Scale = v3(1,1,1) | |
9256 | GroundWave2() | |
9257 | GroundWave3() | |
9258 | GroundWave4() | |
9259 | for i = 1,50 do | |
9260 | wait() | |
9261 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5) | |
9262 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
9263 | end | |
9264 | enabled = true | |
9265 | char["Beam"..num]:Destroy() | |
9266 | end | |
9267 | ||
9268 | end | |
9269 | ||
9270 | end) | |
9271 | ||
9272 | ||
9273 | --Damages | |
9274 | ----------------------------------------------------------------------------------------- | |
9275 | a5.Touched:connect(function(hit) | |
9276 | ||
9277 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil then | |
9278 | ||
9279 | ||
9280 | ||
9281 | if hit.Parent:IsA("Model") then | |
9282 | hit.Parent:BreakJoints() | |
9283 | end | |
9284 | hit:Destroy() | |
9285 | if enabled == true then | |
9286 | enabled = false | |
9287 | num = num + 1 | |
9288 | kamehit:Play() | |
9289 | a21 = new("Part",char) | |
9290 | a21.Name = "Beam"..num | |
9291 | a21.Locked = true | |
9292 | a21.Size = v3(1,1,1) | |
9293 | a21.CanCollide = false | |
9294 | a21.Position = v3(999,999,999) | |
9295 | a21.BrickColor = bc("Cyan") | |
9296 | a21.Material = "Neon" | |
9297 | a21.Transparency = 0 | |
9298 | aa21 = new("SpecialMesh",a21) | |
9299 | a21.Anchored = true | |
9300 | a21.Position = hit.Position | |
9301 | aa21.MeshType = "Sphere" | |
9302 | aa21.Scale = v3(1,1,1) | |
9303 | GroundWave2() | |
9304 | GroundWave3() | |
9305 | GroundWave4() | |
9306 | for i = 1,50 do | |
9307 | wait() | |
9308 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5) | |
9309 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
9310 | end | |
9311 | enabled = true | |
9312 | char["Beam"..num]:Destroy() | |
9313 | end | |
9314 | ||
9315 | end | |
9316 | ||
9317 | end) | |
9318 | ||
9319 | ||
9320 | beam2 = true | |
9321 | beam1 = true | |
9322 | ||
9323 | if potara == true then | |
9324 | for i = 1,20 do | |
9325 | wait(0.1) | |
9326 | sizeup = sizeup-0.7 | |
9327 | ringgo = ringgo + 15 | |
9328 | av = new("Part",ringfolder) | |
9329 | av.Name = "NewRing" | |
9330 | av.Anchored = true | |
9331 | av.Size = v3(0.6,1,1) | |
9332 | av.BrickColor = bc("New Yeller") | |
9333 | av.Material = "Neon" | |
9334 | av.Transparency = 0 | |
9335 | aav = new("SpecialMesh",av) | |
9336 | aav.MeshType = "FileMesh" | |
9337 | aav.Scale = v3(sizeup,30,sizeup) | |
9338 | aav.MeshId = "rbxassetid://991124063" | |
9339 | av.CFrame = RootPart.CFrame * CFrame.Angles(rad(90),rad(0),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * ringgo * math.random(1.1,1.3) | |
9340 | ||
9341 | end | |
9342 | end | |
9343 | if potara == false then | |
9344 | wait(3) | |
9345 | else | |
9346 | wait(0.5) | |
9347 | end | |
9348 | ||
9349 | beam1 = false | |
9350 | ||
9351 | repeat | |
9352 | wait() | |
9353 | ||
9354 | if fuse == false then | |
9355 | if potara == false then | |
9356 | a1.Size = a1.Size - v3(0,0.2,0.2) | |
9357 | else | |
9358 | for i,v in pairs(char.Model:GetChildren()) do | |
9359 | if v:IsA("Part") then | |
9360 | if v.Name == "NewRing" then | |
9361 | v.Mesh.Scale = v.Mesh.Scale + v3(2,2,2) | |
9362 | v.Transparency = v.Transparency + 0.1 | |
9363 | end | |
9364 | end | |
9365 | end | |
9366 | a1.Size = a1.Size - v3(0,2,2) | |
9367 | end | |
9368 | else | |
9369 | a1.Size = a1.Size - v3(0,2,2) | |
9370 | end | |
9371 | aa2.Scale = aa2.Scale - v3(3,3,3) | |
9372 | aa3.Scale = aa3.Scale - v3(3,3,3) | |
9373 | until | |
9374 | a1.Size.y < 0.1 | |
9375 | ||
9376 | ||
9377 | a1:Destroy() | |
9378 | ringfolder:Destroy() | |
9379 | a2:Destroy() | |
9380 | a3:Destroy() | |
9381 | for i = 1,10 do | |
9382 | wait() | |
9383 | ||
9384 | kamefire.Volume = kamefire.Volume - 0.5 | |
9385 | end | |
9386 | kamefire:Stop() | |
9387 | RootPart.Anchored = false | |
9388 | ||
9389 | end | |
9390 | ||
9391 | ||
9392 | ||
9393 | ||
9394 | ||
9395 | mouse.KeyDown:connect(function(k) | |
9396 | if attack == false and k == "=" and MV4 > 80 and firemode == true then | |
9397 | MV4 = 0 | |
9398 | Humanoid.WalkSpeed = 13 | |
9399 | attack = true | |
9400 | Firepart1 = Instance.new("Part", RightArm) | |
9401 | Firepart1.Size = Vector3.new(1, 1, 1) | |
9402 | GuW1 = Instance.new("Weld") | |
9403 | GuW1.Name = "GuW" | |
9404 | GuW1.Part0 = RightArm | |
9405 | GuW1.C0 = cn(0, -1, 0) | |
9406 | GuW1.C1 = cn(0, 0, 0) | |
9407 | GuW1.Part1 = Firepart1 | |
9408 | GuW1.Parent = RightArm | |
9409 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=257001355", Torso, 2, 0.7) | |
9410 | Firepart1.Transparency = 1 | |
9411 | Firepart2 = Instance.new("Part", LeftArm) | |
9412 | Firepart2.Size = Vector3.new(1, 1, 1) | |
9413 | GuW2 = Instance.new("Weld") | |
9414 | GuW2.Name = "GuW" | |
9415 | GuW2.Part0 = LeftArm | |
9416 | GuW2.C0 = cn(0, -1, 0) | |
9417 | GuW2.C1 = cn(0, 0, 0) | |
9418 | GuW2.Part1 = Firepart2 | |
9419 | GuW2.Parent = LeftArm | |
9420 | Firepart2.Transparency = 1 | |
9421 | GuW1:Destroy() | |
9422 | GuW1 = Instance.new("Weld") | |
9423 | GuW1.Name = "GuW" | |
9424 | GuW1.Part0 = Torso | |
9425 | GuW1.C0 = cn(0, 0, -6) | |
9426 | GuW1.C1 = cn(0, 0, 0) | |
9427 | GuW1.Part1 = Firepart1 | |
9428 | GuW1.Parent = Torso | |
9429 | GuW2:Destroy() | |
9430 | GuW2 = Instance.new("Weld") | |
9431 | GuW2.Name = "GuW" | |
9432 | GuW2.Part0 = Torso | |
9433 | GuW2.C0 = cn(0, 0, -6) | |
9434 | GuW2.C1 = cn(0, 0, 0) | |
9435 | GuW2.Part1 = Firepart2 | |
9436 | GuW2.Parent = Torso | |
9437 | GuW2:Destroy() | |
9438 | GuW2 = Instance.new("Weld") | |
9439 | GuW2.Name = "GuW" | |
9440 | GuW2.Part0 = Torso | |
9441 | GuW2.C0 = cn(0, 0, -4) | |
9442 | GuW2.C1 = cn(0, 0, 0) | |
9443 | GuW2.Part1 = Firepart2 | |
9444 | GuW2.Parent = Torso | |
9445 | for i = 0, 18, 0.1 do | |
9446 | swait() | |
9447 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
9448 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
9449 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9450 | if Torsovelocity.Y > 2 then | |
9451 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9452 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9453 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9454 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9455 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9456 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9457 | elseif Torsovelocity.Y < 1 then | |
9458 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9459 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9460 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9461 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9462 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9463 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9464 | end | |
9465 | end | |
9466 | GuW1:Destroy() | |
9467 | GuW1 = Instance.new("Weld") | |
9468 | GuW1.Name = "GuW" | |
9469 | GuW1.Part0 = Torso | |
9470 | GuW1.C0 = cn(0, 0, -15) | |
9471 | GuW1.C1 = cn(0, 0, 0) | |
9472 | GuW1.Part1 = Firepart1 | |
9473 | GuW1.Parent = Torso | |
9474 | GuW2:Destroy() | |
9475 | GuW2 = Instance.new("Weld") | |
9476 | GuW2.Name = "GuW" | |
9477 | GuW2.Part0 = Torso | |
9478 | GuW2.C0 = cn(0, 0, -17.5) | |
9479 | GuW2.C1 = cn(0, 0, 0) | |
9480 | GuW2.Part1 = Firepart2 | |
9481 | GuW2.Parent = Torso | |
9482 | for i = 0, 1.25, 0.01 do | |
9483 | swait() | |
9484 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9485 | shoottraildd22(mouse.Hit.p, Firepart2, 0) | |
9486 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=463177334", Firepart2, 5, 2) | |
9487 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 30, 30, 30, 0.06) | |
9488 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 29.5, 29.5, 29.5, 0.06) | |
9489 | if Torsovelocity.Y > 2 then | |
9490 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9491 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9492 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9493 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9494 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9495 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9496 | end | |
9497 | end | |
9498 | wait(0.5) | |
9499 | Humanoid.WalkSpeed = 16 | |
9500 | attack = false | |
9501 | MV4 = 300 | |
9502 | Firepart1:Destroy() | |
9503 | Firepart2:Destroy() | |
9504 | end | |
9505 | ||
9506 | ||
9507 | if attack == false and k == "=" and MV4 > 19 and InForm == true then | |
9508 | MV4 = 90 | |
9509 | Humanoid.WalkSpeed = 0.01 | |
9510 | attack = true | |
9511 | Firepart1 = Instance.new("Part", RightArm) | |
9512 | Firepart1.Size = Vector3.new(1, 1, 1) | |
9513 | GuW1 = Instance.new("Weld") | |
9514 | GuW1.Name = "GuW" | |
9515 | GuW1.Part0 = RightArm | |
9516 | GuW1.C0 = cn(0, -1, 0) | |
9517 | GuW1.C1 = cn(0, 0, 0) | |
9518 | GuW1.Part1 = Firepart1 | |
9519 | GuW1.Parent = RightArm | |
9520 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=257001355", Torso, 2, 0.7) | |
9521 | Firepart1.Transparency = 1 | |
9522 | Firepart2 = Instance.new("Part", LeftArm) | |
9523 | Firepart2.Size = Vector3.new(1, 1, 1) | |
9524 | GuW2 = Instance.new("Weld") | |
9525 | GuW2.Name = "GuW" | |
9526 | GuW2.Part0 = LeftArm | |
9527 | GuW2.C0 = cn(0, -1, 0) | |
9528 | GuW2.C1 = cn(0, 0, 0) | |
9529 | GuW2.Part1 = Firepart2 | |
9530 | GuW2.Parent = LeftArm | |
9531 | Firepart2.Transparency = 1 | |
9532 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3) | |
9533 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3) | |
9534 | for i = 0, 2, 0.1 do | |
9535 | swait() | |
9536 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9537 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9538 | BlockEffect(BrickColor.new("Dark blue"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9539 | BlockEffect(BrickColor.new("New Yeller"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9540 | if Torsovelocity.Y > 2 then | |
9541 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9542 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1) | |
9543 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9544 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9545 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9546 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9547 | elseif Torsovelocity.Y < 1 then | |
9548 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9549 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1) | |
9550 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9551 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9552 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9553 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9554 | end | |
9555 | end | |
9556 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3) | |
9557 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3) | |
9558 | for i = 0, 7, 0.1 do | |
9559 | swait() | |
9560 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9561 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9562 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9563 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9564 | if Torsovelocity.Y > 2 then | |
9565 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9566 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9567 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9568 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9569 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9570 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9571 | elseif Torsovelocity.Y < 1 then | |
9572 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9573 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9574 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9575 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9576 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9577 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9578 | end | |
9579 | end | |
9580 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3) | |
9581 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3) | |
9582 | for i = 0, 7, 0.1 do | |
9583 | swait() | |
9584 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9585 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9586 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9587 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9588 | if Torsovelocity.Y > 2 then | |
9589 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9590 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9591 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1) | |
9592 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.1) | |
9593 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9594 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9595 | elseif Torsovelocity.Y < 1 then | |
9596 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
9597 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9598 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1) | |
9599 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.2) | |
9600 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9601 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9602 | end | |
9603 | end | |
9604 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3) | |
9605 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3) | |
9606 | for i = 0, 6, 0.1 do | |
9607 | swait() | |
9608 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9609 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9610 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9611 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9612 | if Torsovelocity.Y > 2 then | |
9613 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9614 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9615 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1) | |
9616 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.1) | |
9617 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9618 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9619 | elseif Torsovelocity.Y < 1 then | |
9620 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
9621 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9622 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1) | |
9623 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.1) | |
9624 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9625 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9626 | end | |
9627 | end | |
9628 | for i = 0, 5, 0.1 do | |
9629 | swait() | |
9630 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9631 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9632 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9633 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9634 | if Torsovelocity.Y > 2 then | |
9635 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9636 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9637 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1) | |
9638 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1) | |
9639 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9640 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9641 | elseif Torsovelocity.Y < 1 then | |
9642 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9643 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9644 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9645 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9646 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9647 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9648 | end | |
9649 | end | |
9650 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=331888777", Firepart2, 8, 1) | |
9651 | for i = 0, 7, 0.1 do | |
9652 | swait() | |
9653 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9654 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9655 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9656 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9657 | if Torsovelocity.Y > 2 then | |
9658 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9659 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
9660 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1) | |
9661 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1) | |
9662 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9663 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9664 | elseif Torsovelocity.Y < 1 then | |
9665 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9666 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
9667 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9668 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9669 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9670 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9671 | end | |
9672 | end | |
9673 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=743499393", Firepart2, 2, 0.8) | |
9674 | GuW1:Destroy() | |
9675 | GuW1 = Instance.new("Weld") | |
9676 | GuW1.Name = "GuW" | |
9677 | GuW1.Part0 = Torso | |
9678 | GuW1.C0 = cn(0, 0, -6) | |
9679 | GuW1.C1 = cn(0, 0, 0) | |
9680 | GuW1.Part1 = Firepart1 | |
9681 | GuW1.Parent = Torso | |
9682 | GuW2:Destroy() | |
9683 | GuW2 = Instance.new("Weld") | |
9684 | GuW2.Name = "GuW" | |
9685 | GuW2.Part0 = Torso | |
9686 | GuW2.C0 = cn(0, 0, -6) | |
9687 | GuW2.C1 = cn(0, 0, 0) | |
9688 | GuW2.Part1 = Firepart2 | |
9689 | GuW2.Parent = Torso | |
9690 | BlockEffect(BrickColor.new("White"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.06) | |
9691 | BlockEffect(BrickColor.new("White"), Firepart2.CFrame, 1, 1, 1, 20, 20, 20, 0.06) | |
9692 | GuW2:Destroy() | |
9693 | GuW2 = Instance.new("Weld") | |
9694 | GuW2.Name = "GuW" | |
9695 | GuW2.Part0 = Torso | |
9696 | GuW2.C0 = cn(0, 0, -4) | |
9697 | GuW2.C1 = cn(0, 0, 0) | |
9698 | GuW2.Part1 = Firepart2 | |
9699 | GuW2.Parent = Torso | |
9700 | for i = 0, 7, 0.1 do | |
9701 | swait() | |
9702 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
9703 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
9704 | if Torsovelocity.Y > 2 then | |
9705 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9706 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
9707 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9708 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9709 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9710 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9711 | elseif Torsovelocity.Y < 1 then | |
9712 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9713 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
9714 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9715 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9716 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9717 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9718 | end | |
9719 | end | |
9720 | local bp2 = Create("BodyPosition")({ | |
9721 | P = 900, | |
9722 | D = 1000, | |
9723 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
9724 | position = Torso.Position + Vector3.new(0, 60, 0), | |
9725 | Parent = Torso | |
9726 | }) | |
9727 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=244578827", Firepart2, 2, 1) | |
9728 | for i = 0, 8, 0.1 do | |
9729 | swait() | |
9730 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
9731 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
9732 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9733 | if Torsovelocity.Y > 2 then | |
9734 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9735 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9736 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9737 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9738 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9739 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9740 | elseif Torsovelocity.Y < 1 then | |
9741 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9742 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9743 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9744 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9745 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9746 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9747 | end | |
9748 | end | |
9749 | for i = 0, 18, 0.1 do | |
9750 | swait() | |
9751 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
9752 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
9753 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9754 | if Torsovelocity.Y > 2 then | |
9755 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9756 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9757 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9758 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9759 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9760 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9761 | elseif Torsovelocity.Y < 1 then | |
9762 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9763 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9764 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9765 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9766 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9767 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9768 | end | |
9769 | end | |
9770 | GuW1:Destroy() | |
9771 | GuW1 = Instance.new("Weld") | |
9772 | GuW1.Name = "GuW" | |
9773 | GuW1.Part0 = Torso | |
9774 | GuW1.C0 = cn(0, 0, -15) | |
9775 | GuW1.C1 = cn(0, 0, 0) | |
9776 | GuW1.Part1 = Firepart1 | |
9777 | GuW1.Parent = Torso | |
9778 | GuW2:Destroy() | |
9779 | GuW2 = Instance.new("Weld") | |
9780 | GuW2.Name = "GuW" | |
9781 | GuW2.Part0 = Torso | |
9782 | GuW2.C0 = cn(0, 0, -17.5) | |
9783 | GuW2.C1 = cn(0, 0, 0) | |
9784 | GuW2.Part1 = Firepart2 | |
9785 | GuW2.Parent = Torso | |
9786 | for i = 0, 1.25, 0.01 do | |
9787 | swait() | |
9788 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9789 | shoottraildd2(mouse.Hit.p, Firepart2, 0) | |
9790 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=463177334", Firepart2, 5, 2) | |
9791 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 30, 30, 30, 0.06) | |
9792 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 29.5, 29.5, 29.5, 0.06) | |
9793 | if Torsovelocity.Y > 2 then | |
9794 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9795 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9796 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9797 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9798 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9799 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9800 | elseif Torsovelocity.Y < 1 then | |
9801 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9802 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
9803 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9804 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9805 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9806 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9807 | end | |
9808 | end | |
9809 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=170278900", Torso, 8, 1) | |
9810 | BlockEffect(BrickColor.new("Really black"), Firepart1.CFrame, 1, 1, 1, 50, 50, 50, 0.02) | |
9811 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.04) | |
9812 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 19.5, 19.5, 19.5, 0.04) | |
9813 | for i = 0, 3, 0.1 do | |
9814 | swait() | |
9815 | if Torsovelocity.Y > 2 then | |
9816 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9817 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
9818 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9819 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9820 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9821 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9822 | elseif Torsovelocity.Y < 1 then | |
9823 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9824 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
9825 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9826 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9827 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9828 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9829 | end | |
9830 | end | |
9831 | wait(1) | |
9832 | bp2:Destroy() | |
9833 | Humanoid.WalkSpeed = 16 | |
9834 | attack = false | |
9835 | MV4 = 0 | |
9836 | Firepart1:Destroy() | |
9837 | Firepart2:Destroy() | |
9838 | end | |
9839 | end) | |
9840 | whiletruewait = false | |
9841 | game:GetService("RunService").Stepped:connect(function() | |
9842 | if whiletruewait == false then | |
9843 | whiletruewait = true | |
9844 | wait() | |
9845 | whiletruewait = false | |
9846 | end | |
9847 | end) | |
9848 | game:GetService("RunService").Stepped:connect(function() | |
9849 | if whiletruewait == false then | |
9850 | if MV1 < 20 then | |
9851 | MV1 = MV1 + 0.2 | |
9852 | end | |
9853 | if MV2 < 90 then | |
9854 | MV2 = MV2 + 1 | |
9855 | end | |
9856 | if MV3 < 190 then | |
9857 | MV3 = MV3 + 0.4 | |
9858 | end | |
9859 | if MV4 < 500 then | |
9860 | MV4 = MV4 + 0.3 | |
9861 | end | |
9862 | end | |
9863 | end) | |
9864 | Humanoid.MaxHealth = 10000 | |
9865 | wait() | |
9866 | for i = 1, 6 do | |
9867 | Humanoid.Health = Humanoid.MaxHealth | |
9868 | wait() | |
9869 | end | |
9870 | ||
9871 | --- | |
9872 | GroundWave3 = function() | |
9873 | local HandCF = Torso.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) + Torso.CFrame.lookVector * 5 | |
9874 | Colors = {"White", "White"} | |
9875 | local wave = Instance.new("Part", char) | |
9876 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
9877 | wave.Anchored = true | |
9878 | wave.Name = "Wave" | |
9879 | wave.CanCollide = false | |
9880 | wave.Locked = true | |
9881 | wave.Size = Vector3.new(0.2, 0.2, 0.2) | |
9882 | wave.TopSurface = "Smooth" | |
9883 | wave.BottomSurface = "Smooth" | |
9884 | wave.Transparency = 0.10 | |
9885 | wave.CFrame = HandCF | |
9886 | wm = Instance.new("SpecialMesh",wave) | |
9887 | wm.MeshId = "rbxassetid://559831844" | |
9888 | coroutine.wrap(function() | |
9889 | for i = 1, 30, 1 do | |
9890 | wm.Scale = Vector3.new(0.4 + i*0.4, 0.4 + i*0.4, 0.4) | |
9891 | wave.Size = wm.Scale | |
9892 | wave.CFrame = HandCF | |
9893 | wave.Transparency = i/30 | |
9894 | wait() | |
9895 | end | |
9896 | wait() | |
9897 | wave:Destroy() | |
9898 | end)() | |
9899 | end | |
9900 | --- | |
9901 | ||
9902 | local rock3 = false | |
9903 | local rock2 = false | |
9904 | local rock = false | |
9905 | ||
9906 | if rock2 == true then | |
9907 | wait(0.1) | |
9908 | ||
9909 | for i,v in pairs(char:GetChildren()) do | |
9910 | if v:IsA("Part") then | |
9911 | if v.Name == "NewPart2" then | |
9912 | v.GO.Velocity = v3(0,-5,0) | |
9913 | end | |
9914 | end | |
9915 | ||
9916 | end | |
9917 | rock2 = false | |
9918 | end | |
9919 | if rock3 == true then | |
9920 | wait(0.1) | |
9921 | for i,v in pairs(char:GetChildren()) do | |
9922 | if v:IsA("Part") then | |
9923 | if v.Name == "NewPart2" then | |
9924 | v.GO.Velocity = v3(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
9925 | end | |
9926 | end | |
9927 | end | |
9928 | rock3 = false | |
9929 | end | |
9930 | ||
9931 | ||
9932 | local v3 = Vector3.new | |
9933 | local num = 0 | |
9934 | local bc = BrickColor.new | |
9935 | local new = Instance.new | |
9936 | ||
9937 | GroundWave1d = function() | |
9938 | ||
9939 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + RootPart.CFrame.lookVector * 6 | |
9940 | Colors = {"Cyan", "Cyan"} | |
9941 | local wave = Instance.new("Part", char) | |
9942 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
9943 | wave.Anchored = true | |
9944 | wave.Name = "Wave"..number | |
9945 | wave.CanCollide = false | |
9946 | wave.Locked = true | |
9947 | wave.Size = Vector3.new(0.5,0.5,0.5) | |
9948 | wave.TopSurface = "Smooth" | |
9949 | wave.BottomSurface = "Smooth" | |
9950 | wave.Transparency = 0.35 | |
9951 | wave.CFrame = HandCF | |
9952 | wm = Instance.new("SpecialMesh", wave) | |
9953 | wm.Name = "wave"..number | |
9954 | wm.MeshId = "rbxassetid://3270017" | |
9955 | coroutine.wrap(function() | |
9956 | for i = 1, 30, 1 do | |
9957 | wm.Scale = Vector3.new(0.5 + i*.7, 1 + i*.7, 0.5) | |
9958 | wave.Size = wm.Scale | |
9959 | wave.CFrame = HandCF | |
9960 | wave.Transparency = i/30 | |
9961 | wait() | |
9962 | end | |
9963 | wait() | |
9964 | wave:Destroy() | |
9965 | ||
9966 | end)() | |
9967 | end | |
9968 | ||
9969 | mouse.KeyDown:connect(function(key) | |
9970 | if key == "=" then | |
9971 | ||
9972 | Humanoid.WalkSpeed = 0 | |
9973 | RootPart.Anchored = true | |
9974 | bigkamehameha1 = true | |
9975 | ||
9976 | wait(0) | |
9977 | bigkamehameha1 = false | |
9978 | bigkamehameha2 = true | |
9979 | ar = new("Part",char) | |
9980 | ar.Name = "NewPart" | |
9981 | ar.Position = v3(999,999,999) | |
9982 | ar.Size = v3(1,1,1) | |
9983 | ar.BrickColor = bc("Cyan") | |
9984 | ar.Material = "Neon" | |
9985 | ar.Transparency = 1 | |
9986 | aar = new("SpecialMesh",ar) | |
9987 | aar.MeshType = "Sphere" | |
9988 | aar.Scale = v3(3,3,4) | |
9989 | ||
9990 | aaar =new("Weld",ar) | |
9991 | aaar.Part0 = Torso | |
9992 | aaar.Part1 = ar | |
9993 | aaar.C0 = cf(0,1,-6) * cfa(rad(0),rad(0),rad(0)) | |
9994 | for i = 1,9 do | |
9995 | wait(0.5) | |
9996 | GroundWave1d() | |
9997 | ar.Transparency = ar.Transparency - 0.1 | |
9998 | end | |
9999 | kamehameha() | |
10000 | ||
10001 | idle7 = true | |
10002 | ar:Destroy() | |
10003 | bigkamehameha2 = false | |
10004 | RootPart.Anchored = false | |
10005 | end | |
10006 | end) | |
10007 | ||
10008 | ||
10009 | ||
10010 | local rad = math.rad | |
10011 | local kamehameha5 = false | |
10012 | local kamehameha1 = false | |
10013 | local kamehameha2 = false | |
10014 | local kamehameha3 = false | |
10015 | local kamehameha4 = false | |
10016 | ||
10017 | mouse.KeyDown:connect(function(key) | |
10018 | if key == "=" then | |
10019 | ||
10020 | ||
10021 | idle = false | |
10022 | Humanoid.WalkSpeed = 0 | |
10023 | RootPart.Anchored = true | |
10024 | ||
10025 | KamehamehaVoice:Play() | |
10026 | startk = true | |
10027 | ||
10028 | ||
10029 | ||
10030 | wait(0.4) | |
10031 | ||
10032 | ||
10033 | kamehameha2 = true | |
10034 | kamehameha() | |
10035 | wait(0.8) | |
10036 | KamehamehaVoice.TimePosition = 0 | |
10037 | kamehameha2 = false | |
10038 | Humanoid.WalkSpeed = 16 | |
10039 | RootPart.Anchored = false | |
10040 | end | |
10041 | end) | |
10042 | ||
10043 | ||
10044 | mouse.KeyDown:connect(function(key) | |
10045 | if key=="=" then | |
10046 | Serious() | |
10047 | char.JumPower = 150 | |
10048 | end | |
10049 | end) | |
10050 | Health = math.huge --------- Serious mode aura. | |
10051 | BaseHealth = math.huge | |
10052 | ||
10053 | ||
10054 | ||
10055 | ||
10056 | InForm = false | |
10057 | ||
10058 | Player = game.Players.LocalPlayer | |
10059 | Char = Player.Character | |
10060 | Torso = Char.Torso | |
10061 | ||
10062 | function Serious() | |
10063 | for X = 1, 1 do wait() | |
10064 | ||
10065 | ||
10066 | wait(0) | |
10067 | for X = 1, 1 do wait() | |
10068 | local Effect = Instance.new("Part") | |
10069 | Effect.Name = "Effect" | |
10070 | Effect.Parent = Torso | |
10071 | Effect.CFrame = Torso.CFrame | |
10072 | Effect.BrickColor = BrickColor.new("Neon orange") | |
10073 | Effect.Shape = "Ball" | |
10074 | Effect.Size = Vector3.new(1, 1, 1) | |
10075 | Effect.Anchored = true | |
10076 | Effect.Material = "Neon" | |
10077 | Effect.CanCollide = false | |
10078 | Effect.CFrame = Torso.CFrame | |
10079 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
10080 | Effect.Transparency = Effect.Transparency + 0.04 | |
10081 | end | |
10082 | end | |
10083 | ||
10084 | repeat | |
10085 | Torso:FindFirstChild("Effect"):Remove() | |
10086 | until Torso:FindFirstChild("Effect") == nil | |
10087 | ||
10088 | ||
10089 | local Color1 = Color3.new(255, 255, 0) | |
10090 | local Color2 = Color3.new(255, 255, 0) | |
10091 | ||
10092 | for i = 0, 3, 0.1 do | |
10093 | swait() | |
10094 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
10095 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
10096 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
10097 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
10098 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
10099 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
10100 | end | |
10101 | local pie22 = Instance.new("ParticleEmitter") | |
10102 | pie22.Parent = LeftArm | |
10103 | pie22.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
10104 | pie22.LightEmission = 1 | |
10105 | pie22.Size = NumberSequence.new(1,2) | |
10106 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
10107 | pie22.Transparency = NumberSequence.new(0.7,1) | |
10108 | pie22.EmissionDirection = "Top" | |
10109 | pie22.Enabled = true | |
10110 | pie22.Lifetime = NumberRange.new(1) | |
10111 | pie22.Rotation = NumberRange.new(-420, 425) | |
10112 | pie22.Rate = 50 | |
10113 | pie22.Speed = NumberRange.new(1) | |
10114 | pie22.LockedToPart = false | |
10115 | pie22.VelocitySpread = 2 | |
10116 | local pie22 = Instance.new("ParticleEmitter") | |
10117 | pie22.Parent = RightArm | |
10118 | pie22.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
10119 | pie22.LightEmission = 1 | |
10120 | pie22.Size = NumberSequence.new(1,2) | |
10121 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
10122 | pie22.Transparency = NumberSequence.new(0.7,1) | |
10123 | pie22.EmissionDirection = "Top" | |
10124 | pie22.Enabled = true | |
10125 | pie22.Lifetime = NumberRange.new(1) | |
10126 | pie22.Rotation = NumberRange.new(-420, 425) | |
10127 | pie22.Rate = 50 | |
10128 | pie22.Speed = NumberRange.new(1) | |
10129 | pie22.LockedToPart = false | |
10130 | pie22.VelocitySpread = 2 | |
10131 | local pie22 = Instance.new("ParticleEmitter") | |
10132 | pie22.Parent = LeftLeg | |
10133 | pie22.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
10134 | pie22.LightEmission = 1 | |
10135 | pie22.Size = NumberSequence.new(1,2) | |
10136 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
10137 | pie22.Transparency = NumberSequence.new(0.8,1) | |
10138 | pie22.EmissionDirection = "Top" | |
10139 | pie22.Enabled = true | |
10140 | pie22.Lifetime = NumberRange.new(1) | |
10141 | pie22.Rotation = NumberRange.new(-420, 425) | |
10142 | pie22.Rate = 20 | |
10143 | pie22.Speed = NumberRange.new(1) | |
10144 | pie22.LockedToPart = false | |
10145 | pie22.VelocitySpread = 2 | |
10146 | local pie22 = Instance.new("ParticleEmitter") | |
10147 | pie22.Parent = RightLeg | |
10148 | pie22.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
10149 | pie22.LightEmission = 1 | |
10150 | pie22.Size = NumberSequence.new(1,2) | |
10151 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
10152 | pie22.Transparency = NumberSequence.new(0.8,1) | |
10153 | pie22.EmissionDirection = "Top" | |
10154 | pie22.Enabled = true | |
10155 | pie22.Lifetime = NumberRange.new(1) | |
10156 | pie22.Rotation = NumberRange.new(-420, 425) | |
10157 | pie22.Rate = 20 | |
10158 | pie22.Speed = NumberRange.new(1) | |
10159 | pie22.LockedToPart = false | |
10160 | pie22.VelocitySpread = 2 | |
10161 | lig = Instance.new("PointLight",Player.Character.Torso) | |
10162 | lig.Color=Color3.new(255,255,0) | |
10163 | lig.Range = 6 | |
10164 | ||
10165 | local Must = Instance.new("Sound",Torso) | |
10166 | Must.SoundId = "rbxassetid://136847579" | |
10167 | Must.Pitch = 0.99 | |
10168 | Must.Volume = 0.6 | |
10169 | Must.Looped = false | |
10170 | wait(0) | |
10171 | Must:Play() | |
10172 | a21e = new("Part",char) | |
10173 | a21e.Name = "Beam"..num | |
10174 | a21e.Locked = true | |
10175 | a21e.Size = v3(1,1,1) | |
10176 | a21e.CanCollide = false | |
10177 | a21e.BrickColor = bc("Neon orange") | |
10178 | a21e.Material = "Neon" | |
10179 | a21e.Transparency = 0 | |
10180 | aa21e = new("SpecialMesh",a21e) | |
10181 | a21e.Anchored = true | |
10182 | a21e.Position = RootPart.Position | |
10183 | aa21e.MeshType = "Sphere" | |
10184 | aa21e.Scale = v3(1,1,1) | |
10185 | for i = 1,50 do | |
10186 | wait() | |
10187 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
10188 | a21e.Transparency = a21e.Transparency + 0.04 | |
10189 | end | |
10190 | ||
10191 | ||
10192 | local Mus = Instance.new("Sound",Torso) | |
10193 | Mus.SoundId = "rbxassetid://291165237" | |
10194 | Mus.Pitch = 0.99 | |
10195 | Mus.Volume = 0.2 | |
10196 | Mus.Looped = true | |
10197 | wait(0) | |
10198 | Mus:Play() | |
10199 | ||
10200 | InForm = true | |
10201 | Humanoid.JumpPower = 120 | |
10202 | ||
10203 | Char.Humanoid.MaxHealth = Health | |
10204 | wait(0.3) | |
10205 | Char.Humanoid.Health = Health | |
10206 | wait(0.7) | |
10207 | Must:Destroy() | |
10208 | end | |
10209 | ||
10210 | function Base() | |
10211 | InForm = false | |
10212 | local Effect = Instance.new("Part") | |
10213 | Effect.Name = "Effect" | |
10214 | Effect.Parent = Torso | |
10215 | Effect.CFrame = Torso.CFrame | |
10216 | Effect.BrickColor = BrickColor.new("White") | |
10217 | Effect.Shape = "Ball" | |
10218 | Effect.Size = Vector3.new(8, 8, 8) | |
10219 | Effect.Anchored = true | |
10220 | Effect.Material = "Neon" | |
10221 | Effect.CanCollide = false | |
10222 | for loop = 1, 25 do wait() | |
10223 | Effect.CFrame = Torso.CFrame | |
10224 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
10225 | Effect.Transparency = Effect.Transparency + 0.04 | |
10226 | ||
10227 | end | |
10228 | repeat | |
10229 | Torso:FindFirstChild("Effect"):Remove() | |
10230 | until Torso:FindFirstChild("Effect") == nil | |
10231 | ||
10232 | for i, v in pairs(Torso:GetChildren()) do | |
10233 | if v:IsA('ParticleEmitter') then | |
10234 | v:Remove() | |
10235 | end | |
10236 | end | |
10237 | char.Humanoid.MaxHealth = BaseHealth | |
10238 | wait(0.3) | |
10239 | char.Humanoid.Health = BaseHealth | |
10240 | ||
10241 | ||
10242 | end | |
10243 | ||
10244 | mouse.KeyDown:connect(function(key) | |
10245 | if key=="9" then | |
10246 | Base() | |
10247 | lig:Destroy() | |
10248 | end | |
10249 | end) | |
10250 | ||
10251 | Player.Chatted:connect(function(Message) | |
10252 | if Message == "Time to get serious." and InForm == false then | |
10253 | wait(0.10) | |
10254 | Serious() | |
10255 | end | |
10256 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
10257 | Base() | |
10258 | end | |
10259 | local ContentProvider = game:GetService("ContentProvider") | |
10260 | ||
10261 | local function LoadAssets(AssetList) | |
10262 | -- Takes an asset list and preloads it. Will not wait for them to load. | |
10263 | ||
10264 | for _, AssetId in pairs(AssetList) do | |
10265 | ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId) | |
10266 | end | |
10267 | end | |
10268 | ||
10269 | local Gibs = game.Workspace | |
10270 | ||
10271 | function Kill(Character) | |
10272 | Character.Humanoid.Health = 0 | |
10273 | local poo = Instance.new("IntValue",Character) | |
10274 | poo.Name = "haha nope" | |
10275 | local svch = Character | |
10276 | local hum = Character:findFirstChild("Humanoid") | |
10277 | Character.Archivable = true | |
10278 | local chrclone = Character:clone() | |
10279 | Character.Archivable = false | |
10280 | ||
10281 | local ch = chrclone:GetChildren() | |
10282 | local i | |
10283 | for i = 1,#ch do | |
10284 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then | |
10285 | ch[i]:remove() | |
10286 | end | |
10287 | end | |
10288 | local function Scan(ch) | |
10289 | local e | |
10290 | for e = 1,#ch do | |
10291 | Scan(ch[e]:GetChildren()) | |
10292 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
10293 | ch[e]:remove() | |
10294 | end | |
10295 | end | |
10296 | end | |
10297 | Scan(chrclone:GetChildren()) | |
10298 | ||
10299 | local hum2 = chrclone:findFirstChild("Humanoid") | |
10300 | ||
10301 | ||
10302 | if hum2 ~= nil then | |
10303 | hum2.Name = "Humanoid2" | |
10304 | hum2.PlatformStand = true | |
10305 | hum2.Sit = true | |
10306 | hum2.MaxHealth = 0 | |
10307 | hum2.Health = 0 | |
10308 | end | |
10309 | ||
10310 | local ch = Character:GetChildren() | |
10311 | local i | |
10312 | for i = 1,#ch do | |
10313 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
10314 | ch[i]:remove() | |
10315 | end | |
10316 | end | |
10317 | ||
10318 | wait(0.2) | |
10319 | ||
10320 | local ch = Character:GetChildren() | |
10321 | local i | |
10322 | for i = 1,#ch do | |
10323 | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
10324 | ch[i]:remove() | |
10325 | end | |
10326 | end | |
10327 | Character = chrclone | |
10328 | local Torso = Character.Torso | |
10329 | local movevector = Vector3.new() | |
10330 | ||
10331 | if Torso then | |
10332 | local Head = Character:FindFirstChild("Head") | |
10333 | local Limb = Character:FindFirstChild("Right Arm") | |
10334 | if Limb then | |
10335 | ||
10336 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
10337 | local Joint = Instance.new("Glue") | |
10338 | Joint.Name = "RightShoulder" | |
10339 | Joint.Part0 = Torso | |
10340 | Joint.Part1 = Limb | |
10341 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
10342 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
10343 | Joint.Parent = Torso | |
10344 | ||
10345 | local B = Instance.new("Part") | |
10346 | B.TopSurface = 0 | |
10347 | B.BottomSurface = 0 | |
10348 | B.formFactor = "Symmetric" | |
10349 | B.Size = Vector3.new(1, 1, 1) | |
10350 | B.Transparency = 1 | |
10351 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
10352 | B.Parent = Character | |
10353 | local W = Instance.new("Weld") | |
10354 | W.Part0 = Limb | |
10355 | W.Part1 = B | |
10356 | W.C0 = CFrame.new(0, -0.5, 0) | |
10357 | W.Parent = Limb | |
10358 | ||
10359 | end | |
10360 | local Limb = Character:FindFirstChild("Left Arm") | |
10361 | if Limb then | |
10362 | ||
10363 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
10364 | local Joint = Instance.new("Glue") | |
10365 | Joint.Name = "LeftShoulder" | |
10366 | Joint.Part0 = Torso | |
10367 | Joint.Part1 = Limb | |
10368 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
10369 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
10370 | Joint.Parent = Torso | |
10371 | ||
10372 | local B = Instance.new("Part") | |
10373 | B.TopSurface = 0 | |
10374 | B.BottomSurface = 0 | |
10375 | B.formFactor = "Symmetric" | |
10376 | B.Size = Vector3.new(1, 1, 1) | |
10377 | B.Transparency = 1 | |
10378 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
10379 | B.Parent = Character | |
10380 | local W = Instance.new("Weld") | |
10381 | W.Part0 = Limb | |
10382 | W.Part1 = B | |
10383 | W.C0 = CFrame.new(0, -0.5, 0) | |
10384 | W.Parent = Limb | |
10385 | ||
10386 | end | |
10387 | local Limb = Character:FindFirstChild("Right Leg") | |
10388 | if Limb then | |
10389 | ||
10390 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
10391 | local Joint = Instance.new("Glue") | |
10392 | Joint.Name = "RightHip" | |
10393 | Joint.Part0 = Torso | |
10394 | Joint.Part1 = Limb | |
10395 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
10396 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
10397 | Joint.Parent = Torso | |
10398 | ||
10399 | local B = Instance.new("Part") | |
10400 | B.TopSurface = 0 | |
10401 | B.BottomSurface = 0 | |
10402 | B.formFactor = "Symmetric" | |
10403 | B.Size = Vector3.new(1, 1, 1) | |
10404 | B.Transparency = 1 | |
10405 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
10406 | B.Parent = Character | |
10407 | local W = Instance.new("Weld") | |
10408 | W.Part0 = Limb | |
10409 | W.Part1 = B | |
10410 | W.C0 = CFrame.new(0, -0.5, 0) | |
10411 | W.Parent = Limb | |
10412 | ||
10413 | end | |
10414 | local Limb = Character:FindFirstChild("Left Leg") | |
10415 | if Limb then | |
10416 | ||
10417 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
10418 | local Joint = Instance.new("Glue") | |
10419 | Joint.Name = "LeftHip" | |
10420 | Joint.Part0 = Torso | |
10421 | Joint.Part1 = Limb | |
10422 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
10423 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
10424 | Joint.Parent = Torso | |
10425 | ||
10426 | local B = Instance.new("Part") | |
10427 | B.TopSurface = 0 | |
10428 | B.BottomSurface = 0 | |
10429 | B.formFactor = "Symmetric" | |
10430 | B.Size = Vector3.new(1, 1, 1) | |
10431 | B.Transparency = 1 | |
10432 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
10433 | B.Parent = Character | |
10434 | local W = Instance.new("Weld") | |
10435 | W.Part0 = Limb | |
10436 | W.Part1 = B | |
10437 | W.C0 = CFrame.new(0, -0.5, 0) | |
10438 | W.Parent = Limb | |
10439 | end | |
10440 | end | |
10441 | end | |
10442 | ---------- | |
10443 | ||
10444 | lerpz = function(D, E, F, G) | |
10445 | D[E] = D[E]:lerp(F, G) | |
10446 | end | |
10447 | ||
10448 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10449 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10450 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10451 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10452 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10453 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10454 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10455 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10456 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10457 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
10458 | resetlerp = function() | |
10459 | RJ.C0 = RJC0 | |
10460 | RJ.C1 = RJC1 | |
10461 | N.C0 = NC0 | |
10462 | N.C1 = NC1 | |
10463 | RS.C0 = RSC0 | |
10464 | RS.C1 = RSC1 | |
10465 | LS.C0 = LSC0 | |
10466 | LS.C1 = LSC1 | |
10467 | RH.C0 = RHC0 | |
10468 | RH.C1 = RHC1 | |
10469 | LH.C0 = LHC0 | |
10470 | LH.C1 = LHC1 | |
10471 | end | |
10472 | ------- | |
10473 | ---------- | |
10474 | hrp = char.HumanoidRootPart | |
10475 | ||
10476 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
10477 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
10478 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10479 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10480 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
10481 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
10482 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10483 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
10484 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10485 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
10486 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
10487 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
10488 | RS = Torso:FindFirstChild("Right Shoulder") | |
10489 | LS = Torso:FindFirstChild("Left Shoulder") | |
10490 | RH = Torso:FindFirstChild("Right Hip") | |
10491 | LH = Torso:FindFirstChild("Left Hip") | |
10492 | RJ = hrp:FindFirstChild("RootJoint") | |
10493 | N = Torso:FindFirstChild("Neck") | |
10494 | cf = CFrame.new | |
10495 | ang = CFrame.Angles | |
10496 | rd = math.rad | |
10497 | rd2 = math.random | |
10498 | cs = ColorSequence.new | |
10499 | ns = NumberSequence.new | |
10500 | nsk = NumberSequenceKeypoint.new | |
10501 | ------------------- | |
10502 | ||
10503 | end) | |
10504 | ||
10505 | print([[ | |
10506 | ------------------------------------------------- | |
10507 | hi | |
10508 | -------------------------------------------------]]) |