SHOW:
|
|
- or go back to the newest paste.
1 | -- Credits by venturiansonic | |
2 | ||
3 | wait(0.3) | |
4 | Colours = { | |
5 | Spirit = { | |
6 | BrickColor.new("Electric blue"), | |
7 | BrickColor.new("Institutional white") | |
8 | } | |
9 | } | |
10 | Keys = {} | |
11 | UserInputService = game:GetService("UserInputService") | |
12 | TweenService = game:GetService("TweenService") | |
13 | Chat = game:GetService("Chat") | |
14 | Plr = game:GetService("Players").LocalPlayer | |
15 | Mouse = Plr:GetMouse() | |
16 | Char = Plr.Character | |
17 | Human = Char:FindFirstChildOfClass("Humanoid") | |
18 | assert(Human.RigType == Enum.HumanoidRigType.R6, "You need to be in r6 to use this script! R15 won't work.") | |
19 | Motor6DClones = {} | |
20 | BodyPartClones = {} | |
21 | Rad = math.rad | |
22 | Sin = math.sin | |
23 | Random = math.random | |
24 | Floor = math.floor | |
25 | Torso = Char.Torso | |
26 | HRoot = Char.HumanoidRootPart | |
27 | LArm = Char["Left Arm"] | |
28 | RArm = Char["Right Arm"] | |
29 | LLeg = Char["Left Leg"] | |
30 | RLeg = Char["Right Leg"] | |
31 | Head = Char.Head | |
32 | Hrj = HRoot.RootJoint | |
33 | LShold = Torso["Left Shoulder"] | |
34 | RShold = Torso["Right Shoulder"] | |
35 | LHip = Torso["Left Hip"] | |
36 | RHip = Torso["Right Hip"] | |
37 | Last = "Left" | |
38 | Anim = "Idle" | |
39 | Dir = "None" | |
40 | Mode = "Base" | |
41 | Falling = false | |
42 | Flying = false | |
43 | After = false | |
44 | Typing = false | |
45 | CanMelee = false | |
46 | Attacking = false | |
47 | Sprint = false | |
48 | Walkspeed = 16 | |
49 | Char.Animate.Disabled = true | |
50 | Human.Animator:Destroy() | |
51 | Human:RemoveAccessories() | |
52 | Char.Sound:Destroy() | |
53 | Char.Animate:Destroy() | |
54 | Dodge = false | |
55 | Neck = Torso.Neck | |
56 | Lscf = LShold.C0 | |
57 | Rscf = RShold.C0 | |
58 | Lhcf = LHip.C0 | |
59 | Rhcf = RHip.C0 | |
60 | Ncf = Neck.C0 | |
61 | Hrjcf = Hrj.C0 | |
62 | local instinct = false | |
63 | HRoot.Touched:connect(function(hit) | |
64 | local h = hit.Parent:FindFirstChild("Part") | |
65 | if h ~= nil and Human.Health > 0 and instinct == true then | |
66 | HRoot.Anchored = true | |
67 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)) | |
68 | for i = 0, 1, 0.1 do | |
69 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
70 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
71 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
72 | SWait() | |
73 | end | |
74 | HRoot.Anchored = false | |
75 | local ay = math.random(1, 2) | |
76 | if ay == 1 then | |
77 | HRoot.Anchored = true | |
78 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)) | |
79 | HRoot.Anchored = false | |
80 | for i = 0, 1, 0.1 do | |
81 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(300)), i) | |
82 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
83 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
84 | SWait() | |
85 | end | |
86 | end | |
87 | end | |
88 | end) | |
89 | Torso.Touched:connect(function(hit) | |
90 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
91 | if h ~= nil and Human.Health > 0 and instinct == true then | |
92 | HRoot.Anchored = true | |
93 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)) | |
94 | HRoot.Anchored = false | |
95 | local ay = math.random(1, 2) | |
96 | if ay == 1 then | |
97 | HRoot.Anchored = true | |
98 | HRoot.Anchored = false | |
99 | end | |
100 | end | |
101 | end) | |
102 | Head.Touched:connect(function(hit) | |
103 | local h = hit.Parent:FindFirstChild("NewPart") | |
104 | if h ~= nil and Human.Health > 0 and instinct == true then | |
105 | HRoot.Anchored = true | |
106 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) | |
107 | HRoot.Anchored = false | |
108 | local ay = math.random(1, 2) | |
109 | if ay == 1 then | |
110 | HRoot.Anchored = true | |
111 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-180), math.rad(0)) | |
112 | HRoot.Anchored = false | |
113 | end | |
114 | end | |
115 | end) | |
116 | HRoot.Touched:connect(function(hit) | |
117 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
118 | if h ~= nil and Human.Health > 0 and instinct == true then | |
119 | HRoot.Anchored = true | |
120 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)) | |
121 | HRoot.Anchored = false | |
122 | local ay = math.random(1, 2) | |
123 | if ay == 1 then | |
124 | HRoot.Anchored = true | |
125 | HRoot.Anchored = false | |
126 | end | |
127 | end | |
128 | end) | |
129 | HRoot.Touched:connect(function(hit) | |
130 | local h = hit.Parent:FindFirstChild("NewPart") | |
131 | if h ~= nil and Human.Health > 0 and instinct == true then | |
132 | HRoot.Anchored = true | |
133 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) | |
134 | for i = 0, 1, 0.1 do | |
135 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
136 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
137 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
138 | RHip.C0 = RHip.C0:lerp(Rhcf, i) | |
139 | SWait() | |
140 | end | |
141 | HRoot.Anchored = false | |
142 | local ay = math.random(1, 2) | |
143 | if ay == 1 then | |
144 | HRoot.Anchored = true | |
145 | HRoot.CFrame = HRoot.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) | |
146 | HRoot.Anchored = false | |
147 | end | |
148 | end | |
149 | end) | |
150 | if Char:FindFirstChildOfClass("BodyColors") then | |
151 | Char:FindFirstChildOfClass("BodyColors"):Destroy() | |
152 | end | |
153 | for _, v in pairs(Char:GetChildren()) do | |
154 | if v:IsA("Clothing") or v:IsA("ShirtGraphic") then | |
155 | v:Destroy() | |
156 | elseif v:IsA("BasePart") then | |
157 | v.BrickColor = BrickColor.new("Pastel brown") | |
158 | end | |
159 | end | |
160 | function SWait(float) | |
161 | if not float then | |
162 | return game:GetService("RunService").RenderStepped:wait() | |
163 | else | |
164 | return game:GetService("RunService").RenderStepped:wait(float) | |
165 | end | |
166 | end | |
167 | function Smooth(part) | |
168 | part.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
169 | part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
170 | part.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
171 | part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
172 | part.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
173 | part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
174 | end | |
175 | function Create(Class, Parent, Name, Extra) | |
176 | local asd = Instance.new(Class, Parent) | |
177 | asd.Name = Name or Class | |
178 | if asd:IsA("BasePart") then | |
179 | Smooth(asd) | |
180 | end | |
181 | for i, v in pairs(Extra or {}) do | |
182 | asd[i] = v | |
183 | end | |
184 | return asd | |
185 | end | |
186 | function newWeld(parent, P0, P1, C0, C1) | |
187 | local weld = Instance.new("Motor6D", parent or P0) | |
188 | weld.Part0 = P0 | |
189 | weld.Part1 = P1 | |
190 | weld.C0 = C0 or weld.C0 | |
191 | weld.C1 = C1 or weld.C1 | |
192 | return weld | |
193 | end | |
194 | function findRealAncestor(inst) | |
195 | local par = inst.Parent | |
196 | local lastPar = inst | |
197 | repeat | |
198 | lastPar = par | |
199 | if par.Parent == nil then | |
200 | par = workspace | |
201 | else | |
202 | par = par.Parent | |
203 | end | |
204 | wait() | |
205 | until par == workspace | |
206 | return lastPar or nil | |
207 | end | |
208 | function createEmit(props) | |
209 | for _, v in pairs(Char:GetChildren()) do | |
210 | if v:IsA("BasePart") then | |
211 | local emit = Instance.new("ParticleEmitter", v) | |
212 | for i, v in pairs(props or {}) do | |
213 | emit[i] = v | |
214 | end | |
215 | end | |
216 | end | |
217 | end | |
218 | function toggleEmitters(arg) | |
219 | if arg ~= "AllOff" then | |
220 | for _, v in pairs(Char:GetDescendants()) do | |
221 | if v.Name == arg and v:IsA("ParticleEmitter") then | |
222 | v.Enabled = not v.Enabled | |
223 | end | |
224 | end | |
225 | else | |
226 | for _, v in pairs(Char:GetDescendants()) do | |
227 | if v:IsA("ParticleEmitter") then | |
228 | v.Enabled = false | |
229 | end | |
230 | end | |
231 | end | |
232 | end | |
233 | function stopAllSounds() | |
234 | for _, v in pairs(Char:GetDescendants()) do | |
235 | if v:IsA("Sound") then | |
236 | v:Stop() | |
237 | end | |
238 | end | |
239 | end | |
240 | function rayCast(Position, Direction, Range, Ignore) | |
241 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * Range), Ignore and Char, false, false) | |
242 | end | |
243 | function CreateRegion3(pos, siz) | |
244 | local offset = siz / 2 | |
245 | local p1 = pos - offset | |
246 | local p2 = pos + offset | |
247 | return Region3.new(p1, p2) | |
248 | end | |
249 | Char.Head.face.Texture = "rbxassetid://413593222" | |
250 | Shirt = Create("Shirt", Char, "Shirt", { | |
251 | ShirtTemplate = "http://www.roblox.com/asset/?id=1488400985" | |
252 | }) | |
253 | Pants = Create("Pants", Char, "Pants", { | |
254 | PantsTemplate = "http://www.roblox.com/asset/?id=1488404117" | |
255 | }) | |
256 | Hair = Create("Part", Char, "Hair", { | |
257 | CanCollide = false, | |
258 | BrickColor = BrickColor.new("Black metallic") | |
259 | }) | |
260 | Nose = Create("Decal", Head, "Decal", { | |
261 | Texture = "rbxassetid://0" | |
262 | }) | |
263 | Mouth = Create("Decal", Head, "Decal", { | |
264 | Texture = "rbxassetid://0" | |
265 | }) | |
266 | Create("SpecialMesh", Hair, "Mesh", { | |
267 | MeshId = "http://www.roblox.com/asset/?id=1378167215", | |
268 | Scale = Vector3.new(1.1, 1.1, 1.1), | |
269 | Offset = Vector3.new(0, 0.48, -0.4) | |
270 | }) | |
271 | HairWeld = newWeld(Head, Hair, Head, CFrame.new(0, -0.3, 0)) | |
272 | KamehamehaSound = Create("Sound", HRoot, "Sound", { | |
273 | SoundId = "rbxassetid://551399476", | |
274 | Volume = 2, | |
275 | EmitterSize = 50 | |
276 | }) | |
277 | PunchSound = Create("Sound", Torso, "Sound", { | |
278 | SoundId = "rbxassetid://573604054", | |
279 | Volume = 4, | |
280 | EmitterSize = 2 | |
281 | }) | |
282 | SpiritBombSound = Create("Sound", HRoot, "Sound", { | |
283 | SoundId = "rbxassetid://919429799", | |
284 | Volume = 2, | |
285 | EmitterSize = 50 | |
286 | }) | |
287 | ExplosionSound = Create("Sound", HRoot, "Sound", { | |
288 | SoundId = "rbxassetid://638861091", | |
289 | Volume = 3, | |
290 | EmitterSize = 100 | |
291 | }) | |
292 | PunchSound2 = Create("Sound", HRoot, "Sound", { | |
293 | SoundId = "rbxassetid://137579113", | |
294 | Volume = 4, | |
295 | EmitterSize = 100 | |
296 | }) | |
297 | PunchSound3 = Create("Sound", HRoot, "Sound", { | |
298 | SoundId = "rbxassetid://748050177", | |
299 | Volume = 4, | |
300 | EmitterSize = 5 | |
301 | }) | |
302 | ExplosionSound2 = Create("Sound", HRoot, "Sound", { | |
303 | SoundId = "rbxassetid://165970126", | |
304 | Volume = 4 | |
305 | }) | |
306 | UltraSound1 = Create("Sound", HRoot, "Sound", { | |
307 | SoundId = "rbxassetid://1136905493", | |
308 | Volume = 1, | |
309 | EmitterSize = 100, | |
310 | Looped = true | |
311 | }) | |
312 | UltraSound2 = Create("Sound", HRoot, "Sound", { | |
313 | SoundId = "rbxassetid://232213955", | |
314 | Volume = 2 | |
315 | }) | |
316 | SSJScream1 = Create("Sound", HRoot, "Sound", { | |
317 | SoundId = "rbxassetid://527276541", | |
318 | Volume = 2 | |
319 | }) | |
320 | SSJScream2 = Create("Sound", HRoot, "Sound", { | |
321 | SoundId = "rbxassetid://975468335", | |
322 | Volume = 2 | |
323 | }) | |
324 | SSJSound1 = Create("Sound", HRoot, "Sound", { | |
325 | SoundId = "rbxassetid://437393965", | |
326 | Volume = 2 | |
327 | }) | |
328 | SSJSound2 = Create("Sound", HRoot, "Sound", { | |
329 | SoundId = "rbxassetid://891397456", | |
330 | Volume = 4, | |
331 | Looped = true | |
332 | }) | |
333 | SSJSound3 = Create("Sound", HRoot, "Sound", { | |
334 | SoundId = "rbxassetid://390946253", | |
335 | Volume = 2, | |
336 | EmitterSize = 100, | |
337 | Looped = true | |
338 | }) | |
339 | SSJ2Sound1 = Create("Sound", HRoot, "Sound", { | |
340 | SoundId = "rbxassetid://850205092", | |
341 | Volume = 4, | |
342 | Looped = true | |
343 | }) | |
344 | SSJ2Sound2 = Create("Sound", HRoot, "Sound", { | |
345 | SoundId = "rbxassetid://144377132", | |
346 | Volume = 2, | |
347 | Looped = true, | |
348 | EmitterSize = 100 | |
349 | }) | |
350 | SSJ3Sound1 = Create("Sound", HRoot, "Sound", { | |
351 | SoundId = "rbxassetid://156056027", | |
352 | Volume = 2, | |
353 | Looped = true, | |
354 | EmitterSize = 100 | |
355 | }) | |
356 | SSJGSound1 = Create("Sound", HRoot, "Sound", { | |
357 | SoundId = "rbxassetid://612450955", | |
358 | Volume = 2, | |
359 | Looped = true, | |
360 | EmitterSize = 100 | |
361 | }) | |
362 | SSJGSound2 = Create("Sound", HRoot, "Sound", { | |
363 | SoundId = "rbxassetid://590580266", | |
364 | Volume = 4, | |
365 | Looped = true | |
366 | }) | |
367 | PowerDown = Create("Sound", HRoot, "Sound", { | |
368 | SoundId = "rbxassetid://550621034", | |
369 | Volume = 4, | |
370 | EmitterSize = 100 | |
371 | }) | |
372 | SSJBSound1 = Create("Sound", HRoot, "Sound", { | |
373 | SoundId = "rbxassetid://874183151", | |
374 | Volume = 2 | |
375 | }) | |
376 | SSJBSound2 = Create("Sound", HRoot, "Sound", { | |
377 | SoundId = "rbxassetid://180572775", | |
378 | Volume = 2, | |
379 | Looped = true, | |
380 | EmitterSize = 100 | |
381 | }) | |
382 | SSJBSound3 = Create("Sound", HRoot, "Sound", { | |
383 | SoundId = "rbxassetid://443386048", | |
384 | Volume = 4, | |
385 | Looped = true | |
386 | }) | |
387 | Hcf = HairWeld.C0 | |
388 | FloatVel = Create("BodyVelocity", nil, "Float", { | |
389 | MaxForce = Vector3.new(0, 0, 0), | |
390 | Velocity = Vector3.new(0, 0, 0) | |
391 | }) | |
392 | FloatGyro = Create("BodyGyro", nil, "Gyro", { | |
393 | MaxTorque = Vector3.new(0, 0, 0), | |
394 | P = 30000 | |
395 | }) | |
396 | Char.Archivable = true | |
397 | Clone = Char:Clone() | |
398 | Clone.Shirt.ShirtTemplate = "rbxassetid://1162887253" | |
399 | Clone.Pants.PantsTemplate = "rbxassetid://1162887782" | |
400 | Clone.Hair.Mesh.MeshId = "rbxassetid://1125231485" | |
401 | Clone.Head.Motor6D.C0 = Clone.Head.Motor6D.C0 * CFrame.Angles(Rad(0), Rad(180), Rad(0)) | |
402 | Clone:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None" | |
403 | Human.MaxHealth = 50000 | |
404 | wait(0.01) | |
405 | Human.Health = 50000 | |
406 | if Clone:FindFirstChildOfClass("ForceField") then | |
407 | Clone:FindFirstChildOfClass("ForceField"):Destroy() | |
408 | end | |
409 | Char.Archivable = false | |
410 | SSJContainer = Create("BillboardGui", HRoot, "BillboardGui", { | |
411 | ExtentsOffset = Vector3.new(0, 0, 0), | |
412 | MaxDistance = math.huge, | |
413 | Size = UDim2.new(20, 0, 20, 0) | |
414 | }) | |
415 | Aura = Create("ImageLabel", SSJContainer, "ImageLabel", { | |
416 | BackgroundTransparency = 1, | |
417 | Size = UDim2.new(2, 0, 1, 0), | |
418 | Position = UDim2.new(-0.5, 0, -0.2, 0) | |
419 | }) | |
420 | createEmit({ | |
421 | Name = "UltAura", | |
422 | Color = ColorSequence.new(Color3.fromRGB(0, 170, 255)), | |
423 | LightEmission = 0.15, | |
424 | LightInfluence = 1, | |
425 | Size = NumberSequence.new(1), | |
426 | Texture = "rbxassetid://833874434", | |
427 | Transparency = NumberSequence.new({ | |
428 | NumberSequenceKeypoint.new(0, 1), | |
429 | NumberSequenceKeypoint.new(0.117, 0.705), | |
430 | NumberSequenceKeypoint.new(0.655, 0.732), | |
431 | NumberSequenceKeypoint.new(1, 1) | |
432 | }), | |
433 | Lifetime = NumberRange.new(2), | |
434 | Rate = 25, | |
435 | RotSpeed = NumberRange.new(-100, 100), | |
436 | Speed = NumberRange.new(0.5), | |
437 | SpreadAngle = Vector2.new(15, 15), | |
438 | ZOffset = -2, | |
439 | Enabled = false, | |
440 | LockedToPart = true | |
441 | }) | |
442 | createEmit({ | |
443 | Name = "UltAura", | |
444 | Color = ColorSequence.new(Color3.fromRGB(85, 0, 255)), | |
445 | LightEmission = 0.15, | |
446 | LightInfluence = 1, | |
447 | Size = NumberSequence.new(0.95), | |
448 | Texture = "rbxassetid://833874434", | |
449 | Transparency = NumberSequence.new({ | |
450 | NumberSequenceKeypoint.new(0, 1), | |
451 | NumberSequenceKeypoint.new(0.117, 0.705), | |
452 | NumberSequenceKeypoint.new(0.655, 0.732), | |
453 | NumberSequenceKeypoint.new(1, 1) | |
454 | }), | |
455 | Lifetime = NumberRange.new(2), | |
456 | Rate = 25, | |
457 | RotSpeed = NumberRange.new(-100, 100), | |
458 | Speed = NumberRange.new(0.5), | |
459 | SpreadAngle = Vector2.new(15, 15), | |
460 | ZOffset = -3, | |
461 | Enabled = false, | |
462 | LockedToPart = true | |
463 | }) | |
464 | createEmit({ | |
465 | Name = "UltAura", | |
466 | Color = ColorSequence.new(Color3.fromRGB(255, 255, 255)), | |
467 | LightEmission = 0.15, | |
468 | LightInfluence = 1, | |
469 | Size = NumberSequence.new(0.9), | |
470 | Texture = "rbxassetid://833874434", | |
471 | Transparency = NumberSequence.new({ | |
472 | NumberSequenceKeypoint.new(0, 1), | |
473 | NumberSequenceKeypoint.new(0.117, 0.705), | |
474 | NumberSequenceKeypoint.new(0.655, 0.732), | |
475 | NumberSequenceKeypoint.new(1, 1) | |
476 | }), | |
477 | Lifetime = NumberRange.new(2), | |
478 | Rate = 25, | |
479 | RotSpeed = NumberRange.new(-100, 100), | |
480 | Speed = NumberRange.new(0.5), | |
481 | SpreadAngle = Vector2.new(15, 15), | |
482 | ZOffset = -1, | |
483 | Enabled = false, | |
484 | LockedToPart = true | |
485 | }) | |
486 | function keyDown(key) | |
487 | Keys[key] = true | |
488 | if Attacking then | |
489 | return | |
490 | end | |
491 | if Mode ~= "Ultra" then | |
492 | if key == Enum.KeyCode.Z then | |
493 | Attacking = true | |
494 | do | |
495 | local cached = {} | |
496 | local function onTouch(h) | |
497 | if h.Parent == nil then | |
498 | return | |
499 | end | |
500 | if h:IsDescendantOf(Char) then | |
501 | return | |
502 | end | |
503 | if cached[h.Parent] then | |
504 | return | |
505 | end | |
506 | local hum = h.Parent:FindFirstChildOfClass("Humanoid") | |
507 | local tor = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("HumanoidRootPart") | |
508 | if hum and tor then | |
509 | local ring = Create("Part", workspace, "Part", { | |
510 | Anchored = true, | |
511 | CanCollide = false, | |
512 | BrickColor = BrickColor.new("Institutional white"), | |
513 | Size = Vector3.new(1, 1, 1), | |
514 | CFrame = CFrame.new(tor.CFrame.p, HRoot.CFrame.p) | |
515 | }) | |
516 | ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0)) | |
517 | local mesh = Create("SpecialMesh", ring, "Mesh", { | |
518 | MeshId = "http://www.roblox.com/asset/?id=20329976", | |
519 | Scale = Vector3.new(1, 1, 1) | |
520 | }) | |
521 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play() | |
522 | TweenService:Create(mesh, TweenInfo.new(1), { | |
523 | Scale = Vector3.new(20, 1, 20) | |
524 | }):Play() | |
525 | game:GetService("Debris"):AddItem(ring, 1) | |
526 | for _, v in pairs(h.Parent:GetChildren()) do | |
527 | if v:IsA("ForceField") then | |
528 | v:Destroy() | |
529 | end | |
530 | end | |
531 | if Mode == "Base" then | |
532 | hum:TakeDamage(hum.MaxHealth / 120) | |
533 | elseif Mode == "SSJ" then | |
534 | hum:TakeDamage(hum.MaxHealth / 100) | |
535 | elseif Mode == "SSJ2" then | |
536 | hum:TakeDamage(hum.MaxHealth / 90) | |
537 | elseif Mode == "SSJ3" then | |
538 | hum:TakeDamage(hum.MaxHealth / 80) | |
539 | elseif Mode == "SSJG" then | |
540 | hum:TakeDamage(hum.MaxHealth / 70) | |
541 | elseif Mode == "SSJB" then | |
542 | hum:TakeDamage(hum.MaxHealth / 65) | |
543 | elseif Mode == "SSJBKK" then | |
544 | hum:TakeDamage(hum.MaxHealth / 60) | |
545 | elseif Mode == "Vegito" then | |
546 | hum:TakeDamage(hum.MaxHealth / 0.1) | |
547 | end | |
548 | cached[h.Parent] = true | |
549 | spawn(function() | |
550 | wait(0.1) | |
551 | cached[h.Parent] = nil | |
552 | end) | |
553 | end | |
554 | end | |
555 | local lac = LArm.Touched:connect(onTouch) | |
556 | local rac = RArm.Touched:connect(onTouch) | |
557 | PunchSound.Looped = true | |
558 | PunchSound:Play() | |
559 | for i = 0, 18 do | |
560 | for i = 0, 0.4, 0.1 do | |
561 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
562 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
563 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
564 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
565 | SWait() | |
566 | end | |
567 | for i = 0, 0.4, 0.1 do | |
568 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
569 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
570 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
571 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i) | |
572 | SWait() | |
573 | end | |
574 | end | |
575 | PunchSound.Looped = false | |
576 | PunchSound:Stop() | |
577 | lac:Disconnect() | |
578 | rac:Disconnect() | |
579 | Attacking = false | |
580 | end | |
581 | elseif key == Enum.KeyCode.X then | |
582 | if Mouse.Target.Parent == nil then | |
583 | return | |
584 | end | |
585 | Attacking = true | |
586 | Walkspeed = 0 | |
587 | do | |
588 | local targ = Mouse.Target.Parent | |
589 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
590 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
591 | if not hum or not tor then | |
592 | Attacking = false | |
593 | Walkspeed = 16 | |
594 | return | |
595 | end | |
596 | for i = 0, 0.2, 0.01 do | |
597 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
598 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i) | |
599 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
600 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
601 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-20)), i) | |
602 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(20)), i) | |
603 | SWait() | |
604 | end | |
605 | local bv = Create("BodyVelocity", HRoot, "BV", { | |
606 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
607 | Velocity = Vector3.new(0, 100, 0) | |
608 | }) | |
609 | for i = 0, 0.2, 0.01 do | |
610 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i) | |
611 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, i) | |
612 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
613 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
614 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i) | |
615 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i) | |
616 | SWait() | |
617 | end | |
618 | for i = 0, 100 do | |
619 | bv.Velocity = bv.Velocity - Vector3.new(0, 1, 0) | |
620 | if 0 > bv.Velocity.Y then | |
621 | bv.Velocity = Vector3.new(0, 0, 0) | |
622 | break | |
623 | end | |
624 | SWait() | |
625 | end | |
626 | for i = 0, 0.2, 0.01 do | |
627 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-25), Rad(0), Rad(180)), i) | |
628 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-25), Rad(0), Rad(-180)), i) | |
629 | SWait() | |
630 | end | |
631 | game:GetService("Chat"):Chat(Head, "Prepare yourself! Here I go!", Enum.ChatColor.White) | |
632 | tor.Anchored = true | |
633 | Char:MoveTo(tor.CFrame * CFrame.new(0, -1, 2.2).p) | |
634 | local Music3 = Instance.new("Sound", Torso) | |
635 | Music3.SoundId = "rbxassetid://1055279036" | |
636 | Music3.Volume = 6 | |
637 | Music3.Pitch = 1 | |
638 | Music3.Looped = false | |
639 | Music3:Play() | |
640 | game:GetService("Chat"):Chat(Head, "HAAA!", Enum.ChatColor.White) | |
641 | Torso.CFrame = CFrame.new(Torso.CFrame.p, tor.CFrame.p) | |
642 | local cached = {} | |
643 | local function damage() | |
644 | local ring = Create("Part", workspace, "Part", { | |
645 | Anchored = true, | |
646 | CanCollide = false, | |
647 | BrickColor = BrickColor.new("Institutional white"), | |
648 | Size = Vector3.new(1, 1, 1), | |
649 | CFrame = tor.CFrame | |
650 | }) | |
651 | local mesh = Create("SpecialMesh", ring, "Mesh", { | |
652 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
653 | Scale = Vector3.new(1, 1, 1) | |
654 | }) | |
655 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play() | |
656 | TweenService:Create(mesh, TweenInfo.new(1), { | |
657 | Scale = Vector3.new(20, 20, 1) | |
658 | }):Play() | |
659 | game:GetService("Debris"):AddItem(ring, 1) | |
660 | for _, v in pairs(targ.Parent:GetChildren()) do | |
661 | if v:IsA("ForceField") then | |
662 | v:Destroy() | |
663 | end | |
664 | end | |
665 | if Mode == "Base" then | |
666 | hum:TakeDamage(hum.MaxHealth / 140) | |
667 | elseif Mode == "SSJ" then | |
668 | hum:TakeDamage(hum.MaxHealth / 110) | |
669 | elseif Mode == "SSJ2" then | |
670 | hum:TakeDamage(hum.MaxHealth / 100) | |
671 | elseif Mode == "SSJ3" then | |
672 | hum:TakeDamage(hum.MaxHealth / 90) | |
673 | elseif Mode == "SSJG" then | |
674 | hum:TakeDamage(hum.MaxHealth / 70) | |
675 | elseif Mode == "SSJB" then | |
676 | hum:TakeDamage(hum.MaxHealth / 60) | |
677 | elseif Mode == "SSJBKK" then | |
678 | hum:TakeDamage(hum.MaxHealth / 50) | |
679 | elseif Mode == "Vegito" then | |
680 | hum:TakeDamage(hum.MaxHealth / 0.1) | |
681 | end | |
682 | end | |
683 | PunchSound.Looped = true | |
684 | PunchSound:Play() | |
685 | for i = 0, 6 do | |
686 | for i = 0, 1, 0.1 do | |
687 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
688 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
689 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
690 | SWait() | |
691 | end | |
692 | damage() | |
693 | for i = 0, 1, 0.1 do | |
694 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
695 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
696 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i) | |
697 | SWait() | |
698 | end | |
699 | damage() | |
700 | end | |
701 | PunchSound.Looped = false | |
702 | PunchSound:Stop() | |
703 | PunchSound3:Play() | |
704 | for i = 0, 0.1, 0.01 do | |
705 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
706 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
707 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
708 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
709 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(-130)), i) | |
710 | SWait() | |
711 | end | |
712 | game:GetService("Chat"):Chat(Head, "DYAH!", Enum.ChatColor.White) | |
713 | damage() | |
714 | local orig = tor.CFrame | |
715 | local bv2 = Create("BodyVelocity", tor, "BV", { | |
716 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
717 | Velocity = Vector3.new(0, 50, 0) | |
718 | }) | |
719 | tor.Anchored = false | |
720 | wait(1) | |
721 | for i = 0, 100 do | |
722 | bv2.Velocity = bv2.Velocity - Vector3.new(0, 1, 0) | |
723 | if 0 > bv2.Velocity.Y then | |
724 | bv2.Velocity = Vector3.new(0, 0, 0) | |
725 | break | |
726 | end | |
727 | SWait() | |
728 | end | |
729 | Char:MoveTo(tor.CFrame * CFrame.new(0, 1, 2).p) | |
730 | local Music3 = Instance.new("Sound", Torso) | |
731 | Music3.SoundId = "rbxassetid://1055279036" | |
732 | Music3.Volume = 6 | |
733 | Music3.Pitch = 1 | |
734 | Music3.Looped = false | |
735 | Music3:Play() | |
736 | for i = 0, 0.2, 0.01 do | |
737 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-50), Rad(0), Rad(0)), i) | |
738 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i) | |
739 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i) | |
740 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-140)), i) | |
741 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(140)), i) | |
742 | SWait() | |
743 | end | |
744 | for i = 0, 0.2, 0.01 do | |
745 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(50), Rad(0), Rad(0)), i) | |
746 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i) | |
747 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i) | |
748 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-40)), i) | |
749 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(40)), i) | |
750 | SWait() | |
751 | end | |
752 | game:GetService("Chat"):Chat(Head, "HYYAAAAH!!", Enum.ChatColor.White) | |
753 | damage() | |
754 | bv2:Destroy() | |
755 | local asd = false | |
756 | PunchSound3:Play() | |
757 | spawn(function() | |
758 | wait(2) | |
759 | if not asd and Attacking then | |
760 | Attacking = false | |
761 | bv:Destroy() | |
762 | Walkspeed = 16 | |
763 | game:GetService("Chat"):Chat(Head, "Hehe, You're pretty strong!", Enum.ChatColor.White) | |
764 | end | |
765 | end) | |
766 | hum.StateChanged:connect(function(old, state) | |
767 | if state == Enum.HumanoidStateType.Landed then | |
768 | local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500) | |
769 | local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false) | |
770 | ExplosionSound2:Play() | |
771 | if Mode == "Base" then | |
772 | hum:TakeDamage(hum.MaxHealth / 102) | |
773 | elseif Mode == "SSJ" then | |
774 | hum:TakeDamage(hum.MaxHealth / 83) | |
775 | elseif Mode == "SSJ2" then | |
776 | hum:TakeDamage(hum.MaxHealth / 66) | |
777 | elseif Mode == "SSJ3" then | |
778 | hum:TakeDamage(hum.MaxHealth / 49) | |
779 | elseif Mode == "SSJG" then | |
780 | hum:TakeDamage(hum.MaxHealth / 32) | |
781 | elseif Mode == "SSJB" then | |
782 | hum:TakeDamage(hum.MaxHealth / 15) | |
783 | end | |
784 | for i = 0, 360, 36 do | |
785 | local debris = Create("Part", workspace, "Part", { | |
786 | Anchored = true, | |
787 | CanCollide = false, | |
788 | BrickColor = part.BrickColor or BrickColor.new("Bright green"), | |
789 | Material = material or Enum.Material.Grass, | |
790 | Size = Vector3.new(15, 20, 10), | |
791 | CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15) | |
792 | }) | |
793 | debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0)) | |
794 | TweenService:Create(debris, TweenInfo.new(2), {Transparency = 1}):Play() | |
795 | game:GetService("Debris"):AddItem(debris, 2) | |
796 | end | |
797 | asd = true | |
798 | bv:Destroy() | |
799 | Walkspeed = 16 | |
800 | Attacking = false | |
801 | end | |
802 | end) | |
803 | end | |
804 | elseif key == Enum.KeyCode.C then | |
805 | Attacking = true | |
806 | local orb1 = Create("Part", Char, "Part", { | |
807 | CanCollide = false, | |
808 | Material = "Neon", | |
809 | BrickColor = BrickColor.new("Electric blue"), | |
810 | Size = Vector3.new(1, 1, 1) | |
811 | }) | |
812 | local smesh = Create("SpecialMesh", orb1, "Mesh", { | |
813 | MeshType = "Sphere", | |
814 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
815 | }) | |
816 | local orb2 = Create("Part", Char, "Part", { | |
817 | CanCollide = false, | |
818 | Material = "Neon", | |
819 | BrickColor = BrickColor.new("Electric blue"), | |
820 | Size = Vector3.new(1, 1, 1) | |
821 | }) | |
822 | local smesh2 = Create("SpecialMesh", orb2, "Mesh", { | |
823 | MeshType = "Sphere", | |
824 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
825 | }) | |
826 | newWeld(orb1, LArm, orb1, CFrame.new(0, -1, 0)) | |
827 | newWeld(orb2, RArm, orb2, CFrame.new(0, -1, 0)) | |
828 | for i = 0, 0.28, 0.01 do | |
829 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
830 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, i) | |
831 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
832 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-90)), i) | |
833 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(90)), i) | |
834 | SWait() | |
835 | end | |
836 | TweenService:Create(smesh, TweenInfo.new(1), { | |
837 | Scale = Vector3.new(1, 1, 1) | |
838 | }):Play() | |
839 | TweenService:Create(smesh2, TweenInfo.new(1), { | |
840 | Scale = Vector3.new(1, 1, 1) | |
841 | }):Play() | |
842 | wait(1) | |
843 | for i = 0, 20, 0.1 do | |
844 | do | |
845 | local blast = Create("Part", workspace, "EB", { | |
846 | CanCollide = false, | |
847 | BrickColor = BrickColor.new("Electric blue"), | |
848 | Material = "Neon", | |
849 | Size = Vector3.new(2, 2, 2), | |
850 | CFrame = HRoot.CFrame * CFrame.new(Random(-4, 4), Random(0, 2), -2) | |
851 | }) | |
852 | local mesh = Create("SpecialMesh", blast, "Mesh", { | |
853 | MeshType = "Sphere", | |
854 | Scale = Vector3.new(0.6, 0.6, 1) | |
855 | }) | |
856 | local bv = Create("BodyVelocity", blast, "BV", { | |
857 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
858 | Velocity = HRoot.CFrame.lookVector * 180 | |
859 | }) | |
860 | game:GetService("Debris"):AddItem(blast, 2) | |
861 | blast.Touched:connect(function(h) | |
862 | if h.Parent == nil then | |
863 | return | |
864 | end | |
865 | if h:IsDescendantOf(Char) then | |
866 | return | |
867 | end | |
868 | if h.Name == "EB" then | |
869 | return | |
870 | end | |
871 | local hum = h.Parent:FindFirstChildOfClass("Humanoid") | |
872 | local tor = h.Parent:FindFirstChild("Toros") or h.Parent:FindFirstChild("HumanoidRootPart") | |
873 | blast.Anchored = true | |
874 | local nb = blast:Clone() | |
875 | blast:Destroy() | |
876 | nb.Parent = workspace | |
877 | TweenService:Create(nb, TweenInfo.new(1), {Transparency = 1}):Play() | |
878 | TweenService:Create(nb.Mesh, TweenInfo.new(1), { | |
879 | Scale = Vector3.new(4, 4, 4) | |
880 | }):Play() | |
881 | game:GetService("Debris"):AddItem(nb, 1) | |
882 | if hum and tor then | |
883 | for _, v in pairs(h.Parent:GetChildren()) do | |
884 | if v:IsA("ForceField") then | |
885 | v:Destroy() | |
886 | end | |
887 | end | |
888 | if Mode == "Base" then | |
889 | hum:TakeDamage(hum.MaxHealth / 105) | |
890 | elseif Mode == "SSJ" then | |
891 | hum:TakeDamage(hum.MaxHealth / 90) | |
892 | elseif Mode == "SSJ2" then | |
893 | hum:TakeDamage(hum.MaxHealth / 80) | |
894 | elseif Mode == "SSJ3" then | |
895 | hum:TakeDamage(hum.MaxHealth / 70) | |
896 | elseif Mode == "SSJG" then | |
897 | hum:TakeDamage(hum.MaxHealth / 60) | |
898 | elseif Mode == "SSJB" then | |
899 | hum:TakeDamage(hum.MaxHealth / 50) | |
900 | elseif Mode == "SSJBKK" then | |
901 | hum:TakeDamage(hum.MaxHealth / 40) | |
902 | elseif Mode == "Vegito" then | |
903 | hum:TakeDamage(hum.MaxHealth / 0.1) | |
904 | end | |
905 | end | |
906 | end) | |
907 | SWait() | |
908 | end | |
909 | end | |
910 | TweenService:Create(smesh, TweenInfo.new(1), { | |
911 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
912 | }):Play() | |
913 | TweenService:Create(smesh2, TweenInfo.new(1), { | |
914 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
915 | }):Play() | |
916 | game:GetService("Debris"):AddItem(orb1, 1) | |
917 | game:GetService("Debris"):AddItem(orb2, 1) | |
918 | Attacking = false | |
919 | elseif key == Enum.KeyCode.V then | |
920 | Attacking = true | |
921 | Walkspeed = 0 | |
922 | KamehamehaSound:Play() | |
923 | do | |
924 | local orb = Create("Part", Char, "Part", { | |
925 | CanCollide = false, | |
926 | Material = "Neon", | |
927 | BrickColor = BrickColor.new("Electric blue"), | |
928 | Size = Vector3.new(1, 1, 1) | |
929 | }) | |
930 | newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0)) | |
931 | local smesh = Create("SpecialMesh", orb, "Mesh", { | |
932 | MeshType = "Sphere", | |
933 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
934 | }) | |
935 | for i = 0, 1, 0.01 do | |
936 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
937 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i) | |
938 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i) | |
939 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i) | |
940 | wait() | |
941 | end | |
942 | TweenService:Create(smesh, TweenInfo.new(4.7), { | |
943 | Scale = Vector3.new(2, 2, 2) | |
944 | }):Play() | |
945 | wait(4.7) | |
946 | local fire = false | |
947 | for i = 0, 1, 0.01 do | |
948 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
949 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
950 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(-50), Rad(-90)), i) | |
951 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(40), Rad(90)), i) | |
952 | if i >= 0.8 and not fire then | |
953 | fire = true | |
954 | end | |
955 | wait() | |
956 | end | |
957 | spawn(function() | |
958 | repeat | |
959 | SWait() | |
960 | until fire | |
961 | local hitb = Create("Part", workspace, "KameHameHaUltra", { | |
962 | Anchored = true, | |
963 | CanCollide = false, | |
964 | Transparency = 1, | |
965 | Size = Vector3.new(74, 74, 700), | |
966 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -350) | |
967 | }) | |
968 | local beam = Create("Part", workspace, "KameHameHaUltra", { | |
969 | Anchored = true, | |
970 | CanCollide = false, | |
971 | Material = "Neon", | |
972 | BrickColor = BrickColor.new("Electric blue"), | |
973 | Size = Vector3.new(1, 1, 1), | |
974 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2) | |
975 | }) | |
976 | local mesh = Create("SpecialMesh", beam, "Mesh", { | |
977 | MeshType = "Sphere", | |
978 | Scale = Vector3.new(1, 1, 1) | |
979 | }) | |
980 | TweenService:Create(mesh, TweenInfo.new(0.5), { | |
981 | Scale = Vector3.new(74, 74, 700) | |
982 | }):Play() | |
983 | TweenService:Create(beam, TweenInfo.new(0.5), { | |
984 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -350) | |
985 | }):Play() | |
986 | local done = false | |
987 | spawn(function() | |
988 | repeat | |
989 | local airPart = Create("Part", workspace, "Part", { | |
990 | Anchored = true, | |
991 | CanCollide = false, | |
992 | Size = Vector3.new(1, 1, 1), | |
993 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
994 | }) | |
995 | airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90)) | |
996 | local airMesh = Create("SpecialMesh", airPart, "Mesh", { | |
997 | MeshId = "rbxassetid://0", | |
998 | Scale = Vector3.new(6, 40, 6), | |
999 | Offset = Vector3.new(0, -100, 0) | |
1000 | }) | |
1001 | TweenService:Create(airPart, TweenInfo.new(0.1), { | |
1002 | Transparency = 1, | |
1003 | CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
1004 | }):Play() | |
1005 | game:GetService("Debris"):AddItem(airPart, 0.1) | |
1006 | SWait() | |
1007 | until done | |
1008 | end) | |
1009 | hitb.Touched:connect(function(h) | |
1010 | if h.Parent == nil then | |
1011 | return | |
1012 | end | |
1013 | if h:IsDescendantOf(Char) then | |
1014 | return | |
1015 | end | |
1016 | local anc | |
1017 | local a, b = pcall(function() | |
1018 | anc = findRealAncestor(h) | |
1019 | end) | |
1020 | if a then | |
1021 | local hum = anc:FindFirstChildOfClass("Humanoid") | |
1022 | if hum then | |
1023 | if Mode == "Base" then | |
1024 | hum:TakeDamage(hum.MaxHealth / 80) | |
1025 | elseif Mode == "SSJ" then | |
1026 | hum:TakeDamage(hum.MaxHealth / 70) | |
1027 | elseif Mode == "SSJ2" then | |
1028 | hum:TakeDamage(hum.MaxHealth / 60) | |
1029 | elseif Mode == "SSJ3" then | |
1030 | hum:TakeDamage(hum.MaxHealth / 50) | |
1031 | elseif Mode == "SSJG" then | |
1032 | hum:TakeDamage(hum.MaxHealth / 40) | |
1033 | elseif Mode == "SSJB" then | |
1034 | hum:TakeDamage(hum.MaxHealth / 30) | |
1035 | end | |
1036 | game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChildOfClass("HumanoidRootPart") or anc:FindFirstChild("Head"), "BV", { | |
1037 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1038 | Velocity = HRoot.CFrame.lookVector * 20 | |
1039 | }), 10) | |
1040 | end | |
1041 | end | |
1042 | end) | |
1043 | local kameOn = true | |
1044 | local HAA = Instance.new("Sound", Torso) | |
1045 | HAA.SoundId = "rbxassetid://551399627" | |
1046 | HAA.Pitch = 1 | |
1047 | HAA.Looped = false | |
1048 | HAA.Volume = 3.2 | |
1049 | wait(1.0E-4) | |
1050 | HAA:Play() | |
1051 | local Music2 = Instance.new("Sound", Torso) | |
1052 | Music2.SoundId = "rbxassetid://1117288204" | |
1053 | Music2.Pitch = 1 | |
1054 | Music2.Looped = false | |
1055 | Music2.Volume = 7.2 | |
1056 | wait(1.0E-4) | |
1057 | Music2:Play() | |
1058 | Music2.Ended:connect(function() | |
1059 | if not kameOn then | |
1060 | return | |
1061 | end | |
1062 | KamehamehaSound.Volume = 4 | |
1063 | kameOn = false | |
1064 | done = true | |
1065 | hitb:Destroy() | |
1066 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1067 | Scale = Vector3.new(0.01, 0.01, 4) | |
1068 | }):Play() | |
1069 | TweenService:Create(beam, TweenInfo.new(1), { | |
1070 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4) | |
1071 | }):Play() | |
1072 | TweenService:Create(smesh, TweenInfo.new(1), { | |
1073 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
1074 | }):Play() | |
1075 | game:GetService("Debris"):AddItem(beam, 1) | |
1076 | game:GetService("Debris"):AddItem(orb, 1) | |
1077 | wait(1) | |
1078 | Walkspeed = 16 | |
1079 | Attacking = false | |
1080 | end) | |
1081 | end) | |
1082 | end | |
1083 | elseif key == Enum.KeyCode.B and Mode == "SSJG" then | |
1084 | if Mouse.Target.Parent == nil then | |
1085 | return | |
1086 | end | |
1087 | local targ = Mouse.Target.Parent | |
1088 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
1089 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
1090 | if not hum or not tor then | |
1091 | return | |
1092 | end | |
1093 | Attacking = true | |
1094 | local temp = newWeld(tor, HRoot, tor, CFrame.new(0, 0, -2)) | |
1095 | PunchSound.Looped = true | |
1096 | PunchSound:Play() | |
1097 | Chat:Chat(Head, "You're pretty strong! Let's see you keep up with me now!", Enum.ChatColor.White) | |
1098 | for i = 0, 6 do | |
1099 | for _, v in pairs(targ:GetChildren()) do | |
1100 | if v:IsA("ForceField") then | |
1101 | v:Destroy() | |
1102 | end | |
1103 | end | |
1104 | local ring1 = Create("Part", Char, "Part", { | |
1105 | Anchored = true, | |
1106 | CanCollide = false, | |
1107 | Size = Vector3.new(1, 1, 1), | |
1108 | BrickColor = BrickColor.new("Institutional white"), | |
1109 | CFrame = tor.CFrame | |
1110 | }) | |
1111 | local mesh1 = Create("SpecialMesh", ring1, "Mesh", { | |
1112 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1113 | Scale = Vector3.new(4, 4, 1) | |
1114 | }) | |
1115 | TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play() | |
1116 | TweenService:Create(mesh1, TweenInfo.new(1), { | |
1117 | Scale = Vector3.new(20, 20, 1) | |
1118 | }):Play() | |
1119 | game:GetService("Debris"):AddItem(ring1, 1) | |
1120 | for i = 0, 1, 0.1 do | |
1121 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
1122 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
1123 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
1124 | RHip.C0 = RHip.C0:lerp(Rhcf, i) | |
1125 | SWait() | |
1126 | end | |
1127 | hum:TakeDamage(hum.MaxHealth / 20) | |
1128 | local ring2 = Create("Part", Char, "Part", { | |
1129 | Anchored = true, | |
1130 | CanCollide = false, | |
1131 | Size = Vector3.new(1, 1, 1), | |
1132 | BrickColor = BrickColor.new("Institutional white"), | |
1133 | CFrame = tor.CFrame | |
1134 | }) | |
1135 | local mesh2 = Create("SpecialMesh", ring2, "Mesh", { | |
1136 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1137 | Scale = Vector3.new(4, 4, 1) | |
1138 | }) | |
1139 | TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play() | |
1140 | TweenService:Create(mesh2, TweenInfo.new(1), { | |
1141 | Scale = Vector3.new(20, 20, 1) | |
1142 | }):Play() | |
1143 | game:GetService("Debris"):AddItem(ring2, 1) | |
1144 | for i = 0, 1, 0.1 do | |
1145 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
1146 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
1147 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)), i) | |
1148 | SWait() | |
1149 | end | |
1150 | hum:TakeDamage(hum.MaxHealth / 20) | |
1151 | for i = 0, 1, 0.1 do | |
1152 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-20), Rad(120), Rad(0)), i) | |
1153 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i) | |
1154 | SWait() | |
1155 | end | |
1156 | hum:TakeDamage(hum.MaxHealth / 20) | |
1157 | end | |
1158 | PunchSound:Stop() | |
1159 | PunchSound.Looped = false | |
1160 | PunchSound3:Play() | |
1161 | for i = 0, 1, 0.1 do | |
1162 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
1163 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
1164 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
1165 | RHip.C0 = RHip.C0:lerp(Rhcf, i) | |
1166 | SWait() | |
1167 | end | |
1168 | hum:TakeDamage(hum.MaxHealth / 20) | |
1169 | game:GetService("Debris"):AddItem(Create("BodyVelocity", tor, "BV", { | |
1170 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1171 | Velocity = HRoot.CFrame.lookVector * 100 | |
1172 | }), 1) | |
1173 | temp:Destroy() | |
1174 | Attacking = false | |
1175 | elseif key == Enum.KeyCode.R then | |
1176 | if Mouse.Target.Parent == nil then | |
1177 | return | |
1178 | end | |
1179 | local targ = Mouse.Target.Parent | |
1180 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
1181 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
1182 | if not hum or not tor then | |
1183 | return | |
1184 | end | |
1185 | wait(1) | |
1186 | game:GetService("Chat"):Chat(Head, "HA!", Enum.ChatColor.White) | |
1187 | local Music3 = Instance.new("Sound", Torso) | |
1188 | Music3.SoundId = "rbxassetid://1050751126" | |
1189 | Music3.Volume = 6 | |
1190 | Music3.Pitch = 1 | |
1191 | Music3.Looped = false | |
1192 | Music3:Play() | |
1193 | for i = 0, 3, 0.1 do | |
1194 | do | |
1195 | local rp = Create("RocketPropulsion", Torso, "BV", { | |
1196 | MaxTorque = Vector3.new(200000000, 200000000, 200000000), | |
1197 | MaxSpeed = 100, | |
1198 | CartoonFactor = 1, | |
1199 | TargetRadius = 1, | |
1200 | MaxThrust = 40000, | |
1201 | Target = tor | |
1202 | }) | |
1203 | rp:Fire() | |
1204 | coroutine.resume(coroutine.create(function() | |
1205 | wait(3) | |
1206 | rp:remove() | |
1207 | end)) | |
1208 | SWait() | |
1209 | end | |
1210 | end | |
1211 | Attacking = false | |
1212 | elseif key == Enum.KeyCode.M then | |
1213 | if Mouse.Target.Parent == nil then | |
1214 | return | |
1215 | end | |
1216 | game:GetService("Chat"):Chat(Head, "Try this one! HA!", Enum.ChatColor.White) | |
1217 | do | |
1218 | local targ = Mouse.Target.Parent | |
1219 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
1220 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
1221 | if not hum or not tor then | |
1222 | return | |
1223 | end | |
1224 | Attacking = true | |
1225 | local Runnin = true | |
1226 | local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2)) | |
1227 | local function damage() | |
1228 | local ring = Create("Part", workspace, "Part", { | |
1229 | Anchored = true, | |
1230 | CanCollide = false, | |
1231 | BrickColor = BrickColor.new("Institutional white"), | |
1232 | Size = Vector3.new(1, 1, 1), | |
1233 | CFrame = CFrame.new(HRoot.CFrame.p, tor.CFrame.p) | |
1234 | }) | |
1235 | ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0)) | |
1236 | local mesh = Create("SpecialMesh", ring, "Mesh", { | |
1237 | MeshId = "http://www.roblox.com/asset/?id=20329976", | |
1238 | Scale = Vector3.new(1, 1, 1) | |
1239 | }) | |
1240 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play() | |
1241 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1242 | Scale = Vector3.new(20, 1, 20) | |
1243 | }):Play() | |
1244 | game:GetService("Debris"):AddItem(ring, 1) | |
1245 | for _, v in pairs(targ:GetChildren()) do | |
1246 | if v:IsA("ForceField") then | |
1247 | v:Destroy() | |
1248 | end | |
1249 | end | |
1250 | if Mode == "Base" then | |
1251 | hum:TakeDamage(hum.MaxHealth / 160) | |
1252 | elseif Mode == "SSJ" then | |
1253 | hum:TakeDamage(hum.MaxHealth / 130) | |
1254 | elseif Mode == "SSJ2" then | |
1255 | hum:TakeDamage(hum.MaxHealth / 110) | |
1256 | elseif Mode == "SSJ3" then | |
1257 | hum:TakeDamage(hum.MaxHealth / 50) | |
1258 | elseif Mode == "SSJG" then | |
1259 | hum:TakeDamage(hum.MaxHealth / 30) | |
1260 | elseif Mode == "SSJB" then | |
1261 | hum:TakeDamage(hum.MaxHealth / 20) | |
1262 | elseif Mode == "SSJBKK" then | |
1263 | hum:TakeDamage(hum.MaxHealth / 1) | |
1264 | end | |
1265 | end | |
1266 | SWait() | |
1267 | PunchSound.Looped = true | |
1268 | PunchSound:Play() | |
1269 | for i = 0, 12 do | |
1270 | Neck.C0 = Ncf | |
1271 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)) | |
1272 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)) | |
1273 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
1274 | damage() | |
1275 | wait(0.1) | |
1276 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)) | |
1277 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)) | |
1278 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
1279 | damage() | |
1280 | wait(0.1) | |
1281 | end | |
1282 | PunchSound:Stop() | |
1283 | PunchSound3:Play() | |
1284 | local bv = Create("BodyVelocity", HRoot, "BV", { | |
1285 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1286 | Velocity = Vector3.new(0, 0, 0) | |
1287 | }) | |
1288 | weld:Destroy() | |
1289 | Char:MoveTo(HRoot.CFrame * CFrame.new(0, 20, 0).p) | |
1290 | PunchSound:Play() | |
1291 | local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2)) | |
1292 | for i = 0, 24 do | |
1293 | Neck.C0 = Ncf | |
1294 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)) | |
1295 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)) | |
1296 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
1297 | damage() | |
1298 | wait(0.1) | |
1299 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)) | |
1300 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)) | |
1301 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
1302 | damage() | |
1303 | wait(0.1) | |
1304 | end | |
1305 | PunchSound:Stop() | |
1306 | local gyro = Create("BodyGyro", HRoot, "Gyro", { | |
1307 | MaxTorque = Vector3.new(200000000, 200000000, 200000000), | |
1308 | P = 30000 | |
1309 | }) | |
1310 | local conn = game:GetService("RunService").RenderStepped:connect(function() | |
1311 | gyro.CFrame = workspace.CurrentCamera.CFrame | |
1312 | end) | |
1313 | weld:Destroy() | |
1314 | hum.StateChanged:connect(function(old, new) | |
1315 | if not Runnin then | |
1316 | return | |
1317 | end | |
1318 | if new == Enum.HumanoidStateType.Landed then | |
1319 | Runnin = false | |
1320 | for _, v in pairs(targ:GetChildren()) do | |
1321 | if v:IsA("ForceField") then | |
1322 | v:Destroy() | |
1323 | end | |
1324 | end | |
1325 | hum:TakeDamage(hum.MaxHealth / 100) | |
1326 | ExplosionSound2:Play() | |
1327 | local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500) | |
1328 | local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false) | |
1329 | for i = 0, 360, 36 do | |
1330 | local debris = Create("Part", workspace, "Part", { | |
1331 | Anchored = true, | |
1332 | CanCollide = false, | |
1333 | BrickColor = part.BrickColor or BrickColor.new("Bright green"), | |
1334 | Material = material or Enum.Material.Grass, | |
1335 | Size = Vector3.new(15, 20, 10), | |
1336 | CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15) | |
1337 | }) | |
1338 | debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0)) | |
1339 | TweenService:Create(debris, TweenInfo.new(10), {Transparency = 1}):Play() | |
1340 | game:GetService("Debris"):AddItem(debris, 10) | |
1341 | end | |
1342 | end | |
1343 | end) | |
1344 | local onTouch = function(part, h) | |
1345 | if h:IsDescendantOf(Char) then | |
1346 | return | |
1347 | end | |
1348 | if h.Name:lower() == "kib" then | |
1349 | return | |
1350 | end | |
1351 | local nk = part:Clone() | |
1352 | nk.Parent = workspace | |
1353 | nk.Anchored = true | |
1354 | part:Destroy() | |
1355 | TweenService:Create(nk, TweenInfo.new(1), {Transparency = 1}):Play() | |
1356 | TweenService:Create(nk.Mesh, TweenInfo.new(1), { | |
1357 | Scale = Vector3.new(16, 16, 16) | |
1358 | }):Play() | |
1359 | game:GetService("Debris"):AddItem(nk, 1) | |
1360 | for _, v in pairs(workspace:GetChildren()) do | |
1361 | if v:FindFirstChildOfClass("Humanoid") and v ~= Char then | |
1362 | local tor = v:FindFirstChild("Torso") or v:FindFirstChild("HumanoidRootPart") | |
1363 | local hum = v:FindFirstChildOfClass("Humanoid") | |
1364 | if tor and (tor.Position - nk.Position).magnitude <= 80 then | |
1365 | for _, b in pairs(v:GetChildren()) do | |
1366 | if b:IsA("ForceField") then | |
1367 | b:Destroy() | |
1368 | end | |
1369 | end | |
1370 | if Mode == "Base" then | |
1371 | hum:TakeDamage(hum.MaxHealth / 60) | |
1372 | elseif Mode == "SSJ" then | |
1373 | hum:TakeDamage(hum.MaxHealth / 50) | |
1374 | elseif Mode == "SSJ2" then | |
1375 | hum:TakeDamage(hum.MaxHealth / 30) | |
1376 | elseif Mode == "SSJ3" then | |
1377 | hum:TakeDamage(hum.MaxHealth / 6) | |
1378 | elseif Mode == "SSJG" then | |
1379 | hum:TakeDamage(hum.MaxHealth / 3) | |
1380 | elseif Mode == "SSJB" then | |
1381 | hum:TakeDamage(hum.MaxHealth / 1) | |
1382 | end | |
1383 | end | |
1384 | end | |
1385 | end | |
1386 | end | |
1387 | Flying = true | |
1388 | for i = 0, 100 do | |
1389 | for i = 0, 1, 0.1 do | |
1390 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
1391 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
1392 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
1393 | SWait() | |
1394 | end | |
1395 | do | |
1396 | local kib = Create("Part", workspace, "Kib", { | |
1397 | CanCollide = false, | |
1398 | BrickColor = BrickColor.new("Electric blue"), | |
1399 | Material = "Neon", | |
1400 | Size = Vector3.new(2, 2, 2), | |
1401 | CFrame = HRoot.CFrame * CFrame.new(-1, 0, -0.5) | |
1402 | }) | |
1403 | kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-2, 2)), Rad(Random(-2, 2)), Rad(0)) | |
1404 | Create("SpecialMesh", kib, "Mesh", { | |
1405 | MeshType = "Sphere", | |
1406 | Scale = Vector3.new(1, 1, 2) | |
1407 | }) | |
1408 | Create("BodyVelocity", kib, "BV", { | |
1409 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1410 | Velocity = kib.CFrame.lookVector * 100 | |
1411 | }) | |
1412 | kib.Touched:connect(function(h) | |
1413 | onTouch(kib, h) | |
1414 | end) | |
1415 | game:GetService("Debris"):AddItem(kib, 10) | |
1416 | SWait() | |
1417 | for i = 0, 1, 0.1 do | |
1418 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(300)), i) | |
1419 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
1420 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
1421 | SWait() | |
1422 | end | |
1423 | local kib = Create("Part", workspace, "Kib", { | |
1424 | CanCollide = false, | |
1425 | BrickColor = BrickColor.new("Electric blue"), | |
1426 | Material = "Neon", | |
1427 | Size = Vector3.new(2, 2, 2), | |
1428 | CFrame = HRoot.CFrame * CFrame.new(1, 0, -0.5) | |
1429 | }) | |
1430 | kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-20, 20)), Rad(Random(-45, 45)), Rad(0)) | |
1431 | Create("SpecialMesh", kib, "Mesh", { | |
1432 | MeshType = "Sphere", | |
1433 | Scale = Vector3.new(1, 1, 2) | |
1434 | }) | |
1435 | Create("BodyVelocity", kib, "BV", { | |
1436 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1437 | Velocity = kib.CFrame.lookVector * 100 | |
1438 | }) | |
1439 | kib.Touched:connect(function(h) | |
1440 | onTouch(kib, h) | |
1441 | end) | |
1442 | game:GetService("Debris"):AddItem(kib, 10) | |
1443 | SWait() | |
1444 | end | |
1445 | end | |
1446 | conn:Disconnect() | |
1447 | bv:Destroy() | |
1448 | gyro:Destroy() | |
1449 | Attacking = false | |
1450 | end | |
1451 | end | |
1452 | elseif Mode == "Ultra" then | |
1453 | if key == Enum.KeyCode.Z then | |
1454 | if Walkspeed ~= 100 then | |
1455 | Walkspeed = 100 | |
1456 | Sprint = true | |
1457 | else | |
1458 | Walkspeed = 16 | |
1459 | Sprint = false | |
1460 | end | |
1461 | elseif key == Enum.KeyCode.X then | |
1462 | Attacking = true | |
1463 | Walkspeed = 0 | |
1464 | KamehamehaSound:Play() | |
1465 | do | |
1466 | local orb = Create("Part", Char, "Part", { | |
1467 | CanCollide = false, | |
1468 | Material = "Neon", | |
1469 | BrickColor = BrickColor.new("Electric blue"), | |
1470 | Size = Vector3.new(1, 1, 1) | |
1471 | }) | |
1472 | newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0)) | |
1473 | local smesh = Create("SpecialMesh", orb, "Mesh", { | |
1474 | MeshType = "Sphere", | |
1475 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
1476 | }) | |
1477 | for i = 0, 1, 0.01 do | |
1478 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
1479 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i) | |
1480 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i) | |
1481 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i) | |
1482 | wait() | |
1483 | end | |
1484 | TweenService:Create(smesh, TweenInfo.new(4.7), { | |
1485 | Scale = Vector3.new(2, 2, 2) | |
1486 | }):Play() | |
1487 | wait(4.7) | |
1488 | local fire = false | |
1489 | for i = 0, 1, 0.01 do | |
1490 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
1491 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
1492 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-90)), i) | |
1493 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
1494 | if i >= 0.8 and not fire then | |
1495 | fire = true | |
1496 | end | |
1497 | wait() | |
1498 | end | |
1499 | spawn(function() | |
1500 | repeat | |
1501 | SWait() | |
1502 | until fire | |
1503 | local hitb = Create("Part", workspace, "KameHameHaUltra", { | |
1504 | Anchored = true, | |
1505 | CanCollide = false, | |
1506 | Transparency = 1, | |
1507 | Size = Vector3.new(36, 36, 400), | |
1508 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -200) | |
1509 | }) | |
1510 | local beam = Create("Part", workspace, "KameHameHaUltra", { | |
1511 | Anchored = true, | |
1512 | CanCollide = false, | |
1513 | Material = "Neon", | |
1514 | BrickColor = BrickColor.new("Electric blue"), | |
1515 | Size = Vector3.new(1, 1, 1), | |
1516 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2) | |
1517 | }) | |
1518 | local mesh = Create("SpecialMesh", beam, "Mesh", { | |
1519 | MeshType = "Sphere", | |
1520 | Scale = Vector3.new(1, 1, 1) | |
1521 | }) | |
1522 | TweenService:Create(mesh, TweenInfo.new(0.5), { | |
1523 | Scale = Vector3.new(40, 40, 400) | |
1524 | }):Play() | |
1525 | TweenService:Create(beam, TweenInfo.new(0.5), { | |
1526 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -200) | |
1527 | }):Play() | |
1528 | spawn(function() | |
1529 | for i = 0, 1, 0.1 do | |
1530 | local airPart = Create("Part", workspace, "Part", { | |
1531 | Anchored = true, | |
1532 | CanCollide = false, | |
1533 | Size = Vector3.new(1, 1, 1), | |
1534 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
1535 | }) | |
1536 | airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90)) | |
1537 | local airMesh = Create("SpecialMesh", airPart, "Mesh", { | |
1538 | MeshId = "rbxassetid://168892432", | |
1539 | Scale = Vector3.new(4, 4, 4), | |
1540 | Offset = Vector3.new(0, 20, 0) | |
1541 | }) | |
1542 | TweenService:Create(airMesh, TweenInfo.new(0.5), { | |
1543 | Scale = Vector3.new(10, 50, 10), | |
1544 | Offset = Vector3.new(0, -150, 0) | |
1545 | }):Play() | |
1546 | TweenService:Create(airPart, TweenInfo.new(7.3), { | |
1547 | Transparency = 1, | |
1548 | CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
1549 | }):Play() | |
1550 | game:GetService("Debris"):AddItem(airPart, 7.3) | |
1551 | SWait() | |
1552 | end | |
1553 | end) | |
1554 | hitb.Touched:connect(function(h) | |
1555 | if h.Parent == nil then | |
1556 | return | |
1557 | end | |
1558 | if h:IsDescendantOf(Char) then | |
1559 | return | |
1560 | end | |
1561 | local anc | |
1562 | local a, b = pcall(function() | |
1563 | anc = findRealAncestor(h) | |
1564 | end) | |
1565 | if a then | |
1566 | local hum = anc:FindFirstChildOfClass("Humanoid") | |
1567 | if hum then | |
1568 | hum:TakeDamage(hum.MaxHealth / 50) | |
1569 | game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChild("HumanoidRootPart") or anc:FindFirstChild("Torso"), "BV", { | |
1570 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1571 | Velocity = HRoot.CFrame.lookVector * 100 | |
1572 | }), 0.5) | |
1573 | end | |
1574 | end | |
1575 | end) | |
1576 | KamehamehaSound.Ended:connect(function() | |
1577 | KamehamehaSound.Volume = 4 | |
1578 | hitb:Destroy() | |
1579 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1580 | Scale = Vector3.new(0.01, 0.01, 4) | |
1581 | }):Play() | |
1582 | TweenService:Create(beam, TweenInfo.new(1), { | |
1583 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4) | |
1584 | }):Play() | |
1585 | TweenService:Create(smesh, TweenInfo.new(1), { | |
1586 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
1587 | }):Play() | |
1588 | game:GetService("Debris"):AddItem(beam, 1) | |
1589 | game:GetService("Debris"):AddItem(orb, 1) | |
1590 | wait(1) | |
1591 | Walkspeed = 16 | |
1592 | Attacking = false | |
1593 | end) | |
1594 | end) | |
1595 | end | |
1596 | elseif key == Enum.KeyCode.C then | |
1597 | warn("Dodge: " .. tostring(Dodge)) | |
1598 | elseif key == Enum.KeyCode.V then | |
1599 | Walkspeed = 0 | |
1600 | Attacking = true | |
1601 | for i = 0, 1, 0.1 do | |
1602 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
1603 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
1604 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
1605 | wait() | |
1606 | end | |
1607 | local hitp = Create("Part", workspace, "Part", { | |
1608 | Anchored = true, | |
1609 | CanCollide = false, | |
1610 | Transparency = 1, | |
1611 | Size = Vector3.new(20, 20, 400), | |
1612 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -202) | |
1613 | }) | |
1614 | hitp.Touched:connect(function(h) | |
1615 | if h.Parent == nil then | |
1616 | return | |
1617 | end | |
1618 | if h:IsDescendantOf(Char) then | |
1619 | return | |
1620 | end | |
1621 | local anc | |
1622 | local a, b = pcall(function() | |
1623 | anc = findRealAncestor(h) | |
1624 | end) | |
1625 | if a then | |
1626 | local hum = anc:FindFirstChildOfClass("Humanoid") | |
1627 | if hum then | |
1628 | h.Parent.Humanoid:TakeDamage(250000) | |
1629 | end | |
1630 | end | |
1631 | end) | |
1632 | for i = 0, 1, 0.1 do | |
1633 | local bpart = Create("Part", Char, "Part", { | |
1634 | Anchored = true, | |
1635 | CanCollide = false, | |
1636 | Size = Vector3.new(1, 1, 1), | |
1637 | BrickColor = BrickColor.new("Institutional white"), | |
1638 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
1639 | }) | |
1640 | local mesh = Create("SpecialMesh", bpart, "Mesh", { | |
1641 | MeshId = "rbxassetid://437347603", | |
1642 | Scale = Vector3.new(1, 1, 1), | |
1643 | Offset = Vector3.new(0, 0, 0) | |
1644 | }) | |
1645 | TweenService:Create(bpart, TweenInfo.new(1), { | |
1646 | Transparency = 1, | |
1647 | CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360))) | |
1648 | }):Play() | |
1649 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1650 | Scale = Vector3.new(2, 2, 20), | |
1651 | Offset = Vector3.new(0, 0, -150) | |
1652 | }):Play() | |
1653 | game:GetService("Debris"):AddItem(bpart, 1) | |
1654 | SWait() | |
1655 | end | |
1656 | game:GetService("Debris"):AddItem(hitp, 1.5) | |
1657 | Attacking = false | |
1658 | Walkspeed = 16 | |
1659 | elseif key == Enum.KeyCode.B then | |
1660 | Attacking = true | |
1661 | if Mouse.Target == nil then | |
1662 | return | |
1663 | end | |
1664 | instinct = false | |
1665 | do | |
1666 | local targ | |
1667 | local a, b = pcall(function() | |
1668 | targ = findRealAncestor(Mouse.Target) | |
1669 | end) | |
1670 | if not a then | |
1671 | pcall(function() | |
1672 | targ = Mouse.Target.Parent | |
1673 | end) | |
1674 | end | |
1675 | if targ ~= nil then | |
1676 | do | |
1677 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
1678 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
1679 | if hum and tor then | |
1680 | Walkspeed = 0 | |
1681 | local weld = newWeld(HRoot, tor, HRoot, CFrame.new(0, 0, 2)) | |
1682 | FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000) | |
1683 | spawn(function() | |
1684 | tor.Anchored = true | |
1685 | PunchSound.Looped = true | |
1686 | for _, v in pairs(targ:GetChildren()) do | |
1687 | if v:IsA("LocalScript") then | |
1688 | v.Disabled = true | |
1689 | end | |
1690 | end | |
1691 | Char:MoveTo(tor.Position + Vector3.new(0, 0, -2)) | |
1692 | wait(0.1) | |
1693 | Torso.CFrame = CFrame.new(Torso.Position, tor.Position) | |
1694 | PunchSound:Play() | |
1695 | local punching = true | |
1696 | spawn(function() | |
1697 | repeat | |
1698 | local fist = Create("Part", workspace, "Part", { | |
1699 | Anchored = true, | |
1700 | CanCollide = false, | |
1701 | Size = Vector3.new(LArm.Size.X, 1, 8), | |
1702 | BrickColor = LArm.BrickColor | |
1703 | }) | |
1704 | local fist2 = Create("Part", workspace, "Part", { | |
1705 | Anchored = true, | |
1706 | CanCollide = false, | |
1707 | Size = Vector3.new(RArm.Size.X, 1, 8), | |
1708 | BrickColor = RArm.BrickColor | |
1709 | }) | |
1710 | fist.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(-Random(1, 4), 0.5, 0).p, tor.Position) | |
1711 | fist2.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(Random(1, 4), 0.5, 0).p, tor.Position) | |
1712 | TweenService:Create(fist, TweenInfo.new(0.5), {Transparency = 1}):Play() | |
1713 | TweenService:Create(fist2, TweenInfo.new(0.5), {Transparency = 1}):Play() | |
1714 | game:GetService("Debris"):AddItem(fist, 0.5) | |
1715 | game:GetService("Debris"):AddItem(fist2, 0.5) | |
1716 | SWait() | |
1717 | until not punching | |
1718 | end) | |
1719 | for i = 0, 62 do | |
1720 | for _, v in pairs(targ:GetChildren()) do | |
1721 | if v:IsA("ForceField") then | |
1722 | v:Destroy() | |
1723 | end | |
1724 | end | |
1725 | SWait() | |
1726 | local ring1 = Create("Part", Char, "Part", { | |
1727 | Anchored = true, | |
1728 | CanCollide = false, | |
1729 | Size = Vector3.new(1, 1, 1), | |
1730 | BrickColor = BrickColor.new("Institutional white"), | |
1731 | CFrame = tor.CFrame | |
1732 | }) | |
1733 | local mesh1 = Create("SpecialMesh", ring1, "Mesh", { | |
1734 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1735 | Scale = Vector3.new(4, 4, 1) | |
1736 | }) | |
1737 | TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play() | |
1738 | TweenService:Create(mesh1, TweenInfo.new(1), { | |
1739 | Scale = Vector3.new(20, 20, 1) | |
1740 | }):Play() | |
1741 | game:GetService("Debris"):AddItem(ring1, 1) | |
1742 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
1743 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
1744 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
1745 | SWait() | |
1746 | hum:TakeDamage(hum.MaxHealth / 210) | |
1747 | local ring2 = Create("Part", Char, "Part", { | |
1748 | Anchored = true, | |
1749 | CanCollide = false, | |
1750 | Size = Vector3.new(1, 1, 1), | |
1751 | BrickColor = BrickColor.new("Institutional white"), | |
1752 | CFrame = tor.CFrame | |
1753 | }) | |
1754 | local mesh2 = Create("SpecialMesh", ring2, "Mesh", { | |
1755 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1756 | Scale = Vector3.new(4, 4, 1) | |
1757 | }) | |
1758 | TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play() | |
1759 | TweenService:Create(mesh2, TweenInfo.new(1), { | |
1760 | Scale = Vector3.new(20, 20, 1) | |
1761 | }):Play() | |
1762 | game:GetService("Debris"):AddItem(ring2, 1) | |
1763 | SWait() | |
1764 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
1765 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
1766 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
1767 | SWait() | |
1768 | hum:TakeDamage(hum.MaxHealth / 190) | |
1769 | hum.Parent.Humanoid:TakeDamage(1000) | |
1770 | end | |
1771 | punching = false | |
1772 | PunchSound:Stop() | |
1773 | PunchSound.Looped = false | |
1774 | wait() | |
1775 | for i = 0, 1, 0.1 do | |
1776 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-90)), i) | |
1777 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-90), Rad(0), Rad(0)), i) | |
1778 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i) | |
1779 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
1780 | SWait() | |
1781 | end | |
1782 | tor.Anchored = false | |
1783 | local bv = Create("BodyVelocity", tor, "BV", { | |
1784 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1785 | Velocity = HRoot.CFrame.lookVector * 350 | |
1786 | }) | |
1787 | hum.Parent.Humanoid:TakeDamage(100000000) | |
1788 | for i = 0, 1, 0.1 do | |
1789 | local bpart = Create("Part", Char, "Part", { | |
1790 | Anchored = true, | |
1791 | CanCollide = false, | |
1792 | Size = Vector3.new(1, 1, 1), | |
1793 | BrickColor = BrickColor.new("Institutional white"), | |
1794 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
1795 | }) | |
1796 | local mesh = Create("SpecialMesh", bpart, "Mesh", { | |
1797 | MeshId = "rbxassetid://437347603", | |
1798 | Scale = Vector3.new(1, 1, 1), | |
1799 | Offset = Vector3.new(0, 0, 0) | |
1800 | }) | |
1801 | TweenService:Create(bpart, TweenInfo.new(1), { | |
1802 | Transparency = 1, | |
1803 | CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360))) | |
1804 | }):Play() | |
1805 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1806 | Scale = Vector3.new(2, 2, 20), | |
1807 | Offset = Vector3.new(0, 0, -150) | |
1808 | }):Play() | |
1809 | game:GetService("Debris"):AddItem(bpart, 1) | |
1810 | SWait() | |
1811 | end | |
1812 | bv:Destroy() | |
1813 | Attacking = false | |
1814 | instinct = true | |
1815 | Walkspeed = 16 | |
1816 | end) | |
1817 | else | |
1818 | Attacking = false | |
1819 | end | |
1820 | end | |
1821 | end | |
1822 | end | |
1823 | end | |
1824 | end | |
1825 | if key == Enum.KeyCode.Q then | |
1826 | stopAllSounds() | |
1827 | SSJSound1:Play() | |
1828 | toggleEmitters("AllOff") | |
1829 | HairWeld.C0 = Hcf | |
1830 | Human.MaxHealth = 50000000000000 | |
1831 | wait(0.01) | |
1832 | Human.Health = 500000000000000 | |
1833 | game:GetService("Chat"):Chat(Head, "This is a Super Saiyan.", Enum.ChatColor.White) | |
1834 | Head.face.Texture = "rbxassetid://870187774" | |
1835 | local Aura = Instance.new("ParticleEmitter") | |
1836 | Aura.Name = "Aura" | |
1837 | Aura.Texture = "rbxassetid://411939841" | |
1838 | Aura.Parent = Torso | |
1839 | Aura.LightEmission = 1 | |
1840 | Aura.Transparency = NumberSequence.new(0.9, 1) | |
1841 | Aura.Color = ColorSequence.new(BrickColor.new("Daisy orange").Color) | |
1842 | Aura.Size = NumberSequence.new(0.2, 8) | |
1843 | Aura.LockedToPart = true | |
1844 | Aura.Lifetime = NumberRange.new(1.5) | |
1845 | Aura.Rate = 50 | |
1846 | Aura.Speed = NumberRange.new(1.3) | |
1847 | Aura.EmissionDirection = "Top" | |
1848 | Aura.Rotation = NumberRange.new(-8, 8) | |
1849 | local orb = Create("Part", Char, "Part", { | |
1850 | Anchored = true, | |
1851 | CanCollide = false, | |
1852 | BrickColor = BrickColor.new("Bright yellow"), | |
1853 | Material = "Neon", | |
1854 | Size = Vector3.new(1, 1, 1), | |
1855 | CFrame = HRoot.CFrame | |
1856 | }) | |
1857 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
1858 | MeshType = "Sphere", | |
1859 | Scale = Vector3.new(1, 1, 1) | |
1860 | }) | |
1861 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1862 | Scale = Vector3.new(30, 30, 30) | |
1863 | }):Play() | |
1864 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
1865 | Hair.Mesh.MeshId = "rbxassetid://430344159" | |
1866 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
1867 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
1868 | Hair.BrickColor = BrickColor.new("Bright yellow") | |
1869 | Aura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
1870 | SSJContainer.StudsOffset = Vector3.new(0, 0, 0) | |
1871 | SSJContainer.Size = UDim2.new(20, 0, 20, 0) | |
1872 | Aura.ImageTransparency = 0 | |
1873 | Mode = "SSJ" | |
1874 | elseif key == Enum.KeyCode.E then | |
1875 | Attacking = true | |
1876 | stopAllSounds() | |
1877 | toggleEmitters("AllOff") | |
1878 | SSJContainer.Size = UDim2.new(20, 0, 20, 0) | |
1879 | for i = 0, 1, 0.1 do | |
1880 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
1881 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i) | |
1882 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
1883 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
1884 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-70), Rad(-140)), i) | |
1885 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(70), Rad(140)), i) | |
1886 | wait() | |
1887 | end | |
1888 | do | |
1889 | local rtr = true | |
1890 | spawn(function() | |
1891 | repeat | |
1892 | local ring = Create("Part", workspace, "Part", { | |
1893 | Anchored = true, | |
1894 | CanCollide = false, | |
1895 | BrickColor = BrickColor.new("New Yeller"), | |
1896 | Size = Vector3.new(1, 1, 1), | |
1897 | CFrame = HRoot.CFrame * CFrame.new(0, -3, 0) | |
1898 | }) | |
1899 | local mesh = Create("SpecialMesh", ring, "Mesh", { | |
1900 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1901 | Scale = Vector3.new(1, 1, 1) | |
1902 | }) | |
1903 | ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(0), Rad(0)) | |
1904 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1905 | Scale = Vector3.new(50, 50, 1) | |
1906 | }):Play() | |
1907 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play() | |
1908 | game:GetService("Debris"):AddItem(ring, 1) | |
1909 | SWait() | |
1910 | until not rtr | |
1911 | end) | |
1912 | wait(2) | |
1913 | rtr = false | |
1914 | local orb = Create("Part", Char, "Part", { | |
1915 | Anchored = true, | |
1916 | CanCollide = false, | |
1917 | BrickColor = BrickColor.new("Bright yellow"), | |
1918 | Material = "Neon", | |
1919 | Size = Vector3.new(1, 1, 1), | |
1920 | CFrame = HRoot.CFrame | |
1921 | }) | |
1922 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
1923 | MeshType = "Sphere", | |
1924 | Scale = Vector3.new(1, 1, 1) | |
1925 | }) | |
1926 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1927 | Scale = Vector3.new(30, 30, 30) | |
1928 | }):Play() | |
1929 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
1930 | for i = 0, 1, 0.1 do | |
1931 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-20), Rad(0), Rad(0)), i) | |
1932 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
1933 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
1934 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
1935 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(70), Rad(-140)), i) | |
1936 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-70), Rad(140)), i) | |
1937 | wait() | |
1938 | end | |
1939 | HairWeld.C0 = Hcf | |
1940 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
1941 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
1942 | Hair.BrickColor = BrickColor.new("Bright yellow") | |
1943 | Aura.ImageTransparency = 0 | |
1944 | Hair.Mesh.MeshId = "rbxassetid://560718478" | |
1945 | Char.Head.face.Texture = "rbxassetid://870187774" | |
1946 | SSJContainer.StudsOffset = Vector3.new(0, 0, 0) | |
1947 | Mode = "SSJ2" | |
1948 | Attacking = false | |
1949 | local Aura = Instance.new("ParticleEmitter") | |
1950 | Aura.Name = "Aura" | |
1951 | Aura.Texture = "rbxassetid://411939841" | |
1952 | Aura.Parent = Torso | |
1953 | Aura.LightEmission = 1 | |
1954 | Aura.Transparency = NumberSequence.new(0.9, 1) | |
1955 | Aura.Color = ColorSequence.new(BrickColor.new("Daisy orange").Color) | |
1956 | Aura.Size = NumberSequence.new(0.2, 8) | |
1957 | Aura.LockedToPart = true | |
1958 | Aura.Lifetime = NumberRange.new(1.5) | |
1959 | Aura.Rate = 50 | |
1960 | Aura.Speed = NumberRange.new(1.3) | |
1961 | Aura.EmissionDirection = "Top" | |
1962 | Aura.Rotation = NumberRange.new(-8, 8) | |
1963 | local Aura2 = Instance.new("ParticleEmitter") | |
1964 | Aura2.Name = "Aura" | |
1965 | Aura2.Texture = "rbxassetid://1527326485" | |
1966 | Aura2.Parent = Torso | |
1967 | Aura2.LightEmission = 0.1 | |
1968 | Aura2.Transparency = NumberSequence.new(0, 0.9) | |
1969 | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1970 | Aura2.Size = NumberSequence.new(3.5, 3.6) | |
1971 | Aura2.LockedToPart = true | |
1972 | Aura2.Lifetime = NumberRange.new(0.1) | |
1973 | Aura2.Rate = 10 | |
1974 | Aura2.Speed = NumberRange.new(2) | |
1975 | Aura2.EmissionDirection = "Top" | |
1976 | Aura2.Rotation = NumberRange.new(-360, 360) | |
1977 | Aura2.VelocitySpread = 100 | |
1978 | Aura2.ZOffset = 2 | |
1979 | end | |
1980 | elseif key == Enum.KeyCode.T then | |
1981 | SSJContainer.Size = UDim2.new(10, 0, 20, 0) | |
1982 | toggleEmitters("AllOff") | |
1983 | Human.MaxHealth = 50000000000 | |
1984 | wait(0.01) | |
1985 | Human.Health = 50000000000 | |
1986 | local RightAura = Instance.new("ParticleEmitter") | |
1987 | RightAura.Name = "Aura" | |
1988 | RightAura.Texture = "rbxassetid://111283279" | |
1989 | RightAura.Parent = RLeg | |
1990 | RightAura.LightEmission = 1 | |
1991 | RightAura.Transparency = NumberSequence.new(0.4, 1) | |
1992 | RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
1993 | RightAura.Size = NumberSequence.new(0.05, 0) | |
1994 | RightAura.LockedToPart = true | |
1995 | RightAura.Lifetime = NumberRange.new(1) | |
1996 | RightAura.Rate = 130 | |
1997 | RightAura.Speed = NumberRange.new(0.4) | |
1998 | RightAura.Rotation = NumberRange.new(-360, 360) | |
1999 | RightAura.EmissionDirection = "Top" | |
2000 | RightAura.ZOffset = 2 | |
2001 | local RightLow = Instance.new("ParticleEmitter") | |
2002 | RightLow.Name = "Aura" | |
2003 | RightLow.Texture = "rbxassetid://111283279" | |
2004 | RightLow.Parent = LLeg | |
2005 | RightLow.LightEmission = 1 | |
2006 | RightLow.Transparency = NumberSequence.new(0.4, 1) | |
2007 | RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2008 | RightLow.Size = NumberSequence.new(0.05, 0) | |
2009 | RightLow.LockedToPart = true | |
2010 | RightLow.Lifetime = NumberRange.new(1.5) | |
2011 | RightLow.Rate = 130 | |
2012 | RightLow.Speed = NumberRange.new(1) | |
2013 | RightLow.Rotation = NumberRange.new(-360, 360) | |
2014 | RightLow.EmissionDirection = "Top" | |
2015 | RightLow.ZOffset = 2 | |
2016 | local LeftLow = Instance.new("ParticleEmitter") | |
2017 | LeftLow.Name = "Aura" | |
2018 | LeftLow.Texture = "rbxassetid://111283279" | |
2019 | LeftLow.Parent = LArm | |
2020 | LeftLow.LightEmission = 1 | |
2021 | LeftLow.Transparency = NumberSequence.new(0.4, 1) | |
2022 | LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2023 | LeftLow.Size = NumberSequence.new(0.05, 0) | |
2024 | LeftLow.LockedToPart = true | |
2025 | LeftLow.Lifetime = NumberRange.new(1.5) | |
2026 | LeftLow.Rate = 130 | |
2027 | LeftLow.Speed = NumberRange.new(1) | |
2028 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
2029 | LeftLow.EmissionDirection = "Top" | |
2030 | LeftLow.ZOffset = 2 | |
2031 | local Tor = Instance.new("ParticleEmitter") | |
2032 | Tor.Name = "Aura" | |
2033 | Tor.Texture = "rbxassetid://111283279" | |
2034 | Tor.Parent = Torso | |
2035 | Tor.LightEmission = 1 | |
2036 | Tor.Transparency = NumberSequence.new(0.4, 1) | |
2037 | Tor.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2038 | Tor.Size = NumberSequence.new(0.05, 0) | |
2039 | Tor.LockedToPart = true | |
2040 | Tor.Lifetime = NumberRange.new(1) | |
2041 | Tor.Rate = 130 | |
2042 | Tor.Speed = NumberRange.new(1) | |
2043 | Tor.Rotation = NumberRange.new(-360, 360) | |
2044 | Tor.EmissionDirection = "Top" | |
2045 | Tor.ZOffset = 2 | |
2046 | local LeftLeg = Instance.new("ParticleEmitter") | |
2047 | LeftLeg.Name = "Aura" | |
2048 | LeftLeg.Texture = "rbxassetid://111283279" | |
2049 | LeftLeg.Parent = RArm | |
2050 | LeftLeg.LightEmission = 1 | |
2051 | LeftLeg.Transparency = NumberSequence.new(0.4, 1) | |
2052 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2053 | LeftLeg.Size = NumberSequence.new(0.05, 0) | |
2054 | LeftLeg.LockedToPart = true | |
2055 | LeftLeg.Lifetime = NumberRange.new(1) | |
2056 | LeftLeg.Rate = 130 | |
2057 | LeftLeg.Speed = NumberRange.new(1) | |
2058 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
2059 | LeftLeg.EmissionDirection = "Top" | |
2060 | LeftLeg.ZOffset = 2 | |
2061 | local Aura = Instance.new("ParticleEmitter") | |
2062 | Aura.Name = "Aura" | |
2063 | Aura.Texture = "rbxassetid://1517856446" | |
2064 | Aura.Parent = Torso | |
2065 | Aura.LightEmission = 0.3 | |
2066 | Aura.Transparency = NumberSequence.new(0.5, 1) | |
2067 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color) | |
2068 | Aura.Size = NumberSequence.new(0.7, 6) | |
2069 | Aura.LockedToPart = true | |
2070 | Aura.Lifetime = NumberRange.new(1) | |
2071 | Aura.Rate = 100 | |
2072 | Aura.Speed = NumberRange.new(2) | |
2073 | Aura.EmissionDirection = "Top" | |
2074 | Aura.Rotation = NumberRange.new(-8, 8) | |
2075 | Aura.ZOffset = -1 | |
2076 | Char.Head.face.Texture = "rbxassetid://792213048" | |
2077 | Hair.BrickColor = BrickColor.new("Relly red") | |
2078 | stopAllSounds() | |
2079 | Mode = "SSJG" | |
2080 | game:GetService("Chat"):Chat(Head, "This is Super Saiyan God.", Enum.ChatColor.White) | |
2081 | local orb = Create("Part", Char, "Part", { | |
2082 | Anchored = true, | |
2083 | CanCollide = false, | |
2084 | Size = Vector3.new(8, 8, 8), | |
2085 | Material = "Neon", | |
2086 | BrickColor = BrickColor.new("Institutional white"), | |
2087 | CFrame = HRoot.CFrame | |
2088 | }) | |
2089 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
2090 | Scale = Vector3.new(1, 1, 1), | |
2091 | MeshType = "Sphere" | |
2092 | }) | |
2093 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2094 | Scale = Vector3.new(3, 3, 3) | |
2095 | }):Play() | |
2096 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
2097 | game:GetService("Debris"):AddItem(orb, 1) | |
2098 | Hair.Color = Color3.fromRGB(212, 2, 114) | |
2099 | SSJGSound2:Play() | |
2100 | wait(1) | |
2101 | SSJContainer.StudsOffset = Vector3.new(-0.5, 0, 0) | |
2102 | Torso.Anchored = false | |
2103 | Attacking = false | |
2104 | elseif key == Enum.KeyCode.K and Mode == "SSJB" then | |
2105 | Human.MaxHealth = 600000000000000 | |
2106 | wait(0.01) | |
2107 | Human.Health = 600000000000000 | |
2108 | Hair.Mesh.MeshId = "rbxassetid://430344159" | |
2109 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
2110 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
2111 | HairWeld.C0 = Hcf | |
2112 | stopAllSounds() | |
2113 | for i = 1, 25 do | |
2114 | wait() | |
2115 | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 2.1 | |
2116 | end | |
2117 | game:GetService("Chat"):Chat(Head, "KAIOKEN TIMES TWENTY!", Enum.ChatColor.White) | |
2118 | local Music4 = Instance.new("Sound", Torso) | |
2119 | Music4.SoundId = "rbxassetid://1488660753" | |
2120 | Music4.Volume = 7 | |
2121 | Music4.Pitch = 1 | |
2122 | Music4.Looped = true | |
2123 | Music4:Play() | |
2124 | local RightAura = Instance.new("ParticleEmitter") | |
2125 | RightAura.Name = "Aura" | |
2126 | RightAura.Texture = "rbxassetid://111283279" | |
2127 | RightAura.Parent = RLeg | |
2128 | RightAura.LightEmission = 1 | |
2129 | RightAura.Transparency = NumberSequence.new(0.4, 1) | |
2130 | RightAura.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2131 | RightAura.Size = NumberSequence.new(0.05, 0) | |
2132 | RightAura.LockedToPart = true | |
2133 | RightAura.Lifetime = NumberRange.new(1) | |
2134 | RightAura.Rate = 130 | |
2135 | RightAura.Speed = NumberRange.new(0.4) | |
2136 | RightAura.Rotation = NumberRange.new(-360, 360) | |
2137 | RightAura.EmissionDirection = "Top" | |
2138 | RightAura.ZOffset = 2 | |
2139 | local RightLow = Instance.new("ParticleEmitter") | |
2140 | RightLow.Name = "Aura" | |
2141 | RightLow.Texture = "rbxassetid://111283279" | |
2142 | RightLow.Parent = LLeg | |
2143 | RightLow.LightEmission = 1 | |
2144 | RightLow.Transparency = NumberSequence.new(0.4, 1) | |
2145 | RightLow.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2146 | RightLow.Size = NumberSequence.new(0.05, 0) | |
2147 | RightLow.LockedToPart = true | |
2148 | RightLow.Lifetime = NumberRange.new(1.5) | |
2149 | RightLow.Rate = 130 | |
2150 | RightLow.Speed = NumberRange.new(1) | |
2151 | RightLow.Rotation = NumberRange.new(-360, 360) | |
2152 | RightLow.EmissionDirection = "Top" | |
2153 | RightLow.ZOffset = 2 | |
2154 | local LeftLow = Instance.new("ParticleEmitter") | |
2155 | LeftLow.Name = "Aura" | |
2156 | LeftLow.Texture = "rbxassetid://111283279" | |
2157 | LeftLow.Parent = LArm | |
2158 | LeftLow.LightEmission = 1 | |
2159 | LeftLow.Transparency = NumberSequence.new(0.4, 1) | |
2160 | LeftLow.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2161 | LeftLow.Size = NumberSequence.new(0.05, 0) | |
2162 | LeftLow.LockedToPart = true | |
2163 | LeftLow.Lifetime = NumberRange.new(1.5) | |
2164 | LeftLow.Rate = 130 | |
2165 | LeftLow.Speed = NumberRange.new(1) | |
2166 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
2167 | LeftLow.EmissionDirection = "Top" | |
2168 | LeftLow.ZOffset = 2 | |
2169 | local Tor = Instance.new("ParticleEmitter") | |
2170 | Tor.Name = "Aura" | |
2171 | Tor.Texture = "rbxassetid://174073769" | |
2172 | Tor.Parent = Torso | |
2173 | Tor.LightEmission = 1 | |
2174 | Tor.Transparency = NumberSequence.new(0.4, 1) | |
2175 | Tor.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2176 | Tor.Size = NumberSequence.new(0.05, 0) | |
2177 | Tor.LockedToPart = true | |
2178 | Tor.Lifetime = NumberRange.new(1) | |
2179 | Tor.Rate = 130 | |
2180 | Tor.Speed = NumberRange.new(1) | |
2181 | Tor.Rotation = NumberRange.new(-360, 360) | |
2182 | Tor.EmissionDirection = "Top" | |
2183 | Tor.ZOffset = 2 | |
2184 | local LeftLeg = Instance.new("ParticleEmitter") | |
2185 | LeftLeg.Name = "Aura" | |
2186 | LeftLeg.Texture = "rbxassetid://111283279" | |
2187 | LeftLeg.Parent = RArm | |
2188 | LeftLeg.LightEmission = 1 | |
2189 | LeftLeg.Transparency = NumberSequence.new(0.4, 1) | |
2190 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2191 | LeftLeg.Size = NumberSequence.new(0.05, 0) | |
2192 | LeftLeg.LockedToPart = true | |
2193 | LeftLeg.Lifetime = NumberRange.new(1) | |
2194 | LeftLeg.Rate = 130 | |
2195 | LeftLeg.Speed = NumberRange.new(1) | |
2196 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
2197 | LeftLeg.EmissionDirection = "Top" | |
2198 | LeftLeg.ZOffset = 2 | |
2199 | local Aura = Instance.new("ParticleEmitter") | |
2200 | Aura.Name = "Aura" | |
2201 | Aura.Texture = "rbxassetid://411939841" | |
2202 | Aura.Parent = Head | |
2203 | Aura.LightEmission = 0.3 | |
2204 | Aura.Transparency = NumberSequence.new(0.5, 1) | |
2205 | Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2206 | Aura.Size = NumberSequence.new(9.7, 14) | |
2207 | Aura.LockedToPart = true | |
2208 | Aura.Lifetime = NumberRange.new(1) | |
2209 | Aura.Rate = 100 | |
2210 | Aura.Speed = NumberRange.new(5) | |
2211 | Aura.EmissionDirection = "Top" | |
2212 | Aura.Rotation = NumberRange.new(0, 0) | |
2213 | Aura.ZOffset = -2 | |
2214 | local Spark = Instance.new("ParticleEmitter") | |
2215 | Spark.Name = "Aura" | |
2216 | Spark.Texture = "rbxassetid://740455924" | |
2217 | Spark.Parent = Torso | |
2218 | Spark.LightEmission = 0.3 | |
2219 | Spark.Transparency = NumberSequence.new(0, 1) | |
2220 | Spark.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2221 | Spark.Size = NumberSequence.new(5) | |
2222 | Spark.LockedToPart = true | |
2223 | Spark.Lifetime = NumberRange.new(3) | |
2224 | Spark.Rate = 1.3 | |
2225 | Spark.Speed = NumberRange.new(0) | |
2226 | Spark.EmissionDirection = "Top" | |
2227 | Spark.Rotation = NumberRange.new(-360, 360) | |
2228 | Spark.ZOffset = 2 | |
2229 | local orb = Create("Part", Char, "Part", { | |
2230 | Anchored = true, | |
2231 | CanCollide = false, | |
2232 | Size = Vector3.new(8, 8, 8), | |
2233 | Material = "Neon", | |
2234 | BrickColor = BrickColor.new("Institutional white"), | |
2235 | CFrame = HRoot.CFrame | |
2236 | }) | |
2237 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
2238 | Scale = Vector3.new(1, 1, 1), | |
2239 | MeshType = "Sphere" | |
2240 | }) | |
2241 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2242 | Scale = Vector3.new(3, 3, 3) | |
2243 | }):Play() | |
2244 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
2245 | game:GetService("Debris"):AddItem(orb, 1) | |
2246 | Hair.Color = Color3.fromRGB(5, 178, 212) | |
2247 | SSJBSound2:Play() | |
2248 | SSJBSound3:Play() | |
2249 | for i = 1, 25 do | |
2250 | wait() | |
2251 | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 2.1 | |
2252 | end | |
2253 | wait(1) | |
2254 | Torso.Anchored = false | |
2255 | Attacking = false | |
2256 | Char.Head.face.Texture = "rbxassetid://1444669398" | |
2257 | SSJContainer.StudsOffset = Vector3.new(0.5, 0, 0) | |
2258 | Mode = "SSJBKK" | |
2259 | elseif key == Enum.KeyCode.Y then | |
2260 | SSJContainer.Size = UDim2.new(10, 0, 20, 0) | |
2261 | Aura.ImageTransparency = 0 | |
2262 | toggleEmitters("AllOff") | |
2263 | Human.MaxHealth = 500000000000 | |
2264 | wait(0.01) | |
2265 | Human.Health = 500000000000 | |
2266 | Hair.Mesh.MeshId = "rbxassetid://430344159" | |
2267 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
2268 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
2269 | HairWeld.C0 = Hcf | |
2270 | stopAllSounds() | |
2271 | SSJBSound1:Play() | |
2272 | game:GetService("Chat"):Chat(Head, "This is Super Saiyan Blue, I won't go so easy anymore.", Enum.ChatColor.White) | |
2273 | local RightAura = Instance.new("ParticleEmitter") | |
2274 | RightAura.Name = "Aura" | |
2275 | RightAura.Texture = "rbxassetid://111283279" | |
2276 | RightAura.Parent = RLeg | |
2277 | RightAura.LightEmission = 1 | |
2278 | RightAura.Transparency = NumberSequence.new(0.4, 1) | |
2279 | RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2280 | RightAura.Size = NumberSequence.new(0.05, 0) | |
2281 | RightAura.LockedToPart = true | |
2282 | RightAura.Lifetime = NumberRange.new(1) | |
2283 | RightAura.Rate = 130 | |
2284 | RightAura.Speed = NumberRange.new(0.4) | |
2285 | RightAura.Rotation = NumberRange.new(-360, 360) | |
2286 | RightAura.EmissionDirection = "Top" | |
2287 | RightAura.ZOffset = 2 | |
2288 | local RightLow = Instance.new("ParticleEmitter") | |
2289 | RightLow.Name = "Aura" | |
2290 | RightLow.Texture = "rbxassetid://111283279" | |
2291 | RightLow.Parent = LLeg | |
2292 | RightLow.LightEmission = 1 | |
2293 | RightLow.Transparency = NumberSequence.new(0.4, 1) | |
2294 | RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2295 | RightLow.Size = NumberSequence.new(0.05, 0) | |
2296 | RightLow.LockedToPart = true | |
2297 | RightLow.Lifetime = NumberRange.new(1.5) | |
2298 | RightLow.Rate = 130 | |
2299 | RightLow.Speed = NumberRange.new(1) | |
2300 | RightLow.Rotation = NumberRange.new(-360, 360) | |
2301 | RightLow.EmissionDirection = "Top" | |
2302 | RightLow.ZOffset = 2 | |
2303 | local LeftLow = Instance.new("ParticleEmitter") | |
2304 | LeftLow.Name = "Aura" | |
2305 | LeftLow.Texture = "rbxassetid://111283279" | |
2306 | LeftLow.Parent = LArm | |
2307 | LeftLow.LightEmission = 1 | |
2308 | LeftLow.Transparency = NumberSequence.new(0.4, 1) | |
2309 | LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2310 | LeftLow.Size = NumberSequence.new(0.05, 0) | |
2311 | LeftLow.LockedToPart = true | |
2312 | LeftLow.Lifetime = NumberRange.new(1.5) | |
2313 | LeftLow.Rate = 130 | |
2314 | LeftLow.Speed = NumberRange.new(1) | |
2315 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
2316 | LeftLow.EmissionDirection = "Top" | |
2317 | LeftLow.ZOffset = 2 | |
2318 | local Tor = Instance.new("ParticleEmitter") | |
2319 | Tor.Name = "Aura" | |
2320 | Tor.Texture = "rbxassetid://111283279" | |
2321 | Tor.Parent = Torso | |
2322 | Tor.LightEmission = 1 | |
2323 | Tor.Transparency = NumberSequence.new(0.4, 1) | |
2324 | Tor.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2325 | Tor.Size = NumberSequence.new(0.05, 0) | |
2326 | Tor.LockedToPart = true | |
2327 | Tor.Lifetime = NumberRange.new(1) | |
2328 | Tor.Rate = 130 | |
2329 | Tor.Speed = NumberRange.new(1) | |
2330 | Tor.Rotation = NumberRange.new(-360, 360) | |
2331 | Tor.EmissionDirection = "Top" | |
2332 | Tor.ZOffset = 2 | |
2333 | local LeftLeg = Instance.new("ParticleEmitter") | |
2334 | LeftLeg.Name = "Aura" | |
2335 | LeftLeg.Texture = "rbxassetid://111283279" | |
2336 | LeftLeg.Parent = RArm | |
2337 | LeftLeg.LightEmission = 1 | |
2338 | LeftLeg.Transparency = NumberSequence.new(0.4, 1) | |
2339 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2340 | LeftLeg.Size = NumberSequence.new(0.05, 0) | |
2341 | LeftLeg.LockedToPart = true | |
2342 | LeftLeg.Lifetime = NumberRange.new(1) | |
2343 | LeftLeg.Rate = 130 | |
2344 | LeftLeg.Speed = NumberRange.new(1) | |
2345 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
2346 | LeftLeg.EmissionDirection = "Top" | |
2347 | LeftLeg.ZOffset = 2 | |
2348 | local Aura = Instance.new("ParticleEmitter") | |
2349 | Aura.Name = "Aura" | |
2350 | Aura.Texture = "rbxassetid://1526565953" | |
2351 | Aura.Parent = Torso | |
2352 | Aura.LightEmission = 0.3 | |
2353 | Aura.Transparency = NumberSequence.new(0.5, 1) | |
2354 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color) | |
2355 | Aura.Size = NumberSequence.new(0.7, 6) | |
2356 | Aura.LockedToPart = true | |
2357 | Aura.Lifetime = NumberRange.new(1) | |
2358 | Aura.Rate = 100 | |
2359 | Aura.Speed = NumberRange.new(2) | |
2360 | Aura.EmissionDirection = "Top" | |
2361 | Aura.Rotation = NumberRange.new(-8, 8) | |
2362 | Aura.ZOffset = -1 | |
2363 | local orb = Create("Part", Char, "Part", { | |
2364 | Anchored = true, | |
2365 | CanCollide = false, | |
2366 | Size = Vector3.new(8, 8, 8), | |
2367 | Material = "Neon", | |
2368 | BrickColor = BrickColor.new("Institutional white"), | |
2369 | CFrame = HRoot.CFrame | |
2370 | }) | |
2371 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
2372 | Scale = Vector3.new(1, 1, 1), | |
2373 | MeshType = "Sphere" | |
2374 | }) | |
2375 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2376 | Scale = Vector3.new(3, 3, 3) | |
2377 | }):Play() | |
2378 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
2379 | game:GetService("Debris"):AddItem(orb, 1) | |
2380 | Hair.Color = Color3.fromRGB(5, 178, 212) | |
2381 | SSJBSound2:Play() | |
2382 | SSJBSound3:Play() | |
2383 | wait(1) | |
2384 | Torso.Anchored = false | |
2385 | Attacking = false | |
2386 | Char.Head.face.Texture = "rbxassetid://1444669398" | |
2387 | SSJContainer.StudsOffset = Vector3.new(0.5, 0, 0) | |
2388 | Mode = "SSJB" | |
2389 | elseif key == Enum.KeyCode.U and Plr.Name ~= "venturiansonic" then | |
2390 | Walkspeed = 0 | |
2391 | Attacking = true | |
2392 | Mode = "Ultra" | |
2393 | toggleEmitters("AllOff") | |
2394 | stopAllSounds() | |
2395 | Aura.ImageTransparency = 1 | |
2396 | lig = Instance.new("PointLight", Torso) | |
2397 | lig.Color = Color3.new(0, 0, 255) | |
2398 | lig.Range = 9 | |
2399 | lig.Brightness = 100 | |
2400 | local Music4 = Instance.new("Sound", Torso) | |
2401 | Music4.SoundId = "rbxassetid://1504498051" | |
2402 | Music4.Volume = 3.5 | |
2403 | Music4.Pitch = 1 | |
2404 | Music4.Looped = true | |
2405 | Music4:Play() | |
2406 | HairWeld.C0 = Hcf | |
2407 | spawn(function() | |
2408 | for i = 0, 1, 0.1 do | |
2409 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), i) | |
2410 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
2411 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(20), Rad(0), Rad(-40)), i) | |
2412 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(20), Rad(0), Rad(40)), i) | |
2413 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i) | |
2414 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), i) | |
2415 | wait() | |
2416 | end | |
2417 | end) | |
2418 | local beam1 = Create("Part", Char, "Part", { | |
2419 | Anchored = true, | |
2420 | CanCollide = false, | |
2421 | Material = "Neon", | |
2422 | BrickColor = BrickColor.new("Institutional white"), | |
2423 | Shape = "Cylinder", | |
2424 | Size = Vector3.new(8, 8, 8), | |
2425 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(90)) | |
2426 | }) | |
2427 | local effect1 = Create("Part", Char, "Part", { | |
2428 | Anchored = true, | |
2429 | CanCollide = false, | |
2430 | BrickColor = BrickColor.new("Institutional white"), | |
2431 | CFrame = HRoot.CFrame | |
2432 | }) | |
2433 | local mesh1 = Create("SpecialMesh", effect1, "Mesh", { | |
2434 | MeshId = "rbxassetid://168892432", | |
2435 | Scale = Vector3.new(1.2, 1.2, 1.2) | |
2436 | }) | |
2437 | local effect2 = Create("Part", Char, "Part", { | |
2438 | Anchored = true, | |
2439 | CanCollide = false, | |
2440 | BrickColor = BrickColor.new("Institutional white"), | |
2441 | CFrame = HRoot.CFrame | |
2442 | }) | |
2443 | local mesh2 = Create("SpecialMesh", effect2, "Mesh", { | |
2444 | MeshId = "rbxassetid://168892432", | |
2445 | Scale = Vector3.new(1.2, 1.2, 1.2) | |
2446 | }) | |
2447 | local effect3 = Create("Part", Char, "Part", { | |
2448 | Anchored = true, | |
2449 | CanCollide = false, | |
2450 | BrickColor = BrickColor.new("Institutional white"), | |
2451 | CFrame = HRoot.CFrame | |
2452 | }) | |
2453 | local mesh3 = Create("SpecialMesh", effect3, "Mesh", { | |
2454 | MeshId = "rbxassetid://168892432", | |
2455 | Scale = Vector3.new(1.2, 1.2, 1.2) | |
2456 | }) | |
2457 | local orb1 = Create("Part", Char, "Part", { | |
2458 | Anchored = true, | |
2459 | CanCollide = false, | |
2460 | CFrame = HRoot.CFrame, | |
2461 | Material = "Neon", | |
2462 | BrickColor = BrickColor.new("Institutional white"), | |
2463 | Size = Vector3.new(8, 8, 8) | |
2464 | }) | |
2465 | local omesh1 = Create("SpecialMesh", orb1, "Mesh", { | |
2466 | Scale = Vector3.new(1, 1, 1), | |
2467 | MeshType = "Sphere" | |
2468 | }) | |
2469 | spawn(function() | |
2470 | for i = 0, 360, 36 do | |
2471 | local cyl = Create("Part", Char, "Part", { | |
2472 | Anchored = true, | |
2473 | CanCollide = false, | |
2474 | Size = Vector3.new(1, 1, 1), | |
2475 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -5), | |
2476 | Material = "Neon", | |
2477 | BrickColor = BrickColor.new("Institutional white") | |
2478 | }) | |
2479 | cyl.CFrame = cyl.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0)) | |
2480 | local cylmesh = Create("CylinderMesh", cyl, "Mesh", { | |
2481 | Scale = Vector3.new(4, 4, 4) | |
2482 | }) | |
2483 | cyl.CFrame = cyl.CFrame * CFrame.new(0, 2, 0) | |
2484 | TweenService:Create(cyl, TweenInfo.new(2.8), { | |
2485 | Transparency = 1, | |
2486 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i + 114), 0) * CFrame.new(0, -5, -5) | |
2487 | }):Play() | |
2488 | TweenService:Create(cylmesh, TweenInfo.new(2.8), { | |
2489 | Scale = Vector3.new(4, 20, 4) | |
2490 | }):Play() | |
2491 | game:GetService("Debris"):AddItem(cyl, 2.8) | |
2492 | end | |
2493 | end) | |
2494 | Hair.BrickColor = BrickColor.new("Black metallic") | |
2495 | TweenService:Create(orb1, TweenInfo.new(2), {Transparency = 1}):Play() | |
2496 | TweenService:Create(omesh1, TweenInfo.new(2), { | |
2497 | Scale = Vector3.new(3, 3, 3) | |
2498 | }):Play() | |
2499 | TweenService:Create(mesh1, TweenInfo.new(3), { | |
2500 | Scale = Vector3.new(4, 4, 4) | |
2501 | }):Play() | |
2502 | TweenService:Create(effect1, TweenInfo.new(3), { | |
2503 | Transparency = 1, | |
2504 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
2505 | }):Play() | |
2506 | TweenService:Create(mesh2, TweenInfo.new(3), { | |
2507 | Scale = Vector3.new(4, 4, 4) | |
2508 | }):Play() | |
2509 | TweenService:Create(effect2, TweenInfo.new(3), { | |
2510 | Transparency = 1, | |
2511 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
2512 | }):Play() | |
2513 | TweenService:Create(mesh3, TweenInfo.new(3), { | |
2514 | Scale = Vector3.new(4, 4, 4) | |
2515 | }):Play() | |
2516 | TweenService:Create(effect3, TweenInfo.new(3), { | |
2517 | Transparency = 1, | |
2518 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
2519 | }):Play() | |
2520 | TweenService:Create(beam1, TweenInfo.new(3), { | |
2521 | Transparency = 1, | |
2522 | Size = Vector3.new(100, 1, 1), | |
2523 | CFrame = HRoot.CFrame * CFrame.new(0, 45, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(90)) | |
2524 | }):Play() | |
2525 | game:GetService("Debris"):AddItem(beam1, 2) | |
2526 | game:GetService("Debris"):AddItem(effect1, 2) | |
2527 | game:GetService("Debris"):AddItem(mesh1, 2) | |
2528 | game:GetService("Debris"):AddItem(mesh2, 2) | |
2529 | game:GetService("Debris"):AddItem(mesh3, 2) | |
2530 | game:GetService("Debris"):AddItem(orb1, 2) | |
2531 | game:GetService("Debris"):AddItem(omesh1, 2) | |
2532 | Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://1394077487" | |
2533 | Shirt.ShirtTemplate = "rbxassetid://1454239396" | |
2534 | Pants.PantsTemplate = "rbxassetid://1449276082" | |
2535 | local Hat = Instance.new("Part", Char) | |
2536 | Hat.Size = Vector3.new(1, 1, 1) | |
2537 | Hat.Material = "SmoothPlastic" | |
2538 | Hat.BrickColor = BrickColor.new("Really black") | |
2539 | Hat.CanCollide = false | |
2540 | local Hat2 = Instance.new("SpecialMesh", Hat) | |
2541 | Hat2.MeshId = "rbxassetid://1479574104" | |
2542 | Hat2.Scale = Vector3.new(0.063, 0.063, 0.063) | |
2543 | local Hat3 = Instance.new("Weld", Hat) | |
2544 | Hat3.Part0 = Head | |
2545 | Hat3.Part1 = Hat | |
2546 | Hat3.C0 = CFrame.new(0.05, 0.85, -0.1) * CFrame.Angles(math.rad(88.93), math.rad(180), math.rad(0)) | |
2547 | Hair.Transparency = 1 | |
2548 | local HairAura = Instance.new("ParticleEmitter") | |
2549 | HairAura.Name = "Aura" | |
2550 | HairAura.Texture = "rbxassetid://1200947142" | |
2551 | HairAura.Parent = Head | |
2552 | HairAura.LightEmission = 1 | |
2553 | HairAura.Transparency = NumberSequence.new(0.1, 1) | |
2554 | HairAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2555 | HairAura.Size = NumberSequence.new(1.1) | |
2556 | HairAura.LockedToPart = true | |
2557 | HairAura.Lifetime = NumberRange.new(2) | |
2558 | HairAura.Rate = 30 | |
2559 | HairAura.Speed = NumberRange.new(0.1) | |
2560 | HairAura.Rotation = NumberRange.new(-360, 360) | |
2561 | HairAura.EmissionDirection = "Top" | |
2562 | HairAura.ZOffset = -1 | |
2563 | local RightAura = Instance.new("ParticleEmitter") | |
2564 | RightAura.Name = "Aura" | |
2565 | RightAura.Texture = "rbxassetid://1200947142" | |
2566 | RightAura.Parent = RLeg | |
2567 | RightAura.LightEmission = 1 | |
2568 | RightAura.Transparency = NumberSequence.new(0.1, 1) | |
2569 | RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2570 | RightAura.Size = NumberSequence.new(1.1) | |
2571 | RightAura.LockedToPart = true | |
2572 | RightAura.Lifetime = NumberRange.new(2) | |
2573 | RightAura.Rate = 30 | |
2574 | RightAura.Speed = NumberRange.new(0.1) | |
2575 | RightAura.Rotation = NumberRange.new(-360, 360) | |
2576 | RightAura.EmissionDirection = "Top" | |
2577 | RightAura.ZOffset = -1 | |
2578 | local RightLow = Instance.new("ParticleEmitter") | |
2579 | RightLow.Name = "Aura" | |
2580 | RightLow.Texture = "rbxassetid://1200947142" | |
2581 | RightLow.Parent = LLeg | |
2582 | RightLow.LightEmission = 1 | |
2583 | RightLow.Transparency = NumberSequence.new(0.1, 1) | |
2584 | RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2585 | RightLow.Size = NumberSequence.new(1.1) | |
2586 | RightLow.LockedToPart = true | |
2587 | RightLow.Lifetime = NumberRange.new(2) | |
2588 | RightLow.Rate = 30 | |
2589 | RightLow.Speed = NumberRange.new(0.1) | |
2590 | RightLow.Rotation = NumberRange.new(-360, 360) | |
2591 | RightLow.EmissionDirection = "Top" | |
2592 | RightLow.ZOffset = -1 | |
2593 | local LeftLow = Instance.new("ParticleEmitter") | |
2594 | LeftLow.Name = "Aura" | |
2595 | LeftLow.Texture = "rbxassetid://1200947142" | |
2596 | LeftLow.Parent = LArm | |
2597 | LeftLow.LightEmission = 1 | |
2598 | LeftLow.Transparency = NumberSequence.new(0.1, 1) | |
2599 | LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2600 | LeftLow.Size = NumberSequence.new(1.1) | |
2601 | LeftLow.LockedToPart = true | |
2602 | LeftLow.Lifetime = NumberRange.new(2) | |
2603 | LeftLow.Rate = 30 | |
2604 | LeftLow.Speed = NumberRange.new(0.1) | |
2605 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
2606 | LeftLow.EmissionDirection = "Top" | |
2607 | LeftLow.ZOffset = -1 | |
2608 | local LeftLeg = Instance.new("ParticleEmitter") | |
2609 | LeftLeg.Name = "Aura" | |
2610 | LeftLeg.Texture = "rbxassetid://1200947142" | |
2611 | LeftLeg.Parent = RArm | |
2612 | LeftLeg.LightEmission = 1 | |
2613 | LeftLeg.Transparency = NumberSequence.new(0.1, 1) | |
2614 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2615 | LeftLeg.Size = NumberSequence.new(1.1) | |
2616 | LeftLeg.LockedToPart = true | |
2617 | LeftLeg.Lifetime = NumberRange.new(2) | |
2618 | LeftLeg.Rate = 30 | |
2619 | LeftLeg.Speed = NumberRange.new(0.1) | |
2620 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
2621 | LeftLeg.EmissionDirection = "Top" | |
2622 | LeftLeg.ZOffset = -1 | |
2623 | wait(0.1) | |
2624 | local Small = Instance.new("ParticleEmitter") | |
2625 | Small.Name = "Aura" | |
2626 | Small.Texture = "rbxassetid://242102147" | |
2627 | Small.Parent = Torso | |
2628 | Small.LightEmission = 1 | |
2629 | Small.Transparency = NumberSequence.new(0.5, 1) | |
2630 | Small.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
2631 | Small.Size = NumberSequence.new(0.5) | |
2632 | Small.LockedToPart = false | |
2633 | Small.Lifetime = NumberRange.new(0.5) | |
2634 | Small.Rate = 150 | |
2635 | Small.Speed = NumberRange.new(4) | |
2636 | Small.Rotation = NumberRange.new(-50, 50) | |
2637 | Small.EmissionDirection = "Top" | |
2638 | Small.ZOffset = 2 | |
2639 | local Small2 = Instance.new("ParticleEmitter") | |
2640 | Small2.Name = "Aura" | |
2641 | Small2.Texture = "rbxassetid://242102147" | |
2642 | Small2.Parent = RArm | |
2643 | Small2.LightEmission = 1 | |
2644 | Small2.Transparency = NumberSequence.new(0.5, 1) | |
2645 | Small2.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
2646 | Small2.Size = NumberSequence.new(0.5) | |
2647 | Small2.LockedToPart = false | |
2648 | Small2.Lifetime = NumberRange.new(0.5) | |
2649 | Small2.Rate = 150 | |
2650 | Small2.Speed = NumberRange.new(4) | |
2651 | Small2.Rotation = NumberRange.new(-50, 50) | |
2652 | Small2.EmissionDirection = "Top" | |
2653 | Small2.ZOffset = 2 | |
2654 | local Small3 = Instance.new("ParticleEmitter") | |
2655 | Small3.Name = "Aura" | |
2656 | Small3.Texture = "rbxassetid://242102147" | |
2657 | Small3.Parent = LArm | |
2658 | Small3.LightEmission = 1 | |
2659 | Small3.Transparency = NumberSequence.new(0.5, 1) | |
2660 | Small3.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
2661 | Small3.Size = NumberSequence.new(0.5) | |
2662 | Small3.LockedToPart = false | |
2663 | Small3.Lifetime = NumberRange.new(0.5) | |
2664 | Small3.Rate = 150 | |
2665 | Small3.Speed = NumberRange.new(4) | |
2666 | Small3.Rotation = NumberRange.new(-50, 50) | |
2667 | Small3.EmissionDirection = "Top" | |
2668 | Small3.ZOffset = 2 | |
2669 | local Small4 = Instance.new("ParticleEmitter") | |
2670 | Small4.Name = "Aura" | |
2671 | Small4.Texture = "rbxassetid://242102147" | |
2672 | Small4.Parent = RLeg | |
2673 | Small4.LightEmission = 1 | |
2674 | Small4.Transparency = NumberSequence.new(0.5, 1) | |
2675 | Small4.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
2676 | Small4.Size = NumberSequence.new(0.5) | |
2677 | Small4.LockedToPart = false | |
2678 | Small4.Lifetime = NumberRange.new(0.5) | |
2679 | Small4.Rate = 150 | |
2680 | Small4.Speed = NumberRange.new(4) | |
2681 | Small4.Rotation = NumberRange.new(-50, 50) | |
2682 | Small4.EmissionDirection = "Top" | |
2683 | Small4.ZOffset = 2 | |
2684 | local Small5 = Instance.new("ParticleEmitter") | |
2685 | Small5.Name = "Aura" | |
2686 | Small5.Texture = "rbxassetid://242102147" | |
2687 | Small5.Parent = LLeg | |
2688 | Small5.LightEmission = 1 | |
2689 | Small5.Transparency = NumberSequence.new(0.5, 1) | |
2690 | Small5.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
2691 | Small5.Size = NumberSequence.new(0.5) | |
2692 | Small5.LockedToPart = false | |
2693 | Small5.Lifetime = NumberRange.new(0.5) | |
2694 | Small5.Rate = 150 | |
2695 | Small5.Speed = NumberRange.new(4) | |
2696 | Small5.Rotation = NumberRange.new(-50, 50) | |
2697 | Small5.EmissionDirection = "Top" | |
2698 | Small5.ZOffset = 2 | |
2699 | local Small6 = Instance.new("ParticleEmitter") | |
2700 | Small6.Name = "Aura" | |
2701 | Small6.Texture = "rbxassetid://242102147" | |
2702 | Small6.Parent = Head | |
2703 | Small6.LightEmission = 1 | |
2704 | Small6.Transparency = NumberSequence.new(0.5, 1) | |
2705 | Small6.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
2706 | Small6.Size = NumberSequence.new(0.5) | |
2707 | Small6.LockedToPart = false | |
2708 | Small6.Lifetime = NumberRange.new(0.5) | |
2709 | Small6.Rate = 150 | |
2710 | Small6.Speed = NumberRange.new(4) | |
2711 | Small6.Rotation = NumberRange.new(-50, 50) | |
2712 | Small6.EmissionDirection = "Top" | |
2713 | Small6.ZOffset = 2 | |
2714 | wait(0.2) | |
2715 | local Grab = Instance.new("Part", Head) | |
2716 | Grab.Size = Vector3.new(3.5, 1, 3.5) | |
2717 | Grab.CanCollide = false | |
2718 | Grab.BrickColor = BrickColor.new("Deep orange") | |
2719 | Grab.Transparency = 1 | |
2720 | local Grabo = Instance.new("Weld", Grab) | |
2721 | Grabo.Part0 = Head | |
2722 | Grabo.Part1 = Grab | |
2723 | Grabo.C0 = CFrame.new(0, -3.6, 0) | |
2724 | local AuraB = Instance.new("Part", Head) | |
2725 | AuraB.Size = Vector3.new(2, 1, 2) | |
2726 | AuraB.CanCollide = false | |
2727 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
2728 | AuraB.Transparency = 1 | |
2729 | local AuraBo = Instance.new("Weld", AuraB) | |
2730 | AuraBo.Part0 = Head | |
2731 | AuraBo.Part1 = AuraB | |
2732 | AuraBo.C0 = CFrame.new(0, -3.6, 0) | |
2733 | local FZcharge3 = Instance.new("ParticleEmitter", Grab) | |
2734 | FZcharge3.Texture = "rbxassetid://1468162128" | |
2735 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
2736 | FZcharge3.EmissionDirection = "Top" | |
2737 | FZcharge3.Speed = NumberRange.new(3) | |
2738 | FZcharge3.Size = NumberSequence.new(0.2, 0.3) | |
2739 | FZcharge3.Transparency = NumberSequence.new(0.2, 0.7) | |
2740 | FZcharge3.Drag = 1 | |
2741 | FZcharge3.LockedToPart = true | |
2742 | FZcharge3.Lifetime = NumberRange.new(2) | |
2743 | FZcharge3.Rate = 20 | |
2744 | FZcharge3.LightEmission = 0.3 | |
2745 | FZcharge3.Rotation = NumberRange.new(0, 0) | |
2746 | FZcharge3.VelocitySpread = 0.2 | |
2747 | FZcharge3.ZOffset = 2.5 | |
2748 | wait(3) | |
2749 | for i = 0, 0.5, 0.01 do | |
2750 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
2751 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, i) | |
2752 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
2753 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
2754 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
2755 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
2756 | wait() | |
2757 | end | |
2758 | Attacking = false | |
2759 | Walkspeed = 16 | |
2760 | CanMelee = true | |
2761 | instinct = true | |
2762 | elseif key == Enum.KeyCode.P then | |
2763 | Mode = "Base" | |
2764 | Attacking = true | |
2765 | Aura.ImageTransparency = 1 | |
2766 | toggleEmitters("AllOff") | |
2767 | Torso.Anchored = true | |
2768 | Human.MaxHealth = 50000 | |
2769 | wait(0.01) | |
2770 | Human.Health = 50000 | |
2771 | Char.Head.face.Texture = "rbxassetid://413593222" | |
2772 | Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=1378167215" | |
2773 | HairWeld.C0 = Hcf | |
2774 | Hair.Mesh.Offset = Vector3.new(0, 0.47, -0.4) | |
2775 | Hair.Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
2776 | stopAllSounds() | |
2777 | PowerDown:Play() | |
2778 | local orb = Create("Part", Char, "Part", { | |
2779 | Anchored = true, | |
2780 | CanCollide = false, | |
2781 | Size = Vector3.new(8, 8, 8), | |
2782 | Material = "Neon", | |
2783 | BrickColor = BrickColor.new("Institutional white"), | |
2784 | CFrame = HRoot.CFrame | |
2785 | }) | |
2786 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
2787 | Scale = Vector3.new(1, 1, 1), | |
2788 | MeshType = "Sphere" | |
2789 | }) | |
2790 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2791 | Scale = Vector3.new(3, 3, 3) | |
2792 | }):Play() | |
2793 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
2794 | game:GetService("Debris"):AddItem(orb, 1) | |
2795 | Hair.BrickColor = BrickColor.new("Black metallic") | |
2796 | wait(1) | |
2797 | Torso.Anchored = false | |
2798 | Attacking = false | |
2799 | elseif key == Enum.KeyCode.G then | |
2800 | Attacking = true | |
2801 | do | |
2802 | local cf = Mouse.Hit.p | |
2803 | local hcf = HRoot.CFrame | |
2804 | for i = 0, 0.4, 0.01 do | |
2805 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(30), Rad(0), Rad(0)), i) | |
2806 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-90), Rad(-120)), i) | |
2807 | wait() | |
2808 | end | |
2809 | spawn(function() | |
2810 | for i = 0, 1, 0.1 do | |
2811 | local part = Create("Part", Char, "Part", { | |
2812 | Anchored = true, | |
2813 | CanCollide = false, | |
2814 | BrickColor = BrickColor.new("Really black"), | |
2815 | Material = "Neon", | |
2816 | Size = Vector3.new(0.3, 9, 9), | |
2817 | CFrame = hcf * CFrame.new(Random(-5, 5), -5, Random(-5, 5)) | |
2818 | }) | |
2819 | Create("CylinderMesh", part, "Mesh", {}) | |
2820 | TweenService:Create(part, TweenInfo.new(1), { | |
2821 | Transparency = 0.6, | |
2822 | CFrame = part.CFrame * CFrame.new(0, 10, 0) | |
2823 | }):Play() | |
2824 | game:GetService("Debris"):AddItem(part, 1) | |
2825 | SWait() | |
2826 | end | |
2827 | end) | |
2828 | Char:MoveTo(cf) | |
2829 | local Music3 = Instance.new("Sound", Torso) | |
2830 | Music3.SoundId = "rbxassetid://1055279036" | |
2831 | Music3.Volume = 3 | |
2832 | Music3.Pitch = 1 | |
2833 | Music3.Looped = false | |
2834 | Music3:Play() | |
2835 | Attacking = false | |
2836 | end | |
2837 | elseif key == Enum.KeyCode.H and Mode ~= "Ultra" then | |
2838 | Attacking = true | |
2839 | do | |
2840 | local sbomb = Create("Part", workspace, "Part", { | |
2841 | CanCollide = false, | |
2842 | BrickColor = BrickColor.new("Electric blue"), | |
2843 | Material = "Neon", | |
2844 | Size = Vector3.new(1, 1, 1), | |
2845 | CFrame = HRoot.CFrame * CFrame.new(0, 50, 0) | |
2846 | }) | |
2847 | local hitb = Create("Part", sbomb, "Part", { | |
2848 | CanCollide = false, | |
2849 | Transparency = 1, | |
2850 | Size = Vector3.new(20, 20, 20), | |
2851 | CFrame = sbomb.CFrame | |
2852 | }) | |
2853 | local mesh = Create("SpecialMesh", sbomb, "Mesh", { | |
2854 | MeshType = "Sphere", | |
2855 | Scale = Vector3.new(1, 1, 1) | |
2856 | }) | |
2857 | newWeld(sbomb, hitb, sbomb, CFrame.new(0, -10, 0)) | |
2858 | TweenService:Create(mesh, TweenInfo.new(20), { | |
2859 | Scale = Vector3.new(55, 55, 55) | |
2860 | }):Play() | |
2861 | local bv = Create("BodyVelocity", sbomb, "BV", { | |
2862 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
2863 | Velocity = Vector3.new(0, 0, 0) | |
2864 | }) | |
2865 | for i = 0, 0.28, 0.01 do | |
2866 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-180)), i) | |
2867 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(180)), i) | |
2868 | wait() | |
2869 | end | |
2870 | game:GetService("Debris"):AddItem(sbomb, 20) | |
2871 | wait(7) | |
2872 | for i = 0, 0.2, 0.01 do | |
2873 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
2874 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-45)), i) | |
2875 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(40)), i) | |
2876 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
2877 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i) | |
2878 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20)), i) | |
2879 | SWait() | |
2880 | end | |
2881 | local trg = Create("Part", workspace, "Part", { | |
2882 | Anchored = true, | |
2883 | CanCollide = false, | |
2884 | Transparency = 1, | |
2885 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -50) | |
2886 | }) | |
2887 | sbomb.CFrame = CFrame.new(sbomb.Position, trg.Position) | |
2888 | bv.Velocity = Mouse.hit.lookVector * 30 | |
2889 | trg:Destroy() | |
2890 | local Explode = false | |
2891 | hitb.Touched:connect(function(h) | |
2892 | if Explode then | |
2893 | return | |
2894 | end | |
2895 | if hitb == sbomb then | |
2896 | return | |
2897 | end | |
2898 | Explode = true | |
2899 | sbomb.Anchored = true | |
2900 | SpiritBombSound:Stop() | |
2901 | ExplosionSound:Play() | |
2902 | local nsbomb = sbomb:Clone() | |
2903 | sbomb:Destroy() | |
2904 | nsbomb.Parent = workspace | |
2905 | TweenService:Create(nsbomb.Mesh, TweenInfo.new(2), { | |
2906 | Scale = Vector3.new(250, 250, 250) | |
2907 | }):Play() | |
2908 | TweenService:Create(nsbomb, TweenInfo.new(2), {Transparency = 1}):Play() | |
2909 | game:GetService("Debris"):AddItem(nsbomb, 2) | |
2910 | spawn(function() | |
2911 | for i = 0, 1, 0.01 do | |
2912 | local effect = Create("Part", workspace, "Part", { | |
2913 | CanCollide = false, | |
2914 | Material = "Neon", | |
2915 | BrickColor = Colours.Spirit[Random(1, #Colours.Spirit)], | |
2916 | Size = Vector3.new(1, 1, 1), | |
2917 | CFrame = nsbomb.CFrame * CFrame.Angles(Rad(Random(-360, 360)), Rad(Random(-360, 360)), Rad(Random(-360, 360))) | |
2918 | }) | |
2919 | Create("BodyVelocity", effect, "BV", { | |
2920 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
2921 | Velocity = effect.CFrame.lookVector * 50 | |
2922 | }) | |
2923 | Create("SpecialMesh", effect, "Mesh", { | |
2924 | MeshType = "Sphere", | |
2925 | Scale = Vector3.new(5, 5, 255) | |
2926 | }) | |
2927 | TweenService:Create(effect, TweenInfo.new(0.5), {Transparency = 1}):Play() | |
2928 | game:GetService("Debris"):AddItem(effect, 0.5) | |
2929 | SWait() | |
2930 | end | |
2931 | end) | |
2932 | spawn(function() | |
2933 | local reg = CreateRegion3(sbomb.Position, Vector3.new(100, 100, 100)) | |
2934 | for _, v in pairs(workspace:FindPartsInRegion3(reg, Char, 100)) do | |
2935 | if v.Parent ~= nil then | |
2936 | local hum = v.Parent:FindFirstChildOfClass("Humanoid") | |
2937 | if hum and v.Parent ~= Char then | |
2938 | for _, b in pairs(v.Parent:GetChildren()) do | |
2939 | if b:IsA("ForceField") then | |
2940 | b:Destroy() | |
2941 | end | |
2942 | end | |
2943 | hum:TakeDamage(hum.MaxHealth / 5) | |
2944 | end | |
2945 | end | |
2946 | end | |
2947 | end) | |
2948 | end) | |
2949 | wait(0.2) | |
2950 | Attacking = false | |
2951 | end | |
2952 | elseif key == Enum.KeyCode.F then | |
2953 | end | |
2954 | end | |
2955 | function keyUp(key) | |
2956 | Keys[key] = nil | |
2957 | end | |
2958 | UserInputService.TextBoxFocused:connect(function() | |
2959 | Typing = true | |
2960 | end) | |
2961 | UserInputService.TextBoxFocusReleased:connect(function() | |
2962 | Typing = false | |
2963 | end) | |
2964 | if UserInputService.KeyboardEnabled and UserInputService.MouseEnabled then | |
2965 | UserInputService.InputBegan:connect(function(inpType) | |
2966 | if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then | |
2967 | keyDown(inpType.KeyCode) | |
2968 | end | |
2969 | end) | |
2970 | UserInputService.InputEnded:connect(function(inpType) | |
2971 | if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then | |
2972 | keyUp(inpType.KeyCode) | |
2973 | end | |
2974 | end) | |
2975 | end | |
2976 | spawn(function() | |
2977 | while SWait() do | |
2978 | if Mode == "SSJ" or Mode == "SSJ2" or Mode == "SSJ3" then | |
2979 | elseif Mode == "SSJG" then | |
2980 | elseif Mode == "SSJB" then | |
2981 | elseif Mode == "Vegito" then | |
2982 | end | |
2983 | end | |
2984 | end) | |
2985 | Human.FreeFalling:connect(function(active) | |
2986 | if Attacking then | |
2987 | return | |
2988 | end | |
2989 | if not Flying then | |
2990 | Falling = active | |
2991 | end | |
2992 | end) | |
2993 | game:GetService("RunService").RenderStepped:connect(function() | |
2994 | Human.WalkSpeed = Walkspeed | |
2995 | if Flying then | |
2996 | FloatGyro.Parent = HRoot | |
2997 | FloatVel.Parent = HRoot | |
2998 | FloatGyro.MaxTorque = Vector3.new(200000000, 200000000, 200000000) | |
2999 | FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000) | |
3000 | FloatGyro.CFrame = workspace.CurrentCamera.CFrame | |
3001 | if Keys[Enum.KeyCode.W] then | |
3002 | Dir = "Forward" | |
3003 | elseif Keys[Enum.KeyCode.S] then | |
3004 | Dir = "Backward" | |
3005 | elseif Keys[Enum.KeyCode.A] then | |
3006 | Dir = "Left" | |
3007 | elseif Keys[Enum.KeyCode.D] then | |
3008 | Dir = "Right" | |
3009 | else | |
3010 | Dir = "None" | |
3011 | end | |
3012 | if Dir == "Forward" then | |
3013 | FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * 100 | |
3014 | elseif Dir == "Backward" then | |
3015 | FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * -100 | |
3016 | elseif Dir == "Left" then | |
3017 | FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(-60, 0, 0).p - workspace.CurrentCamera.CFrame.p | |
3018 | elseif Dir == "Right" then | |
3019 | FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(60, 0, 0).p - workspace.CurrentCamera.CFrame.p | |
3020 | else | |
3021 | FloatVel.Velocity = Vector3.new(0, 0, 0) | |
3022 | end | |
3023 | else | |
3024 | FloatGyro.MaxTorque = Vector3.new(0, 0, 0) | |
3025 | FloatVel.MaxForce = Vector3.new(0, 0, 0) | |
3026 | FloatGyro.Parent = nil | |
3027 | FloatVel.Parent = nil | |
3028 | end | |
3029 | if not Attacking then | |
3030 | if not Flying then | |
3031 | if Torso.Velocity.magnitude < 2 then | |
3032 | Anim = "Idle" | |
3033 | elseif Torso.Velocity.magnitude < 2000 then | |
3034 | Anim = "Walk" | |
3035 | else | |
3036 | Anim = "Run" | |
3037 | end | |
3038 | elseif Torso.Velocity.magnitude < 2000 then | |
3039 | Anim = "Float" | |
3040 | elseif Dir == "Forward" then | |
3041 | Anim = "Fly" | |
3042 | elseif Dir == "Backward" then | |
3043 | Anim = "FlyBack" | |
3044 | elseif Dir == "Left" then | |
3045 | Anim = "FlyLeft" | |
3046 | elseif Dir == "Right" then | |
3047 | Anim = "FlyRight" | |
3048 | end | |
3049 | if not Falling then | |
3050 | if Anim == "Idle" then | |
3051 | if Mode ~= "Ultra" and Mode ~= "SSJ3" then | |
3052 | Neck.C0 = Neck.C0:lerp(Ncf, 0.1) | |
3053 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1) | |
3054 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1) | |
3055 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1) | |
3056 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
3057 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
3058 | elseif Mode == "Vegito" then | |
3059 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), 0.1) | |
3060 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(60)), 0.1) | |
3061 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1) | |
3062 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1) | |
3063 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-90), Rad(-90)), 0.1) | |
3064 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(90), Rad(90)), 0.1) | |
3065 | elseif Mode == "Ultra" then | |
3066 | Neck.C0 = Neck.C0:lerp(Ncf, 0.1) | |
3067 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1) | |
3068 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(Sin(tick() / 1.5))), 0.1) | |
3069 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(Sin(tick() / 1.5))), 0.1) | |
3070 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
3071 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
3072 | end | |
3073 | elseif Anim == "Walk" then | |
3074 | if Mode ~= "Ultra" then | |
3075 | Neck.C0 = Neck.C0:lerp(Ncf, 0.5) | |
3076 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3077 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3078 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3079 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3080 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3081 | elseif Mode == "Ultra" then | |
3082 | Neck.C0 = Neck.C0:lerp(Ncf, 0.5) | |
3083 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3084 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-15), Rad(10 * Sin(tick() * 4))), 0.5) | |
3085 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(15), Rad(10 * Sin(tick() * 4))), 0.5) | |
3086 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3087 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3088 | end | |
3089 | elseif Anim == "Run" then | |
3090 | if Mode == "Ultra" then | |
3091 | Neck.C0 = Neck.C0:lerp(Ncf, 0.5) | |
3092 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3093 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3094 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3095 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3096 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3097 | end | |
3098 | elseif Anim == "Float" then | |
3099 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.new(0, 0, Sin(tick()) / 10), 0.2) | |
3100 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2) | |
3101 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2) | |
3102 | LHip.C0 = LHip.C0:lerp(Lhcf, 0.2) | |
3103 | RHip.C0 = RHip.C0:lerp(Rhcf, 0.2) | |
3104 | Neck.C0 = Neck.C0:lerp(Ncf, 0.2) | |
3105 | elseif Anim == "Fly" then | |
3106 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(80), Rad(0), Rad(0)), 0.5) | |
3107 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-80), Rad(0), Rad(0)), 0.5) | |
3108 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
3109 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
3110 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
3111 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
3112 | elseif Anim == "FlyBack" then | |
3113 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), 0.5) | |
3114 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), 0.5) | |
3115 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5) | |
3116 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5) | |
3117 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5) | |
3118 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5) | |
3119 | elseif Anim == "FlyLeft" then | |
3120 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(20), Rad(-90)), 0.5) | |
3121 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5) | |
3122 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5) | |
3123 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5) | |
3124 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5) | |
3125 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5) | |
3126 | elseif Anim == "FlyRight" then | |
3127 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(-20), Rad(90)), 0.5) | |
3128 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5) | |
3129 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5) | |
3130 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5) | |
3131 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5) | |
3132 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5) | |
3133 | end | |
3134 | else | |
3135 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, 0.5) | |
3136 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
3137 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
3138 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5) | |
3139 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
3140 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
3141 | end | |
3142 | end | |
3143 | if Mode == "Ultra" and Sprint and Anim == "Run" then | |
3144 | local c = Clone:Clone() | |
3145 | c.Torso["Left Shoulder"].C0 = c.Torso["Left Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3146 | c.Torso["Right Shoulder"].C0 = c.Torso["Right Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3147 | c.Torso["Left Hip"].C0 = c.Torso["Left Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3148 | c.Torso["Right Hip"].C0 = c.Torso["Right Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3149 | c.HumanoidRootPart.RootJoint.C0 = c.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3150 | for _, v in pairs(c:GetChildren()) do | |
3151 | if v:IsA("BasePart") then | |
3152 | TweenService:Create(v, TweenInfo.new(0.1), {Transparency = 1}):Play() | |
3153 | if v.Name == "Head" then | |
3154 | TweenService:Create(v.face, TweenInfo.new(0.1), {Transparency = 1}):Play() | |
3155 | end | |
3156 | end | |
3157 | end | |
3158 | c.Parent = Char | |
3159 | game:GetService("Debris"):AddItem(c, 0.1) | |
3160 | c.Torso.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(0, 0, 1).p, HRoot.CFrame.p) | |
3161 | end | |
3162 | if Dodge and Mode == "Ultra" then | |
3163 | do | |
3164 | local reg = CreateRegion3(HRoot.CFrame.p, Vector3.new(100, 100, 100)) | |
3165 | local hcf = HRoot.CFrame | |
3166 | for _, v in pairs(workspace:FindPartsInRegion3WithIgnoreList(reg, {Char}, 100)) do | |
3167 | if v:IsA("BasePart") and v.Name ~= "KameHameHaUltra" and v:FindFirstChildOfClass("TouchTransmitter") then | |
3168 | spawn(function() | |
3169 | v.Anchored = true | |
3170 | pcall(function() | |
3171 | v:FindFirstChildOfClass("TouchTransmitter"):Destroy() | |
3172 | end) | |
3173 | spawn(function() | |
3174 | local c = Clone:Clone() | |
3175 | c.Parent = workspace | |
3176 | for _, v in pairs(c:GetChildren()) do | |
3177 | if v:IsA("BasePart") then | |
3178 | v.Anchored = true | |
3179 | TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play() | |
3180 | end | |
3181 | end | |
3182 | c:MoveTo(hcf.p) | |
3183 | game:GetService("Debris"):AddItem(c, 1) | |
3184 | end) | |
3185 | Char:MoveTo(CFrame.new(v.CFrame.X, v.CFrame.Y, v.CFrame.Z) * CFrame.new(0, 0, v.Size.magnitude / 2 + 10).p) | |
3186 | game:GetService("Debris"):AddItem(v, 0.1) | |
3187 | end) | |
3188 | end | |
3189 | end | |
3190 | for _, v in pairs(game:GetService("Players"):GetPlayers()) do | |
3191 | if v.Character and v ~= Plr and 20 >= v:DistanceFromCharacter(Head.CFrame.p) then | |
3192 | spawn(function() | |
3193 | local c = Clone:Clone() | |
3194 | c.Parent = workspace | |
3195 | for _, v in pairs(c:GetChildren()) do | |
3196 | if v:IsA("BasePart") then | |
3197 | v.Anchored = true | |
3198 | TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play() | |
3199 | end | |
3200 | end | |
3201 | c:MoveTo(hcf.p) | |
3202 | game:GetService("Debris"):AddItem(c, 1) | |
3203 | end) | |
3204 | Char:MoveTo(v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 25).p) | |
3205 | end | |
3206 | end | |
3207 | end | |
3208 | end | |
3209 | LArm.BrickColor = BrickColor.new("Pastel brown") | |
3210 | RArm.BrickColor = BrickColor.new("Pastel brown") | |
3211 | RLeg.BrickColor = BrickColor.new("Pastel brown") | |
3212 | LLeg.BrickColor = BrickColor.new("Pastel brown") | |
3213 | Torso.BrickColor = BrickColor.new("Pastel brown") | |
3214 | Head.BrickColor = BrickColor.new("Pastel brown") | |
3215 | if Mode == "Ultra" then | |
3216 | Nose.Transparency = 1 | |
3217 | Mouth.Transparency = 1 | |
3218 | else | |
3219 | Nose.Transparency = 0 | |
3220 | Mouth.Transparency = 0 | |
3221 | end | |
3222 | end) |