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" |
249 | + | Char.Head.face.Texture = "rbxassetid://2200285777" |
250 | Shirt = Create("Shirt", Char, "Shirt", { | |
251 | - | ShirtTemplate = "http://www.roblox.com/asset/?id=1488400985" |
251 | + | ShirtTemplate = "http://www.roblox.com/asset/?id=178749146" |
252 | }) | |
253 | Pants = Create("Pants", Char, "Pants", { | |
254 | - | PantsTemplate = "http://www.roblox.com/asset/?id=1488404117" |
254 | + | PantsTemplate = "http://www.roblox.com/asset/?id=178749230" |
255 | }) | |
256 | Hair = Create("Part", Char, "Hair", { | |
257 | CanCollide = false, | |
258 | - | BrickColor = BrickColor.new("Black metallic") |
258 | + | BrickColor = BrickColor.new("Bright yellow") |
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", |
267 | + | MeshId = "http://www.roblox.com/asset/?id=560718478", |
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 | -----------/The final explosion\\----------- | |
492 | --[[Movelist | |
493 | Instant explosion. | |
494 | ---------]] | |
495 | ||
496 | Player=game:GetService("Players").LocalPlayer | |
497 | Character=Player.Character | |
498 | Character.Humanoid.Name = "noneofurbusiness" | |
499 | hum = Character.noneofurbusiness | |
500 | LeftArm=Character["Left Arm"] | |
501 | LeftLeg=Character["Left Leg"] | |
502 | RightArm=Character["Right Arm"] | |
503 | RightLeg=Character["Right Leg"] | |
504 | Root=Character["HumanoidRootPart"] | |
505 | Head=Character["Head"] | |
506 | Torso=Character["Torso"] | |
507 | Neck=Torso["Neck"] | |
508 | place = Torso | |
509 | hum.WalkSpeed = 0 | |
510 | hum.JumpPower = 0 | |
511 | ||
512 | screenGui = Instance.new("ScreenGui") | |
513 | screenGui.Parent = script.Parent | |
514 | speech = Instance.new("Sound",workspace) | |
515 | speech.SoundId = "rbxassetid://142278233" | |
516 | speech.Volume = 10 | |
517 | speech:Play() | |
518 | framee = Instance.new("Frame") | |
519 | framee.Parent = screenGui | |
520 | framee.Position = UDim2.new(0, 8, 0, -500) | |
521 | framee.Size = UDim2.new(100000000,10000000,10000000,10000000) | |
522 | framee.BackgroundColor3 = BrickColor.new("White").Color | |
523 | framee.BackgroundTransparency = 1 | |
524 | for i = 1, 10 do | |
525 | framee.BackgroundTransparency = framee.BackgroundTransparency - .1 | |
526 | wait() | |
527 | end | |
528 | imageLabelo = Instance.new("ImageLabel") | |
529 | imageLabelo.Parent = screenGui | |
530 | imageLabelo.BackgroundTransparency = 1 | |
531 | imageLabelo.ImageTransparency = 0 | |
532 | imageLabelo.Position = UDim2.new(0, 0, 0, -50) | |
533 | imageLabelo.Size = UDim2.new(0, 1370, 0, 750) | |
534 | imageLabelo.Image = "rbxassetid://2124079039" | |
535 | wait(6) | |
536 | imageLabelo2 = Instance.new("ImageLabel") | |
537 | imageLabelo2.Parent = screenGui | |
538 | imageLabelo2.BackgroundTransparency = 1 | |
539 | imageLabelo2.ImageTransparency = 1 | |
540 | imageLabelo2.Position = UDim2.new(0, 0, 0, -50) | |
541 | imageLabelo2.Size = UDim2.new(0, 1370, 0, 750) | |
542 | imageLabelo2.Image = "rbxassetid://2124078787" | |
543 | for i = 1, 50 do | |
544 | imageLabelo.ImageTransparency = imageLabelo.ImageTransparency + 0.025 | |
545 | imageLabelo2.ImageTransparency = imageLabelo2.ImageTransparency - 0.025 | |
546 | wait() | |
547 | end | |
548 | wait(2.9) | |
549 | for i = 1, 10 do | |
550 | framee.BackgroundTransparency = framee.BackgroundTransparency + .1 | |
551 | imageLabelo2.ImageTransparency = imageLabelo2.ImageTransparency + .1 | |
552 | wait() | |
553 | end | |
554 | imageLabelo:Remove() | |
555 | imageLabelo2:Remove() | |
556 | ||
557 | pcall(function() | |
558 | ||
559 | camera = workspace.CurrentCamera | |
560 | camera.CameraType = Enum.CameraType.Scriptable | |
561 | camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5,-15) * CFrame.Angles(0,math.rad(180),0) | |
562 | coroutine.wrap(function() | |
563 | for i = 1, 75 do | |
564 | wait() | |
565 | end | |
566 | gf = 5 | |
567 | fg = -30 | |
568 | for i = 1, 580 do | |
569 | gf = gf + 0 | |
570 | fg = fg + 2.5 | |
571 | camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5 + gf,-15 - fg ) * CFrame.Angles(0,math.rad(180),0) | |
572 | wait() | |
573 | end | |
574 | for i = 1, 250 do | |
575 | wait() | |
576 | end | |
577 | coroutine.wrap(function() | |
578 | for i = 1, 1000 do | |
579 | for i,v in pairs(hum.Parent:GetDescendants()) do | |
580 | if v:IsA("Part") then v.Transparency = v.Transparency + 0.025 | |
581 | end | |
582 | end | |
583 | wait() | |
584 | end | |
585 | end)() | |
586 | camera.CameraType = Enum.CameraType.Custom | |
587 | end)() | |
588 | end) | |
589 | ||
590 | local remote = NS ([==[ | |
591 | Player=owner | |
592 | Character=Player.Character | |
593 | Character.Humanoid.Name = "noneofurbusiness" | |
594 | hum = Character.noneofurbusiness | |
595 | LeftArm=Character["Left Arm"] | |
596 | LeftLeg=Character["Left Leg"] | |
597 | RightArm=Character["Right Arm"] | |
598 | RightLeg=Character["Right Leg"] | |
599 | Root=Character["HumanoidRootPart"] | |
600 | Head=Character["Head"] | |
601 | Torso=Character["Torso"] | |
602 | Neck=Torso["Neck"] | |
603 | walking = false | |
604 | jumping = false | |
605 | allowgrassy = false | |
606 | zxc = false | |
607 | matte = nil | |
608 | colori = nil | |
609 | bigball = false | |
610 | attacking = false | |
611 | laughing = false | |
612 | running = false | |
613 | downpress = false | |
614 | taim = nil | |
615 | change = 0 | |
616 | ws = 0 | |
617 | jp = 0 | |
618 | appi = false | |
619 | tauntdebounce = false | |
620 | position = nil | |
621 | lastexplosion = false | |
622 | staybooming = false | |
623 | MseGuide = true | |
624 | levitate = false | |
625 | firsttime5 = false | |
626 | notallowedtransform = false | |
627 | settime = 0 | |
628 | firsttime2 = false | |
629 | sine = 0 | |
630 | t = 0 | |
631 | combo1 = true | |
632 | dgs = 75 | |
633 | combo2 = false | |
634 | firsttime3 = false | |
635 | combo3 = false | |
636 | local bl = {907530553,907527750,907527912} | |
637 | colortable = {"Really black","Really red"} | |
638 | colors = #colortable | |
639 | blz = #bl | |
640 | local aces = {1880203893,1881287656,1881287420,1881288034} | |
641 | ace = #aces | |
642 | local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475} | |
643 | laugh = #laughs | |
644 | mouse = Player:GetMouse() | |
645 | RunSrv = game:GetService("RunService") | |
646 | RenderStepped = game:GetService("RunService").RenderStepped | |
647 | removeuseless = game:GetService("Debris") | |
648 | damageall={} | |
649 | Repeater={} | |
650 | Repeater2={} | |
651 | magictable={} | |
652 | nonmeshRepeater={} | |
653 | nonmeshRepeater2={} | |
654 | dmgii={} | |
655 | DamageAll2={} | |
656 | SlowlyFade={} | |
657 | th1={} | |
658 | lolzor={} | |
659 | lolzor2={} | |
660 | th2={} | |
661 | keyYsize={} | |
662 | blocktrail={} | |
663 | keyYtransparency={} | |
664 | th3={} | |
665 | laughingtable={} | |
666 | Extreme={} | |
667 | ExtremeM={} | |
668 | ExtremeM2={} | |
669 | m3={} | |
670 | th4={} | |
671 | th5={} | |
672 | UpMover={} | |
673 | openshocktable={} | |
674 | LessSize={} | |
675 | ForwardMover={} | |
676 | FadeIn={} | |
677 | signtransparency={} | |
678 | signmover={} | |
679 | signrotator={} | |
680 | ||
681 | FireBall = Instance.new("Sound",LeftArm) | |
682 | FireBall.SoundId = "rbxassetid://842332424" | |
683 | FireBall.Volume = 5 | |
684 | FireBall.Pitch = 2.5 | |
685 | ||
686 | BigFireBall = Instance.new("Sound",LeftArm) | |
687 | BigFireBall.SoundId = "rbxassetid://842332424" | |
688 | BigFireBall.Volume = 8 | |
689 | BigFireBall.Pitch = 1.5 | |
690 | ||
691 | local HEADLERP = Instance.new("ManualWeld") | |
692 | HEADLERP.Parent = Head | |
693 | HEADLERP.Part0 = Head | |
694 | HEADLERP.Part1 = Torso | |
695 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
696 | ||
697 | local TORSOLERP = Instance.new("ManualWeld") | |
698 | TORSOLERP.Parent = Root | |
699 | TORSOLERP.Part0 = Torso | |
700 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
701 | ||
702 | local ROOTLERP = Instance.new("ManualWeld") | |
703 | ROOTLERP.Parent = Root | |
704 | ROOTLERP.Part0 = Root | |
705 | ROOTLERP.Part1 = Torso | |
706 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
707 | ||
708 | local RIGHTARMLERP = Instance.new("ManualWeld") | |
709 | RIGHTARMLERP.Parent = RightArm | |
710 | RIGHTARMLERP.Part0 = RightArm | |
711 | RIGHTARMLERP.Part1 = Torso | |
712 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
713 | ||
714 | local LEFTARMLERP = Instance.new("ManualWeld") | |
715 | LEFTARMLERP.Parent = LeftArm | |
716 | LEFTARMLERP.Part0 = LeftArm | |
717 | LEFTARMLERP.Part1 = Torso | |
718 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
719 | ||
720 | local RIGHTLEGLERP = Instance.new("ManualWeld") | |
721 | RIGHTLEGLERP.Parent = RightLeg | |
722 | RIGHTLEGLERP.Part0 = RightLeg | |
723 | RIGHTLEGLERP.Part1 = Torso | |
724 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
725 | ||
726 | local LEFTLEGLERP = Instance.new("ManualWeld") | |
727 | LEFTLEGLERP.Parent = LeftLeg | |
728 | LEFTLEGLERP.Part0 = LeftLeg | |
729 | LEFTLEGLERP.Part1 = Torso | |
730 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
731 | ||
732 | local function weldBetween(a, b) | |
733 | local weld = Instance.new("ManualWeld", a) | |
734 | weld.Part0 = a | |
735 | weld.Part1 = b | |
736 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
737 | return weld | |
738 | end | |
739 | ||
740 | function makeblockytrail() | |
741 | coroutine.wrap(function() | |
742 | while true do | |
743 | for i,v in pairs(blocktrail) do | |
744 | smke = Instance.new("Part",v) | |
745 | smke.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
746 | smke.Material = "Neon" | |
747 | smke.Anchored = true | |
748 | smke.CanCollide = false | |
749 | removeuseless:AddItem(smke,2) | |
750 | end | |
751 | swait() | |
752 | end | |
753 | end)() | |
754 | end | |
755 | ||
756 | local function ci(x, c, y, n) | |
757 | so = Instance.new("Sound", x) | |
758 | so.SoundId = c | |
759 | so.Volume = y | |
760 | so.Looped = n | |
761 | end | |
762 | ||
763 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
764 | A = Instance.new("Attachment", PARENT) | |
765 | A.Position = POSITION1 | |
766 | A.Name = "A" | |
767 | B = Instance.new("Attachment", PARENT) | |
768 | B.Position = POSITION2 | |
769 | B.Name = "B" | |
770 | tr1 = Instance.new("Trail", PARENT) | |
771 | tr1.Attachment0 = A | |
772 | tr1.Attachment1 = B | |
773 | tr1.Enabled = true | |
774 | tr1.Lifetime = LIFETIME | |
775 | tr1.TextureMode = "Static" | |
776 | tr1.LightInfluence = 0 | |
777 | tr1.Color = COLOR | |
778 | tr1.Transparency = NumberSequence.new(0, 1) | |
779 | end | |
780 | ||
781 | function clean() | |
782 | damageall={} | |
783 | Repeater={} | |
784 | Repeater2={} | |
785 | nonmeshRepeater={} | |
786 | nonmeshRepeater2={} | |
787 | dmgii={} | |
788 | DamageAll2={} | |
789 | SlowlyFade={} | |
790 | th1={} | |
791 | th2={} | |
792 | th3={} | |
793 | Extreme={} | |
794 | ExtremeM={} | |
795 | ExtremeM2={} | |
796 | m3={} | |
797 | th4={} | |
798 | th5={} | |
799 | UpMover={} | |
800 | openshocktable={} | |
801 | LessSize={} | |
802 | ForwardMover={} | |
803 | FadeIn={} | |
804 | signtransparency={} | |
805 | signmover={} | |
806 | signrotator={} | |
807 | end | |
808 | ||
809 | coroutine.wrap(function() | |
810 | while wait() do | |
811 | hum.WalkSpeed = ws | |
812 | hum.JumpPower = jp | |
813 | end | |
814 | end)() | |
815 | godmode = coroutine.wrap(function() | |
816 | for i,v in pairs(Character:GetChildren()) do | |
817 | if v:IsA("BasePart") and v ~= Root then | |
818 | v.Anchored = false | |
819 | end | |
820 | end | |
821 | while true do | |
822 | hum.MaxHealth = math.huge | |
823 | wait(0.0000001) | |
824 | hum.Health = math.huge | |
825 | wait() | |
826 | end | |
827 | end) | |
828 | godmode() | |
829 | ff = Instance.new("ForceField", Character) | |
830 | ff.Visible = false | |
831 | ||
832 | coroutine.wrap(function() | |
833 | for i,v in pairs(Character:GetChildren()) do | |
834 | if v.Name == "Animate" then v:Remove() | |
835 | end | |
836 | end | |
837 | end)() | |
838 | ||
839 | function damagealll(Radius,Position) | |
840 | local Returning = {} | |
841 | for _,v in pairs(workspace:GetChildren()) do | |
842 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then | |
843 | if v:FindFirstChild("Torso") then | |
844 | local Mag = (v.Torso.Position - Position).magnitude | |
845 | if Mag < Radius then | |
846 | table.insert(Returning,v) | |
847 | end | |
848 | elseif v:FindFirstChild("UpperTorso") then | |
849 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
850 | if Mag < Radius then | |
851 | table.insert(Returning,v) | |
852 | end | |
853 | end | |
854 | end | |
855 | end | |
856 | return Returning | |
857 | end | |
858 | ||
859 | ArtificialHB = Instance.new("BindableEvent", script) | |
860 | ArtificialHB.Name = "Heartbeat" | |
861 | script:WaitForChild("Heartbeat") | |
862 | ||
863 | frame = 1 / 60 | |
864 | tf = 0 | |
865 | allowframeloss = false | |
866 | tossremainder = false | |
867 | ||
868 | ||
869 | lastframe = tick() | |
870 | script.Heartbeat:Fire() | |
871 | ||
872 | ||
873 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
874 | tf = tf + s | |
875 | if tf >= frame then | |
876 | if allowframeloss then | |
877 | script.Heartbeat:Fire() | |
878 | lastframe = tick() | |
879 | else | |
880 | for i = 1, math.floor(tf / frame) do | |
881 | script.Heartbeat:Fire() | |
882 | end | |
883 | lastframe = tick() | |
884 | end | |
885 | if tossremainder then | |
886 | tf = 0 | |
887 | else | |
888 | tf = tf - frame * math.floor(tf / frame) | |
889 | end | |
890 | end | |
891 | end) | |
892 | ||
893 | function swait(num) | |
894 | if num == 0 or num == nil then | |
895 | game:service("RunService").Stepped:wait(0) | |
896 | else | |
897 | for i = 0, num do | |
898 | game:service("RunService").Stepped:wait(0) | |
899 | end | |
900 | end | |
901 | end | |
902 | ||
903 | ||
904 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
905 | so = Instance.new("Sound") | |
906 | so.Parent = PARENT | |
907 | so.SoundId = "rbxassetid://"..ID | |
908 | so.Volume = VOL | |
909 | so.Looped = LOOP | |
910 | so:Play() | |
911 | removeuseless:AddItem(so,REMOVE) | |
912 | end | |
913 | ||
914 | warn("I'm gonna crush you, and throw you into the wind. Made by Supr14") | |
915 | ||
916 | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
917 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
918 | end | |
919 | ||
920 | function ray2(StartPos, EndPos, Distance, Ignore) | |
921 | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector | |
922 | return ray(StartPos, DIRECTION, Distance, Ignore) | |
923 | end | |
924 | sacrifice = Instance.new("Sound",Torso) | |
925 | sacrifice.SoundId = "rbxassetid://2123165301" | |
926 | sacrifice.Volume = 10 | |
927 | sacrifice:Play() | |
928 | explosiontable = {} | |
929 | x = 0 | |
930 | coroutine.wrap(function() | |
931 | for i = 1, 400 do | |
932 | swait() | |
933 | x = x + 15 | |
934 | for i,v in pairs(explosiontable) do | |
935 | v.Scale = v.Scale + Vector3.new(4,.6,4) | |
936 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(x),0) | |
937 | v.Parent.Transparency = v.Parent.Transparency + .025 | |
938 | end | |
939 | end | |
940 | end)() | |
941 | coroutine.wrap(function() | |
942 | for i = 1, 25 do | |
943 | shockwave3 = Instance.new("Part", Torso) | |
944 | shockwave3.Size = Vector3.new(1,1,1) | |
945 | shockwave3.CanCollide = false | |
946 | shockwave3.Anchored = true | |
947 | shockwave3.Name = "shockwav" | |
948 | shockwave3.Transparency = .5 | |
949 | shockwave3.BrickColor = BrickColor.new("White") | |
950 | shockwave3.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0) | |
951 | shockwavemesh3 = Instance.new("SpecialMesh", shockwave3) | |
952 | shockwavemesh3.Scale = Vector3.new(1,1,1) | |
953 | shockwavemesh3.MeshId = "rbxassetid://20329976" | |
954 | table.insert(explosiontable,shockwavemesh3) | |
955 | swait(5) | |
956 | end | |
957 | end)() | |
958 | for i = 1, 50 do | |
959 | settime = 0.05 | |
960 | sine = sine + change | |
961 | change = 1 | |
962 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.5) | |
963 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),.5) | |
964 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(-13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5) | |
965 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5) | |
966 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.5) | |
967 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5) | |
968 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.5) | |
969 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.5) | |
970 | swait() | |
971 | end | |
972 | explosiontable2={} | |
973 | explosiontable3={} | |
974 | TheExplosion = Instance.new("Part",LeftArm) | |
975 | TheExplosion.BrickColor = BrickColor.new("Bright yellow") | |
976 | TheExplosion.Material = "Neon" | |
977 | TheExplosion.Shape = "Ball" | |
978 | TheExplosion.Anchored = true | |
979 | TheExplosion.CanCollide = false | |
980 | TheExplosion.CFrame = CFrame.new(Torso.Position) | |
981 | TheExplosion.Size = Vector3.new(8,8,8) | |
982 | TheExplosion.Transparency = 0.5 | |
983 | shockwave2 = Instance.new("Part", LeftArm) | |
984 | shockwave2.Size = Vector3.new(1,1,1) | |
985 | shockwave2.CanCollide = false | |
986 | shockwave2.Anchored = true | |
987 | shockwave2.Transparency = 1 | |
988 | shockwave2.BrickColor = BrickColor.new("White") | |
989 | shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0) | |
990 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
991 | shockwavemesh2.Scale = Vector3.new(3,1,3) | |
992 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
993 | table.insert(explosiontable2,shockwavemesh2) | |
994 | shockwave = Instance.new("Part", LeftArm) | |
995 | shockwave.Size = Vector3.new(1,1,1) | |
996 | shockwave.CanCollide = false | |
997 | shockwave.Anchored = true | |
998 | shockwave.Transparency = 1 | |
999 | shockwave.BrickColor = BrickColor.new("White") | |
1000 | shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0) | |
1001 | shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
1002 | shockwavemesh.Scale = Vector3.new(3,1,3) | |
1003 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
1004 | table.insert(explosiontable3,shockwavemesh) | |
1005 | coroutine.wrap(function() | |
1006 | for i = 1, 23 do | |
1007 | TheExplosion.Transparency = 1 | |
1008 | swait(1) | |
1009 | TheExplosion.Transparency = 0.5 | |
1010 | swait(1) | |
1011 | end | |
1012 | coroutine.wrap(function() | |
1013 | for i = 1, 50 do | |
1014 | wait(2.5) | |
1015 | shocks = TheExplosion:Clone() | |
1016 | shocks.Parent = Torso | |
1017 | shocks.Name = "shock" | |
1018 | swait() | |
1019 | end | |
1020 | end)() | |
1021 | n = 0 | |
1022 | f = 0 | |
1023 | dmgal = 0 | |
1024 | shockwave.Transparency = .5 | |
1025 | shockwave2.Transparency = .5 | |
1026 | for i = 1, 125 do | |
1027 | dmgal = dmgal + .25 | |
1028 | local Hit = damagealll(dmgal,TheExplosion.Position) | |
1029 | for _,v in pairs(Hit) do | |
1030 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal)) | |
1031 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1032 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1033 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1034 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20 | |
1035 | removeuseless:AddItem(vel,.1) | |
1036 | end | |
1037 | n = n + 16 | |
1038 | f = f - 16 | |
1039 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(.25,.05,.25) | |
1040 | ||
1041 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(.25,.05,.25) | |
1042 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+7),0) | |
1043 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-7),0) | |
1044 | ||
1045 | TheExplosion.Transparency = TheExplosion.Transparency - .0040 | |
1046 | TheExplosion.Size = TheExplosion.Size + Vector3.new(.25,.25,.25) | |
1047 | swait() | |
1048 | end | |
1049 | for i = 1, 920 do | |
1050 | dmgal = dmgal + 1 | |
1051 | local Hit = damagealll(dmgal/1.5,TheExplosion.Position) | |
1052 | for _,v in pairs(Hit) do | |
1053 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal)) | |
1054 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1055 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1056 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1057 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20 | |
1058 | removeuseless:AddItem(vel,.1) | |
1059 | end | |
1060 | n = n + 4 | |
1061 | f = f - 4 | |
1062 | for i,v in pairs(explosiontable2) do | |
1063 | v.Scale = v.Scale + Vector3.new(1,.1,1) | |
1064 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0) | |
1065 | end | |
1066 | for i,v in pairs(explosiontable3) do | |
1067 | v.Scale = v.Scale + Vector3.new(1,.1,1) | |
1068 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0) | |
1069 | end | |
1070 | TheExplosion.Transparency = TheExplosion.Transparency - .0025 | |
1071 | TheExplosion.Size = TheExplosion.Size + Vector3.new(1,1,1) | |
1072 | swait() | |
1073 | end | |
1074 | for i = 1, 850 do | |
1075 | n = n + 18 | |
1076 | f = f - 18 | |
1077 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(1,.1,1) | |
1078 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1,.1,1) | |
1079 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+14),0) | |
1080 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-14),0) | |
1081 | TheExplosion.Transparency = TheExplosion.Transparency - .0025 | |
1082 | swait() | |
1083 | end | |
1084 | coroutine.wrap(function() | |
1085 | for i = 1, 1000 do | |
1086 | for i,v in pairs(hum.Parent:GetDescendants()) do | |
1087 | if v:IsA("Part") then v.Transparency = v.Transparency + 0.025 | |
1088 | end | |
1089 | end | |
1090 | wait() | |
1091 | end | |
1092 | end)() | |
1093 | for i = 1, 50 do | |
1094 | n = n + 4 | |
1095 | f = f - 4 | |
1096 | for i,v in pairs(explosiontable2) do | |
1097 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0) | |
1098 | v.Parent.Transparency = v.Parent.Transparency + 0.05 | |
1099 | end | |
1100 | for i,v in pairs(explosiontable3) do | |
1101 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0) | |
1102 | v.Parent.Transparency = v.Parent.Transparency + 0.05 | |
1103 | end | |
1104 | TheExplosion.Transparency = TheExplosion.Transparency + .015 | |
1105 | swait() | |
1106 | end | |
1107 | for i,v in pairs(explosiontable2) do | |
1108 | v:Remove() | |
1109 | end | |
1110 | for i,v in pairs(explosiontable3) do | |
1111 | v:Remove() | |
1112 | end | |
1113 | TheExplosion:Remove() | |
1114 | for i,v in pairs(Torso:GetChildren()) do | |
1115 | if v.Name == "shocks" then | |
1116 | v:Remove() | |
1117 | end | |
1118 | end | |
1119 | hum.Parent:BreakJoints() | |
1120 | for i = 1, 1500 do | |
1121 | for i,v in pairs(Torso:GetChildren()) do | |
1122 | if v.Name == "shocks" then | |
1123 | for i = 1, 20 do | |
1124 | v.Transparency = v.Transparency + 0.05 | |
1125 | swait() | |
1126 | end | |
1127 | end | |
1128 | end | |
1129 | swait() | |
1130 | end | |
1131 | end)() | |
1132 | for i = 1, 25 do | |
1133 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
1134 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4) | |
1135 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4) | |
1136 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4) | |
1137 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-10)), 0.4) | |
1138 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(10)), 0.4) | |
1139 | swait() | |
1140 | end | |
1141 | lastexplosion = true | |
1142 | for i = 1, 400 do | |
1143 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.45, .1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
1144 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.25,0) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),.05) | |
1145 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(-20), math.rad(90)), 0.05) | |
1146 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.05) | |
1147 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-10)), 0.05) | |
1148 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(10)), 0.05) | |
1149 | swait() | |
1150 | end | |
1151 | ]==], owner.Character):WaitForChild 'ServerRemote'; | |
1152 | mouse = owner:GetMouse (); | |
1153 | ||
1154 | if Mode ~= "Ultra" then | |
1155 | if key == Enum.KeyCode.Z then | |
1156 | Attacking = true | |
1157 | do | |
1158 | local cached = {} | |
1159 | local function onTouch(h) | |
1160 | if h.Parent == nil then | |
1161 | return | |
1162 | end | |
1163 | if h:IsDescendantOf(Char) then | |
1164 | return | |
1165 | end | |
1166 | if cached[h.Parent] then | |
1167 | return | |
1168 | end | |
1169 | local hum = h.Parent:FindFirstChildOfClass("Humanoid") | |
1170 | local tor = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("HumanoidRootPart") | |
1171 | if hum and tor then | |
1172 | local ring = Create("Part", workspace, "Part", { | |
1173 | Anchored = true, | |
1174 | CanCollide = false, | |
1175 | BrickColor = BrickColor.new("Institutional white"), | |
1176 | Size = Vector3.new(1, 1, 1), | |
1177 | CFrame = CFrame.new(tor.CFrame.p, HRoot.CFrame.p) | |
1178 | }) | |
1179 | ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0)) | |
1180 | local mesh = Create("SpecialMesh", ring, "Mesh", { | |
1181 | MeshId = "http://www.roblox.com/asset/?id=20329976", | |
1182 | Scale = Vector3.new(1, 1, 1) | |
1183 | }) | |
1184 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play() | |
1185 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1186 | Scale = Vector3.new(20, 1, 20) | |
1187 | }):Play() | |
1188 | game:GetService("Debris"):AddItem(ring, 1) | |
1189 | for _, v in pairs(h.Parent:GetChildren()) do | |
1190 | if v:IsA("ForceField") then | |
1191 | v:Destroy() | |
1192 | end | |
1193 | end | |
1194 | if Mode == "Base" then | |
1195 | hum:TakeDamage(hum.MaxHealth / 120) | |
1196 | elseif Mode == "SSJ" then | |
1197 | hum:TakeDamage(hum.MaxHealth / 100) | |
1198 | elseif Mode == "SSJ2" then | |
1199 | hum:TakeDamage(hum.MaxHealth / 90) | |
1200 | elseif Mode == "SSJ3" then | |
1201 | hum:TakeDamage(hum.MaxHealth / 80) | |
1202 | elseif Mode == "SSJG" then | |
1203 | hum:TakeDamage(hum.MaxHealth / 70) | |
1204 | elseif Mode == "SSJB" then | |
1205 | hum:TakeDamage(hum.MaxHealth / 65) | |
1206 | elseif Mode == "SSJBKK" then | |
1207 | hum:TakeDamage(hum.MaxHealth / 60) | |
1208 | elseif Mode == "Vegito" then | |
1209 | hum:TakeDamage(hum.MaxHealth / 0.1) | |
1210 | end | |
1211 | cached[h.Parent] = true | |
1212 | spawn(function() | |
1213 | wait(0.1) | |
1214 | cached[h.Parent] = nil | |
1215 | end) | |
1216 | end | |
1217 | end | |
1218 | local lac = LArm.Touched:connect(onTouch) | |
1219 | local rac = RArm.Touched:connect(onTouch) | |
1220 | PunchSound.Looped = true | |
1221 | PunchSound:Play() | |
1222 | for i = 0, 18 do | |
1223 | for i = 0, 0.4, 0.1 do | |
1224 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
1225 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
1226 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
1227 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
1228 | SWait() | |
1229 | end | |
1230 | for i = 0, 0.4, 0.1 do | |
1231 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
1232 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
1233 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
1234 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i) | |
1235 | SWait() | |
1236 | end | |
1237 | end | |
1238 | PunchSound.Looped = false | |
1239 | PunchSound:Stop() | |
1240 | lac:Disconnect() | |
1241 | rac:Disconnect() | |
1242 | Attacking = false | |
1243 | end | |
1244 | elseif key == Enum.KeyCode.X then | |
1245 | if Mouse.Target.Parent == nil then | |
1246 | return | |
1247 | end | |
1248 | Attacking = true | |
1249 | Walkspeed = 0 | |
1250 | do | |
1251 | local targ = Mouse.Target.Parent | |
1252 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
1253 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
1254 | if not hum or not tor then | |
1255 | Attacking = false | |
1256 | Walkspeed = 16 | |
1257 | return | |
1258 | end | |
1259 | for i = 0, 0.2, 0.01 do | |
1260 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
1261 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i) | |
1262 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
1263 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
1264 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-20)), i) | |
1265 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(20)), i) | |
1266 | SWait() | |
1267 | end | |
1268 | local bv = Create("BodyVelocity", HRoot, "BV", { | |
1269 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1270 | Velocity = Vector3.new(0, 100, 0) | |
1271 | }) | |
1272 | for i = 0, 0.2, 0.01 do | |
1273 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i) | |
1274 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, i) | |
1275 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
1276 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
1277 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i) | |
1278 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i) | |
1279 | SWait() | |
1280 | end | |
1281 | for i = 0, 100 do | |
1282 | bv.Velocity = bv.Velocity - Vector3.new(0, 1, 0) | |
1283 | if 0 > bv.Velocity.Y then | |
1284 | bv.Velocity = Vector3.new(0, 0, 0) | |
1285 | break | |
1286 | end | |
1287 | SWait() | |
1288 | end | |
1289 | for i = 0, 0.2, 0.01 do | |
1290 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-25), Rad(0), Rad(180)), i) | |
1291 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-25), Rad(0), Rad(-180)), i) | |
1292 | SWait() | |
1293 | end | |
1294 | game:GetService("Chat"):Chat(Head, "Prepare yourself! Here I go!", Enum.ChatColor.White) | |
1295 | tor.Anchored = true | |
1296 | Char:MoveTo(tor.CFrame * CFrame.new(0, -1, 2.2).p) | |
1297 | local Music3 = Instance.new("Sound", Torso) | |
1298 | Music3.SoundId = "rbxassetid://1055279036" | |
1299 | Music3.Volume = 6 | |
1300 | Music3.Pitch = 1 | |
1301 | Music3.Looped = false | |
1302 | Music3:Play() | |
1303 | game:GetService("Chat"):Chat(Head, "HAAA!", Enum.ChatColor.White) | |
1304 | Torso.CFrame = CFrame.new(Torso.CFrame.p, tor.CFrame.p) | |
1305 | local cached = {} | |
1306 | local function damage() | |
1307 | local ring = Create("Part", workspace, "Part", { | |
1308 | Anchored = true, | |
1309 | CanCollide = false, | |
1310 | BrickColor = BrickColor.new("Institutional white"), | |
1311 | Size = Vector3.new(1, 1, 1), | |
1312 | CFrame = tor.CFrame | |
1313 | }) | |
1314 | local mesh = Create("SpecialMesh", ring, "Mesh", { | |
1315 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1316 | Scale = Vector3.new(1, 1, 1) | |
1317 | }) | |
1318 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play() | |
1319 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1320 | Scale = Vector3.new(20, 20, 1) | |
1321 | }):Play() | |
1322 | game:GetService("Debris"):AddItem(ring, 1) | |
1323 | for _, v in pairs(targ.Parent:GetChildren()) do | |
1324 | if v:IsA("ForceField") then | |
1325 | v:Destroy() | |
1326 | end | |
1327 | end | |
1328 | if Mode == "Base" then | |
1329 | hum:TakeDamage(hum.MaxHealth / 140) | |
1330 | elseif Mode == "SSJ" then | |
1331 | hum:TakeDamage(hum.MaxHealth / 110) | |
1332 | elseif Mode == "SSJ2" then | |
1333 | hum:TakeDamage(hum.MaxHealth / 100) | |
1334 | elseif Mode == "SSJ3" then | |
1335 | hum:TakeDamage(hum.MaxHealth / 90) | |
1336 | elseif Mode == "SSJG" then | |
1337 | hum:TakeDamage(hum.MaxHealth / 70) | |
1338 | elseif Mode == "SSJB" then | |
1339 | hum:TakeDamage(hum.MaxHealth / 60) | |
1340 | elseif Mode == "SSJBKK" then | |
1341 | hum:TakeDamage(hum.MaxHealth / 50) | |
1342 | elseif Mode == "Vegito" then | |
1343 | hum:TakeDamage(hum.MaxHealth / 0.1) | |
1344 | end | |
1345 | end | |
1346 | PunchSound.Looped = true | |
1347 | PunchSound:Play() | |
1348 | for i = 0, 6 do | |
1349 | for i = 0, 1, 0.1 do | |
1350 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
1351 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
1352 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
1353 | SWait() | |
1354 | end | |
1355 | damage() | |
1356 | for i = 0, 1, 0.1 do | |
1357 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
1358 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
1359 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i) | |
1360 | SWait() | |
1361 | end | |
1362 | damage() | |
1363 | end | |
1364 | PunchSound.Looped = false | |
1365 | PunchSound:Stop() | |
1366 | PunchSound3:Play() | |
1367 | for i = 0, 0.1, 0.01 do | |
1368 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
1369 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
1370 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
1371 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
1372 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(-130)), i) | |
1373 | SWait() | |
1374 | end | |
1375 | game:GetService("Chat"):Chat(Head, "DYAH!", Enum.ChatColor.White) | |
1376 | damage() | |
1377 | local orig = tor.CFrame | |
1378 | local bv2 = Create("BodyVelocity", tor, "BV", { | |
1379 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1380 | Velocity = Vector3.new(0, 50, 0) | |
1381 | }) | |
1382 | tor.Anchored = false | |
1383 | wait(1) | |
1384 | for i = 0, 100 do | |
1385 | bv2.Velocity = bv2.Velocity - Vector3.new(0, 1, 0) | |
1386 | if 0 > bv2.Velocity.Y then | |
1387 | bv2.Velocity = Vector3.new(0, 0, 0) | |
1388 | break | |
1389 | end | |
1390 | SWait() | |
1391 | end | |
1392 | Char:MoveTo(tor.CFrame * CFrame.new(0, 1, 2).p) | |
1393 | local Music3 = Instance.new("Sound", Torso) | |
1394 | Music3.SoundId = "rbxassetid://1055279036" | |
1395 | Music3.Volume = 6 | |
1396 | Music3.Pitch = 1 | |
1397 | Music3.Looped = false | |
1398 | Music3:Play() | |
1399 | for i = 0, 0.2, 0.01 do | |
1400 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-50), Rad(0), Rad(0)), i) | |
1401 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i) | |
1402 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i) | |
1403 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-140)), i) | |
1404 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(140)), i) | |
1405 | SWait() | |
1406 | end | |
1407 | for i = 0, 0.2, 0.01 do | |
1408 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(50), Rad(0), Rad(0)), i) | |
1409 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i) | |
1410 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i) | |
1411 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-40)), i) | |
1412 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(40)), i) | |
1413 | SWait() | |
1414 | end | |
1415 | game:GetService("Chat"):Chat(Head, "HYYAAAAH!!", Enum.ChatColor.White) | |
1416 | damage() | |
1417 | bv2:Destroy() | |
1418 | local asd = false | |
1419 | PunchSound3:Play() | |
1420 | spawn(function() | |
1421 | wait(2) | |
1422 | if not asd and Attacking then | |
1423 | Attacking = false | |
1424 | bv:Destroy() | |
1425 | Walkspeed = 16 | |
1426 | game:GetService("Chat"):Chat(Head, "Hehe, You're pretty strong!", Enum.ChatColor.White) | |
1427 | end | |
1428 | end) | |
1429 | hum.StateChanged:connect(function(old, state) | |
1430 | if state == Enum.HumanoidStateType.Landed then | |
1431 | local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500) | |
1432 | local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false) | |
1433 | ExplosionSound2:Play() | |
1434 | if Mode == "Base" then | |
1435 | hum:TakeDamage(hum.MaxHealth / 102) | |
1436 | elseif Mode == "SSJ" then | |
1437 | hum:TakeDamage(hum.MaxHealth / 83) | |
1438 | elseif Mode == "SSJ2" then | |
1439 | hum:TakeDamage(hum.MaxHealth / 66) | |
1440 | elseif Mode == "SSJ3" then | |
1441 | hum:TakeDamage(hum.MaxHealth / 49) | |
1442 | elseif Mode == "SSJG" then | |
1443 | hum:TakeDamage(hum.MaxHealth / 32) | |
1444 | elseif Mode == "SSJB" then | |
1445 | hum:TakeDamage(hum.MaxHealth / 15) | |
1446 | end | |
1447 | for i = 0, 360, 36 do | |
1448 | local debris = Create("Part", workspace, "Part", { | |
1449 | Anchored = true, | |
1450 | CanCollide = false, | |
1451 | BrickColor = part.BrickColor or BrickColor.new("Bright green"), | |
1452 | Material = material or Enum.Material.Grass, | |
1453 | Size = Vector3.new(15, 20, 10), | |
1454 | CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15) | |
1455 | }) | |
1456 | debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0)) | |
1457 | TweenService:Create(debris, TweenInfo.new(2), {Transparency = 1}):Play() | |
1458 | game:GetService("Debris"):AddItem(debris, 2) | |
1459 | end | |
1460 | asd = true | |
1461 | bv:Destroy() | |
1462 | Walkspeed = 16 | |
1463 | Attacking = false | |
1464 | end | |
1465 | end) | |
1466 | end | |
1467 | elseif key == Enum.KeyCode.C then | |
1468 | Attacking = true | |
1469 | local orb1 = Create("Part", Char, "Part", { | |
1470 | CanCollide = false, | |
1471 | Material = "Neon", | |
1472 | BrickColor = BrickColor.new("Electric blue"), | |
1473 | Size = Vector3.new(1, 1, 1) | |
1474 | }) | |
1475 | local smesh = Create("SpecialMesh", orb1, "Mesh", { | |
1476 | MeshType = "Sphere", | |
1477 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
1478 | }) | |
1479 | local orb2 = Create("Part", Char, "Part", { | |
1480 | CanCollide = false, | |
1481 | Material = "Neon", | |
1482 | BrickColor = BrickColor.new("Electric blue"), | |
1483 | Size = Vector3.new(1, 1, 1) | |
1484 | }) | |
1485 | local smesh2 = Create("SpecialMesh", orb2, "Mesh", { | |
1486 | MeshType = "Sphere", | |
1487 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
1488 | }) | |
1489 | newWeld(orb1, LArm, orb1, CFrame.new(0, -1, 0)) | |
1490 | newWeld(orb2, RArm, orb2, CFrame.new(0, -1, 0)) | |
1491 | for i = 0, 0.28, 0.01 do | |
1492 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
1493 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, i) | |
1494 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
1495 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-90)), i) | |
1496 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(90)), i) | |
1497 | SWait() | |
1498 | end | |
1499 | TweenService:Create(smesh, TweenInfo.new(1), { | |
1500 | Scale = Vector3.new(1, 1, 1) | |
1501 | }):Play() | |
1502 | TweenService:Create(smesh2, TweenInfo.new(1), { | |
1503 | Scale = Vector3.new(1, 1, 1) | |
1504 | }):Play() | |
1505 | wait(1) | |
1506 | for i = 0, 20, 0.1 do | |
1507 | do | |
1508 | local blast = Create("Part", workspace, "EB", { | |
1509 | CanCollide = false, | |
1510 | BrickColor = BrickColor.new("Electric blue"), | |
1511 | Material = "Neon", | |
1512 | Size = Vector3.new(2, 2, 2), | |
1513 | CFrame = HRoot.CFrame * CFrame.new(Random(-4, 4), Random(0, 2), -2) | |
1514 | }) | |
1515 | local mesh = Create("SpecialMesh", blast, "Mesh", { | |
1516 | MeshType = "Sphere", | |
1517 | Scale = Vector3.new(0.6, 0.6, 1) | |
1518 | }) | |
1519 | local bv = Create("BodyVelocity", blast, "BV", { | |
1520 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1521 | Velocity = HRoot.CFrame.lookVector * 180 | |
1522 | }) | |
1523 | game:GetService("Debris"):AddItem(blast, 2) | |
1524 | blast.Touched:connect(function(h) | |
1525 | if h.Parent == nil then | |
1526 | return | |
1527 | end | |
1528 | if h:IsDescendantOf(Char) then | |
1529 | return | |
1530 | end | |
1531 | if h.Name == "EB" then | |
1532 | return | |
1533 | end | |
1534 | local hum = h.Parent:FindFirstChildOfClass("Humanoid") | |
1535 | local tor = h.Parent:FindFirstChild("Toros") or h.Parent:FindFirstChild("HumanoidRootPart") | |
1536 | blast.Anchored = true | |
1537 | local nb = blast:Clone() | |
1538 | blast:Destroy() | |
1539 | nb.Parent = workspace | |
1540 | TweenService:Create(nb, TweenInfo.new(1), {Transparency = 1}):Play() | |
1541 | TweenService:Create(nb.Mesh, TweenInfo.new(1), { | |
1542 | Scale = Vector3.new(4, 4, 4) | |
1543 | }):Play() | |
1544 | game:GetService("Debris"):AddItem(nb, 1) | |
1545 | if hum and tor then | |
1546 | for _, v in pairs(h.Parent:GetChildren()) do | |
1547 | if v:IsA("ForceField") then | |
1548 | v:Destroy() | |
1549 | end | |
1550 | end | |
1551 | if Mode == "Base" then | |
1552 | hum:TakeDamage(hum.MaxHealth / 105) | |
1553 | elseif Mode == "SSJ" then | |
1554 | hum:TakeDamage(hum.MaxHealth / 90) | |
1555 | elseif Mode == "SSJ2" then | |
1556 | hum:TakeDamage(hum.MaxHealth / 80) | |
1557 | elseif Mode == "SSJ3" then | |
1558 | hum:TakeDamage(hum.MaxHealth / 70) | |
1559 | elseif Mode == "SSJG" then | |
1560 | hum:TakeDamage(hum.MaxHealth / 60) | |
1561 | elseif Mode == "SSJB" then | |
1562 | hum:TakeDamage(hum.MaxHealth / 50) | |
1563 | elseif Mode == "SSJBKK" then | |
1564 | hum:TakeDamage(hum.MaxHealth / 40) | |
1565 | elseif Mode == "Vegito" then | |
1566 | hum:TakeDamage(hum.MaxHealth / 0.1) | |
1567 | end | |
1568 | end | |
1569 | end) | |
1570 | SWait() | |
1571 | end | |
1572 | end | |
1573 | TweenService:Create(smesh, TweenInfo.new(1), { | |
1574 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
1575 | }):Play() | |
1576 | TweenService:Create(smesh2, TweenInfo.new(1), { | |
1577 | Scale = Vector3.new(0.001, 0.001, 0.001) | |
1578 | }):Play() | |
1579 | game:GetService("Debris"):AddItem(orb1, 1) | |
1580 | game:GetService("Debris"):AddItem(orb2, 1) | |
1581 | Attacking = false | |
1582 | elseif key == Enum.KeyCode.V then | |
1583 | Attacking = true | |
1584 | Walkspeed = 0 | |
1585 | KamehamehaSound:Play() | |
1586 | do | |
1587 | local orb = Create("Part", Char, "Part", { | |
1588 | CanCollide = false, | |
1589 | Material = "Neon", | |
1590 | BrickColor = BrickColor.new("Electric blue"), | |
1591 | Size = Vector3.new(1, 1, 1) | |
1592 | }) | |
1593 | newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0)) | |
1594 | local smesh = Create("SpecialMesh", orb, "Mesh", { | |
1595 | MeshType = "Sphere", | |
1596 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
1597 | }) | |
1598 | for i = 0, 1, 0.01 do | |
1599 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
1600 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i) | |
1601 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i) | |
1602 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i) | |
1603 | wait() | |
1604 | end | |
1605 | TweenService:Create(smesh, TweenInfo.new(4.7), { | |
1606 | Scale = Vector3.new(2, 2, 2) | |
1607 | }):Play() | |
1608 | wait(4.7) | |
1609 | local fire = false | |
1610 | for i = 0, 1, 0.01 do | |
1611 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
1612 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
1613 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(-50), Rad(-90)), i) | |
1614 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(40), Rad(90)), i) | |
1615 | if i >= 0.8 and not fire then | |
1616 | fire = true | |
1617 | end | |
1618 | wait() | |
1619 | end | |
1620 | spawn(function() | |
1621 | repeat | |
1622 | SWait() | |
1623 | until fire | |
1624 | local hitb = Create("Part", workspace, "KameHameHaUltra", { | |
1625 | Anchored = true, | |
1626 | CanCollide = false, | |
1627 | Transparency = 1, | |
1628 | Size = Vector3.new(74, 74, 700), | |
1629 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -350) | |
1630 | }) | |
1631 | local beam = Create("Part", workspace, "KameHameHaUltra", { | |
1632 | Anchored = true, | |
1633 | CanCollide = false, | |
1634 | Material = "Neon", | |
1635 | BrickColor = BrickColor.new("Electric blue"), | |
1636 | Size = Vector3.new(1, 1, 1), | |
1637 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2) | |
1638 | }) | |
1639 | local mesh = Create("SpecialMesh", beam, "Mesh", { | |
1640 | MeshType = "Sphere", | |
1641 | Scale = Vector3.new(1, 1, 1) | |
1642 | }) | |
1643 | TweenService:Create(mesh, TweenInfo.new(0.5), { | |
1644 | Scale = Vector3.new(74, 74, 700) | |
1645 | }):Play() | |
1646 | TweenService:Create(beam, TweenInfo.new(0.5), { | |
1647 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -350) | |
1648 | }):Play() | |
1649 | local done = false | |
1650 | spawn(function() | |
1651 | repeat | |
1652 | local airPart = Create("Part", workspace, "Part", { | |
1653 | Anchored = true, | |
1654 | CanCollide = false, | |
1655 | Size = Vector3.new(1, 1, 1), | |
1656 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
1657 | }) | |
1658 | airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90)) | |
1659 | local airMesh = Create("SpecialMesh", airPart, "Mesh", { | |
1660 | MeshId = "rbxassetid://0", | |
1661 | Scale = Vector3.new(6, 40, 6), | |
1662 | Offset = Vector3.new(0, -100, 0) | |
1663 | }) | |
1664 | TweenService:Create(airPart, TweenInfo.new(0.1), { | |
1665 | Transparency = 1, | |
1666 | CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
1667 | }):Play() | |
1668 | game:GetService("Debris"):AddItem(airPart, 0.1) | |
1669 | SWait() | |
1670 | until done | |
1671 | end) | |
1672 | hitb.Touched:connect(function(h) | |
1673 | if h.Parent == nil then | |
1674 | return | |
1675 | end | |
1676 | if h:IsDescendantOf(Char) then | |
1677 | return | |
1678 | end | |
1679 | local anc | |
1680 | local a, b = pcall(function() | |
1681 | anc = findRealAncestor(h) | |
1682 | end) | |
1683 | if a then | |
1684 | local hum = anc:FindFirstChildOfClass("Humanoid") | |
1685 | if hum then | |
1686 | if Mode == "Base" then | |
1687 | hum:TakeDamage(hum.MaxHealth / 80) | |
1688 | elseif Mode == "SSJ" then | |
1689 | hum:TakeDamage(hum.MaxHealth / 70) | |
1690 | elseif Mode == "SSJ2" then | |
1691 | hum:TakeDamage(hum.MaxHealth / 60) | |
1692 | elseif Mode == "SSJ3" then | |
1693 | hum:TakeDamage(hum.MaxHealth / 50) | |
1694 | elseif Mode == "SSJG" then | |
1695 | hum:TakeDamage(hum.MaxHealth / 40) | |
1696 | elseif Mode == "SSJB" then | |
1697 | hum:TakeDamage(hum.MaxHealth / 30) | |
1698 | end | |
1699 | game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChildOfClass("HumanoidRootPart") or anc:FindFirstChild("Head"), "BV", { | |
1700 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1701 | Velocity = HRoot.CFrame.lookVector * 20 | |
1702 | }), 10) | |
1703 | end | |
1704 | end | |
1705 | end) | |
1706 | local kameOn = true | |
1707 | local HAA = Instance.new("Sound", Torso) | |
1708 | HAA.SoundId = "rbxassetid://551399627" | |
1709 | HAA.Pitch = 1 | |
1710 | HAA.Looped = false | |
1711 | HAA.Volume = 3.2 | |
1712 | wait(1.0E-4) | |
1713 | HAA:Play() | |
1714 | local Music2 = Instance.new("Sound", Torso) | |
1715 | Music2.SoundId = "rbxassetid://1117288204" | |
1716 | Music2.Pitch = 1 | |
1717 | Music2.Looped = false | |
1718 | Music2.Volume = 7.2 | |
1719 | wait(1.0E-4) | |
1720 | Music2:Play() | |
1721 | Music2.Ended:connect(function() | |
1722 | if not kameOn then | |
1723 | return | |
1724 | end | |
1725 | KamehamehaSound.Volume = 4 | |
1726 | kameOn = false | |
1727 | done = true | |
1728 | hitb:Destroy() | |
1729 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1730 | Scale = Vector3.new(0.01, 0.01, 4) | |
1731 | }):Play() | |
1732 | TweenService:Create(beam, TweenInfo.new(1), { | |
1733 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4) | |
1734 | }):Play() | |
1735 | TweenService:Create(smesh, TweenInfo.new(1), { | |
1736 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
1737 | }):Play() | |
1738 | game:GetService("Debris"):AddItem(beam, 1) | |
1739 | game:GetService("Debris"):AddItem(orb, 1) | |
1740 | wait(1) | |
1741 | Walkspeed = 16 | |
1742 | Attacking = false | |
1743 | end) | |
1744 | end) | |
1745 | end | |
1746 | elseif key == Enum.KeyCode.B and Mode == "SSJG" then | |
1747 | if Mouse.Target.Parent == nil then | |
1748 | return | |
1749 | end | |
1750 | local targ = Mouse.Target.Parent | |
1751 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
1752 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
1753 | if not hum or not tor then | |
1754 | return | |
1755 | end | |
1756 | Attacking = true | |
1757 | local temp = newWeld(tor, HRoot, tor, CFrame.new(0, 0, -2)) | |
1758 | PunchSound.Looped = true | |
1759 | PunchSound:Play() | |
1760 | Chat:Chat(Head, "You're pretty strong! Let's see you keep up with me now!", Enum.ChatColor.White) | |
1761 | for i = 0, 6 do | |
1762 | for _, v in pairs(targ:GetChildren()) do | |
1763 | if v:IsA("ForceField") then | |
1764 | v:Destroy() | |
1765 | end | |
1766 | end | |
1767 | local ring1 = Create("Part", Char, "Part", { | |
1768 | Anchored = true, | |
1769 | CanCollide = false, | |
1770 | Size = Vector3.new(1, 1, 1), | |
1771 | BrickColor = BrickColor.new("Institutional white"), | |
1772 | CFrame = tor.CFrame | |
1773 | }) | |
1774 | local mesh1 = Create("SpecialMesh", ring1, "Mesh", { | |
1775 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1776 | Scale = Vector3.new(4, 4, 1) | |
1777 | }) | |
1778 | TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play() | |
1779 | TweenService:Create(mesh1, TweenInfo.new(1), { | |
1780 | Scale = Vector3.new(20, 20, 1) | |
1781 | }):Play() | |
1782 | game:GetService("Debris"):AddItem(ring1, 1) | |
1783 | for i = 0, 1, 0.1 do | |
1784 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
1785 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
1786 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
1787 | RHip.C0 = RHip.C0:lerp(Rhcf, i) | |
1788 | SWait() | |
1789 | end | |
1790 | hum:TakeDamage(hum.MaxHealth / 20) | |
1791 | local ring2 = Create("Part", Char, "Part", { | |
1792 | Anchored = true, | |
1793 | CanCollide = false, | |
1794 | Size = Vector3.new(1, 1, 1), | |
1795 | BrickColor = BrickColor.new("Institutional white"), | |
1796 | CFrame = tor.CFrame | |
1797 | }) | |
1798 | local mesh2 = Create("SpecialMesh", ring2, "Mesh", { | |
1799 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1800 | Scale = Vector3.new(4, 4, 1) | |
1801 | }) | |
1802 | TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play() | |
1803 | TweenService:Create(mesh2, TweenInfo.new(1), { | |
1804 | Scale = Vector3.new(20, 20, 1) | |
1805 | }):Play() | |
1806 | game:GetService("Debris"):AddItem(ring2, 1) | |
1807 | for i = 0, 1, 0.1 do | |
1808 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
1809 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
1810 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)), i) | |
1811 | SWait() | |
1812 | end | |
1813 | hum:TakeDamage(hum.MaxHealth / 20) | |
1814 | for i = 0, 1, 0.1 do | |
1815 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-20), Rad(120), Rad(0)), i) | |
1816 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i) | |
1817 | SWait() | |
1818 | end | |
1819 | hum:TakeDamage(hum.MaxHealth / 20) | |
1820 | end | |
1821 | PunchSound:Stop() | |
1822 | PunchSound.Looped = false | |
1823 | PunchSound3:Play() | |
1824 | for i = 0, 1, 0.1 do | |
1825 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
1826 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
1827 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
1828 | RHip.C0 = RHip.C0:lerp(Rhcf, i) | |
1829 | SWait() | |
1830 | end | |
1831 | hum:TakeDamage(hum.MaxHealth / 20) | |
1832 | game:GetService("Debris"):AddItem(Create("BodyVelocity", tor, "BV", { | |
1833 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1834 | Velocity = HRoot.CFrame.lookVector * 100 | |
1835 | }), 1) | |
1836 | temp:Destroy() | |
1837 | Attacking = false | |
1838 | elseif key == Enum.KeyCode.R then | |
1839 | if Mouse.Target.Parent == nil then | |
1840 | return | |
1841 | end | |
1842 | local targ = Mouse.Target.Parent | |
1843 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
1844 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
1845 | if not hum or not tor then | |
1846 | return | |
1847 | end | |
1848 | wait(1) | |
1849 | game:GetService("Chat"):Chat(Head, "HA!", Enum.ChatColor.White) | |
1850 | local Music3 = Instance.new("Sound", Torso) | |
1851 | Music3.SoundId = "rbxassetid://1050751126" | |
1852 | Music3.Volume = 6 | |
1853 | Music3.Pitch = 1 | |
1854 | Music3.Looped = false | |
1855 | Music3:Play() | |
1856 | for i = 0, 3, 0.1 do | |
1857 | do | |
1858 | local rp = Create("RocketPropulsion", Torso, "BV", { | |
1859 | MaxTorque = Vector3.new(200000000, 200000000, 200000000), | |
1860 | MaxSpeed = 100, | |
1861 | CartoonFactor = 1, | |
1862 | TargetRadius = 1, | |
1863 | MaxThrust = 40000, | |
1864 | Target = tor | |
1865 | }) | |
1866 | rp:Fire() | |
1867 | coroutine.resume(coroutine.create(function() | |
1868 | wait(3) | |
1869 | rp:remove() | |
1870 | end)) | |
1871 | SWait() | |
1872 | end | |
1873 | end | |
1874 | Attacking = false | |
1875 | elseif key == Enum.KeyCode.M then | |
1876 | if Mouse.Target.Parent == nil then | |
1877 | return | |
1878 | end | |
1879 | game:GetService("Chat"):Chat(Head, "Try this one! HA!", Enum.ChatColor.White) | |
1880 | do | |
1881 | local targ = Mouse.Target.Parent | |
1882 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
1883 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
1884 | if not hum or not tor then | |
1885 | return | |
1886 | end | |
1887 | Attacking = true | |
1888 | local Runnin = true | |
1889 | local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2)) | |
1890 | local function damage() | |
1891 | local ring = Create("Part", workspace, "Part", { | |
1892 | Anchored = true, | |
1893 | CanCollide = false, | |
1894 | BrickColor = BrickColor.new("Institutional white"), | |
1895 | Size = Vector3.new(1, 1, 1), | |
1896 | CFrame = CFrame.new(HRoot.CFrame.p, tor.CFrame.p) | |
1897 | }) | |
1898 | ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0)) | |
1899 | local mesh = Create("SpecialMesh", ring, "Mesh", { | |
1900 | MeshId = "http://www.roblox.com/asset/?id=20329976", | |
1901 | Scale = Vector3.new(1, 1, 1) | |
1902 | }) | |
1903 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play() | |
1904 | TweenService:Create(mesh, TweenInfo.new(1), { | |
1905 | Scale = Vector3.new(20, 1, 20) | |
1906 | }):Play() | |
1907 | game:GetService("Debris"):AddItem(ring, 1) | |
1908 | for _, v in pairs(targ:GetChildren()) do | |
1909 | if v:IsA("ForceField") then | |
1910 | v:Destroy() | |
1911 | end | |
1912 | end | |
1913 | if Mode == "Base" then | |
1914 | hum:TakeDamage(hum.MaxHealth / 160) | |
1915 | elseif Mode == "SSJ" then | |
1916 | hum:TakeDamage(hum.MaxHealth / 130) | |
1917 | elseif Mode == "SSJ2" then | |
1918 | hum:TakeDamage(hum.MaxHealth / 110) | |
1919 | elseif Mode == "SSJ3" then | |
1920 | hum:TakeDamage(hum.MaxHealth / 50) | |
1921 | elseif Mode == "SSJG" then | |
1922 | hum:TakeDamage(hum.MaxHealth / 30) | |
1923 | elseif Mode == "SSJB" then | |
1924 | hum:TakeDamage(hum.MaxHealth / 20) | |
1925 | elseif Mode == "SSJBKK" then | |
1926 | hum:TakeDamage(hum.MaxHealth / 1) | |
1927 | end | |
1928 | end | |
1929 | SWait() | |
1930 | PunchSound.Looped = true | |
1931 | PunchSound:Play() | |
1932 | for i = 0, 12 do | |
1933 | Neck.C0 = Ncf | |
1934 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)) | |
1935 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)) | |
1936 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
1937 | damage() | |
1938 | wait(0.1) | |
1939 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)) | |
1940 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)) | |
1941 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
1942 | damage() | |
1943 | wait(0.1) | |
1944 | end | |
1945 | PunchSound:Stop() | |
1946 | PunchSound3:Play() | |
1947 | local bv = Create("BodyVelocity", HRoot, "BV", { | |
1948 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
1949 | Velocity = Vector3.new(0, 0, 0) | |
1950 | }) | |
1951 | weld:Destroy() | |
1952 | Char:MoveTo(HRoot.CFrame * CFrame.new(0, 20, 0).p) | |
1953 | PunchSound:Play() | |
1954 | local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2)) | |
1955 | for i = 0, 24 do | |
1956 | Neck.C0 = Ncf | |
1957 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)) | |
1958 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)) | |
1959 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
1960 | damage() | |
1961 | wait(0.1) | |
1962 | Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)) | |
1963 | LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)) | |
1964 | RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)) | |
1965 | damage() | |
1966 | wait(0.1) | |
1967 | end | |
1968 | PunchSound:Stop() | |
1969 | local gyro = Create("BodyGyro", HRoot, "Gyro", { | |
1970 | MaxTorque = Vector3.new(200000000, 200000000, 200000000), | |
1971 | P = 30000 | |
1972 | }) | |
1973 | local conn = game:GetService("RunService").RenderStepped:connect(function() | |
1974 | gyro.CFrame = workspace.CurrentCamera.CFrame | |
1975 | end) | |
1976 | weld:Destroy() | |
1977 | hum.StateChanged:connect(function(old, new) | |
1978 | if not Runnin then | |
1979 | return | |
1980 | end | |
1981 | if new == Enum.HumanoidStateType.Landed then | |
1982 | Runnin = false | |
1983 | for _, v in pairs(targ:GetChildren()) do | |
1984 | if v:IsA("ForceField") then | |
1985 | v:Destroy() | |
1986 | end | |
1987 | end | |
1988 | hum:TakeDamage(hum.MaxHealth / 100) | |
1989 | ExplosionSound2:Play() | |
1990 | local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500) | |
1991 | local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false) | |
1992 | for i = 0, 360, 36 do | |
1993 | local debris = Create("Part", workspace, "Part", { | |
1994 | Anchored = true, | |
1995 | CanCollide = false, | |
1996 | BrickColor = part.BrickColor or BrickColor.new("Bright green"), | |
1997 | Material = material or Enum.Material.Grass, | |
1998 | Size = Vector3.new(15, 20, 10), | |
1999 | CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15) | |
2000 | }) | |
2001 | debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0)) | |
2002 | TweenService:Create(debris, TweenInfo.new(10), {Transparency = 1}):Play() | |
2003 | game:GetService("Debris"):AddItem(debris, 10) | |
2004 | end | |
2005 | end | |
2006 | end) | |
2007 | local onTouch = function(part, h) | |
2008 | if h:IsDescendantOf(Char) then | |
2009 | return | |
2010 | end | |
2011 | if h.Name:lower() == "kib" then | |
2012 | return | |
2013 | end | |
2014 | local nk = part:Clone() | |
2015 | nk.Parent = workspace | |
2016 | nk.Anchored = true | |
2017 | part:Destroy() | |
2018 | TweenService:Create(nk, TweenInfo.new(1), {Transparency = 1}):Play() | |
2019 | TweenService:Create(nk.Mesh, TweenInfo.new(1), { | |
2020 | Scale = Vector3.new(16, 16, 16) | |
2021 | }):Play() | |
2022 | game:GetService("Debris"):AddItem(nk, 1) | |
2023 | for _, v in pairs(workspace:GetChildren()) do | |
2024 | if v:FindFirstChildOfClass("Humanoid") and v ~= Char then | |
2025 | local tor = v:FindFirstChild("Torso") or v:FindFirstChild("HumanoidRootPart") | |
2026 | local hum = v:FindFirstChildOfClass("Humanoid") | |
2027 | if tor and (tor.Position - nk.Position).magnitude <= 80 then | |
2028 | for _, b in pairs(v:GetChildren()) do | |
2029 | if b:IsA("ForceField") then | |
2030 | b:Destroy() | |
2031 | end | |
2032 | end | |
2033 | if Mode == "Base" then | |
2034 | hum:TakeDamage(hum.MaxHealth / 60) | |
2035 | elseif Mode == "SSJ" then | |
2036 | hum:TakeDamage(hum.MaxHealth / 50) | |
2037 | elseif Mode == "SSJ2" then | |
2038 | hum:TakeDamage(hum.MaxHealth / 30) | |
2039 | elseif Mode == "SSJ3" then | |
2040 | hum:TakeDamage(hum.MaxHealth / 6) | |
2041 | elseif Mode == "SSJG" then | |
2042 | hum:TakeDamage(hum.MaxHealth / 3) | |
2043 | elseif Mode == "SSJB" then | |
2044 | hum:TakeDamage(hum.MaxHealth / 1) | |
2045 | end | |
2046 | end | |
2047 | end | |
2048 | end | |
2049 | end | |
2050 | Flying = true | |
2051 | for i = 0, 100 do | |
2052 | for i = 0, 1, 0.1 do | |
2053 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
2054 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
2055 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
2056 | SWait() | |
2057 | end | |
2058 | do | |
2059 | local kib = Create("Part", workspace, "Kib", { | |
2060 | CanCollide = false, | |
2061 | BrickColor = BrickColor.new("Electric blue"), | |
2062 | Material = "Neon", | |
2063 | Size = Vector3.new(2, 2, 2), | |
2064 | CFrame = HRoot.CFrame * CFrame.new(-1, 0, -0.5) | |
2065 | }) | |
2066 | kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-2, 2)), Rad(Random(-2, 2)), Rad(0)) | |
2067 | Create("SpecialMesh", kib, "Mesh", { | |
2068 | MeshType = "Sphere", | |
2069 | Scale = Vector3.new(1, 1, 2) | |
2070 | }) | |
2071 | Create("BodyVelocity", kib, "BV", { | |
2072 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
2073 | Velocity = kib.CFrame.lookVector * 100 | |
2074 | }) | |
2075 | kib.Touched:connect(function(h) | |
2076 | onTouch(kib, h) | |
2077 | end) | |
2078 | game:GetService("Debris"):AddItem(kib, 10) | |
2079 | SWait() | |
2080 | for i = 0, 1, 0.1 do | |
2081 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(300)), i) | |
2082 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
2083 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i) | |
2084 | SWait() | |
2085 | end | |
2086 | local kib = Create("Part", workspace, "Kib", { | |
2087 | CanCollide = false, | |
2088 | BrickColor = BrickColor.new("Electric blue"), | |
2089 | Material = "Neon", | |
2090 | Size = Vector3.new(2, 2, 2), | |
2091 | CFrame = HRoot.CFrame * CFrame.new(1, 0, -0.5) | |
2092 | }) | |
2093 | kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-20, 20)), Rad(Random(-45, 45)), Rad(0)) | |
2094 | Create("SpecialMesh", kib, "Mesh", { | |
2095 | MeshType = "Sphere", | |
2096 | Scale = Vector3.new(1, 1, 2) | |
2097 | }) | |
2098 | Create("BodyVelocity", kib, "BV", { | |
2099 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
2100 | Velocity = kib.CFrame.lookVector * 100 | |
2101 | }) | |
2102 | kib.Touched:connect(function(h) | |
2103 | onTouch(kib, h) | |
2104 | end) | |
2105 | game:GetService("Debris"):AddItem(kib, 10) | |
2106 | SWait() | |
2107 | end | |
2108 | end | |
2109 | conn:Disconnect() | |
2110 | bv:Destroy() | |
2111 | gyro:Destroy() | |
2112 | Attacking = false | |
2113 | end | |
2114 | end | |
2115 | elseif Mode == "Ultra" then | |
2116 | if key == Enum.KeyCode.Z then | |
2117 | if Walkspeed ~= 100 then | |
2118 | Walkspeed = 100 | |
2119 | Sprint = true | |
2120 | else | |
2121 | Walkspeed = 16 | |
2122 | Sprint = false | |
2123 | end | |
2124 | elseif key == Enum.KeyCode.X then | |
2125 | Attacking = true | |
2126 | Walkspeed = 0 | |
2127 | KamehamehaSound:Play() | |
2128 | do | |
2129 | local orb = Create("Part", Char, "Part", { | |
2130 | CanCollide = false, | |
2131 | Material = "Neon", | |
2132 | BrickColor = BrickColor.new("Electric blue"), | |
2133 | Size = Vector3.new(1, 1, 1) | |
2134 | }) | |
2135 | newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0)) | |
2136 | local smesh = Create("SpecialMesh", orb, "Mesh", { | |
2137 | MeshType = "Sphere", | |
2138 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
2139 | }) | |
2140 | for i = 0, 1, 0.01 do | |
2141 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i) | |
2142 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i) | |
2143 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i) | |
2144 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i) | |
2145 | wait() | |
2146 | end | |
2147 | TweenService:Create(smesh, TweenInfo.new(4.7), { | |
2148 | Scale = Vector3.new(2, 2, 2) | |
2149 | }):Play() | |
2150 | wait(4.7) | |
2151 | local fire = false | |
2152 | for i = 0, 1, 0.01 do | |
2153 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
2154 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i) | |
2155 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-90)), i) | |
2156 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
2157 | if i >= 0.8 and not fire then | |
2158 | fire = true | |
2159 | end | |
2160 | wait() | |
2161 | end | |
2162 | spawn(function() | |
2163 | repeat | |
2164 | SWait() | |
2165 | until fire | |
2166 | local hitb = Create("Part", workspace, "KameHameHaUltra", { | |
2167 | Anchored = true, | |
2168 | CanCollide = false, | |
2169 | Transparency = 1, | |
2170 | Size = Vector3.new(36, 36, 400), | |
2171 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -200) | |
2172 | }) | |
2173 | local beam = Create("Part", workspace, "KameHameHaUltra", { | |
2174 | Anchored = true, | |
2175 | CanCollide = false, | |
2176 | Material = "Neon", | |
2177 | BrickColor = BrickColor.new("Electric blue"), | |
2178 | Size = Vector3.new(1, 1, 1), | |
2179 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2) | |
2180 | }) | |
2181 | local mesh = Create("SpecialMesh", beam, "Mesh", { | |
2182 | MeshType = "Sphere", | |
2183 | Scale = Vector3.new(1, 1, 1) | |
2184 | }) | |
2185 | TweenService:Create(mesh, TweenInfo.new(0.5), { | |
2186 | Scale = Vector3.new(40, 40, 400) | |
2187 | }):Play() | |
2188 | TweenService:Create(beam, TweenInfo.new(0.5), { | |
2189 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -200) | |
2190 | }):Play() | |
2191 | spawn(function() | |
2192 | for i = 0, 1, 0.1 do | |
2193 | local airPart = Create("Part", workspace, "Part", { | |
2194 | Anchored = true, | |
2195 | CanCollide = false, | |
2196 | Size = Vector3.new(1, 1, 1), | |
2197 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
2198 | }) | |
2199 | airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90)) | |
2200 | local airMesh = Create("SpecialMesh", airPart, "Mesh", { | |
2201 | MeshId = "rbxassetid://168892432", | |
2202 | Scale = Vector3.new(4, 4, 4), | |
2203 | Offset = Vector3.new(0, 20, 0) | |
2204 | }) | |
2205 | TweenService:Create(airMesh, TweenInfo.new(0.5), { | |
2206 | Scale = Vector3.new(10, 50, 10), | |
2207 | Offset = Vector3.new(0, -150, 0) | |
2208 | }):Play() | |
2209 | TweenService:Create(airPart, TweenInfo.new(7.3), { | |
2210 | Transparency = 1, | |
2211 | CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
2212 | }):Play() | |
2213 | game:GetService("Debris"):AddItem(airPart, 7.3) | |
2214 | SWait() | |
2215 | end | |
2216 | end) | |
2217 | hitb.Touched:connect(function(h) | |
2218 | if h.Parent == nil then | |
2219 | return | |
2220 | end | |
2221 | if h:IsDescendantOf(Char) then | |
2222 | return | |
2223 | end | |
2224 | local anc | |
2225 | local a, b = pcall(function() | |
2226 | anc = findRealAncestor(h) | |
2227 | end) | |
2228 | if a then | |
2229 | local hum = anc:FindFirstChildOfClass("Humanoid") | |
2230 | if hum then | |
2231 | hum:TakeDamage(hum.MaxHealth / 50) | |
2232 | game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChild("HumanoidRootPart") or anc:FindFirstChild("Torso"), "BV", { | |
2233 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
2234 | Velocity = HRoot.CFrame.lookVector * 100 | |
2235 | }), 0.5) | |
2236 | end | |
2237 | end | |
2238 | end) | |
2239 | KamehamehaSound.Ended:connect(function() | |
2240 | KamehamehaSound.Volume = 4 | |
2241 | hitb:Destroy() | |
2242 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2243 | Scale = Vector3.new(0.01, 0.01, 4) | |
2244 | }):Play() | |
2245 | TweenService:Create(beam, TweenInfo.new(1), { | |
2246 | CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4) | |
2247 | }):Play() | |
2248 | TweenService:Create(smesh, TweenInfo.new(1), { | |
2249 | Scale = Vector3.new(0.01, 0.01, 0.01) | |
2250 | }):Play() | |
2251 | game:GetService("Debris"):AddItem(beam, 1) | |
2252 | game:GetService("Debris"):AddItem(orb, 1) | |
2253 | wait(1) | |
2254 | Walkspeed = 16 | |
2255 | Attacking = false | |
2256 | end) | |
2257 | end) | |
2258 | end | |
2259 | elseif key == Enum.KeyCode.C then | |
2260 | warn("Dodge: " .. tostring(Dodge)) | |
2261 | elseif key == Enum.KeyCode.V then | |
2262 | Walkspeed = 0 | |
2263 | Attacking = true | |
2264 | for i = 0, 1, 0.1 do | |
2265 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
2266 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
2267 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i) | |
2268 | wait() | |
2269 | end | |
2270 | local hitp = Create("Part", workspace, "Part", { | |
2271 | Anchored = true, | |
2272 | CanCollide = false, | |
2273 | Transparency = 1, | |
2274 | Size = Vector3.new(20, 20, 400), | |
2275 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -202) | |
2276 | }) | |
2277 | hitp.Touched:connect(function(h) | |
2278 | if h.Parent == nil then | |
2279 | return | |
2280 | end | |
2281 | if h:IsDescendantOf(Char) then | |
2282 | return | |
2283 | end | |
2284 | local anc | |
2285 | local a, b = pcall(function() | |
2286 | anc = findRealAncestor(h) | |
2287 | end) | |
2288 | if a then | |
2289 | local hum = anc:FindFirstChildOfClass("Humanoid") | |
2290 | if hum then | |
2291 | h.Parent.Humanoid:TakeDamage(250000) | |
2292 | end | |
2293 | end | |
2294 | end) | |
2295 | for i = 0, 1, 0.1 do | |
2296 | local bpart = Create("Part", Char, "Part", { | |
2297 | Anchored = true, | |
2298 | CanCollide = false, | |
2299 | Size = Vector3.new(1, 1, 1), | |
2300 | BrickColor = BrickColor.new("Institutional white"), | |
2301 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
2302 | }) | |
2303 | local mesh = Create("SpecialMesh", bpart, "Mesh", { | |
2304 | MeshId = "rbxassetid://437347603", | |
2305 | Scale = Vector3.new(1, 1, 1), | |
2306 | Offset = Vector3.new(0, 0, 0) | |
2307 | }) | |
2308 | TweenService:Create(bpart, TweenInfo.new(1), { | |
2309 | Transparency = 1, | |
2310 | CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360))) | |
2311 | }):Play() | |
2312 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2313 | Scale = Vector3.new(2, 2, 20), | |
2314 | Offset = Vector3.new(0, 0, -150) | |
2315 | }):Play() | |
2316 | game:GetService("Debris"):AddItem(bpart, 1) | |
2317 | SWait() | |
2318 | end | |
2319 | game:GetService("Debris"):AddItem(hitp, 1.5) | |
2320 | Attacking = false | |
2321 | Walkspeed = 16 | |
2322 | elseif key == Enum.KeyCode.B then | |
2323 | Attacking = true | |
2324 | if Mouse.Target == nil then | |
2325 | return | |
2326 | end | |
2327 | instinct = false | |
2328 | do | |
2329 | local targ | |
2330 | local a, b = pcall(function() | |
2331 | targ = findRealAncestor(Mouse.Target) | |
2332 | end) | |
2333 | if not a then | |
2334 | pcall(function() | |
2335 | targ = Mouse.Target.Parent | |
2336 | end) | |
2337 | end | |
2338 | if targ ~= nil then | |
2339 | do | |
2340 | local hum = targ:FindFirstChildOfClass("Humanoid") | |
2341 | local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart") | |
2342 | if hum and tor then | |
2343 | Walkspeed = 0 | |
2344 | local weld = newWeld(HRoot, tor, HRoot, CFrame.new(0, 0, 2)) | |
2345 | FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000) | |
2346 | spawn(function() | |
2347 | tor.Anchored = true | |
2348 | PunchSound.Looped = true | |
2349 | for _, v in pairs(targ:GetChildren()) do | |
2350 | if v:IsA("LocalScript") then | |
2351 | v.Disabled = true | |
2352 | end | |
2353 | end | |
2354 | Char:MoveTo(tor.Position + Vector3.new(0, 0, -2)) | |
2355 | wait(0.1) | |
2356 | Torso.CFrame = CFrame.new(Torso.Position, tor.Position) | |
2357 | PunchSound:Play() | |
2358 | local punching = true | |
2359 | spawn(function() | |
2360 | repeat | |
2361 | local fist = Create("Part", workspace, "Part", { | |
2362 | Anchored = true, | |
2363 | CanCollide = false, | |
2364 | Size = Vector3.new(LArm.Size.X, 1, 8), | |
2365 | BrickColor = LArm.BrickColor | |
2366 | }) | |
2367 | local fist2 = Create("Part", workspace, "Part", { | |
2368 | Anchored = true, | |
2369 | CanCollide = false, | |
2370 | Size = Vector3.new(RArm.Size.X, 1, 8), | |
2371 | BrickColor = RArm.BrickColor | |
2372 | }) | |
2373 | fist.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(-Random(1, 4), 0.5, 0).p, tor.Position) | |
2374 | fist2.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(Random(1, 4), 0.5, 0).p, tor.Position) | |
2375 | TweenService:Create(fist, TweenInfo.new(0.5), {Transparency = 1}):Play() | |
2376 | TweenService:Create(fist2, TweenInfo.new(0.5), {Transparency = 1}):Play() | |
2377 | game:GetService("Debris"):AddItem(fist, 0.5) | |
2378 | game:GetService("Debris"):AddItem(fist2, 0.5) | |
2379 | SWait() | |
2380 | until not punching | |
2381 | end) | |
2382 | for i = 0, 62 do | |
2383 | for _, v in pairs(targ:GetChildren()) do | |
2384 | if v:IsA("ForceField") then | |
2385 | v:Destroy() | |
2386 | end | |
2387 | end | |
2388 | SWait() | |
2389 | local ring1 = Create("Part", Char, "Part", { | |
2390 | Anchored = true, | |
2391 | CanCollide = false, | |
2392 | Size = Vector3.new(1, 1, 1), | |
2393 | BrickColor = BrickColor.new("Institutional white"), | |
2394 | CFrame = tor.CFrame | |
2395 | }) | |
2396 | local mesh1 = Create("SpecialMesh", ring1, "Mesh", { | |
2397 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
2398 | Scale = Vector3.new(4, 4, 1) | |
2399 | }) | |
2400 | TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play() | |
2401 | TweenService:Create(mesh1, TweenInfo.new(1), { | |
2402 | Scale = Vector3.new(20, 20, 1) | |
2403 | }):Play() | |
2404 | game:GetService("Debris"):AddItem(ring1, 1) | |
2405 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i) | |
2406 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i) | |
2407 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
2408 | SWait() | |
2409 | hum:TakeDamage(hum.MaxHealth / 210) | |
2410 | local ring2 = Create("Part", Char, "Part", { | |
2411 | Anchored = true, | |
2412 | CanCollide = false, | |
2413 | Size = Vector3.new(1, 1, 1), | |
2414 | BrickColor = BrickColor.new("Institutional white"), | |
2415 | CFrame = tor.CFrame | |
2416 | }) | |
2417 | local mesh2 = Create("SpecialMesh", ring2, "Mesh", { | |
2418 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
2419 | Scale = Vector3.new(4, 4, 1) | |
2420 | }) | |
2421 | TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play() | |
2422 | TweenService:Create(mesh2, TweenInfo.new(1), { | |
2423 | Scale = Vector3.new(20, 20, 1) | |
2424 | }):Play() | |
2425 | game:GetService("Debris"):AddItem(ring2, 1) | |
2426 | SWait() | |
2427 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i) | |
2428 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i) | |
2429 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
2430 | SWait() | |
2431 | hum:TakeDamage(hum.MaxHealth / 190) | |
2432 | hum.Parent.Humanoid:TakeDamage(1000) | |
2433 | end | |
2434 | punching = false | |
2435 | PunchSound:Stop() | |
2436 | PunchSound.Looped = false | |
2437 | wait() | |
2438 | for i = 0, 1, 0.1 do | |
2439 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-90)), i) | |
2440 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-90), Rad(0), Rad(0)), i) | |
2441 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i) | |
2442 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
2443 | SWait() | |
2444 | end | |
2445 | tor.Anchored = false | |
2446 | local bv = Create("BodyVelocity", tor, "BV", { | |
2447 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
2448 | Velocity = HRoot.CFrame.lookVector * 350 | |
2449 | }) | |
2450 | hum.Parent.Humanoid:TakeDamage(100000000) | |
2451 | for i = 0, 1, 0.1 do | |
2452 | local bpart = Create("Part", Char, "Part", { | |
2453 | Anchored = true, | |
2454 | CanCollide = false, | |
2455 | Size = Vector3.new(1, 1, 1), | |
2456 | BrickColor = BrickColor.new("Institutional white"), | |
2457 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -2) | |
2458 | }) | |
2459 | local mesh = Create("SpecialMesh", bpart, "Mesh", { | |
2460 | MeshId = "rbxassetid://437347603", | |
2461 | Scale = Vector3.new(1, 1, 1), | |
2462 | Offset = Vector3.new(0, 0, 0) | |
2463 | }) | |
2464 | TweenService:Create(bpart, TweenInfo.new(1), { | |
2465 | Transparency = 1, | |
2466 | CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360))) | |
2467 | }):Play() | |
2468 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2469 | Scale = Vector3.new(2, 2, 20), | |
2470 | Offset = Vector3.new(0, 0, -150) | |
2471 | }):Play() | |
2472 | game:GetService("Debris"):AddItem(bpart, 1) | |
2473 | SWait() | |
2474 | end | |
2475 | bv:Destroy() | |
2476 | Attacking = false | |
2477 | instinct = true | |
2478 | Walkspeed = 16 | |
2479 | end) | |
2480 | else | |
2481 | Attacking = false | |
2482 | end | |
2483 | end | |
2484 | end | |
2485 | end | |
2486 | end | |
2487 | end | |
2488 | if key == Enum.KeyCode.Q then | |
2489 | stopAllSounds() | |
2490 | SSJSound1:Play() | |
2491 | toggleEmitters("AllOff") | |
2492 | HairWeld.C0 = Hcf | |
2493 | Human.MaxHealth = 50000000000000 | |
2494 | wait(0.01) | |
2495 | Human.Health = 500000000000000 | |
2496 | game:GetService("Chat"):Chat(Head, "This is a Super Saiyan.", Enum.ChatColor.White) | |
2497 | Head.face.Texture = "rbxassetid://870187774" | |
2498 | local Aura = Instance.new("ParticleEmitter") | |
2499 | Aura.Name = "Aura" | |
2500 | Aura.Texture = "rbxassetid://411939841" | |
2501 | Aura.Parent = Torso | |
2502 | Aura.LightEmission = 1 | |
2503 | Aura.Transparency = NumberSequence.new(0.9, 1) | |
2504 | Aura.Color = ColorSequence.new(BrickColor.new("Daisy orange").Color) | |
2505 | Aura.Size = NumberSequence.new(0.2, 8) | |
2506 | Aura.LockedToPart = true | |
2507 | Aura.Lifetime = NumberRange.new(1.5) | |
2508 | Aura.Rate = 50 | |
2509 | Aura.Speed = NumberRange.new(1.3) | |
2510 | Aura.EmissionDirection = "Top" | |
2511 | Aura.Rotation = NumberRange.new(-8, 8) | |
2512 | local orb = Create("Part", Char, "Part", { | |
2513 | Anchored = true, | |
2514 | CanCollide = false, | |
2515 | BrickColor = BrickColor.new("Bright yellow"), | |
2516 | Material = "Neon", | |
2517 | Size = Vector3.new(1, 1, 1), | |
2518 | CFrame = HRoot.CFrame | |
2519 | }) | |
2520 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
2521 | MeshType = "Sphere", | |
2522 | Scale = Vector3.new(1, 1, 1) | |
2523 | }) | |
2524 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2525 | Scale = Vector3.new(30, 30, 30) | |
2526 | }):Play() | |
2527 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
2528 | Hair.Mesh.MeshId = "rbxassetid://430344159" | |
2529 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
2530 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
2531 | Hair.BrickColor = BrickColor.new("Bright yellow") | |
2532 | Aura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
2533 | SSJContainer.StudsOffset = Vector3.new(0, 0, 0) | |
2534 | SSJContainer.Size = UDim2.new(20, 0, 20, 0) | |
2535 | Aura.ImageTransparency = 0 | |
2536 | Mode = "SSJ" | |
2537 | elseif key == Enum.KeyCode.E then | |
2538 | Attacking = true | |
2539 | stopAllSounds() | |
2540 | toggleEmitters("AllOff") | |
2541 | SSJContainer.Size = UDim2.new(20, 0, 20, 0) | |
2542 | for i = 0, 1, 0.1 do | |
2543 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
2544 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i) | |
2545 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
2546 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
2547 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-70), Rad(-140)), i) | |
2548 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(70), Rad(140)), i) | |
2549 | wait() | |
2550 | end | |
2551 | do | |
2552 | local rtr = true | |
2553 | spawn(function() | |
2554 | repeat | |
2555 | local ring = Create("Part", workspace, "Part", { | |
2556 | Anchored = true, | |
2557 | CanCollide = false, | |
2558 | BrickColor = BrickColor.new("New Yeller"), | |
2559 | Size = Vector3.new(1, 1, 1), | |
2560 | CFrame = HRoot.CFrame * CFrame.new(0, -3, 0) | |
2561 | }) | |
2562 | local mesh = Create("SpecialMesh", ring, "Mesh", { | |
2563 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
2564 | Scale = Vector3.new(1, 1, 1) | |
2565 | }) | |
2566 | ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(0), Rad(0)) | |
2567 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2568 | Scale = Vector3.new(50, 50, 1) | |
2569 | }):Play() | |
2570 | TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play() | |
2571 | game:GetService("Debris"):AddItem(ring, 1) | |
2572 | SWait() | |
2573 | until not rtr | |
2574 | end) | |
2575 | wait(2) | |
2576 | rtr = false | |
2577 | local orb = Create("Part", Char, "Part", { | |
2578 | Anchored = true, | |
2579 | CanCollide = false, | |
2580 | BrickColor = BrickColor.new("Bright yellow"), | |
2581 | Material = "Neon", | |
2582 | Size = Vector3.new(1, 1, 1), | |
2583 | CFrame = HRoot.CFrame | |
2584 | }) | |
2585 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
2586 | MeshType = "Sphere", | |
2587 | Scale = Vector3.new(1, 1, 1) | |
2588 | }) | |
2589 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2590 | Scale = Vector3.new(30, 30, 30) | |
2591 | }):Play() | |
2592 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
2593 | for i = 0, 1, 0.1 do | |
2594 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-20), Rad(0), Rad(0)), i) | |
2595 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i) | |
2596 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i) | |
2597 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i) | |
2598 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(70), Rad(-140)), i) | |
2599 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-70), Rad(140)), i) | |
2600 | wait() | |
2601 | end | |
2602 | HairWeld.C0 = Hcf | |
2603 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
2604 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
2605 | Hair.BrickColor = BrickColor.new("Bright yellow") | |
2606 | Aura.ImageTransparency = 0 | |
2607 | Hair.Mesh.MeshId = "rbxassetid://560718478" | |
2608 | Char.Head.face.Texture = "rbxassetid://870187774" | |
2609 | SSJContainer.StudsOffset = Vector3.new(0, 0, 0) | |
2610 | Mode = "SSJ2" | |
2611 | Attacking = false | |
2612 | local Aura = Instance.new("ParticleEmitter") | |
2613 | Aura.Name = "Aura" | |
2614 | Aura.Texture = "rbxassetid://411939841" | |
2615 | Aura.Parent = Torso | |
2616 | Aura.LightEmission = 1 | |
2617 | Aura.Transparency = NumberSequence.new(0.9, 1) | |
2618 | Aura.Color = ColorSequence.new(BrickColor.new("Daisy orange").Color) | |
2619 | Aura.Size = NumberSequence.new(0.2, 8) | |
2620 | Aura.LockedToPart = true | |
2621 | Aura.Lifetime = NumberRange.new(1.5) | |
2622 | Aura.Rate = 50 | |
2623 | Aura.Speed = NumberRange.new(1.3) | |
2624 | Aura.EmissionDirection = "Top" | |
2625 | Aura.Rotation = NumberRange.new(-8, 8) | |
2626 | local Aura2 = Instance.new("ParticleEmitter") | |
2627 | Aura2.Name = "Aura" | |
2628 | Aura2.Texture = "rbxassetid://1527326485" | |
2629 | Aura2.Parent = Torso | |
2630 | Aura2.LightEmission = 0.1 | |
2631 | Aura2.Transparency = NumberSequence.new(0, 0.9) | |
2632 | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color) | |
2633 | Aura2.Size = NumberSequence.new(3.5, 3.6) | |
2634 | Aura2.LockedToPart = true | |
2635 | Aura2.Lifetime = NumberRange.new(0.1) | |
2636 | Aura2.Rate = 10 | |
2637 | Aura2.Speed = NumberRange.new(2) | |
2638 | Aura2.EmissionDirection = "Top" | |
2639 | Aura2.Rotation = NumberRange.new(-360, 360) | |
2640 | Aura2.VelocitySpread = 100 | |
2641 | Aura2.ZOffset = 2 | |
2642 | end | |
2643 | elseif key == Enum.KeyCode.T then | |
2644 | SSJContainer.Size = UDim2.new(10, 0, 20, 0) | |
2645 | toggleEmitters("AllOff") | |
2646 | Human.MaxHealth = 50000000000 | |
2647 | wait(0.01) | |
2648 | Human.Health = 50000000000 | |
2649 | local RightAura = Instance.new("ParticleEmitter") | |
2650 | RightAura.Name = "Aura" | |
2651 | RightAura.Texture = "rbxassetid://111283279" | |
2652 | RightAura.Parent = RLeg | |
2653 | RightAura.LightEmission = 1 | |
2654 | RightAura.Transparency = NumberSequence.new(0.4, 1) | |
2655 | RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2656 | RightAura.Size = NumberSequence.new(0.05, 0) | |
2657 | RightAura.LockedToPart = true | |
2658 | RightAura.Lifetime = NumberRange.new(1) | |
2659 | RightAura.Rate = 130 | |
2660 | RightAura.Speed = NumberRange.new(0.4) | |
2661 | RightAura.Rotation = NumberRange.new(-360, 360) | |
2662 | RightAura.EmissionDirection = "Top" | |
2663 | RightAura.ZOffset = 2 | |
2664 | local RightLow = Instance.new("ParticleEmitter") | |
2665 | RightLow.Name = "Aura" | |
2666 | RightLow.Texture = "rbxassetid://111283279" | |
2667 | RightLow.Parent = LLeg | |
2668 | RightLow.LightEmission = 1 | |
2669 | RightLow.Transparency = NumberSequence.new(0.4, 1) | |
2670 | RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2671 | RightLow.Size = NumberSequence.new(0.05, 0) | |
2672 | RightLow.LockedToPart = true | |
2673 | RightLow.Lifetime = NumberRange.new(1.5) | |
2674 | RightLow.Rate = 130 | |
2675 | RightLow.Speed = NumberRange.new(1) | |
2676 | RightLow.Rotation = NumberRange.new(-360, 360) | |
2677 | RightLow.EmissionDirection = "Top" | |
2678 | RightLow.ZOffset = 2 | |
2679 | local LeftLow = Instance.new("ParticleEmitter") | |
2680 | LeftLow.Name = "Aura" | |
2681 | LeftLow.Texture = "rbxassetid://111283279" | |
2682 | LeftLow.Parent = LArm | |
2683 | LeftLow.LightEmission = 1 | |
2684 | LeftLow.Transparency = NumberSequence.new(0.4, 1) | |
2685 | LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2686 | LeftLow.Size = NumberSequence.new(0.05, 0) | |
2687 | LeftLow.LockedToPart = true | |
2688 | LeftLow.Lifetime = NumberRange.new(1.5) | |
2689 | LeftLow.Rate = 130 | |
2690 | LeftLow.Speed = NumberRange.new(1) | |
2691 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
2692 | LeftLow.EmissionDirection = "Top" | |
2693 | LeftLow.ZOffset = 2 | |
2694 | local Tor = Instance.new("ParticleEmitter") | |
2695 | Tor.Name = "Aura" | |
2696 | Tor.Texture = "rbxassetid://111283279" | |
2697 | Tor.Parent = Torso | |
2698 | Tor.LightEmission = 1 | |
2699 | Tor.Transparency = NumberSequence.new(0.4, 1) | |
2700 | Tor.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2701 | Tor.Size = NumberSequence.new(0.05, 0) | |
2702 | Tor.LockedToPart = true | |
2703 | Tor.Lifetime = NumberRange.new(1) | |
2704 | Tor.Rate = 130 | |
2705 | Tor.Speed = NumberRange.new(1) | |
2706 | Tor.Rotation = NumberRange.new(-360, 360) | |
2707 | Tor.EmissionDirection = "Top" | |
2708 | Tor.ZOffset = 2 | |
2709 | local LeftLeg = Instance.new("ParticleEmitter") | |
2710 | LeftLeg.Name = "Aura" | |
2711 | LeftLeg.Texture = "rbxassetid://111283279" | |
2712 | LeftLeg.Parent = RArm | |
2713 | LeftLeg.LightEmission = 1 | |
2714 | LeftLeg.Transparency = NumberSequence.new(0.4, 1) | |
2715 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2716 | LeftLeg.Size = NumberSequence.new(0.05, 0) | |
2717 | LeftLeg.LockedToPart = true | |
2718 | LeftLeg.Lifetime = NumberRange.new(1) | |
2719 | LeftLeg.Rate = 130 | |
2720 | LeftLeg.Speed = NumberRange.new(1) | |
2721 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
2722 | LeftLeg.EmissionDirection = "Top" | |
2723 | LeftLeg.ZOffset = 2 | |
2724 | local Aura = Instance.new("ParticleEmitter") | |
2725 | Aura.Name = "Aura" | |
2726 | Aura.Texture = "rbxassetid://1517856446" | |
2727 | Aura.Parent = Torso | |
2728 | Aura.LightEmission = 0.3 | |
2729 | Aura.Transparency = NumberSequence.new(0.5, 1) | |
2730 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color) | |
2731 | Aura.Size = NumberSequence.new(0.7, 6) | |
2732 | Aura.LockedToPart = true | |
2733 | Aura.Lifetime = NumberRange.new(1) | |
2734 | Aura.Rate = 100 | |
2735 | Aura.Speed = NumberRange.new(2) | |
2736 | Aura.EmissionDirection = "Top" | |
2737 | Aura.Rotation = NumberRange.new(-8, 8) | |
2738 | Aura.ZOffset = -1 | |
2739 | Char.Head.face.Texture = "rbxassetid://792213048" | |
2740 | Hair.BrickColor = BrickColor.new("Relly red") | |
2741 | stopAllSounds() | |
2742 | Mode = "SSJG" | |
2743 | game:GetService("Chat"):Chat(Head, "This is Super Saiyan God.", Enum.ChatColor.White) | |
2744 | local orb = Create("Part", Char, "Part", { | |
2745 | Anchored = true, | |
2746 | CanCollide = false, | |
2747 | Size = Vector3.new(8, 8, 8), | |
2748 | Material = "Neon", | |
2749 | BrickColor = BrickColor.new("Institutional white"), | |
2750 | CFrame = HRoot.CFrame | |
2751 | }) | |
2752 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
2753 | Scale = Vector3.new(1, 1, 1), | |
2754 | MeshType = "Sphere" | |
2755 | }) | |
2756 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2757 | Scale = Vector3.new(3, 3, 3) | |
2758 | }):Play() | |
2759 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
2760 | game:GetService("Debris"):AddItem(orb, 1) | |
2761 | Hair.Color = Color3.fromRGB(212, 2, 114) | |
2762 | SSJGSound2:Play() | |
2763 | wait(1) | |
2764 | SSJContainer.StudsOffset = Vector3.new(-0.5, 0, 0) | |
2765 | Torso.Anchored = false | |
2766 | Attacking = false | |
2767 | elseif key == Enum.KeyCode.K and Mode == "SSJB" then | |
2768 | Human.MaxHealth = 600000000000000 | |
2769 | wait(0.01) | |
2770 | Human.Health = 600000000000000 | |
2771 | Hair.Mesh.MeshId = "rbxassetid://430344159" | |
2772 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
2773 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
2774 | HairWeld.C0 = Hcf | |
2775 | stopAllSounds() | |
2776 | for i = 1, 25 do | |
2777 | wait() | |
2778 | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 2.1 | |
2779 | end | |
2780 | game:GetService("Chat"):Chat(Head, "KAIOKEN TIMES TWENTY!", Enum.ChatColor.White) | |
2781 | local Music4 = Instance.new("Sound", Torso) | |
2782 | Music4.SoundId = "rbxassetid://1488660753" | |
2783 | Music4.Volume = 7 | |
2784 | Music4.Pitch = 1 | |
2785 | Music4.Looped = true | |
2786 | Music4:Play() | |
2787 | local RightAura = Instance.new("ParticleEmitter") | |
2788 | RightAura.Name = "Aura" | |
2789 | RightAura.Texture = "rbxassetid://111283279" | |
2790 | RightAura.Parent = RLeg | |
2791 | RightAura.LightEmission = 1 | |
2792 | RightAura.Transparency = NumberSequence.new(0.4, 1) | |
2793 | RightAura.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2794 | RightAura.Size = NumberSequence.new(0.05, 0) | |
2795 | RightAura.LockedToPart = true | |
2796 | RightAura.Lifetime = NumberRange.new(1) | |
2797 | RightAura.Rate = 130 | |
2798 | RightAura.Speed = NumberRange.new(0.4) | |
2799 | RightAura.Rotation = NumberRange.new(-360, 360) | |
2800 | RightAura.EmissionDirection = "Top" | |
2801 | RightAura.ZOffset = 2 | |
2802 | local RightLow = Instance.new("ParticleEmitter") | |
2803 | RightLow.Name = "Aura" | |
2804 | RightLow.Texture = "rbxassetid://111283279" | |
2805 | RightLow.Parent = LLeg | |
2806 | RightLow.LightEmission = 1 | |
2807 | RightLow.Transparency = NumberSequence.new(0.4, 1) | |
2808 | RightLow.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2809 | RightLow.Size = NumberSequence.new(0.05, 0) | |
2810 | RightLow.LockedToPart = true | |
2811 | RightLow.Lifetime = NumberRange.new(1.5) | |
2812 | RightLow.Rate = 130 | |
2813 | RightLow.Speed = NumberRange.new(1) | |
2814 | RightLow.Rotation = NumberRange.new(-360, 360) | |
2815 | RightLow.EmissionDirection = "Top" | |
2816 | RightLow.ZOffset = 2 | |
2817 | local LeftLow = Instance.new("ParticleEmitter") | |
2818 | LeftLow.Name = "Aura" | |
2819 | LeftLow.Texture = "rbxassetid://111283279" | |
2820 | LeftLow.Parent = LArm | |
2821 | LeftLow.LightEmission = 1 | |
2822 | LeftLow.Transparency = NumberSequence.new(0.4, 1) | |
2823 | LeftLow.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2824 | LeftLow.Size = NumberSequence.new(0.05, 0) | |
2825 | LeftLow.LockedToPart = true | |
2826 | LeftLow.Lifetime = NumberRange.new(1.5) | |
2827 | LeftLow.Rate = 130 | |
2828 | LeftLow.Speed = NumberRange.new(1) | |
2829 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
2830 | LeftLow.EmissionDirection = "Top" | |
2831 | LeftLow.ZOffset = 2 | |
2832 | local Tor = Instance.new("ParticleEmitter") | |
2833 | Tor.Name = "Aura" | |
2834 | Tor.Texture = "rbxassetid://174073769" | |
2835 | Tor.Parent = Torso | |
2836 | Tor.LightEmission = 1 | |
2837 | Tor.Transparency = NumberSequence.new(0.4, 1) | |
2838 | Tor.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2839 | Tor.Size = NumberSequence.new(0.05, 0) | |
2840 | Tor.LockedToPart = true | |
2841 | Tor.Lifetime = NumberRange.new(1) | |
2842 | Tor.Rate = 130 | |
2843 | Tor.Speed = NumberRange.new(1) | |
2844 | Tor.Rotation = NumberRange.new(-360, 360) | |
2845 | Tor.EmissionDirection = "Top" | |
2846 | Tor.ZOffset = 2 | |
2847 | local LeftLeg = Instance.new("ParticleEmitter") | |
2848 | LeftLeg.Name = "Aura" | |
2849 | LeftLeg.Texture = "rbxassetid://111283279" | |
2850 | LeftLeg.Parent = RArm | |
2851 | LeftLeg.LightEmission = 1 | |
2852 | LeftLeg.Transparency = NumberSequence.new(0.4, 1) | |
2853 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2854 | LeftLeg.Size = NumberSequence.new(0.05, 0) | |
2855 | LeftLeg.LockedToPart = true | |
2856 | LeftLeg.Lifetime = NumberRange.new(1) | |
2857 | LeftLeg.Rate = 130 | |
2858 | LeftLeg.Speed = NumberRange.new(1) | |
2859 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
2860 | LeftLeg.EmissionDirection = "Top" | |
2861 | LeftLeg.ZOffset = 2 | |
2862 | local Aura = Instance.new("ParticleEmitter") | |
2863 | Aura.Name = "Aura" | |
2864 | Aura.Texture = "rbxassetid://411939841" | |
2865 | Aura.Parent = Head | |
2866 | Aura.LightEmission = 0.3 | |
2867 | Aura.Transparency = NumberSequence.new(0.5, 1) | |
2868 | Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2869 | Aura.Size = NumberSequence.new(9.7, 14) | |
2870 | Aura.LockedToPart = true | |
2871 | Aura.Lifetime = NumberRange.new(1) | |
2872 | Aura.Rate = 100 | |
2873 | Aura.Speed = NumberRange.new(5) | |
2874 | Aura.EmissionDirection = "Top" | |
2875 | Aura.Rotation = NumberRange.new(0, 0) | |
2876 | Aura.ZOffset = -2 | |
2877 | local Spark = Instance.new("ParticleEmitter") | |
2878 | Spark.Name = "Aura" | |
2879 | Spark.Texture = "rbxassetid://740455924" | |
2880 | Spark.Parent = Torso | |
2881 | Spark.LightEmission = 0.3 | |
2882 | Spark.Transparency = NumberSequence.new(0, 1) | |
2883 | Spark.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2884 | Spark.Size = NumberSequence.new(5) | |
2885 | Spark.LockedToPart = true | |
2886 | Spark.Lifetime = NumberRange.new(3) | |
2887 | Spark.Rate = 1.3 | |
2888 | Spark.Speed = NumberRange.new(0) | |
2889 | Spark.EmissionDirection = "Top" | |
2890 | Spark.Rotation = NumberRange.new(-360, 360) | |
2891 | Spark.ZOffset = 2 | |
2892 | local orb = Create("Part", Char, "Part", { | |
2893 | Anchored = true, | |
2894 | CanCollide = false, | |
2895 | Size = Vector3.new(8, 8, 8), | |
2896 | Material = "Neon", | |
2897 | BrickColor = BrickColor.new("Institutional white"), | |
2898 | CFrame = HRoot.CFrame | |
2899 | }) | |
2900 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
2901 | Scale = Vector3.new(1, 1, 1), | |
2902 | MeshType = "Sphere" | |
2903 | }) | |
2904 | TweenService:Create(mesh, TweenInfo.new(1), { | |
2905 | Scale = Vector3.new(3, 3, 3) | |
2906 | }):Play() | |
2907 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
2908 | game:GetService("Debris"):AddItem(orb, 1) | |
2909 | Hair.Color = Color3.fromRGB(5, 178, 212) | |
2910 | SSJBSound2:Play() | |
2911 | SSJBSound3:Play() | |
2912 | for i = 1, 25 do | |
2913 | wait() | |
2914 | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 2.1 | |
2915 | end | |
2916 | wait(1) | |
2917 | Torso.Anchored = false | |
2918 | Attacking = false | |
2919 | Char.Head.face.Texture = "rbxassetid://1444669398" | |
2920 | SSJContainer.StudsOffset = Vector3.new(0.5, 0, 0) | |
2921 | Mode = "SSJBKK" | |
2922 | elseif key == Enum.KeyCode.Y then | |
2923 | SSJContainer.Size = UDim2.new(10, 0, 20, 0) | |
2924 | Aura.ImageTransparency = 0 | |
2925 | toggleEmitters("AllOff") | |
2926 | Human.MaxHealth = 500000000000 | |
2927 | wait(0.01) | |
2928 | Human.Health = 500000000000 | |
2929 | Hair.Mesh.MeshId = "rbxassetid://430344159" | |
2930 | Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5) | |
2931 | Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2) | |
2932 | HairWeld.C0 = Hcf | |
2933 | stopAllSounds() | |
2934 | SSJBSound1:Play() | |
2935 | game:GetService("Chat"):Chat(Head, "This is Super Saiyan Blue, I won't go so easy anymore.", Enum.ChatColor.White) | |
2936 | local RightAura = Instance.new("ParticleEmitter") | |
2937 | RightAura.Name = "Aura" | |
2938 | RightAura.Texture = "rbxassetid://111283279" | |
2939 | RightAura.Parent = RLeg | |
2940 | RightAura.LightEmission = 1 | |
2941 | RightAura.Transparency = NumberSequence.new(0.4, 1) | |
2942 | RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2943 | RightAura.Size = NumberSequence.new(0.05, 0) | |
2944 | RightAura.LockedToPart = true | |
2945 | RightAura.Lifetime = NumberRange.new(1) | |
2946 | RightAura.Rate = 130 | |
2947 | RightAura.Speed = NumberRange.new(0.4) | |
2948 | RightAura.Rotation = NumberRange.new(-360, 360) | |
2949 | RightAura.EmissionDirection = "Top" | |
2950 | RightAura.ZOffset = 2 | |
2951 | local RightLow = Instance.new("ParticleEmitter") | |
2952 | RightLow.Name = "Aura" | |
2953 | RightLow.Texture = "rbxassetid://111283279" | |
2954 | RightLow.Parent = LLeg | |
2955 | RightLow.LightEmission = 1 | |
2956 | RightLow.Transparency = NumberSequence.new(0.4, 1) | |
2957 | RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2958 | RightLow.Size = NumberSequence.new(0.05, 0) | |
2959 | RightLow.LockedToPart = true | |
2960 | RightLow.Lifetime = NumberRange.new(1.5) | |
2961 | RightLow.Rate = 130 | |
2962 | RightLow.Speed = NumberRange.new(1) | |
2963 | RightLow.Rotation = NumberRange.new(-360, 360) | |
2964 | RightLow.EmissionDirection = "Top" | |
2965 | RightLow.ZOffset = 2 | |
2966 | local LeftLow = Instance.new("ParticleEmitter") | |
2967 | LeftLow.Name = "Aura" | |
2968 | LeftLow.Texture = "rbxassetid://111283279" | |
2969 | LeftLow.Parent = LArm | |
2970 | LeftLow.LightEmission = 1 | |
2971 | LeftLow.Transparency = NumberSequence.new(0.4, 1) | |
2972 | LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2973 | LeftLow.Size = NumberSequence.new(0.05, 0) | |
2974 | LeftLow.LockedToPart = true | |
2975 | LeftLow.Lifetime = NumberRange.new(1.5) | |
2976 | LeftLow.Rate = 130 | |
2977 | LeftLow.Speed = NumberRange.new(1) | |
2978 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
2979 | LeftLow.EmissionDirection = "Top" | |
2980 | LeftLow.ZOffset = 2 | |
2981 | local Tor = Instance.new("ParticleEmitter") | |
2982 | Tor.Name = "Aura" | |
2983 | Tor.Texture = "rbxassetid://111283279" | |
2984 | Tor.Parent = Torso | |
2985 | Tor.LightEmission = 1 | |
2986 | Tor.Transparency = NumberSequence.new(0.4, 1) | |
2987 | Tor.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2988 | Tor.Size = NumberSequence.new(0.05, 0) | |
2989 | Tor.LockedToPart = true | |
2990 | Tor.Lifetime = NumberRange.new(1) | |
2991 | Tor.Rate = 130 | |
2992 | Tor.Speed = NumberRange.new(1) | |
2993 | Tor.Rotation = NumberRange.new(-360, 360) | |
2994 | Tor.EmissionDirection = "Top" | |
2995 | Tor.ZOffset = 2 | |
2996 | local LeftLeg = Instance.new("ParticleEmitter") | |
2997 | LeftLeg.Name = "Aura" | |
2998 | LeftLeg.Texture = "rbxassetid://111283279" | |
2999 | LeftLeg.Parent = RArm | |
3000 | LeftLeg.LightEmission = 1 | |
3001 | LeftLeg.Transparency = NumberSequence.new(0.4, 1) | |
3002 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3003 | LeftLeg.Size = NumberSequence.new(0.05, 0) | |
3004 | LeftLeg.LockedToPart = true | |
3005 | LeftLeg.Lifetime = NumberRange.new(1) | |
3006 | LeftLeg.Rate = 130 | |
3007 | LeftLeg.Speed = NumberRange.new(1) | |
3008 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
3009 | LeftLeg.EmissionDirection = "Top" | |
3010 | LeftLeg.ZOffset = 2 | |
3011 | local Aura = Instance.new("ParticleEmitter") | |
3012 | Aura.Name = "Aura" | |
3013 | Aura.Texture = "rbxassetid://1526565953" | |
3014 | Aura.Parent = Torso | |
3015 | Aura.LightEmission = 0.3 | |
3016 | Aura.Transparency = NumberSequence.new(0.5, 1) | |
3017 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color) | |
3018 | Aura.Size = NumberSequence.new(0.7, 6) | |
3019 | Aura.LockedToPart = true | |
3020 | Aura.Lifetime = NumberRange.new(1) | |
3021 | Aura.Rate = 100 | |
3022 | Aura.Speed = NumberRange.new(2) | |
3023 | Aura.EmissionDirection = "Top" | |
3024 | Aura.Rotation = NumberRange.new(-8, 8) | |
3025 | Aura.ZOffset = -1 | |
3026 | local orb = Create("Part", Char, "Part", { | |
3027 | Anchored = true, | |
3028 | CanCollide = false, | |
3029 | Size = Vector3.new(8, 8, 8), | |
3030 | Material = "Neon", | |
3031 | BrickColor = BrickColor.new("Institutional white"), | |
3032 | CFrame = HRoot.CFrame | |
3033 | }) | |
3034 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
3035 | Scale = Vector3.new(1, 1, 1), | |
3036 | MeshType = "Sphere" | |
3037 | }) | |
3038 | TweenService:Create(mesh, TweenInfo.new(1), { | |
3039 | Scale = Vector3.new(3, 3, 3) | |
3040 | }):Play() | |
3041 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
3042 | game:GetService("Debris"):AddItem(orb, 1) | |
3043 | Hair.Color = Color3.fromRGB(5, 178, 212) | |
3044 | SSJBSound2:Play() | |
3045 | SSJBSound3:Play() | |
3046 | wait(1) | |
3047 | Torso.Anchored = false | |
3048 | Attacking = false | |
3049 | Char.Head.face.Texture = "rbxassetid://1444669398" | |
3050 | SSJContainer.StudsOffset = Vector3.new(0.5, 0, 0) | |
3051 | Mode = "SSJB" | |
3052 | elseif key == Enum.KeyCode.U and Plr.Name ~= "venturiansonic" then | |
3053 | Walkspeed = 0 | |
3054 | Attacking = true | |
3055 | Mode = "Ultra" | |
3056 | toggleEmitters("AllOff") | |
3057 | stopAllSounds() | |
3058 | Aura.ImageTransparency = 1 | |
3059 | lig = Instance.new("PointLight", Torso) | |
3060 | lig.Color = Color3.new(0, 0, 255) | |
3061 | lig.Range = 9 | |
3062 | lig.Brightness = 100 | |
3063 | local Music4 = Instance.new("Sound", Torso) | |
3064 | Music4.SoundId = "rbxassetid://1504498051" | |
3065 | Music4.Volume = 3.5 | |
3066 | Music4.Pitch = 1 | |
3067 | Music4.Looped = true | |
3068 | Music4:Play() | |
3069 | HairWeld.C0 = Hcf | |
3070 | spawn(function() | |
3071 | for i = 0, 1, 0.1 do | |
3072 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), i) | |
3073 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
3074 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(20), Rad(0), Rad(-40)), i) | |
3075 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(20), Rad(0), Rad(40)), i) | |
3076 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i) | |
3077 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), i) | |
3078 | wait() | |
3079 | end | |
3080 | end) | |
3081 | local beam1 = Create("Part", Char, "Part", { | |
3082 | Anchored = true, | |
3083 | CanCollide = false, | |
3084 | Material = "Neon", | |
3085 | BrickColor = BrickColor.new("Institutional white"), | |
3086 | Shape = "Cylinder", | |
3087 | Size = Vector3.new(8, 8, 8), | |
3088 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(90)) | |
3089 | }) | |
3090 | local effect1 = Create("Part", Char, "Part", { | |
3091 | Anchored = true, | |
3092 | CanCollide = false, | |
3093 | BrickColor = BrickColor.new("Institutional white"), | |
3094 | CFrame = HRoot.CFrame | |
3095 | }) | |
3096 | local mesh1 = Create("SpecialMesh", effect1, "Mesh", { | |
3097 | MeshId = "rbxassetid://168892432", | |
3098 | Scale = Vector3.new(1.2, 1.2, 1.2) | |
3099 | }) | |
3100 | local effect2 = Create("Part", Char, "Part", { | |
3101 | Anchored = true, | |
3102 | CanCollide = false, | |
3103 | BrickColor = BrickColor.new("Institutional white"), | |
3104 | CFrame = HRoot.CFrame | |
3105 | }) | |
3106 | local mesh2 = Create("SpecialMesh", effect2, "Mesh", { | |
3107 | MeshId = "rbxassetid://168892432", | |
3108 | Scale = Vector3.new(1.2, 1.2, 1.2) | |
3109 | }) | |
3110 | local effect3 = Create("Part", Char, "Part", { | |
3111 | Anchored = true, | |
3112 | CanCollide = false, | |
3113 | BrickColor = BrickColor.new("Institutional white"), | |
3114 | CFrame = HRoot.CFrame | |
3115 | }) | |
3116 | local mesh3 = Create("SpecialMesh", effect3, "Mesh", { | |
3117 | MeshId = "rbxassetid://168892432", | |
3118 | Scale = Vector3.new(1.2, 1.2, 1.2) | |
3119 | }) | |
3120 | local orb1 = Create("Part", Char, "Part", { | |
3121 | Anchored = true, | |
3122 | CanCollide = false, | |
3123 | CFrame = HRoot.CFrame, | |
3124 | Material = "Neon", | |
3125 | BrickColor = BrickColor.new("Institutional white"), | |
3126 | Size = Vector3.new(8, 8, 8) | |
3127 | }) | |
3128 | local omesh1 = Create("SpecialMesh", orb1, "Mesh", { | |
3129 | Scale = Vector3.new(1, 1, 1), | |
3130 | MeshType = "Sphere" | |
3131 | }) | |
3132 | spawn(function() | |
3133 | for i = 0, 360, 36 do | |
3134 | local cyl = Create("Part", Char, "Part", { | |
3135 | Anchored = true, | |
3136 | CanCollide = false, | |
3137 | Size = Vector3.new(1, 1, 1), | |
3138 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -5), | |
3139 | Material = "Neon", | |
3140 | BrickColor = BrickColor.new("Institutional white") | |
3141 | }) | |
3142 | cyl.CFrame = cyl.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0)) | |
3143 | local cylmesh = Create("CylinderMesh", cyl, "Mesh", { | |
3144 | Scale = Vector3.new(4, 4, 4) | |
3145 | }) | |
3146 | cyl.CFrame = cyl.CFrame * CFrame.new(0, 2, 0) | |
3147 | TweenService:Create(cyl, TweenInfo.new(2.8), { | |
3148 | Transparency = 1, | |
3149 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i + 114), 0) * CFrame.new(0, -5, -5) | |
3150 | }):Play() | |
3151 | TweenService:Create(cylmesh, TweenInfo.new(2.8), { | |
3152 | Scale = Vector3.new(4, 20, 4) | |
3153 | }):Play() | |
3154 | game:GetService("Debris"):AddItem(cyl, 2.8) | |
3155 | end | |
3156 | end) | |
3157 | Hair.BrickColor = BrickColor.new("Black metallic") | |
3158 | TweenService:Create(orb1, TweenInfo.new(2), {Transparency = 1}):Play() | |
3159 | TweenService:Create(omesh1, TweenInfo.new(2), { | |
3160 | Scale = Vector3.new(3, 3, 3) | |
3161 | }):Play() | |
3162 | TweenService:Create(mesh1, TweenInfo.new(3), { | |
3163 | Scale = Vector3.new(4, 4, 4) | |
3164 | }):Play() | |
3165 | TweenService:Create(effect1, TweenInfo.new(3), { | |
3166 | Transparency = 1, | |
3167 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
3168 | }):Play() | |
3169 | TweenService:Create(mesh2, TweenInfo.new(3), { | |
3170 | Scale = Vector3.new(4, 4, 4) | |
3171 | }):Play() | |
3172 | TweenService:Create(effect2, TweenInfo.new(3), { | |
3173 | Transparency = 1, | |
3174 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
3175 | }):Play() | |
3176 | TweenService:Create(mesh3, TweenInfo.new(3), { | |
3177 | Scale = Vector3.new(4, 4, 4) | |
3178 | }):Play() | |
3179 | TweenService:Create(effect3, TweenInfo.new(3), { | |
3180 | Transparency = 1, | |
3181 | CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0)) | |
3182 | }):Play() | |
3183 | TweenService:Create(beam1, TweenInfo.new(3), { | |
3184 | Transparency = 1, | |
3185 | Size = Vector3.new(100, 1, 1), | |
3186 | CFrame = HRoot.CFrame * CFrame.new(0, 45, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(90)) | |
3187 | }):Play() | |
3188 | game:GetService("Debris"):AddItem(beam1, 2) | |
3189 | game:GetService("Debris"):AddItem(effect1, 2) | |
3190 | game:GetService("Debris"):AddItem(mesh1, 2) | |
3191 | game:GetService("Debris"):AddItem(mesh2, 2) | |
3192 | game:GetService("Debris"):AddItem(mesh3, 2) | |
3193 | game:GetService("Debris"):AddItem(orb1, 2) | |
3194 | game:GetService("Debris"):AddItem(omesh1, 2) | |
3195 | Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://1394077487" | |
3196 | Shirt.ShirtTemplate = "rbxassetid://1454239396" | |
3197 | Pants.PantsTemplate = "rbxassetid://1449276082" | |
3198 | local Hat = Instance.new("Part", Char) | |
3199 | Hat.Size = Vector3.new(1, 1, 1) | |
3200 | Hat.Material = "SmoothPlastic" | |
3201 | Hat.BrickColor = BrickColor.new("Really black") | |
3202 | Hat.CanCollide = false | |
3203 | local Hat2 = Instance.new("SpecialMesh", Hat) | |
3204 | Hat2.MeshId = "rbxassetid://1479574104" | |
3205 | Hat2.Scale = Vector3.new(0.063, 0.063, 0.063) | |
3206 | local Hat3 = Instance.new("Weld", Hat) | |
3207 | Hat3.Part0 = Head | |
3208 | Hat3.Part1 = Hat | |
3209 | Hat3.C0 = CFrame.new(0.05, 0.85, -0.1) * CFrame.Angles(math.rad(88.93), math.rad(180), math.rad(0)) | |
3210 | Hair.Transparency = 1 | |
3211 | local HairAura = Instance.new("ParticleEmitter") | |
3212 | HairAura.Name = "Aura" | |
3213 | HairAura.Texture = "rbxassetid://1200947142" | |
3214 | HairAura.Parent = Head | |
3215 | HairAura.LightEmission = 1 | |
3216 | HairAura.Transparency = NumberSequence.new(0.1, 1) | |
3217 | HairAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3218 | HairAura.Size = NumberSequence.new(1.1) | |
3219 | HairAura.LockedToPart = true | |
3220 | HairAura.Lifetime = NumberRange.new(2) | |
3221 | HairAura.Rate = 30 | |
3222 | HairAura.Speed = NumberRange.new(0.1) | |
3223 | HairAura.Rotation = NumberRange.new(-360, 360) | |
3224 | HairAura.EmissionDirection = "Top" | |
3225 | HairAura.ZOffset = -1 | |
3226 | local RightAura = Instance.new("ParticleEmitter") | |
3227 | RightAura.Name = "Aura" | |
3228 | RightAura.Texture = "rbxassetid://1200947142" | |
3229 | RightAura.Parent = RLeg | |
3230 | RightAura.LightEmission = 1 | |
3231 | RightAura.Transparency = NumberSequence.new(0.1, 1) | |
3232 | RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3233 | RightAura.Size = NumberSequence.new(1.1) | |
3234 | RightAura.LockedToPart = true | |
3235 | RightAura.Lifetime = NumberRange.new(2) | |
3236 | RightAura.Rate = 30 | |
3237 | RightAura.Speed = NumberRange.new(0.1) | |
3238 | RightAura.Rotation = NumberRange.new(-360, 360) | |
3239 | RightAura.EmissionDirection = "Top" | |
3240 | RightAura.ZOffset = -1 | |
3241 | local RightLow = Instance.new("ParticleEmitter") | |
3242 | RightLow.Name = "Aura" | |
3243 | RightLow.Texture = "rbxassetid://1200947142" | |
3244 | RightLow.Parent = LLeg | |
3245 | RightLow.LightEmission = 1 | |
3246 | RightLow.Transparency = NumberSequence.new(0.1, 1) | |
3247 | RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3248 | RightLow.Size = NumberSequence.new(1.1) | |
3249 | RightLow.LockedToPart = true | |
3250 | RightLow.Lifetime = NumberRange.new(2) | |
3251 | RightLow.Rate = 30 | |
3252 | RightLow.Speed = NumberRange.new(0.1) | |
3253 | RightLow.Rotation = NumberRange.new(-360, 360) | |
3254 | RightLow.EmissionDirection = "Top" | |
3255 | RightLow.ZOffset = -1 | |
3256 | local LeftLow = Instance.new("ParticleEmitter") | |
3257 | LeftLow.Name = "Aura" | |
3258 | LeftLow.Texture = "rbxassetid://1200947142" | |
3259 | LeftLow.Parent = LArm | |
3260 | LeftLow.LightEmission = 1 | |
3261 | LeftLow.Transparency = NumberSequence.new(0.1, 1) | |
3262 | LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3263 | LeftLow.Size = NumberSequence.new(1.1) | |
3264 | LeftLow.LockedToPart = true | |
3265 | LeftLow.Lifetime = NumberRange.new(2) | |
3266 | LeftLow.Rate = 30 | |
3267 | LeftLow.Speed = NumberRange.new(0.1) | |
3268 | LeftLow.Rotation = NumberRange.new(-360, 360) | |
3269 | LeftLow.EmissionDirection = "Top" | |
3270 | LeftLow.ZOffset = -1 | |
3271 | local LeftLeg = Instance.new("ParticleEmitter") | |
3272 | LeftLeg.Name = "Aura" | |
3273 | LeftLeg.Texture = "rbxassetid://1200947142" | |
3274 | LeftLeg.Parent = RArm | |
3275 | LeftLeg.LightEmission = 1 | |
3276 | LeftLeg.Transparency = NumberSequence.new(0.1, 1) | |
3277 | LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3278 | LeftLeg.Size = NumberSequence.new(1.1) | |
3279 | LeftLeg.LockedToPart = true | |
3280 | LeftLeg.Lifetime = NumberRange.new(2) | |
3281 | LeftLeg.Rate = 30 | |
3282 | LeftLeg.Speed = NumberRange.new(0.1) | |
3283 | LeftLeg.Rotation = NumberRange.new(-360, 360) | |
3284 | LeftLeg.EmissionDirection = "Top" | |
3285 | LeftLeg.ZOffset = -1 | |
3286 | wait(0.1) | |
3287 | local Small = Instance.new("ParticleEmitter") | |
3288 | Small.Name = "Aura" | |
3289 | Small.Texture = "rbxassetid://242102147" | |
3290 | Small.Parent = Torso | |
3291 | Small.LightEmission = 1 | |
3292 | Small.Transparency = NumberSequence.new(0.5, 1) | |
3293 | Small.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
3294 | Small.Size = NumberSequence.new(0.5) | |
3295 | Small.LockedToPart = false | |
3296 | Small.Lifetime = NumberRange.new(0.5) | |
3297 | Small.Rate = 150 | |
3298 | Small.Speed = NumberRange.new(4) | |
3299 | Small.Rotation = NumberRange.new(-50, 50) | |
3300 | Small.EmissionDirection = "Top" | |
3301 | Small.ZOffset = 2 | |
3302 | local Small2 = Instance.new("ParticleEmitter") | |
3303 | Small2.Name = "Aura" | |
3304 | Small2.Texture = "rbxassetid://242102147" | |
3305 | Small2.Parent = RArm | |
3306 | Small2.LightEmission = 1 | |
3307 | Small2.Transparency = NumberSequence.new(0.5, 1) | |
3308 | Small2.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
3309 | Small2.Size = NumberSequence.new(0.5) | |
3310 | Small2.LockedToPart = false | |
3311 | Small2.Lifetime = NumberRange.new(0.5) | |
3312 | Small2.Rate = 150 | |
3313 | Small2.Speed = NumberRange.new(4) | |
3314 | Small2.Rotation = NumberRange.new(-50, 50) | |
3315 | Small2.EmissionDirection = "Top" | |
3316 | Small2.ZOffset = 2 | |
3317 | local Small3 = Instance.new("ParticleEmitter") | |
3318 | Small3.Name = "Aura" | |
3319 | Small3.Texture = "rbxassetid://242102147" | |
3320 | Small3.Parent = LArm | |
3321 | Small3.LightEmission = 1 | |
3322 | Small3.Transparency = NumberSequence.new(0.5, 1) | |
3323 | Small3.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
3324 | Small3.Size = NumberSequence.new(0.5) | |
3325 | Small3.LockedToPart = false | |
3326 | Small3.Lifetime = NumberRange.new(0.5) | |
3327 | Small3.Rate = 150 | |
3328 | Small3.Speed = NumberRange.new(4) | |
3329 | Small3.Rotation = NumberRange.new(-50, 50) | |
3330 | Small3.EmissionDirection = "Top" | |
3331 | Small3.ZOffset = 2 | |
3332 | local Small4 = Instance.new("ParticleEmitter") | |
3333 | Small4.Name = "Aura" | |
3334 | Small4.Texture = "rbxassetid://242102147" | |
3335 | Small4.Parent = RLeg | |
3336 | Small4.LightEmission = 1 | |
3337 | Small4.Transparency = NumberSequence.new(0.5, 1) | |
3338 | Small4.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
3339 | Small4.Size = NumberSequence.new(0.5) | |
3340 | Small4.LockedToPart = false | |
3341 | Small4.Lifetime = NumberRange.new(0.5) | |
3342 | Small4.Rate = 150 | |
3343 | Small4.Speed = NumberRange.new(4) | |
3344 | Small4.Rotation = NumberRange.new(-50, 50) | |
3345 | Small4.EmissionDirection = "Top" | |
3346 | Small4.ZOffset = 2 | |
3347 | local Small5 = Instance.new("ParticleEmitter") | |
3348 | Small5.Name = "Aura" | |
3349 | Small5.Texture = "rbxassetid://242102147" | |
3350 | Small5.Parent = LLeg | |
3351 | Small5.LightEmission = 1 | |
3352 | Small5.Transparency = NumberSequence.new(0.5, 1) | |
3353 | Small5.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
3354 | Small5.Size = NumberSequence.new(0.5) | |
3355 | Small5.LockedToPart = false | |
3356 | Small5.Lifetime = NumberRange.new(0.5) | |
3357 | Small5.Rate = 150 | |
3358 | Small5.Speed = NumberRange.new(4) | |
3359 | Small5.Rotation = NumberRange.new(-50, 50) | |
3360 | Small5.EmissionDirection = "Top" | |
3361 | Small5.ZOffset = 2 | |
3362 | local Small6 = Instance.new("ParticleEmitter") | |
3363 | Small6.Name = "Aura" | |
3364 | Small6.Texture = "rbxassetid://242102147" | |
3365 | Small6.Parent = Head | |
3366 | Small6.LightEmission = 1 | |
3367 | Small6.Transparency = NumberSequence.new(0.5, 1) | |
3368 | Small6.Color = ColorSequence.new(BrickColor.new("Electric blue").Color) | |
3369 | Small6.Size = NumberSequence.new(0.5) | |
3370 | Small6.LockedToPart = false | |
3371 | Small6.Lifetime = NumberRange.new(0.5) | |
3372 | Small6.Rate = 150 | |
3373 | Small6.Speed = NumberRange.new(4) | |
3374 | Small6.Rotation = NumberRange.new(-50, 50) | |
3375 | Small6.EmissionDirection = "Top" | |
3376 | Small6.ZOffset = 2 | |
3377 | wait(0.2) | |
3378 | local Grab = Instance.new("Part", Head) | |
3379 | Grab.Size = Vector3.new(3.5, 1, 3.5) | |
3380 | Grab.CanCollide = false | |
3381 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3382 | Grab.Transparency = 1 | |
3383 | local Grabo = Instance.new("Weld", Grab) | |
3384 | Grabo.Part0 = Head | |
3385 | Grabo.Part1 = Grab | |
3386 | Grabo.C0 = CFrame.new(0, -3.6, 0) | |
3387 | local AuraB = Instance.new("Part", Head) | |
3388 | AuraB.Size = Vector3.new(2, 1, 2) | |
3389 | AuraB.CanCollide = false | |
3390 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
3391 | AuraB.Transparency = 1 | |
3392 | local AuraBo = Instance.new("Weld", AuraB) | |
3393 | AuraBo.Part0 = Head | |
3394 | AuraBo.Part1 = AuraB | |
3395 | AuraBo.C0 = CFrame.new(0, -3.6, 0) | |
3396 | local FZcharge3 = Instance.new("ParticleEmitter", Grab) | |
3397 | FZcharge3.Texture = "rbxassetid://1468162128" | |
3398 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
3399 | FZcharge3.EmissionDirection = "Top" | |
3400 | FZcharge3.Speed = NumberRange.new(3) | |
3401 | FZcharge3.Size = NumberSequence.new(0.2, 0.3) | |
3402 | FZcharge3.Transparency = NumberSequence.new(0.2, 0.7) | |
3403 | FZcharge3.Drag = 1 | |
3404 | FZcharge3.LockedToPart = true | |
3405 | FZcharge3.Lifetime = NumberRange.new(2) | |
3406 | FZcharge3.Rate = 20 | |
3407 | FZcharge3.LightEmission = 0.3 | |
3408 | FZcharge3.Rotation = NumberRange.new(0, 0) | |
3409 | FZcharge3.VelocitySpread = 0.2 | |
3410 | FZcharge3.ZOffset = 2.5 | |
3411 | wait(3) | |
3412 | for i = 0, 0.5, 0.01 do | |
3413 | Neck.C0 = Neck.C0:lerp(Ncf, i) | |
3414 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, i) | |
3415 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
3416 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
3417 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
3418 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i) | |
3419 | wait() | |
3420 | end | |
3421 | Attacking = false | |
3422 | Walkspeed = 16 | |
3423 | CanMelee = true | |
3424 | instinct = true | |
3425 | elseif key == Enum.KeyCode.P then | |
3426 | Mode = "Base" | |
3427 | Attacking = true | |
3428 | Aura.ImageTransparency = 0 | |
3429 | toggleEmitters("AllOff") | |
3430 | Torso.Anchored = true | |
3431 | Human.MaxHealth = 50000 | |
3432 | wait(0.01) | |
3433 | Human.Health = 50000 | |
3434 | Char.Head.face.Texture = "rbxassetid://413593222" | |
3435 | Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=1378167215" | |
3436 | HairWeld.C0 = Hcf | |
3437 | Hair.Mesh.Offset = Vector3.new(0, 0.47, -0.4) | |
3438 | Hair.Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
3439 | stopAllSounds() | |
3440 | PowerDown:Play() | |
3441 | local orb = Create("Part", Char, "Part", { | |
3442 | Anchored = true, | |
3443 | CanCollide = false, | |
3444 | Size = Vector3.new(8, 8, 8), | |
3445 | Material = "Neon", | |
3446 | BrickColor = BrickColor.new("Institutional white"), | |
3447 | CFrame = HRoot.CFrame | |
3448 | }) | |
3449 | local mesh = Create("SpecialMesh", orb, "Mesh", { | |
3450 | Scale = Vector3.new(1, 1, 1), | |
3451 | MeshType = "Sphere" | |
3452 | }) | |
3453 | TweenService:Create(mesh, TweenInfo.new(1), { | |
3454 | Scale = Vector3.new(3, 3, 3) | |
3455 | }):Play() | |
3456 | TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play() | |
3457 | game:GetService("Debris"):AddItem(orb, 1) | |
3458 | Hair.BrickColor = BrickColor.new("Black metallic") | |
3459 | wait(1) | |
3460 | Torso.Anchored = false | |
3461 | Attacking = false | |
3462 | elseif key == Enum.KeyCode.G then | |
3463 | Attacking = true | |
3464 | do | |
3465 | local cf = Mouse.Hit.p | |
3466 | local hcf = HRoot.CFrame | |
3467 | for i = 0, 0.4, 0.01 do | |
3468 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(30), Rad(0), Rad(0)), i) | |
3469 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-90), Rad(-120)), i) | |
3470 | wait() | |
3471 | end | |
3472 | spawn(function() | |
3473 | for i = 0, 1, 0.1 do | |
3474 | local part = Create("Part", Char, "Part", { | |
3475 | Anchored = true, | |
3476 | CanCollide = false, | |
3477 | BrickColor = BrickColor.new("Really black"), | |
3478 | Material = "Neon", | |
3479 | Size = Vector3.new(0.3, 9, 9), | |
3480 | CFrame = hcf * CFrame.new(Random(-5, 5), -5, Random(-5, 5)) | |
3481 | }) | |
3482 | Create("CylinderMesh", part, "Mesh", {}) | |
3483 | TweenService:Create(part, TweenInfo.new(1), { | |
3484 | Transparency = 0.6, | |
3485 | CFrame = part.CFrame * CFrame.new(0, 10, 0) | |
3486 | }):Play() | |
3487 | game:GetService("Debris"):AddItem(part, 1) | |
3488 | SWait() | |
3489 | end | |
3490 | end) | |
3491 | Char:MoveTo(cf) | |
3492 | local Music3 = Instance.new("Sound", Torso) | |
3493 | Music3.SoundId = "rbxassetid://1055279036" | |
3494 | Music3.Volume = 3 | |
3495 | Music3.Pitch = 1 | |
3496 | Music3.Looped = false | |
3497 | Music3:Play() | |
3498 | Attacking = false | |
3499 | end | |
3500 | elseif key == Enum.KeyCode.H and Mode ~= "Ultra" then | |
3501 | Attacking = true | |
3502 | do | |
3503 | local sbomb = Create("Part", workspace, "Part", { | |
3504 | CanCollide = false, | |
3505 | BrickColor = BrickColor.new("Electric blue"), | |
3506 | Material = "Neon", | |
3507 | Size = Vector3.new(1, 1, 1), | |
3508 | CFrame = HRoot.CFrame * CFrame.new(0, 50, 0) | |
3509 | }) | |
3510 | local hitb = Create("Part", sbomb, "Part", { | |
3511 | CanCollide = false, | |
3512 | Transparency = 1, | |
3513 | Size = Vector3.new(20, 20, 20), | |
3514 | CFrame = sbomb.CFrame | |
3515 | }) | |
3516 | local mesh = Create("SpecialMesh", sbomb, "Mesh", { | |
3517 | MeshType = "Sphere", | |
3518 | Scale = Vector3.new(1, 1, 1) | |
3519 | }) | |
3520 | newWeld(sbomb, hitb, sbomb, CFrame.new(0, -10, 0)) | |
3521 | TweenService:Create(mesh, TweenInfo.new(20), { | |
3522 | Scale = Vector3.new(55, 55, 55) | |
3523 | }):Play() | |
3524 | local bv = Create("BodyVelocity", sbomb, "BV", { | |
3525 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
3526 | Velocity = Vector3.new(0, 0, 0) | |
3527 | }) | |
3528 | for i = 0, 0.28, 0.01 do | |
3529 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-180)), i) | |
3530 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(180)), i) | |
3531 | wait() | |
3532 | end | |
3533 | game:GetService("Debris"):AddItem(sbomb, 20) | |
3534 | wait(7) | |
3535 | for i = 0, 0.2, 0.01 do | |
3536 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
3537 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-45)), i) | |
3538 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(40)), i) | |
3539 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i) | |
3540 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i) | |
3541 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20)), i) | |
3542 | SWait() | |
3543 | end | |
3544 | local trg = Create("Part", workspace, "Part", { | |
3545 | Anchored = true, | |
3546 | CanCollide = false, | |
3547 | Transparency = 1, | |
3548 | CFrame = HRoot.CFrame * CFrame.new(0, 0, -50) | |
3549 | }) | |
3550 | sbomb.CFrame = CFrame.new(sbomb.Position, trg.Position) | |
3551 | bv.Velocity = Mouse.hit.lookVector * 30 | |
3552 | trg:Destroy() | |
3553 | local Explode = false | |
3554 | hitb.Touched:connect(function(h) | |
3555 | if Explode then | |
3556 | return | |
3557 | end | |
3558 | if hitb == sbomb then | |
3559 | return | |
3560 | end | |
3561 | Explode = true | |
3562 | sbomb.Anchored = true | |
3563 | SpiritBombSound:Stop() | |
3564 | ExplosionSound:Play() | |
3565 | local nsbomb = sbomb:Clone() | |
3566 | sbomb:Destroy() | |
3567 | nsbomb.Parent = workspace | |
3568 | TweenService:Create(nsbomb.Mesh, TweenInfo.new(2), { | |
3569 | Scale = Vector3.new(250, 250, 250) | |
3570 | }):Play() | |
3571 | TweenService:Create(nsbomb, TweenInfo.new(2), {Transparency = 1}):Play() | |
3572 | game:GetService("Debris"):AddItem(nsbomb, 2) | |
3573 | spawn(function() | |
3574 | for i = 0, 1, 0.01 do | |
3575 | local effect = Create("Part", workspace, "Part", { | |
3576 | CanCollide = false, | |
3577 | Material = "Neon", | |
3578 | BrickColor = Colours.Spirit[Random(1, #Colours.Spirit)], | |
3579 | Size = Vector3.new(1, 1, 1), | |
3580 | CFrame = nsbomb.CFrame * CFrame.Angles(Rad(Random(-360, 360)), Rad(Random(-360, 360)), Rad(Random(-360, 360))) | |
3581 | }) | |
3582 | Create("BodyVelocity", effect, "BV", { | |
3583 | MaxForce = Vector3.new(200000000, 200000000, 200000000), | |
3584 | Velocity = effect.CFrame.lookVector * 50 | |
3585 | }) | |
3586 | Create("SpecialMesh", effect, "Mesh", { | |
3587 | MeshType = "Sphere", | |
3588 | Scale = Vector3.new(5, 5, 255) | |
3589 | }) | |
3590 | TweenService:Create(effect, TweenInfo.new(0.5), {Transparency = 1}):Play() | |
3591 | game:GetService("Debris"):AddItem(effect, 0.5) | |
3592 | SWait() | |
3593 | end | |
3594 | end) | |
3595 | spawn(function() | |
3596 | local reg = CreateRegion3(sbomb.Position, Vector3.new(100, 100, 100)) | |
3597 | for _, v in pairs(workspace:FindPartsInRegion3(reg, Char, 100)) do | |
3598 | if v.Parent ~= nil then | |
3599 | local hum = v.Parent:FindFirstChildOfClass("Humanoid") | |
3600 | if hum and v.Parent ~= Char then | |
3601 | for _, b in pairs(v.Parent:GetChildren()) do | |
3602 | if b:IsA("ForceField") then | |
3603 | b:Destroy() | |
3604 | end | |
3605 | end | |
3606 | hum:TakeDamage(hum.MaxHealth / 5) | |
3607 | end | |
3608 | end | |
3609 | end | |
3610 | end) | |
3611 | end) | |
3612 | wait(0.2) | |
3613 | Attacking = false | |
3614 | end | |
3615 | elseif key == Enum.KeyCode.F then | |
3616 | end | |
3617 | end | |
3618 | function keyUp(key) | |
3619 | Keys[key] = nil | |
3620 | end | |
3621 | UserInputService.TextBoxFocused:connect(function() | |
3622 | Typing = true | |
3623 | end) | |
3624 | UserInputService.TextBoxFocusReleased:connect(function() | |
3625 | Typing = false | |
3626 | end) | |
3627 | if UserInputService.KeyboardEnabled and UserInputService.MouseEnabled then | |
3628 | UserInputService.InputBegan:connect(function(inpType) | |
3629 | if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then | |
3630 | keyDown(inpType.KeyCode) | |
3631 | end | |
3632 | end) | |
3633 | UserInputService.InputEnded:connect(function(inpType) | |
3634 | if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then | |
3635 | keyUp(inpType.KeyCode) | |
3636 | end | |
3637 | end) | |
3638 | end | |
3639 | spawn(function() | |
3640 | while SWait() do | |
3641 | if Mode == "SSJ" or Mode == "SSJ2" or Mode == "SSJ3" then | |
3642 | elseif Mode == "SSJG" then | |
3643 | elseif Mode == "SSJB" then | |
3644 | elseif Mode == "Vegito" then | |
3645 | end | |
3646 | end | |
3647 | end) | |
3648 | Human.FreeFalling:connect(function(active) | |
3649 | if Attacking then | |
3650 | return | |
3651 | end | |
3652 | if not Flying then | |
3653 | Falling = active | |
3654 | end | |
3655 | end) | |
3656 | game:GetService("RunService").RenderStepped:connect(function() | |
3657 | Human.WalkSpeed = Walkspeed | |
3658 | if Flying then | |
3659 | FloatGyro.Parent = HRoot | |
3660 | FloatVel.Parent = HRoot | |
3661 | FloatGyro.MaxTorque = Vector3.new(200000000, 200000000, 200000000) | |
3662 | FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000) | |
3663 | FloatGyro.CFrame = workspace.CurrentCamera.CFrame | |
3664 | if Keys[Enum.KeyCode.W] then | |
3665 | Dir = "Forward" | |
3666 | elseif Keys[Enum.KeyCode.S] then | |
3667 | Dir = "Backward" | |
3668 | elseif Keys[Enum.KeyCode.A] then | |
3669 | Dir = "Left" | |
3670 | elseif Keys[Enum.KeyCode.D] then | |
3671 | Dir = "Right" | |
3672 | else | |
3673 | Dir = "None" | |
3674 | end | |
3675 | if Dir == "Forward" then | |
3676 | FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * 100 | |
3677 | elseif Dir == "Backward" then | |
3678 | FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * -100 | |
3679 | elseif Dir == "Left" then | |
3680 | FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(-60, 0, 0).p - workspace.CurrentCamera.CFrame.p | |
3681 | elseif Dir == "Right" then | |
3682 | FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(60, 0, 0).p - workspace.CurrentCamera.CFrame.p | |
3683 | else | |
3684 | FloatVel.Velocity = Vector3.new(0, 0, 0) | |
3685 | end | |
3686 | else | |
3687 | FloatGyro.MaxTorque = Vector3.new(0, 0, 0) | |
3688 | FloatVel.MaxForce = Vector3.new(0, 0, 0) | |
3689 | FloatGyro.Parent = nil | |
3690 | FloatVel.Parent = nil | |
3691 | end | |
3692 | if not Attacking then | |
3693 | if not Flying then | |
3694 | if Torso.Velocity.magnitude < 2 then | |
3695 | Anim = "Idle" | |
3696 | elseif Torso.Velocity.magnitude < 2000 then | |
3697 | Anim = "Walk" | |
3698 | else | |
3699 | Anim = "Run" | |
3700 | end | |
3701 | elseif Torso.Velocity.magnitude < 2000 then | |
3702 | Anim = "Float" | |
3703 | elseif Dir == "Forward" then | |
3704 | Anim = "Fly" | |
3705 | elseif Dir == "Backward" then | |
3706 | Anim = "FlyBack" | |
3707 | elseif Dir == "Left" then | |
3708 | Anim = "FlyLeft" | |
3709 | elseif Dir == "Right" then | |
3710 | Anim = "FlyRight" | |
3711 | end | |
3712 | if not Falling then | |
3713 | if Anim == "Idle" then | |
3714 | if Mode ~= "Ultra" and Mode ~= "SSJ3" then | |
3715 | Neck.C0 = Neck.C0:lerp(Ncf, 0.1) | |
3716 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1) | |
3717 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1) | |
3718 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1) | |
3719 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
3720 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
3721 | elseif Mode == "Vegito" then | |
3722 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), 0.1) | |
3723 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(60)), 0.1) | |
3724 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1) | |
3725 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1) | |
3726 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-90), Rad(-90)), 0.1) | |
3727 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(90), Rad(90)), 0.1) | |
3728 | elseif Mode == "Ultra" then | |
3729 | Neck.C0 = Neck.C0:lerp(Ncf, 0.1) | |
3730 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1) | |
3731 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(Sin(tick() / 1.5))), 0.1) | |
3732 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(Sin(tick() / 1.5))), 0.1) | |
3733 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
3734 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
3735 | end | |
3736 | elseif Anim == "Walk" then | |
3737 | if Mode ~= "Ultra" then | |
3738 | Neck.C0 = Neck.C0:lerp(Ncf, 0.5) | |
3739 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3740 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3741 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3742 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3743 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3744 | elseif Mode == "Ultra" then | |
3745 | Neck.C0 = Neck.C0:lerp(Ncf, 0.5) | |
3746 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3747 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-15), Rad(10 * Sin(tick() * 4))), 0.5) | |
3748 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(15), Rad(10 * Sin(tick() * 4))), 0.5) | |
3749 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3750 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5) | |
3751 | end | |
3752 | elseif Anim == "Run" then | |
3753 | if Mode == "Ultra" then | |
3754 | Neck.C0 = Neck.C0:lerp(Ncf, 0.5) | |
3755 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3756 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3757 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3758 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3759 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5) | |
3760 | end | |
3761 | elseif Anim == "Float" then | |
3762 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.new(0, 0, Sin(tick()) / 10), 0.2) | |
3763 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2) | |
3764 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2) | |
3765 | LHip.C0 = LHip.C0:lerp(Lhcf, 0.2) | |
3766 | RHip.C0 = RHip.C0:lerp(Rhcf, 0.2) | |
3767 | Neck.C0 = Neck.C0:lerp(Ncf, 0.2) | |
3768 | elseif Anim == "Fly" then | |
3769 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(80), Rad(0), Rad(0)), 0.5) | |
3770 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-80), Rad(0), Rad(0)), 0.5) | |
3771 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
3772 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
3773 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
3774 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
3775 | elseif Anim == "FlyBack" then | |
3776 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), 0.5) | |
3777 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), 0.5) | |
3778 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5) | |
3779 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5) | |
3780 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5) | |
3781 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5) | |
3782 | elseif Anim == "FlyLeft" then | |
3783 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(20), Rad(-90)), 0.5) | |
3784 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5) | |
3785 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5) | |
3786 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5) | |
3787 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5) | |
3788 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5) | |
3789 | elseif Anim == "FlyRight" then | |
3790 | Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(-20), Rad(90)), 0.5) | |
3791 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5) | |
3792 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5) | |
3793 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5) | |
3794 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5) | |
3795 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5) | |
3796 | end | |
3797 | else | |
3798 | Hrj.C0 = Hrj.C0:lerp(Hrjcf, 0.5) | |
3799 | LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
3800 | RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5) | |
3801 | Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5) | |
3802 | LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
3803 | RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5) | |
3804 | end | |
3805 | end | |
3806 | if Mode == "Ultra" and Sprint and Anim == "Run" then | |
3807 | local c = Clone:Clone() | |
3808 | c.Torso["Left Shoulder"].C0 = c.Torso["Left Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3809 | c.Torso["Right Shoulder"].C0 = c.Torso["Right Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3810 | c.Torso["Left Hip"].C0 = c.Torso["Left Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3811 | c.Torso["Right Hip"].C0 = c.Torso["Right Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3812 | c.HumanoidRootPart.RootJoint.C0 = c.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))) | |
3813 | for _, v in pairs(c:GetChildren()) do | |
3814 | if v:IsA("BasePart") then | |
3815 | TweenService:Create(v, TweenInfo.new(0.1), {Transparency = 1}):Play() | |
3816 | if v.Name == "Head" then | |
3817 | TweenService:Create(v.face, TweenInfo.new(0.1), {Transparency = 1}):Play() | |
3818 | end | |
3819 | end | |
3820 | end | |
3821 | c.Parent = Char | |
3822 | game:GetService("Debris"):AddItem(c, 0.1) | |
3823 | c.Torso.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(0, 0, 1).p, HRoot.CFrame.p) | |
3824 | end | |
3825 | if Dodge and Mode == "Ultra" then | |
3826 | do | |
3827 | local reg = CreateRegion3(HRoot.CFrame.p, Vector3.new(100, 100, 100)) | |
3828 | local hcf = HRoot.CFrame | |
3829 | for _, v in pairs(workspace:FindPartsInRegion3WithIgnoreList(reg, {Char}, 100)) do | |
3830 | if v:IsA("BasePart") and v.Name ~= "KameHameHaUltra" and v:FindFirstChildOfClass("TouchTransmitter") then | |
3831 | spawn(function() | |
3832 | v.Anchored = true | |
3833 | pcall(function() | |
3834 | v:FindFirstChildOfClass("TouchTransmitter"):Destroy() | |
3835 | end) | |
3836 | spawn(function() | |
3837 | local c = Clone:Clone() | |
3838 | c.Parent = workspace | |
3839 | for _, v in pairs(c:GetChildren()) do | |
3840 | if v:IsA("BasePart") then | |
3841 | v.Anchored = true | |
3842 | TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play() | |
3843 | end | |
3844 | end | |
3845 | c:MoveTo(hcf.p) | |
3846 | game:GetService("Debris"):AddItem(c, 1) | |
3847 | end) | |
3848 | Char:MoveTo(CFrame.new(v.CFrame.X, v.CFrame.Y, v.CFrame.Z) * CFrame.new(0, 0, v.Size.magnitude / 2 + 10).p) | |
3849 | game:GetService("Debris"):AddItem(v, 0.1) | |
3850 | end) | |
3851 | end | |
3852 | end | |
3853 | for _, v in pairs(game:GetService("Players"):GetPlayers()) do | |
3854 | if v.Character and v ~= Plr and 20 >= v:DistanceFromCharacter(Head.CFrame.p) then | |
3855 | spawn(function() | |
3856 | local c = Clone:Clone() | |
3857 | c.Parent = workspace | |
3858 | for _, v in pairs(c:GetChildren()) do | |
3859 | if v:IsA("BasePart") then | |
3860 | v.Anchored = true | |
3861 | TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play() | |
3862 | end | |
3863 | end | |
3864 | c:MoveTo(hcf.p) | |
3865 | game:GetService("Debris"):AddItem(c, 1) | |
3866 | end) | |
3867 | Char:MoveTo(v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 25).p) | |
3868 | end | |
3869 | end | |
3870 | end | |
3871 | end | |
3872 | LArm.BrickColor = BrickColor.new("Pastel brown") | |
3873 | RArm.BrickColor = BrickColor.new("Pastel brown") | |
3874 | RLeg.BrickColor = BrickColor.new("Pastel brown") | |
3875 | LLeg.BrickColor = BrickColor.new("Pastel brown") | |
3876 | Torso.BrickColor = BrickColor.new("Pastel brown") | |
3877 | Head.BrickColor = BrickColor.new("Pastel brown") | |
3878 | if Mode == "Ultra" then | |
3879 | Nose.Transparency = 1 | |
3880 | Mouth.Transparency = 1 | |
3881 | else | |
3882 | Nose.Transparency = 0 | |
3883 | Mouth.Transparency = 0 | |
3884 | end | |
3885 | end) |