SHOW:
|
|
- or go back to the newest paste.
1 | wait(1) | |
2 | canspirit = false | |
3 | group = 1 | |
4 | spiritballenergy = false | |
5 | local spirit1 = false | |
6 | local spirit2 = false | |
7 | local sizeup = 38 | |
8 | local ringgo = 18 | |
9 | local potara = false | |
10 | local potara1 = false | |
11 | local potara2 = false | |
12 | local potara3 = false | |
13 | local potara4 = false | |
14 | local hipheight = false | |
15 | local idle7 = true | |
16 | local idle6 = true | |
17 | local idle5 = false | |
18 | local noidle = false | |
19 | local noidle1 = false | |
20 | local fuse = false | |
21 | local bigkamehameha1 = false | |
22 | local bigkamehameha2 = false | |
23 | local idle2 = false | |
24 | local idle3 = false | |
25 | local com1 = 10 | |
26 | local com2 = -5 | |
27 | local fuse1 = false | |
28 | local fuse2 = false | |
29 | local fuse3 = false | |
30 | local fuse4 = false | |
31 | local fuse5 = false | |
32 | local fuse6 = false | |
33 | local fuse7 = false | |
34 | local fuse8 = false | |
35 | local ssj4 = false | |
36 | local headcolor = 0 | |
37 | local walk11 = true | |
38 | local great = false | |
39 | local size = 0 | |
40 | local size2 = 0 | |
41 | local kicharging = false | |
42 | local ki = 100 | |
43 | local ScreenGui = Instance.new("ScreenGui") | |
44 | local Gui = Instance.new("Frame") | |
45 | local Frame = Instance.new("Frame") | |
46 | local Frame_2 = Instance.new("Frame") | |
47 | local Frame_3 = Instance.new("Frame") | |
48 | ||
49 | -- Properties | |
50 | ||
51 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
52 | ||
53 | Gui.Name = "Gui" | |
54 | Gui.Parent = ScreenGui | |
55 | Gui.BackgroundColor3 = Color3.new(1, 1, 1) | |
56 | ||
57 | Frame.Parent = Gui | |
58 | Frame.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
59 | Frame.BorderSizePixel = 0 | |
60 | Frame.Position = UDim2.new(0, 40, 0, 20) | |
61 | Frame.Size = UDim2.new(0, 250, 0, 30) | |
62 | Frame_3.Parent = Gui | |
63 | Frame_3.BackgroundColor3 = Color3.new(0, 0, 1) | |
64 | Frame_3.BorderSizePixel = 0 | |
65 | Frame_3.Position = UDim2.new(0, 50, 0, 30) | |
66 | Frame_3.Size = UDim2.new(0, 230, 0, 10) | |
67 | ||
68 | local rock3 = false | |
69 | local rock2 = false | |
70 | local rock = false | |
71 | local auranum3 = 0 | |
72 | local auranum4 = 0 | |
73 | ||
74 | local turn = 1 | |
75 | local Player = game.Players.LocalPlayer | |
76 | local Character = game.Players.LocalPlayer.Character | |
77 | local Create = LoadLibrary("RbxUtility").Create | |
78 | CFuncs = { | |
79 | ||
80 | ||
81 | ||
82 | ||
83 | ["Weld"] = { | |
84 | Create = function(Parent, Part0, Part1, C0, C1) | |
85 | local Weld = Create("Weld"){ | |
86 | Parent = Parent, | |
87 | Part0 = Part0, | |
88 | Part1 = Part1, | |
89 | C0 = C0, | |
90 | C1 = C1, | |
91 | } | |
92 | return Weld | |
93 | end; | |
94 | }; | |
95 | ||
96 | ["Sound"] = { | |
97 | Create = function(id, par, vol, pit) | |
98 | coroutine.resume(coroutine.create(function() | |
99 | local S = Create("Sound"){ | |
100 | Volume = vol, | |
101 | Pitch = pit or 1, | |
102 | SoundId = id, | |
103 | Parent = par or workspace, | |
104 | } | |
105 | wait() | |
106 | S:play() | |
107 | game:GetService("Debris"):AddItem(S, 6) | |
108 | end)) | |
109 | end; | |
110 | }; | |
111 | ||
112 | ["ParticleEmitter"] = { | |
113 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
114 | local fp = Create("ParticleEmitter"){ | |
115 | Parent = Parent, | |
116 | Color = ColorSequence.new(Color1, Color2), | |
117 | LightEmission = LightEmission, | |
118 | Size = Size, | |
119 | Texture = Texture, | |
120 | Transparency = Transparency, | |
121 | ZOffset = ZOffset, | |
122 | Acceleration = Accel, | |
123 | Drag = Drag, | |
124 | LockedToPart = LockedToPart, | |
125 | VelocityInheritance = VelocityInheritance, | |
126 | EmissionDirection = EmissionDirection, | |
127 | Enabled = Enabled, | |
128 | Lifetime = LifeTime, | |
129 | Rate = Rate, | |
130 | Rotation = Rotation, | |
131 | RotSpeed = RotSpeed, | |
132 | Speed = Speed, | |
133 | VelocitySpread = VelocitySpread, | |
134 | } | |
135 | return fp | |
136 | end; | |
137 | }; | |
138 | ||
139 | CreateTemplate = { | |
140 | ||
141 | }; | |
142 | } | |
143 | ||
144 | ||
145 | ||
146 | New = function(Object, Parent, Name, Data) | |
147 | local Object = Instance.new(Object) | |
148 | for Index, Value in pairs(Data or {}) do | |
149 | Object[Index] = Value | |
150 | end | |
151 | Object.Parent = Parent | |
152 | Object.Name = Name | |
153 | return Object | |
154 | end | |
155 | ||
156 | ||
157 | CV="Really black" | |
158 | ArtificialHB = Create("BindableEvent", script){ | |
159 | Parent = script, | |
160 | Name = "Heartbeat", | |
161 | } | |
162 | ||
163 | function swait(num) | |
164 | if num == 0 or num == nil then | |
165 | ArtificialHB.Event:wait() | |
166 | else | |
167 | for i = 0, num do | |
168 | ArtificialHB.Event:wait() | |
169 | end | |
170 | end | |
171 | end | |
172 | ||
173 | function chatfunc(text) | |
174 | local chat = coroutine.wrap(function() | |
175 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
176 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
177 | end | |
178 | local naeeym2 = Instance.new("BillboardGui",Character) | |
179 | naeeym2.Size = UDim2.new(0,100,0,40) | |
180 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
181 | naeeym2.Adornee = Character.Head | |
182 | naeeym2.Name = "TalkingBillBoard" | |
183 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
184 | tecks2.BackgroundTransparency = 1 | |
185 | tecks2.BorderSizePixel = 0 | |
186 | tecks2.Text = "" | |
187 | tecks2.Font = "Fantasy" | |
188 | tecks2.TextSize = 30 | |
189 | tecks2.TextStrokeTransparency = 0 | |
190 | tecks2.TextColor3 = Color3.new(0,0,0) | |
191 | tecks2.TextStrokeColor3 = Color3.new(0,0,255) | |
192 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
193 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
194 | tecks3.BackgroundTransparency = 1 | |
195 | tecks3.BorderSizePixel = 0 | |
196 | tecks3.Text = "" | |
197 | tecks3.Font = "Fantasy" | |
198 | tecks3.TextSize = 30 | |
199 | tecks3.TextStrokeTransparency = 0 | |
200 | tecks3.TextColor3 = Color3.new(0,0,0) | |
201 | tecks3.TextStrokeColor3 = Color3.new(255,255,255) | |
202 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
203 | for i = 1,string.len(text),1 do | |
204 | ||
205 | tecks2.Text = string.sub(text,1,i) | |
206 | tecks3.Text = string.sub(text,1,i) | |
207 | wait(0.01) | |
208 | end | |
209 | wait(2) | |
210 | for i = 1, 50 do | |
211 | ||
212 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
213 | tecks2.Rotation = tecks2.Rotation - .8 | |
214 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
215 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
216 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
217 | tecks3.Rotation = tecks2.Rotation + .8 | |
218 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
219 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
220 | end | |
221 | naeeym2:Destroy() | |
222 | end) | |
223 | chat() | |
224 | ||
225 | end | |
226 | function onChatted(msg) | |
227 | chatfunc(msg) | |
228 | ||
229 | end | |
230 | Player.Chatted:connect(onChatted) | |
231 | ||
232 | abss = Instance.new("BillboardGui",Character) | |
233 | abss.Size = UDim2.new(10,0,10,0) | |
234 | abss.Enabled = false | |
235 | abss.Name = "ROCKYMOUNT" | |
236 | imgl = Instance.new("ImageLabel",abss) | |
237 | imgl.Position = UDim2.new(0,0,0,0) | |
238 | imgl.Size = UDim2.new(1,0,1,0) | |
239 | imgl.Image = "rbxassetid://711463989" | |
240 | imgl.BackgroundTransparency = 1 | |
241 | imgl.ImageColor3 = Color3.new(0,255,255) | |
242 | img2 = Instance.new("ImageLabel",abss) | |
243 | img2.Position = UDim2.new(0,0,0,0) | |
244 | img2.Size = UDim2.new(1,0,1,0) | |
245 | img2.Image = "rbxassetid://711463989" | |
246 | img2.BackgroundTransparency = 1 | |
247 | img2.ImageColor3 = Color3.new(0,255,255) | |
248 | ||
249 | ||
250 | local kamehameha5 = false | |
251 | local ssjg = false | |
252 | local ssjbkaio = false | |
253 | local GroundShake = false | |
254 | local GroundShake2 = false | |
255 | local transform5 = false | |
256 | local auranum = 0 | |
257 | local auranum1 = 0 | |
258 | local auranum2 = 0 | |
259 | local ssjbkaiox10 = false | |
260 | local auracan3 = true | |
261 | local auraon = true | |
262 | local ssjb = false | |
263 | local kiblastdone = true | |
264 | local kigo = 2.3 | |
265 | local num1 = 16 | |
266 | local go11 = 2.3 | |
267 | local grab = false | |
268 | local up = 0 | |
269 | local number = 1 | |
270 | local punch1 = false | |
271 | local punch2 = false | |
272 | local punch3 = false | |
273 | local punch4 = false | |
274 | local punched1 = true | |
275 | local punched2 = false | |
276 | local punched3 = false | |
277 | local punched4 = false | |
278 | local kiblast1 = false | |
279 | local kiblast2 = false | |
280 | local kiblast3 = false | |
281 | local kiblast4 = false | |
282 | local kick1 = false | |
283 | local kick2 = false | |
284 | local kick3 = false | |
285 | local kick4 = false | |
286 | local uppercut1 = false | |
287 | local uppercut2 = false | |
288 | local knockdown1 = false | |
289 | local knockdown2 = false | |
290 | local foward = false | |
291 | local nill = true | |
292 | local canfly1 = false | |
293 | local canfly = true | |
294 | local flying1 = true | |
295 | local aim = false | |
296 | local cam=workspace.Camera | |
297 | local ssj1 = false | |
298 | local ssj2 = false | |
299 | local ssj3 = false | |
300 | local onaura = true | |
301 | local transform1 = false | |
302 | local transform2 = false | |
303 | local transform3 = false | |
304 | local transform3 = false | |
305 | local canjump = true | |
306 | local num = 0 | |
307 | local jumped = false | |
308 | local beamgo = 6 | |
309 | local beamgo1 = 1 | |
310 | local startk = false | |
311 | local beam1 = false | |
312 | local beam2 = false | |
313 | local p = game.Players.LocalPlayer | |
314 | local char = p.Character | |
315 | local rad = math.rad | |
316 | local hum = char.Humanoid | |
317 | local kamehameha1 = false | |
318 | local kamehameha2 = false | |
319 | local kamehameha3 = false | |
320 | local kamehameha4 = false | |
321 | local idle = true | |
322 | local walk = true | |
323 | local walk1 = true | |
324 | local runAnimKeyframeHandler = nil | |
325 | local mouse = p:GetMouse() | |
326 | local v3 = Vector3.new | |
327 | local ns = NumberSequence.new | |
328 | local nr = NumberRange.new | |
329 | local new = Instance.new | |
330 | local cf = CFrame.new | |
331 | local cfa = CFrame.Angles | |
332 | local bc = BrickColor.new | |
333 | local canattack = true | |
334 | local Character = char | |
335 | local Humanoid = Character:WaitForChild("Humanoid") | |
336 | local pose = "Standing" | |
337 | ||
338 | local currentAnim = "" | |
339 | local currentAnimInstance = nil | |
340 | local currentAnimTrack = nil | |
341 | local currentAnimKeyframeHandler = nil | |
342 | local currentAnimSpeed = 1.0 | |
343 | ||
344 | local runAnimTrack = nil | |
345 | nose = Instance.new("Decal",char.Head) | |
346 | nose.Texture = "rbxassetid://765424161" | |
347 | mouth = Instance.new("Decal",char.Head) | |
348 | mouth.Texture = "rbxassetid://932140764" | |
349 | --open | |
350 | ||
351 | --rbxassetid://765424161 | |
352 | char.Head.face.Texture= "rbxassetid://765423946" | |
353 | --ssj | |
354 | --rbxassetid://765493484 | |
355 | --ssj3 | |
356 | --rbxassetid://897514186 | |
357 | --ssjb | |
358 | --rbxassetid://959519291 | |
359 | local animTable = {} | |
360 | local animNames = { | |
361 | idle = { | |
362 | { id = "http://www.roblox.com/asset/?id=0", weight = 1 }, | |
363 | { id = "http://www.roblox.com/asset/?id=0", weight = 1 }, | |
364 | { id = "http://www.roblox.com/asset/?id=0", weight = 9 } | |
365 | }, | |
366 | walk = { | |
367 | { id = "http://www.roblox.com/asset/?id=507777826", weight = 10 } | |
368 | }, | |
369 | run = { | |
370 | { id = "http://www.roblox.com/asset/?id=507767714", weight = 10 } | |
371 | }, | |
372 | swim = { | |
373 | { id = "http://www.roblox.com/asset/?id=507784897", weight = 10 } | |
374 | }, | |
375 | swimidle = { | |
376 | { id = "http://www.roblox.com/asset/?id=507785072", weight = 10 } | |
377 | }, | |
378 | jump = { | |
379 | { id = "http://www.roblox.com/asset/?id=507765000", weight = 10 } | |
380 | }, | |
381 | fall = { | |
382 | { id = "http://www.roblox.com/asset/?id=507767968", weight = 10 } | |
383 | }, | |
384 | climb = { | |
385 | { id = "http://www.roblox.com/asset/?id=507765644", weight = 10 } | |
386 | }, | |
387 | sit = { | |
388 | { id = "http://www.roblox.com/asset/?id=507768133", weight = 10 } | |
389 | }, | |
390 | toolnone = { | |
391 | { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 } | |
392 | }, | |
393 | toolslash = { | |
394 | { id = "http://www.roblox.com/asset/?id=522635514", weight = 10 } | |
395 | }, | |
396 | toollunge = { | |
397 | { id = "http://www.roblox.com/asset/?id=522638767", weight = 10 } | |
398 | }, | |
399 | wave = { | |
400 | { id = "http://www.roblox.com/asset/?id=507770239", weight = 10 } | |
401 | }, | |
402 | point = { | |
403 | { id = "http://www.roblox.com/asset/?id=507770453", weight = 10 } | |
404 | }, | |
405 | dance = { | |
406 | { id = "http://www.roblox.com/asset/?id=507771019", weight = 10 }, | |
407 | { id = "http://www.roblox.com/asset/?id=507771955", weight = 10 }, | |
408 | { id = "http://www.roblox.com/asset/?id=507772104", weight = 10 } | |
409 | }, | |
410 | dance2 = { | |
411 | { id = "http://www.roblox.com/asset/?id=507776043", weight = 10 }, | |
412 | { id = "http://www.roblox.com/asset/?id=507776720", weight = 10 }, | |
413 | { id = "http://www.roblox.com/asset/?id=507776879", weight = 10 } | |
414 | }, | |
415 | dance3 = { | |
416 | { id = "http://www.roblox.com/asset/?id=507777268", weight = 10 }, | |
417 | { id = "http://www.roblox.com/asset/?id=507777451", weight = 10 }, | |
418 | { id = "http://www.roblox.com/asset/?id=507777623", weight = 10 } | |
419 | }, | |
420 | laugh = { | |
421 | { id = "http://www.roblox.com/asset/?id=507770818", weight = 10 } | |
422 | }, | |
423 | cheer = { | |
424 | { id = "http://www.roblox.com/asset/?id=507770677", weight = 10 } | |
425 | }, | |
426 | } | |
427 | ||
428 | -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote | |
429 | local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false} | |
430 | ||
431 | --------------------------------------------------- | |
432 | local LeftUpperArm = char.LeftUpperArm | |
433 | local LeftShoulder = char.LeftUpperArm.LeftShoulder | |
434 | local LeftLowerArm = char.LeftLowerArm | |
435 | local LeftElbow = char.LeftLowerArm.LeftElbow | |
436 | -------------------------------------------------------- | |
437 | local LeftUpperLeg = char.LeftUpperLeg | |
438 | local LeftHip = char.LeftUpperLeg.LeftHip | |
439 | local LeftLowerLeg = char.LeftLowerLeg | |
440 | local LeftKnee = char.LeftLowerLeg.LeftKnee | |
441 | ---------------------------------------------------------- | |
442 | local RightUpperArm = char.RightUpperArm | |
443 | local RightShoulder = char.RightUpperArm.RightShoulder | |
444 | local RightLowerArm = char.RightLowerArm | |
445 | local RightElbow = char.RightLowerArm.RightElbow | |
446 | ---------------------------------------------------------- | |
447 | local RightUpperLeg = char.RightUpperLeg | |
448 | local RightHip = char.RightUpperLeg.RightHip | |
449 | local RightLowerLeg = char.RightLowerLeg | |
450 | local RightKnee = char.RightLowerLeg.RightKnee | |
451 | ---------------------------------------------------------- | |
452 | local UpperTorso = char.UpperTorso | |
453 | local LowerTorso = char.LowerTorso | |
454 | local Root = char.LowerTorso.Root | |
455 | local RootPart = char.HumanoidRootPart | |
456 | local LeftHand = char.LeftHand | |
457 | local RightHand = char.RightHand | |
458 | local LeftFoot = char.LeftFoot | |
459 | local RightFoot = char.RightFoot | |
460 | -------------------------------------------- | |
461 | local Head = char.Head | |
462 | local Neck = char.Head.Neck | |
463 | local oldAnim = currentAnim | |
464 | ||
465 | --Sounds | |
466 | --Folder | |
467 | soundfolder = Instance.new("Model",char) | |
468 | soundfolder.Name = "Sound Folder" | |
469 | --Sounds | |
470 | kamecharge = Instance.new("Sound",soundfolder) | |
471 | kamecharge.Volume = 10 | |
472 | kamecharge.Name = "kamecharge" | |
473 | kamecharge.Looped = false | |
474 | kamecharge.SoundId = "rbxassetid://908489666" | |
475 | kamefire = Instance.new("Sound",soundfolder) | |
476 | kamefire.Volume = 10 | |
477 | kamefire.Name = "kamefire" | |
478 | kamefire.Looped = false | |
479 | kamefire.TimePosition = 0.5 | |
480 | kamefire.SoundId = "rbxassetid://977360812" | |
481 | kamehit = Instance.new("Sound",soundfolder) | |
482 | kamehit.Volume = 30 | |
483 | kamehit.Name = "kamehit" | |
484 | kamehit.Looped = false | |
485 | kamehit.SoundId = "rbxassetid://908484148" | |
486 | ssjaura = Instance.new("Sound",soundfolder) | |
487 | ssjaura.Volume = 5 | |
488 | ssjaura.Name = "ssjaura" | |
489 | ssjaura.Looped = true | |
490 | ssjaura.SoundId = "rbxassetid://891397456" | |
491 | ssjauraburst = Instance.new("Sound",soundfolder) | |
492 | ssjauraburst.Volume = math.huge | |
493 | ssjauraburst.Name = "ssjauraburst" | |
494 | ssjauraburst.Looped =false | |
495 | ssjauraburst.SoundId = "rbxassetid://437393965" | |
496 | ssjmusic = Instance.new("Sound",soundfolder) | |
497 | ssjmusic.Volume = 0 | |
498 | ssjmusic.Name = "ssjmusic" | |
499 | ssjmusic.Looped = true | |
500 | ssjmusic.SoundId = "rbxassetid://390946253" | |
501 | ssj2music = Instance.new("Sound",soundfolder) | |
502 | ssj2music.Volume = 0 | |
503 | ssj2music.Name = "ssj2music" | |
504 | ssj2music.Looped = true | |
505 | ssj2music.SoundId = "rbxassetid://144377132" | |
506 | ssj2aura = Instance.new("Sound",soundfolder) | |
507 | ssj2aura.Volume = 5 | |
508 | ssj2aura.Name = "ssj2aura" | |
509 | ssj2aura.Looped = true | |
510 | ssj2aura.SoundId = "rbxassetid://850205092" | |
511 | ssj3music = Instance.new("Sound",soundfolder) | |
512 | ssj3music.Volume = 0 | |
513 | ssj3music.Name = "ssj3music" | |
514 | ssj3music.Looped = true | |
515 | ssj3music.SoundId = "rbxassetid://156056027" | |
516 | KiCharge = Instance.new("Sound",soundfolder) | |
517 | KiCharge.Volume = 10000 | |
518 | KiCharge.Name = "KiCharge" | |
519 | KiCharge.Looped = true | |
520 | KiCharge.TimePosition = 0.7 | |
521 | KiCharge.SoundId = "rbxassetid://700499952" | |
522 | ||
523 | KiCharge2 = Instance.new("Sound",soundfolder) | |
524 | KiCharge2.Volume = 10000 | |
525 | KiCharge2.Name = "KiCharge2" | |
526 | KiCharge2.Looped = false | |
527 | KiCharge2.TimePosition = 7.3 | |
528 | ||
529 | KiCharge2.SoundId = "rbxassetid://700499952" | |
530 | Lightning = Instance.new("Sound",soundfolder) | |
531 | Lightning.Volume = 10000 | |
532 | Lightning.TimePosition = 1 | |
533 | Lightning.Name = "Lightning" | |
534 | Lightning.Looped = false | |
535 | Lightning.SoundId = "http://www.roblox.com/asset/?id=12222030" | |
536 | AuraOff = Instance.new("Sound",soundfolder) | |
537 | AuraOff.Volume = 10000 | |
538 | AuraOff.Name = "AuraOff" | |
539 | AuraOff.Looped = false | |
540 | AuraOff.SoundId = "http://www.roblox.com/asset/?id=922710675" | |
541 | PowerDown = Instance.new("Sound",soundfolder) | |
542 | PowerDown.Volume = 10000 | |
543 | PowerDown.Name = "PowerDown" | |
544 | PowerDown.Looped = false | |
545 | PowerDown.SoundId = "http://www.roblox.com/asset/?id=598621913" | |
546 | punchsound1 = Instance.new("Sound",soundfolder) | |
547 | punchsound1.Volume = 10 | |
548 | punchsound1.Name = "punchsound1" | |
549 | punchsound1.Looped = false | |
550 | punchsound1.SoundId = "rbxassetid://137579113" | |
551 | punchsound2 = Instance.new("Sound",soundfolder) | |
552 | punchsound2.Volume = 10 | |
553 | punchsound2.Name = "punchsound2" | |
554 | punchsound2.Looped = false | |
555 | punchsound2.SoundId = "rbxassetid://441202925" | |
556 | kiblastsound = Instance.new("Sound",soundfolder) | |
557 | kiblastsound.Volume = 10000 | |
558 | kiblastsound.Name = "kiblastsound" | |
559 | kiblastsound.Looped = false | |
560 | kiblastsound.SoundId = "http://www.roblox.com/asset/?id=586187912" | |
561 | screaming = Instance.new("Sound",soundfolder) | |
562 | screaming.Volume = 10 | |
563 | screaming.Name = "screaming" | |
564 | screaming.Looped = false | |
565 | screaming.SoundId = "rbxassetid://527276541" | |
566 | screaming1 = Instance.new("Sound",soundfolder) | |
567 | screaming1.Volume = 10 | |
568 | screaming1.Name = "screaming1" | |
569 | screaming1.Looped = false | |
570 | screaming1.SoundId = "rbxassetid://975468335" | |
571 | FastPunch = Instance.new("Sound",soundfolder) | |
572 | FastPunch.Volume = 10000 | |
573 | FastPunch.Name = "FastPunch" | |
574 | FastPunch.Looped = false | |
575 | FastPunch.SoundId = "http://www.roblox.com/asset/?id=253255373" | |
576 | GiantStep = Instance.new("Sound",soundfolder) | |
577 | GiantStep.Volume = 10000 | |
578 | GiantStep.Name = "GiantStep" | |
579 | GiantStep.Looped = false | |
580 | GiantStep.SoundId = "http://www.roblox.com/asset/?id=863810402" | |
581 | StrongPunch = Instance.new("Sound",soundfolder) | |
582 | StrongPunch.Volume = 10000 | |
583 | StrongPunch.Name = "StrongPunch" | |
584 | StrongPunch.Looped = false | |
585 | StrongPunch.SoundId = "http://www.roblox.com/asset/?id=735524546" | |
586 | KamehamehaVoice = Instance.new("Sound",soundfolder) | |
587 | KamehamehaVoice.Volume = 10000 | |
588 | KamehamehaVoice.Name = "KamehamehaVoice" | |
589 | KamehamehaVoice.Looped = false | |
590 | KamehamehaVoice.SoundId = "http://www.roblox.com/asset/?id=130777838" | |
591 | KamehamehaVoice6 = Instance.new("Sound",soundfolder) | |
592 | KamehamehaVoice6.Volume = 10000 | |
593 | KamehamehaVoice6.Name = "KamehamehaVoice6" | |
594 | KamehamehaVoice6.Looped = false | |
595 | KamehamehaVoice6.SoundId = "http://www.roblox.com/asset/?id=670166779" | |
596 | KamehamehaVoice3 = Instance.new("Sound",soundfolder) | |
597 | KamehamehaVoice3.Volume = 10000 | |
598 | KamehamehaVoice3.Name = "KamehamehaVoice3" | |
599 | KamehamehaVoice3.Looped = false | |
600 | KamehamehaVoice3.SoundId = "http://www.roblox.com/asset/?id=1001695447" | |
601 | KamehamehaVoice2 = Instance.new("Sound",soundfolder) | |
602 | KamehamehaVoice2.Volume = 10000 | |
603 | KamehamehaVoice2.Name = "KamehamehaVoice2" | |
604 | KamehamehaVoice2.Looped = false | |
605 | KamehamehaVoice2.SoundId = "http://www.roblox.com/asset/?id=1000078112" | |
606 | KamehamehaVoice1 = Instance.new("Sound",soundfolder) | |
607 | KamehamehaVoice1.Volume = 10000 | |
608 | KamehamehaVoice1.Name = "KamehamehaVoice1" | |
609 | KamehamehaVoice1.Looped = false | |
610 | KamehamehaVoice1.SoundId = "http://www.roblox.com/asset/?id=1000028467" | |
611 | KamehamehaVoice4 = Instance.new("Sound",soundfolder) | |
612 | KamehamehaVoice4.Volume = 10000 | |
613 | KamehamehaVoice4.Name = "KamehamehaVoice4" | |
614 | KamehamehaVoice4.Looped = false | |
615 | KamehamehaVoice4.SoundId = "http://www.roblox.com/asset/?id=1006793453" | |
616 | ssjbaura = Instance.new("Sound",soundfolder) | |
617 | ssjbaura.Volume = 1 | |
618 | ssjbaura.Name = "ssjbaura" | |
619 | ssjbaura.Looped = true | |
620 | ssjbaura.SoundId = "rbxassetid://443386048" | |
621 | ssjbauraburst = Instance.new("Sound",soundfolder) | |
622 | ssjbauraburst.Volume = 1 | |
623 | ssjbauraburst.Name = "ssjbauraburst" | |
624 | ssjbauraburst.Looped = false | |
625 | ssjbauraburst.SoundId = "rbxassetid://874183151" | |
626 | ssjbmusic = Instance.new("Sound",soundfolder) | |
627 | ssjbmusic.Volume = 0 | |
628 | ssjbmusic.Name = "ssjbmusic" | |
629 | ssjbmusic.Looped = true | |
630 | ssjbmusic.SoundId = "rbxassetid://180572775" | |
631 | ssjbkaioken = Instance.new("Sound",soundfolder) | |
632 | ssjbkaioken.Volume = 10000 | |
633 | ssjbkaioken.Name = "ssjbkaioken" | |
634 | ssjbkaioken.Looped = false | |
635 | ssjbkaioken.SoundId = "http://www.roblox.com/asset/?id=975627244" | |
636 | ssjbkaioken1 = Instance.new("Sound",soundfolder) | |
637 | ssjbkaioken1.Volume = 10000 | |
638 | ssjbkaioken1.Name = "ssjbkaioken1" | |
639 | ssjbkaioken1.Looped = false | |
640 | ssjbkaioken1.SoundId = "http://www.roblox.com/asset/?id=975627532" | |
641 | ssjbkaura = Instance.new("Sound",soundfolder) | |
642 | ssjbkaura.Volume = 3 | |
643 | ssjbkaura.Name = "ssjbkaura" | |
644 | ssjbkaura.Looped = true | |
645 | ssjbkaura.SoundId = "rbxassetid://972925821" | |
646 | ssjgaura = Instance.new("Sound",soundfolder) | |
647 | ssjgaura.Volume = 5 | |
648 | ssjgaura.Name = "ssjgaura" | |
649 | ssjgaura.Looped = true | |
650 | ssjgaura.SoundId = "rbxassetid://590580266" | |
651 | ApeGrowl = Instance.new("Sound",soundfolder) | |
652 | ApeGrowl.Volume = 10 | |
653 | ApeGrowl.Name = "ApeGrowl" | |
654 | ApeGrowl.Looped = false | |
655 | ApeGrowl.SoundId = "rbxassetid://849892755" | |
656 | ssjgmusic = Instance.new("Sound",soundfolder) | |
657 | ssjgmusic.Volume = 0 | |
658 | ssjgmusic.Name = "ssjgmusic" | |
659 | ssjgmusic.Looped = true | |
660 | ssjgmusic.SoundId = "rbxassetid://785398417" | |
661 | Ape1 = Instance.new("Sound",soundfolder) | |
662 | Ape1.Volume = 10 | |
663 | Ape1.Name = "Ape1" | |
664 | Ape1.Looped = false | |
665 | Ape1.SoundId = "rbxassetid://851581494" | |
666 | ||
667 | Ape2 = Instance.new("Sound",soundfolder) | |
668 | Ape2.Volume = 10 | |
669 | Ape2.Name = "Ape2" | |
670 | Ape2.Looped = false | |
671 | Ape2.SoundId = "rbxassetid://851581851" | |
672 | Ape3 = Instance.new("Sound",soundfolder) | |
673 | Ape3.Volume = 10 | |
674 | Ape3.Name = "Ape3" | |
675 | Ape3.Looped = false | |
676 | Ape3.SoundId = "rbxassetid://851582274" | |
677 | ---------------------------------------------- | |
678 | function Lightning1(pos,pos2,radius,numParts,model) | |
679 | radius = radius or 0.2 | |
680 | numParts = numParts or 10 | |
681 | model = model or workspace | |
682 | local lv = CFrame.new(pos,pos2).lookVector | |
683 | local dist = (pos-pos2).magnitude | |
684 | local dbp = dist/numParts | |
685 | local last = pos | |
686 | for i = 1,numParts do | |
687 | local p = Instance.new("Part",model) | |
688 | p.FormFactor = "Symmetric" | |
689 | p.Size = Vector3.new(14,14,1) | |
690 | p.Material = "Neon" | |
691 | p.CanCollide = false | |
692 | p.Anchored = true | |
693 | p.BrickColor = BrickColor.new("Cyan") | |
694 | local x = math.random(-100,100)/100*dbp/2 | |
695 | local y = math.random(-100,100)/100*dbp/2 | |
696 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
697 | local dist2 = (p2.p-last).magnitude | |
698 | local mid = (p2.p+last)/2 | |
699 | local m = Instance.new("BlockMesh",p) | |
700 | m.Scale = Vector3.new(radius,radius,dist2) | |
701 | p.CFrame = CFrame.new(mid,p2.p) | |
702 | last = p2.p | |
703 | game:GetService("Debris"):AddItem(p,math.random(40,100)/1000) | |
704 | end | |
705 | end | |
706 | --GoundWaves | |
707 | GroundWave1 = function() | |
708 | ||
709 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + RootPart.CFrame.lookVector * 5 | |
710 | Colors = {"White", "White"} | |
711 | local wave = Instance.new("Part", char) | |
712 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
713 | wave.Anchored = true | |
714 | wave.Name = "Wave"..number | |
715 | wave.CanCollide = false | |
716 | wave.Locked = true | |
717 | wave.Size = Vector3.new(1, 1, 1) | |
718 | wave.TopSurface = "Smooth" | |
719 | wave.BottomSurface = "Smooth" | |
720 | wave.Transparency = 0.35 | |
721 | wave.CFrame = HandCF | |
722 | wm = Instance.new("SpecialMesh", wave) | |
723 | wm.Name = "wave"..number | |
724 | wm.MeshId = "rbxassetid://3270017" | |
725 | coroutine.wrap(function() | |
726 | for i = 1, 30, 1 do | |
727 | wm.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
728 | wave.Size = wm.Scale | |
729 | wave.CFrame = HandCF | |
730 | wave.Transparency = i/30 | |
731 | wait() | |
732 | end | |
733 | wait() | |
734 | wave:Destroy() | |
735 | ||
736 | end)() | |
737 | end | |
738 | GroundWave1d = function() | |
739 | ||
740 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + RootPart.CFrame.lookVector * 6 | |
741 | Colors = {"Cyan", "Cyan"} | |
742 | local wave = Instance.new("Part", char) | |
743 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
744 | wave.Anchored = true | |
745 | wave.Name = "Wave"..number | |
746 | wave.CanCollide = false | |
747 | wave.Locked = true | |
748 | wave.Size = Vector3.new(0.5,0.5,0.5) | |
749 | wave.TopSurface = "Smooth" | |
750 | wave.BottomSurface = "Smooth" | |
751 | wave.Transparency = 0.35 | |
752 | wave.CFrame = HandCF | |
753 | wm = Instance.new("SpecialMesh", wave) | |
754 | wm.Name = "wave"..number | |
755 | wm.MeshId = "rbxassetid://3270017" | |
756 | coroutine.wrap(function() | |
757 | for i = 1, 30, 1 do | |
758 | wm.Scale = Vector3.new(0.5 + i*.7, 1 + i*.7, 0.5) | |
759 | wave.Size = wm.Scale | |
760 | wave.CFrame = HandCF | |
761 | wave.Transparency = i/30 | |
762 | wait() | |
763 | end | |
764 | wait() | |
765 | wave:Destroy() | |
766 | ||
767 | end)() | |
768 | end | |
769 | GroundWave111 = function() | |
770 | ||
771 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + RootPart.CFrame.lookVector * 5 | |
772 | Colors = {"White", "White"} | |
773 | local wavef = Instance.new("Part", char) | |
774 | wavef.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
775 | wavef.Anchored = true | |
776 | wavef.Name = "Wave"..number | |
777 | wavef.CanCollide = false | |
778 | wavef.Locked = true | |
779 | wavef.Size = Vector3.new(1, 1, 1) | |
780 | wavef.TopSurface = "Smooth" | |
781 | wavef.BottomSurface = "Smooth" | |
782 | wavef.Transparency = 0.35 | |
783 | wavef.CFrame = HandCF | |
784 | wmf = Instance.new("SpecialMesh", wavef) | |
785 | wmf.Name = "wave"..number | |
786 | wmf.MeshId = "rbxassetid://3270017" | |
787 | coroutine.wrap(function() | |
788 | for i = 1, 30, 1 do | |
789 | wmf.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
790 | wavef.Size = wmf.Scale | |
791 | wavef.CFrame = HandCF | |
792 | wavef.Transparency = i/30 | |
793 | wait() | |
794 | end | |
795 | wait() | |
796 | wavef:Destroy() | |
797 | ||
798 | end)() | |
799 | end | |
800 | GroundWave11 = function() | |
801 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
802 | Colors = {"White", "White"} | |
803 | local wave = Instance.new("Part", char) | |
804 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
805 | wave.Anchored = true | |
806 | wave.Name = "Wave" | |
807 | wave.CanCollide = false | |
808 | wave.Locked = true | |
809 | wave.Size = Vector3.new(1, 1, 1) | |
810 | wave.TopSurface = "Smooth" | |
811 | wave.BottomSurface = "Smooth" | |
812 | wave.Transparency = 0.35 | |
813 | wave.CFrame = HandCF | |
814 | wm = Instance.new("SpecialMesh", wave) | |
815 | wm.MeshId = "rbxassetid://3270017" | |
816 | coroutine.wrap(function() | |
817 | for i = 1, 30, 1 do | |
818 | wm.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
819 | wave.Size = wm.Scale | |
820 | wave.CFrame = HandCF | |
821 | wave.Transparency = i/30 | |
822 | wait() | |
823 | end | |
824 | wait() | |
825 | wave:Destroy() | |
826 | end)() | |
827 | end | |
828 | ||
829 | GroundWave2 = function() | |
830 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
831 | Colors = {"White", "White"} | |
832 | local wave3 = Instance.new("Part", char) | |
833 | wave3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
834 | wave3.Anchored = true | |
835 | wave3.Name = "Wave" | |
836 | wave3.CanCollide = false | |
837 | wave3.Locked = true | |
838 | wave3.Size = Vector3.new(1, 1, 1) | |
839 | wave3.TopSurface = "Smooth" | |
840 | wave3.BottomSurface = "Smooth" | |
841 | wave3.Transparency = 0.35 | |
842 | wave3.CFrame = HandCF | |
843 | wm1 = Instance.new("SpecialMesh", wave3) | |
844 | wm1.MeshId = "rbxassetid://3270017" | |
845 | coroutine.wrap(function() | |
846 | for i = 1, 30, 1 do | |
847 | wm1.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
848 | wave3.Size = wm1.Scale | |
849 | wave3.CFrame = HandCF | |
850 | wave3.Transparency = i/30 | |
851 | wait() | |
852 | end | |
853 | wait() | |
854 | wave3:Destroy() | |
855 | end)() | |
856 | end | |
857 | GroundWave3 = function() | |
858 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
859 | Colors = {"White", "White"} | |
860 | local wave2 = Instance.new("Part", char) | |
861 | wave2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
862 | wave2.Anchored = true | |
863 | wave2.Name = "Wave" | |
864 | wave2.CanCollide = false | |
865 | wave2.Locked = true | |
866 | wave2.Size = Vector3.new(1, 1, 1) | |
867 | wave2.TopSurface = "Smooth" | |
868 | wave2.BottomSurface = "Smooth" | |
869 | wave2.Transparency = 0.35 | |
870 | wave2.CFrame = HandCF | |
871 | wm2 = Instance.new("SpecialMesh", wave2) | |
872 | wm2.MeshId = "rbxassetid://3270017" | |
873 | coroutine.wrap(function() | |
874 | for i = 1, 30, 1 do | |
875 | wm2.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
876 | wave2.Size = wm2.Scale | |
877 | wave2.CFrame = HandCF | |
878 | wave2.Transparency = i/30 | |
879 | wait() | |
880 | end | |
881 | wait() | |
882 | wave2:Destroy() | |
883 | end)() | |
884 | end | |
885 | GroundWave4 = function() | |
886 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
887 | Colors = {"White", "White"} | |
888 | local wave1 = Instance.new("Part", char) | |
889 | wave1.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
890 | wave1.Anchored = true | |
891 | wave1.Name = "Wave" | |
892 | wave1.CanCollide = false | |
893 | wave1.Locked = true | |
894 | wave1.Size = Vector3.new(1, 1, 1) | |
895 | wave1.TopSurface = "Smooth" | |
896 | wave1.BottomSurface = "Smooth" | |
897 | wave1.Transparency = 0.35 | |
898 | wave1.CFrame = HandCF | |
899 | wm3 = Instance.new("SpecialMesh", wave1) | |
900 | wm3.MeshId = "rbxassetid://3270017" | |
901 | coroutine.wrap(function() | |
902 | for i = 1, 30, 1 do | |
903 | wm3.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
904 | wave1.Size = wm3.Scale | |
905 | wave1.CFrame = HandCF | |
906 | wave1.Transparency = i/30 | |
907 | wait() | |
908 | end | |
909 | wait() | |
910 | wave1:Destroy() | |
911 | end)() | |
912 | end | |
913 | -------------------------------------------------------------------------- | |
914 | --transform | |
915 | GroundWave5 = function() | |
916 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
917 | if ssjg == false then | |
918 | if ssjb == false then | |
919 | if ssj1 == true or ssj2 == true or ssj3 == true then | |
920 | Colors = {"New Yeller", "New Yeller"} | |
921 | elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
922 | Colors = {"White", "White"} | |
923 | end | |
924 | else | |
925 | Colors = {"Cyan", "Cyan"} | |
926 | end | |
927 | else | |
928 | Colors = {"Really red", "Deep orange"} | |
929 | end | |
930 | ||
931 | local wave11 = Instance.new("Part", char) | |
932 | wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
933 | wave11.Anchored = true | |
934 | wave11.Name = "Wave" | |
935 | wave11.CanCollide = false | |
936 | wave11.Locked = true | |
937 | wave11.Size = Vector3.new(1, 1, 1) | |
938 | wave11.TopSurface = "Smooth" | |
939 | wave11.BottomSurface = "Smooth" | |
940 | wave11.Transparency = 0.35 | |
941 | wave11.CFrame = HandCF | |
942 | wm31 = Instance.new("SpecialMesh", wave11) | |
943 | wm31.MeshId = "rbxassetid://3270017" | |
944 | coroutine.wrap(function() | |
945 | for i = 1, 30, 1 do | |
946 | wm31.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
947 | wave11.Size = wm31.Scale | |
948 | wave11.CFrame = HandCF | |
949 | wave11.Transparency = i/30 | |
950 | wait() | |
951 | end | |
952 | wait() | |
953 | wave11:Destroy() | |
954 | end)() | |
955 | end | |
956 | GroundWave6 = function() | |
957 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
958 | if ssjg == false then | |
959 | if ssjb == false then | |
960 | if ssj1 == true or ssj2 == true or ssj3 == true then | |
961 | Colors = {"New Yeller", "New Yeller"} | |
962 | elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
963 | Colors = {"White", "White"} | |
964 | end | |
965 | else | |
966 | Colors = {"Cyan", "Cyan"} | |
967 | end | |
968 | else | |
969 | Colors = {"Really red", "Deep orange"} | |
970 | end | |
971 | local wave111 = Instance.new("Part", char) | |
972 | wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
973 | wave111.Anchored = true | |
974 | wave111.Name = "Wave" | |
975 | wave111.CanCollide = false | |
976 | wave111.Locked = true | |
977 | wave111.Size = Vector3.new(1, 1, 1) | |
978 | wave111.TopSurface = "Smooth" | |
979 | wave111.BottomSurface = "Smooth" | |
980 | wave111.Transparency = 0.35 | |
981 | wave111.CFrame = HandCF | |
982 | wm311 = Instance.new("SpecialMesh", wave111) | |
983 | wm311.MeshId = "rbxassetid://3270017" | |
984 | coroutine.wrap(function() | |
985 | for i = 1, 30, 1 do | |
986 | wm311.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
987 | wave111.Size = wm311.Scale | |
988 | wave111.CFrame = HandCF | |
989 | wave111.Transparency = i/30 | |
990 | wait() | |
991 | end | |
992 | wait() | |
993 | wave111:Destroy() | |
994 | end)() | |
995 | end | |
996 | GroundWave7 = function() | |
997 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) | |
998 | if ssjg == false then | |
999 | if ssjb == false then | |
1000 | if ssj1 == true or ssj2 == true or ssj3 == true then | |
1001 | Colors = {"New Yeller", "New Yeller"} | |
1002 | elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
1003 | Colors = {"White", "White"} | |
1004 | end | |
1005 | else | |
1006 | Colors = {"Cyan", "Cyan"} | |
1007 | end | |
1008 | else | |
1009 | Colors = {"Really red", "Deep orange"} | |
1010 | end | |
1011 | local wave1111 = Instance.new("Part", char) | |
1012 | wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1013 | wave1111.Anchored = true | |
1014 | wave1111.Name = "Wave" | |
1015 | wave1111.CanCollide = false | |
1016 | wave1111.Locked = true | |
1017 | wave1111.Size = Vector3.new(1, 1, 1) | |
1018 | wave1111.TopSurface = "Smooth" | |
1019 | wave1111.BottomSurface = "Smooth" | |
1020 | wave1111.Transparency = 0.35 | |
1021 | wave1111.CFrame = HandCF | |
1022 | wm3111 = Instance.new("SpecialMesh", wave1111) | |
1023 | wm3111.MeshId = "rbxassetid://3270017" | |
1024 | coroutine.wrap(function() | |
1025 | for i = 1, 30, 1 do | |
1026 | wm3111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1027 | wave1111.Size = wm3111.Scale | |
1028 | wave1111.CFrame = HandCF | |
1029 | wave1111.Transparency = i/30 | |
1030 | wait() | |
1031 | end | |
1032 | wait() | |
1033 | wave1111:Destroy() | |
1034 | end)() | |
1035 | end | |
1036 | GroundWave8 = function() | |
1037 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(40), math.rad(90), math.rad(0)) | |
1038 | if ssjg == false then | |
1039 | if ssjb == false then | |
1040 | if ssj1 == true or ssj2 == true or ssj3 == true then | |
1041 | Colors = {"New Yeller", "New Yeller"} | |
1042 | elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
1043 | Colors = {"White", "White"} | |
1044 | end | |
1045 | else | |
1046 | Colors = {"Cyan", "Cyan"} | |
1047 | end | |
1048 | else | |
1049 | Colors = {"Really red", "Deep orange"} | |
1050 | end | |
1051 | local wave11111 = Instance.new("Part", char) | |
1052 | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1053 | wave11111.Anchored = true | |
1054 | wave11111.Name = "Wave" | |
1055 | wave11111.CanCollide = false | |
1056 | wave11111.Locked = true | |
1057 | wave11111.Size = Vector3.new(1, 1, 1) | |
1058 | wave11111.TopSurface = "Smooth" | |
1059 | wave11111.BottomSurface = "Smooth" | |
1060 | wave11111.Transparency = 0.35 | |
1061 | wave11111.CFrame = HandCF | |
1062 | wm31111 = Instance.new("SpecialMesh", wave11111) | |
1063 | wm31111.MeshId = "rbxassetid://3270017" | |
1064 | coroutine.wrap(function() | |
1065 | for i = 1, 30, 1 do | |
1066 | wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1067 | wave11111.Size = wm31111.Scale | |
1068 | wave11111.CFrame = HandCF | |
1069 | wave11111.Transparency = i/30 | |
1070 | wait() | |
1071 | end | |
1072 | wait() | |
1073 | wave11111:Destroy() | |
1074 | end)() | |
1075 | end | |
1076 | GroundWave9 = function() | |
1077 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(40)) | |
1078 | if ssjg == false then | |
1079 | if ssjb == false then | |
1080 | if ssj1 == true or ssj2 == true or ssj3 == true then | |
1081 | Colors = {"New Yeller", "New Yeller"} | |
1082 | elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
1083 | Colors = {"White", "White"} | |
1084 | end | |
1085 | else | |
1086 | Colors = {"Cyan", "Cyan"} | |
1087 | end | |
1088 | else | |
1089 | Colors = {"Really red", "Deep orange"} | |
1090 | end | |
1091 | local wave111111 = Instance.new("Part", char) | |
1092 | wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1093 | wave111111.Anchored = true | |
1094 | wave111111.Name = "Wave" | |
1095 | wave111111.CanCollide = false | |
1096 | wave111111.Locked = true | |
1097 | wave111111.Size = Vector3.new(1, 1, 1) | |
1098 | wave111111.TopSurface = "Smooth" | |
1099 | wave111111.BottomSurface = "Smooth" | |
1100 | wave111111.Transparency = 0.35 | |
1101 | wave111111.CFrame = HandCF | |
1102 | wm311111 = Instance.new("SpecialMesh", wave111111) | |
1103 | wm311111.MeshId = "rbxassetid://3270017" | |
1104 | coroutine.wrap(function() | |
1105 | for i = 1, 30, 1 do | |
1106 | wm311111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1107 | wave111111.Size = wm311111.Scale | |
1108 | wave111111.CFrame = HandCF | |
1109 | wave111111.Transparency = i/30 | |
1110 | wait() | |
1111 | end | |
1112 | wait() | |
1113 | wave111111:Destroy() | |
1114 | end)() | |
1115 | end | |
1116 | GroundWave10 = function() | |
1117 | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1118 | if ssjg == false then | |
1119 | if ssjb == false then | |
1120 | if ssj1 == true or ssj2 == true or ssj3 == true then | |
1121 | Colors = {"New Yeller", "New Yeller"} | |
1122 | elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
1123 | Colors = {"White", "White"} | |
1124 | end | |
1125 | color = ssj blue = ssj2 blue = ssj3 blue | |
1126 | else | |
1127 | Colors = {"Cyan", "Cyan"} | |
1128 | end | |
1129 | else | |
1130 | Colors = {"Really red", "Deep orange"} | |
1131 | end | |
1132 | local wave1111111 = Instance.new("Part", char) | |
1133 | wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1134 | wave1111111.Anchored = true | |
1135 | wave1111111.Name = "Wave" | |
1136 | wave1111111.CanCollide = false | |
1137 | wave1111111.Locked = true | |
1138 | wave1111111.Size = Vector3.new(1, 1, 1) | |
1139 | wave1111111.TopSurface = "Smooth" | |
1140 | wave1111111.BottomSurface = "Smooth" | |
1141 | wave1111111.Transparency = 0.35 | |
1142 | wave1111111.CFrame = HandCF | |
1143 | wm3111111 = Instance.new("SpecialMesh", wave1111111) | |
1144 | wm3111111.MeshId = "rbxassetid://3270017" | |
1145 | coroutine.wrap(function() | |
1146 | for i = 1, 30, 1 do | |
1147 | wm3111111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1148 | wave1111111.Size = wm3111111.Scale | |
1149 | wave1111111.CFrame = HandCF | |
1150 | wave1111111.Transparency = i/30 | |
1151 | wait() | |
1152 | end | |
1153 | wait() | |
1154 | wave1111111:Destroy() | |
1155 | end)() | |
1156 | end | |
1157 | ae = new("Part",char) | |
1158 | ae.Name = "NewPart" | |
1159 | ae.Size = v3(0.1,0.1,0.1) | |
1160 | ae.Shape = "Ball" | |
1161 | ae.Position = v3(999,999,999) | |
1162 | ae.BrickColor = bc("bright Blue") | |
1163 | ae.Material = "Neon" | |
1164 | ae.Transparency = 1 | |
1165 | aaae =new("Weld",ae) | |
1166 | aaae.Part0 = RootPart | |
1167 | aaae.Part1 = ae | |
1168 | aaae.C0 = cf(0,7,0) * cfa(rad(0),rad(0),rad(0)) | |
1169 | ae1 = new("Part",char) | |
1170 | ae1.Name = "NewPart" | |
1171 | ae1.Size = v3(0.1,0.1,0.1) | |
1172 | ae1.Shape = "Ball" | |
1173 | ae1.Position = v3(999,999,999) | |
1174 | ae1.BrickColor = bc("bright Blue") | |
1175 | ae1.Material = "Neon" | |
1176 | ae1.Transparency = 1 | |
1177 | aaae1 =new("Weld",ae1) | |
1178 | aaae1.Part0 = RootPart | |
1179 | aaae1.Part1 = ae1 | |
1180 | aaae1.C0 = cf(0,15,0) * cfa(rad(0),rad(0),rad(0)) | |
1181 | ||
1182 | ||
1183 | aw = new("Part",char) | |
1184 | aw.Name = "NewPart" | |
1185 | aw.Size = v3(0.1,0.1,0.1) | |
1186 | aw.Shape = "Ball" | |
1187 | aw.Position = v3(999,999,999) | |
1188 | aw.BrickColor = BrickColor.new("bright Blue") | |
1189 | aw.Material = "Neon" | |
1190 | aw.Transparency = 1 | |
1191 | aaw = new("SpecialMesh",aw) | |
1192 | aaw.Scale = v3(1,1,1) | |
1193 | aaaw =new("Weld",aw) | |
1194 | aaaw.Part0 = LowerTorso | |
1195 | aaaw.Part1 = aw | |
1196 | aaaw.C0 = cf(0,1.6,-1.6) * cfa(rad(0),rad(0),rad(0)) | |
1197 | aaaaw = new("ParticleEmitter",aw) | |
1198 | aaaaw.Size = ns(5) | |
1199 | aaaaw.Rate = 5 | |
1200 | aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) | |
1201 | aaaaw.Texture = "rbxassetid://924710961" | |
1202 | aaaaw.ZOffset = -1 | |
1203 | aaaaw.Lifetime = nr(5) | |
1204 | aaaaw.RotSpeed = nr(50) | |
1205 | aaaaw.Transparency = ns(1) | |
1206 | aaaaw.LockedToPart = true | |
1207 | aaaaw.Speed = nr(0) | |
1208 | a = new("Part",char) | |
1209 | a.Name = "NewPart" | |
1210 | a.Size = v3(0.1,0.1,0.1) | |
1211 | a.Shape = "Ball" | |
1212 | a.Position = v3(999,999,999) | |
1213 | a.BrickColor = BrickColor.new("bright Blue") | |
1214 | a.Material = "Neon" | |
1215 | a.Transparency = 1 | |
1216 | aa = new("SpecialMesh",a) | |
1217 | aa.Scale = v3(1,1,1) | |
1218 | aaa =new("Weld",a) | |
1219 | aaa.Part0 = LowerTorso | |
1220 | aaa.Part1 = a | |
1221 | aaa.C0 = cf(0,1.6,-1.6) * cfa(rad(0),rad(0),rad(0)) | |
1222 | aaaa = new("ParticleEmitter",a) | |
1223 | aaaa.Size = ns(1) | |
1224 | aaaa.Rate = 5 | |
1225 | aaaa.Texture = "rbxassetid://246381828" | |
1226 | aaaa.ZOffset = 1 | |
1227 | aaaa.Lifetime = nr(5) | |
1228 | aaaa.Transparency = ns(1) | |
1229 | aaaa.LockedToPart = true | |
1230 | aaaa.Speed = nr(0) | |
1231 | lighting2 = Instance.new("ParticleEmitter", a) | |
1232 | lighting2.Size = NumberSequence.new(2.5) | |
1233 | lighting2.LightEmission = 1 | |
1234 | lighting2.Color = ColorSequence.new(Color3.fromRGB(255,255,0)) | |
1235 | lighting2.Texture = "rbxassetid://257173628" | |
1236 | lighting2.ZOffset = 2 | |
1237 | lighting2.Transparency = ns(1) | |
1238 | lighting2.Lifetime = NumberRange.new(0.1) | |
1239 | lighting2.Rate = 60 | |
1240 | lighting2.Rotation = NumberRange.new(-500,500) | |
1241 | lighting2.Speed = NumberRange.new(8) | |
1242 | lighting2.SpreadAngle = Vector2.new(500,500) | |
1243 | --DOntTouch | |
1244 | ||
1245 | hum.JumpPower = 100 | |
1246 | hum.BodyDepthScale.Value = 1 | |
1247 | hum.BodyHeightScale.Value = 1 | |
1248 | hum.BodyWidthScale.Value = 1 | |
1249 | hum.HeadScale.Value = 1 | |
1250 | for i,v in pairs(char:GetChildren()) do | |
1251 | if v.ClassName == "Accessory" then | |
1252 | v:Destroy() | |
1253 | end | |
1254 | end | |
1255 | ||
1256 | Instance.new("ForceField",char).Visible = false | |
1257 | char.Animate:Destroy() | |
1258 | ------------------------ | |
1259 | for i = 1,20 do | |
1260 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
1261 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
1262 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
1263 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
1264 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
1265 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1266 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1267 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1268 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
1269 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
1270 | end | |
1271 | ||
1272 | function RenderStepped2() | |
1273 | ||
1274 | if startk == true then | |
1275 | if ssj4 == true and fuse == false then | |
1276 | aaaa.Color = ColorSequence.new(Color3.new(255,0,0)) | |
1277 | aaaaw.Color = ColorSequence.new(Color3.new(255,0,0)) | |
1278 | else | |
1279 | aaaa.Color = ColorSequence.new(Color3.new(255,255,255)) | |
1280 | aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) | |
1281 | end | |
1282 | turn = turn - 0.01 | |
1283 | aaaa.Transparency = ns(turn) | |
1284 | aaaaw.Transparency = ns(turn) | |
1285 | aaaa.Size = ns(math.random(1,2)) | |
1286 | if ssjg == true or potara == true then | |
1287 | lighting2.Transparency = ns(0) | |
1288 | end | |
1289 | else | |
1290 | lighting2.Transparency = ns(1) | |
1291 | aaaa.Transparency = ns(1) | |
1292 | aaaaw.Transparency = ns(1) | |
1293 | turn = 1 | |
1294 | end | |
1295 | ||
1296 | if rock2 == true then | |
1297 | wait(0.1) | |
1298 | ||
1299 | for i,v in pairs(char:GetChildren()) do | |
1300 | if v:IsA("Part") then | |
1301 | if v.Name == "NewPart2" then | |
1302 | v.GO.Velocity = v3(0,-5,0) | |
1303 | end | |
1304 | end | |
1305 | ||
1306 | end | |
1307 | rock2 = false | |
1308 | end | |
1309 | if rock3 == true then | |
1310 | wait(0.1) | |
1311 | for i,v in pairs(char:GetChildren()) do | |
1312 | if v:IsA("Part") then | |
1313 | if v.Name == "NewPart2" then | |
1314 | v.GO.Velocity = v3(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
1315 | end | |
1316 | end | |
1317 | end | |
1318 | rock3 = false | |
1319 | end | |
1320 | if transform4 == true then | |
1321 | ||
1322 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-15)),.1) --LeftUpperArm | |
1323 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(15)),.1)--RightUpperArm | |
1324 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftLowerArm | |
1325 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
1326 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftUpperLeg | |
1327 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
1328 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1329 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1330 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
1331 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--Head | |
1332 | end | |
1333 | ||
1334 | ||
1335 | ||
1336 | if aim == true then | |
1337 | RootPart.CFrame = CFrame.new(RootPart.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
1338 | end | |
1339 | ||
1340 | hum.MaxHealth = math.huge | |
1341 | hum.Health = math.huge | |
1342 | ||
1343 | if flying1 == true and canfly == true and nill == true then | |
1344 | idle = false | |
1345 | walk = false | |
1346 | canjump = false | |
1347 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),0.1) --LeftUpperArm | |
1348 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),0.1)--RightUpperArm | |
1349 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
1350 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
1351 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),0.1)--LeftUpperLeg | |
1352 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1353 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1354 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1355 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
1356 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
1357 | ||
1358 | end | |
1359 | if flying1 == true and canfly == true and foward == true then | |
1360 | ||
1361 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),0.05) --LeftUpperArm | |
1362 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-20),rad(0),rad(10)),0.05)--RightUpperArm | |
1363 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerArm | |
1364 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightLowerArm | |
1365 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftUpperLeg | |
1366 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg | |
1367 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerLeg | |
1368 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg | |
1369 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--Torso | |
1370 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),0.01)--Head | |
1371 | ||
1372 | end | |
1373 | ||
1374 | if uppercut1 == true then | |
1375 | ||
1376 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),.1) --LeftUpperArm | |
1377 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
1378 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
1379 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1380 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.1)--LeftUpperLeg | |
1381 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1382 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),.1)--LeftLowerLeg | |
1383 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--RightUpperLeg | |
1384 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.1,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
1385 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1386 | ||
1387 | end | |
1388 | if uppercut2 == true then | |
1389 | ||
1390 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(120),rad(0),rad(-10)),.1) --LeftUpperArm | |
1391 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
1392 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm | |
1393 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1394 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftUpperLeg | |
1395 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1396 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftLowerLeg | |
1397 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),.1)--RightUpperLeg | |
1398 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-50),rad(0)),.1)--Torso | |
1399 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),.1)--Head | |
1400 | ||
1401 | end | |
1402 | ||
1403 | if punch1 == true then | |
1404 | ||
1405 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-40)),.5) --LeftUpperArm | |
1406 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.5)--RightUpperArm | |
1407 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.5)--LeftLowerArm | |
1408 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm | |
1409 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
1410 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1411 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
1412 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1413 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(30),rad(0)),.2)--Torso | |
1414 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(-20),rad(0)),.2)--Head | |
1415 | ||
1416 | end | |
1417 | if punch2 == true then | |
1418 | ||
1419 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(20)),.5) --LeftUpperArm | |
1420 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.5)--RightUpperArm | |
1421 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--LeftLowerArm | |
1422 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--RightLowerArm | |
1423 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
1424 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1425 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
1426 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1427 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
1428 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
1429 | ||
1430 | end | |
1431 | if punch3 == true then | |
1432 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.5) --LeftUpperArm | |
1433 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(40)),.5)--RightUpperArm | |
1434 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm | |
1435 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.5)--RightLowerArm | |
1436 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
1437 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1438 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
1439 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1440 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.2)--Torso | |
1441 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(20),rad(0)),.3)--Head | |
1442 | ||
1443 | end | |
1444 | if punch4 == true then | |
1445 | ||
1446 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.5) --LeftUpperArm | |
1447 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-20)),.5)--RightUpperArm | |
1448 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--LeftLowerArm | |
1449 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--RightLowerArm | |
1450 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
1451 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1452 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
1453 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1454 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
1455 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1456 | ||
1457 | end | |
1458 | ||
1459 | if kick3 == true then | |
1460 | ||
1461 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.3) --LeftUpperArm | |
1462 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.3)--RightUpperArm | |
1463 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerArm | |
1464 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightLowerArm | |
1465 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),.5)--LeftUpperLeg | |
1466 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
1467 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.5)--LeftLowerLeg | |
1468 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
1469 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Torso | |
1470 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Head | |
1471 | ||
1472 | end | |
1473 | if kick4 == true then | |
1474 | ||
1475 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.3) --LeftUpperArm | |
1476 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.3)--RightUpperArm | |
1477 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--LeftLowerArm | |
1478 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--RightLowerArm | |
1479 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.5)--LeftUpperLeg | |
1480 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
1481 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.5)--LeftLowerLeg | |
1482 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
1483 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Torso | |
1484 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Head | |
1485 | ||
1486 | end | |
1487 | if kick1 == true then | |
1488 | ||
1489 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.3) --LeftUpperArm | |
1490 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.3)--RightUpperArm | |
1491 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerArm | |
1492 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightLowerArm | |
1493 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg | |
1494 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(10)),.5)--RightUpperLeg | |
1495 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg | |
1496 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.5)--RightUpperLeg | |
1497 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Torso | |
1498 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Head | |
1499 | ||
1500 | end | |
1501 | if kick2 == true then | |
1502 | ||
1503 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.3) --LeftUpperArm | |
1504 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.3)--RightUpperArm | |
1505 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--LeftLowerArm | |
1506 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--RightLowerArm | |
1507 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg | |
1508 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.5)--RightUpperLeg | |
1509 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg | |
1510 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.5)--RightUpperLeg | |
1511 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Torso | |
1512 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Head | |
1513 | ||
1514 | end | |
1515 | if knockdown1 == true then | |
1516 | ||
1517 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1.0,1,.05)*CFrame.Angles(rad(150),rad(-90),rad(0)),.1) --LeftUpperArm | |
1518 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1.0,1,.05)*CFrame.Angles(rad(150),rad(90),rad(0)),.1)--RightUpperArm | |
1519 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(55),rad(0),rad(0)),.1)--LeftLowerArm | |
1520 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(55),rad(0),rad(0)),.1)--RightLowerArm | |
1521 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftUpperLeg | |
1522 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--RightUpperLeg | |
1523 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--LeftLowerLeg | |
1524 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1525 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
1526 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1527 | ||
1528 | end | |
1529 | if knockdown2 == true then | |
1530 | ||
1531 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1.0,0.5,.05)*CFrame.Angles(rad(100),rad(-90),rad(50)),.1) --LeftUpperArm | |
1532 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1.0,0.5,.05)*CFrame.Angles(rad(20),rad(100),rad(30)),.1)--RightUpperArm | |
1533 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(25),rad(0),rad(0)),.1)--LeftLowerArm | |
1534 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightLowerArm | |
1535 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftUpperLeg | |
1536 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightUpperLeg | |
1537 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftLowerLeg | |
1538 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightUpperLeg | |
1539 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(10),rad(0)),.1)--Torso | |
1540 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1541 | ||
1542 | end | |
1543 | if kiblast3 == true then | |
1544 | ||
1545 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-80)),.4) --LeftUpperArm | |
1546 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperArm | |
1547 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.4)--LeftLowerArm | |
1548 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
1549 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
1550 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1551 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
1552 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1553 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
1554 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
1555 | ||
1556 | end | |
1557 | if kiblast4 == true then | |
1558 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(-90),rad(-80)),.4) --LeftUpperArm | |
1559 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperArm | |
1560 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm | |
1561 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
1562 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
1563 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1564 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
1565 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1566 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
1567 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
1568 | ||
1569 | end | |
1570 | if kiblast1 == true then | |
1571 | ||
1572 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4) --LeftUpperArm | |
1573 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(80)),.4)--RightUpperArm | |
1574 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm | |
1575 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.4)--RightLowerArm | |
1576 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
1577 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1578 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
1579 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1580 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
1581 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
1582 | ||
1583 | end | |
1584 | if kiblast2 == true then | |
1585 | ||
1586 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4) --LeftUpperArm | |
1587 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(90),rad(80)),.4)--RightUpperArm | |
1588 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm | |
1589 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
1590 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
1591 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1592 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
1593 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1594 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
1595 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
1596 | ||
1597 | end | |
1598 | Frame_3.Size = UDim2.new(0, ki*2.29, 0, 10) | |
1599 | if kicharging == true and ki < 100 then | |
1600 | ki = ki + 0.5 | |
1601 | end | |
1602 | if hum.MoveDirection.x > 0 and walk == true and walk1 == true and walk11 == true and great == true or hum.MoveDirection.x < 0 and walk == true and walk1 == true and walk11 == true and great == true then | |
1603 | walk11 = false | |
1604 | ||
1605 | GiantStep:Play() | |
1606 | GroundShake = true | |
1607 | wait(0.3) | |
1608 | GiantStep:Stop() | |
1609 | GroundShake = false | |
1610 | walk11 = true | |
1611 | end | |
1612 | end | |
1613 | function RenderStepped() | |
1614 | ||
1615 | if hum.MoveDirection.x == 0 and idle == true and fuse == false and potara == false then | |
1616 | ||
1617 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(-30)),0.1) --LeftUpperArm | |
1618 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(5),rad(0),rad(10)),0.1)--RightUpperArm | |
1619 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),0.1)--LeftLowerArm | |
1620 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),0.1)--RightLowerArm | |
1621 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),0.1)--LeftUpperLeg | |
1622 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1623 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1624 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1625 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-50),rad(0)),0.1)--Torso | |
1626 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),0.1)--Head | |
1627 | end | |
1628 | ||
1629 | if hum.MoveDirection.x > 0 and walk == true and walk1 == true and fuse == false and potara == false or hum.MoveDirection.x < 0 and walk == true and walk1 == true and fuse == false and potara == false then | |
1630 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
1631 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
1632 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
1633 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
1634 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
1635 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1636 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1637 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1638 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
1639 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
1640 | end | |
1641 | ||
1642 | if hum.Jump == true and canjump == true then | |
1643 | idle = false | |
1644 | walk = false | |
1645 | ||
1646 | ||
1647 | -- return to idle if finishing an emote | |
1648 | if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then | |
1649 | oldAnim = "idle" | |
1650 | end | |
1651 | ||
1652 | currentAnim = "" | |
1653 | currentAnimInstance = nil | |
1654 | if (currentAnimKeyframeHandler ~= nil) then | |
1655 | currentAnimKeyframeHandler:disconnect() | |
1656 | end | |
1657 | ||
1658 | if (currentAnimTrack ~= nil) then | |
1659 | currentAnimTrack:Stop() | |
1660 | currentAnimTrack:Destroy() | |
1661 | currentAnimTrack = nil | |
1662 | end | |
1663 | ||
1664 | -- clean up walk if there is one | |
1665 | if (runAnimKeyframeHandler ~= nil) then | |
1666 | runAnimKeyframeHandler:disconnect() | |
1667 | end | |
1668 | ||
1669 | if (runAnimTrack ~= nil) then | |
1670 | runAnimTrack:Stop() | |
1671 | runAnimTrack:Destroy() | |
1672 | runAnimTrack = nil | |
1673 | end | |
1674 | ||
1675 | ||
1676 | jumped = true | |
1677 | ||
1678 | for i=1,30 do | |
1679 | wait() | |
1680 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-80)),0.05) --LeftUpperArm | |
1681 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(80)),0.05)--RightUpperArm | |
1682 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
1683 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
1684 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),0.1)--LeftUpperLeg | |
1685 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),0.1)--RightUpperLeg | |
1686 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1687 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),0.1)--RightUpperLeg | |
1688 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
1689 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-5),rad(0),rad(0)),0.1)--Head | |
1690 | end | |
1691 | jumped = false | |
1692 | idle = true | |
1693 | walk = true | |
1694 | end | |
1695 | if kamehameha1 == true then | |
1696 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.03) --LeftUpperArm | |
1697 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(70),rad(80),rad(0)),.03)--RightUpperArm | |
1698 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
1699 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
1700 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg | |
1701 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg | |
1702 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1703 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg | |
1704 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.03)--Torso | |
1705 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.03)--Head | |
1706 | ||
1707 | end | |
1708 | if kamehameha6 == true then | |
1709 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.1) --LeftUpperArm | |
1710 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(70),rad(80),rad(0)),.1)--RightUpperArm | |
1711 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
1712 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
1713 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg | |
1714 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg | |
1715 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1716 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg | |
1717 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.1)--Torso | |
1718 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.1)--Head | |
1719 | ||
1720 | end | |
1721 | if kamehameha5 == true then | |
1722 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.1) --LeftUpperArm | |
1723 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(70),rad(80),rad(0)),.1)--RightUpperArm | |
1724 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
1725 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
1726 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg | |
1727 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg | |
1728 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1729 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg | |
1730 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.1)--Torso | |
1731 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.1)--Head | |
1732 | ||
1733 | end | |
1734 | if kamehameha2 == true then | |
1735 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(40)),.1) --LeftUpperArm | |
1736 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(30),rad(0),rad(-40)),.1)--RightUpperArm | |
1737 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
1738 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(30),rad(30),rad(20)),.1)--RightLowerArm | |
1739 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftUpperLeg | |
1740 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg | |
1741 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1742 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightLowerLeg | |
1743 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
1744 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1745 | end | |
1746 | ||
1747 | if beam2 == true then | |
1748 | ||
1749 | a1.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0) + v3(0,1,0) + RootPart.CFrame.lookVector * beamgo | |
1750 | a2.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * 8 | |
1751 | a3.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo * 2 | |
1752 | end | |
1753 | ||
1754 | ||
1755 | ||
1756 | if transform1 == true then | |
1757 | ||
1758 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(150),rad(-110),rad(0)),.1) --LeftUpperArm | |
1759 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(150),rad(110),rad(0)),.1)--RightUpperArm | |
1760 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftLowerArm | |
1761 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--RightLowerArm | |
1762 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.1)--LeftUpperLeg | |
1763 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(10)),.1)--RightUpperLeg | |
1764 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1765 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
1766 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
1767 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1768 | ||
1769 | ||
1770 | end | |
1771 | if rock == true then | |
1772 | wait(math.random(0.1,0.5)) | |
1773 | ay = new("Part",char) | |
1774 | ay.Name = "NewPart2" | |
1775 | ay.Size = v3(0.3,0.3,0.3) | |
1776 | ay.CanCollide = false | |
1777 | for i,v in pairs(workspace:GetChildren()) do | |
1778 | if v:IsA("Part") then | |
1779 | if v.Size.x > 150 then | |
1780 | ||
1781 | ||
1782 | ay.BrickColor = v.BrickColor | |
1783 | ay.Material = v.Material | |
1784 | ay.Transparency = v.Transparency | |
1785 | end | |
1786 | end | |
1787 | end | |
1788 | ay.Position = v3(999,999,999) | |
1789 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-2,RootPart.Position.z+math.random(-15,15)) | |
1790 | ys = Instance.new("BodyVelocity",ay) | |
1791 | ys.Name = "GO" | |
1792 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1793 | ||
1794 | ys.Velocity = v3(0,6,0) | |
1795 | game.Debris:AddItem(ay,math.random(3,4)) | |
1796 | end | |
1797 | ||
1798 | if transform2 == true then | |
1799 | ||
1800 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.1) --LeftUpperArm | |
1801 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.1)--RightUpperArm | |
1802 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--LeftLowerArm | |
1803 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--RightLowerArm | |
1804 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.1)--LeftUpperLeg | |
1805 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(10)),.1)--RightUpperLeg | |
1806 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1807 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1808 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
1809 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
1810 | ||
1811 | ||
1812 | end | |
1813 | if onaura == true then | |
1814 | if ssjg == false then | |
1815 | if ssjb == false then | |
1816 | onaura =false | |
1817 | ||
1818 | wait(0.1) | |
1819 | newaura.Image = "rbxassetid://926705964" | |
1820 | wait(0.1) | |
1821 | newaura.Image = "rbxassetid://926709486" | |
1822 | wait(0.1) | |
1823 | newaura.Image = "rbxassetid://926711720" | |
1824 | wait(0.1) | |
1825 | newaura.Image = "rbxassetid://926712235" | |
1826 | ||
1827 | onaura =true | |
1828 | else | |
1829 | onaura =false | |
1830 | ||
1831 | wait(0.1) | |
1832 | newaura.Image = "http://www.roblox.com/asset/?id=894173257" | |
1833 | wait(0.1) | |
1834 | newaura.Image = "http://www.roblox.com/asset/?id=894173392" | |
1835 | wait(0.1) | |
1836 | newaura.Image = "http://www.roblox.com/asset/?id=890403068" | |
1837 | wait(0.1) | |
1838 | newaura.Image = "http://www.roblox.com/asset/?id=890403512" | |
1839 | onaura =true | |
1840 | end | |
1841 | end | |
1842 | end | |
1843 | ||
1844 | if onaura == true then | |
1845 | if ssjg == true then | |
1846 | onaura =false | |
1847 | wait(0.1) | |
1848 | newaura.Image = "rbxassetid://639676034" | |
1849 | wait(0.1) | |
1850 | newaura.Image = "rbxassetid://639676268" | |
1851 | wait(0.1) | |
1852 | newaura.Image = "rbxassetid://639676527" | |
1853 | wait(0.1) | |
1854 | newaura.Image = "rbxassetid://639676855" | |
1855 | onaura =true | |
1856 | end | |
1857 | end | |
1858 | if auracan3 == true then | |
1859 | auracan3 = false | |
1860 | newaura2.Image = "rbxassetid://276853031" | |
1861 | wait(0.07) | |
1862 | newaura2.Image = "rbxassetid://276853123" | |
1863 | wait(0.07) | |
1864 | newaura2.Image = "rbxassetid://276853057" | |
1865 | wait(0.07) | |
1866 | newaura2.Image = "rbxassetid://276853088" | |
1867 | wait(0.07) | |
1868 | auracan3 = true | |
1869 | end | |
1870 | ||
1871 | auranum = math.random(35,65) | |
1872 | auranum1 = math.random(-25,0) | |
1873 | auranum2 = math.random(10,25) | |
1874 | auranum3 = math.random(65,75) | |
1875 | auranum4 = math.random(-25,-15) | |
1876 | ||
1877 | if transform3 == true then | |
1878 | if ssjb == false then | |
1879 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum1)),.1) --LeftUpperArm | |
1880 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum2)),.1)--RightUpperArm | |
1881 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm | |
1882 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm | |
1883 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(-20)),.1)--LeftUpperLeg | |
1884 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(20)),.1)--RightUpperLeg | |
1885 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--LeftLowerLeg | |
1886 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightUpperLeg | |
1887 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.2,0)*CFrame.Angles(rad(auranum4),rad(0),rad(0)),.1)--Torso | |
1888 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1889 | else | |
1890 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum1)),.1) --LeftUpperArm | |
1891 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum2)),.1)--RightUpperArm | |
1892 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm | |
1893 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm | |
1894 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(-20)),.1)--LeftUpperLeg | |
1895 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(20)),.1)--RightUpperLeg | |
1896 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--LeftLowerLeg | |
1897 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightUpperLeg | |
1898 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.2,0)*CFrame.Angles(rad(auranum4),rad(0),rad(0)),.1)--Torso | |
1899 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1900 | end | |
1901 | end | |
1902 | if transform5 == true then | |
1903 | ||
1904 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(10),rad(0),rad(-10)),.1) --LeftUpperArm | |
1905 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(10),rad(0),rad(10)),.1)--RightUpperArm | |
1906 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
1907 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1908 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftUpperLeg | |
1909 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightUpperLeg | |
1910 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1911 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
1912 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.2,0)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Torso | |
1913 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1914 | ||
1915 | end | |
1916 | if GroundShake == true then | |
1917 | for i,v in pairs(workspace:GetChildren()) do | |
1918 | if v:IsA("Part") then | |
1919 | if v.Size.x > 150 then | |
1920 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-1,1)),rad(math.random(-1,1)),rad(math.random(-1,1))) | |
1921 | end | |
1922 | end | |
1923 | end | |
1924 | ||
1925 | ||
1926 | ||
1927 | ||
1928 | end | |
1929 | if GroundShake2 == true then | |
1930 | ||
1931 | for i,v in pairs(workspace:GetChildren()) do | |
1932 | if v:IsA("Part") then | |
1933 | if v.Size.x > 150 then | |
1934 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-2,2)),rad(math.random(-2,2)),rad(math.random(-2,2))) | |
1935 | end | |
1936 | end | |
1937 | end | |
1938 | ||
1939 | end | |
1940 | end | |
1941 | game:GetService("RunService").RenderStepped:connect(RenderStepped) | |
1942 | game:GetService("RunService").RenderStepped:connect(RenderStepped2) | |
1943 | ||
1944 | local player = game.Players.LocalPlayer | |
1945 | ||
1946 | ||
1947 | ||
1948 | ||
1949 | ||
1950 | ||
1951 | ||
1952 | ||
1953 | ||
1954 | ||
1955 | ||
1956 | ||
1957 | ||
1958 | Hair7 = Instance.new("Part") | |
1959 | Hair7.Parent = char | |
1960 | Hair7.Name = "Hair" | |
1961 | Hair7.CanCollide = false | |
1962 | Hair7.Locked = true | |
1963 | Hair7.TopSurface = "Smooth" | |
1964 | Hair7.BottomSurface = "Smooth" | |
1965 | Hair7.formFactor = "Symmetric" | |
1966 | Hair7.Material = "Neon" | |
1967 | Hair7.BrickColor = BrickColor.new("Really black") | |
1968 | Hair7.CFrame = LowerTorso.CFrame | |
1969 | Hair7.Size = Vector3.new(1, 1, 1) | |
1970 | Hair7.Transparency = 0 | |
1971 | ||
1972 | ||
1973 | ||
1974 | Weld = Instance.new("Weld") | |
1975 | Weld.Parent = Head | |
1976 | Weld.Part0 = Head | |
1977 | Weld.Part1 = Hair7 | |
1978 | ||
1979 | Weld.C0 = CFrame.new(-0.3, 1.2, -0.32) | |
1980 | ||
1981 | Mesh = Instance.new("SpecialMesh") | |
1982 | Mesh.Offset = Vector3.new(0.2, -0.2, 0.2) | |
1983 | Mesh.Parent = Hair7 | |
1984 | ||
1985 | Mesh.Scale = Vector3.new(6.8,6.8,6.8) | |
1986 | Mesh.MeshType = "FileMesh" | |
1987 | ||
1988 | Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712" | |
1989 | ||
1990 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=104438231" | |
1991 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=104439596" | |
1992 | ||
1993 | function kamehameha() | |
1994 | beamgo = 6 | |
1995 | beamgo1 = 1 | |
1996 | enabled = true | |
1997 | sizeup = -25 | |
1998 | ||
1999 | kamefire.Volume = 5 | |
2000 | ||
2001 | wait(0.2) | |
2002 | RootPart.Anchored = true | |
2003 | kamecharge:Stop() | |
2004 | ||
2005 | ||
2006 | a1 = new("Part",char) | |
2007 | a1.Name = "Beam" | |
2008 | a1.Anchored = true | |
2009 | a1.Size = v3(6,6,6) | |
2010 | a1.CanCollide = false | |
2011 | a1.Locked = true | |
2012 | a1.Position = v3(999,999,999) | |
2013 | a1.BrickColor = bc("Cyan") | |
2014 | a1.Material = "Neon" | |
2015 | a1.Transparency = 0 | |
2016 | aa1 = new("SpecialMesh",a1) | |
2017 | if fuse == false then | |
2018 | aa1.MeshType = "Cylinder" | |
2019 | if potara == false then | |
2020 | aa1.MeshType = "Cylinder" | |
2021 | else | |
2022 | aa1.MeshType = "Sphere" | |
2023 | end | |
2024 | else | |
2025 | aa1.MeshType = "Sphere" | |
2026 | end | |
2027 | ||
2028 | aa1.Scale = v3(1,1,1) | |
2029 | ||
2030 | a2 = new("Part",char) | |
2031 | a2.Name = "Beam" | |
2032 | a2.Anchored = true | |
2033 | a2.Locked = true | |
2034 | ||
2035 | a2.Size = v3(0.1,0.1,0.1) | |
2036 | a2.CanCollide = false | |
2037 | a2.Position = v3(999,999,999) | |
2038 | a2.BrickColor = bc("Cyan") | |
2039 | a2.Material = "Neon" | |
2040 | if fuse == false then | |
2041 | if potara == false then | |
2042 | a2.Transparency = 0 | |
2043 | else | |
2044 | a2.Transparency = 1 | |
2045 | end | |
2046 | else | |
2047 | ||
2048 | a2.Transparency = 1 | |
2049 | end | |
2050 | aa2 = new("SpecialMesh",a2) | |
2051 | aa2.MeshType = "Sphere" | |
2052 | aa2.Scale = v3(150,100,100) | |
2053 | a3 = new("Part",char) | |
2054 | a3.Name = "Beam" | |
2055 | a3.Locked = true | |
2056 | a3.Anchored = true | |
2057 | a3.Size = v3(0.1,0.1,0.1) | |
2058 | a3.CanCollide = false | |
2059 | a3.Position = v3(999,999,999) | |
2060 | a3.BrickColor = bc("Cyan") | |
2061 | a3.Material = "Neon" | |
2062 | if fuse == false then | |
2063 | if potara == false then | |
2064 | a3.Transparency = 0 | |
2065 | else | |
2066 | a3.Transparency = 1 | |
2067 | end | |
2068 | else | |
2069 | ||
2070 | a3.Transparency = 1 | |
2071 | end | |
2072 | aa3 = new("SpecialMesh",a3) | |
2073 | aa3.MeshType = "Sphere" | |
2074 | aa3.Scale = v3(200,100,100) | |
2075 | if ssj4 == true and fuse == false then | |
2076 | a1.BrickColor = bc("Really red") | |
2077 | a2.BrickColor = bc("Really red") | |
2078 | a3.BrickColor = bc("Really red") | |
2079 | end | |
2080 | kamecharge:Stop() | |
2081 | kamefire:Play() | |
2082 | ||
2083 | GroundWave1() | |
2084 | startk = false | |
2085 | ringfolder = Instance.new("Model",char) | |
2086 | ||
2087 | ||
2088 | --Damages | |
2089 | ----------------------------------------------------------------------------------------- | |
2090 | a1.Touched:connect(function(hit) | |
2091 | ||
2092 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil then | |
2093 | ||
2094 | ||
2095 | ||
2096 | if hit.Parent:IsA("Model") then | |
2097 | hit.Parent:BreakJoints() | |
2098 | end | |
2099 | hit:Destroy() | |
2100 | if enabled == true then | |
2101 | enabled = false | |
2102 | num = num + 1 | |
2103 | kamehit:Play() | |
2104 | a21 = new("Part",char) | |
2105 | a21.Name = "Beam"..num | |
2106 | a21.Locked = true | |
2107 | a21.Size = v3(1,1,1) | |
2108 | a21.CanCollide = false | |
2109 | a21.Position = v3(999,999,999) | |
2110 | a21.BrickColor = bc("Cyan") | |
2111 | a21.Material = "Neon" | |
2112 | a21.Transparency = 0 | |
2113 | aa21 = new("SpecialMesh",a21) | |
2114 | a21.Anchored = true | |
2115 | a21.Position = hit.Position | |
2116 | aa21.MeshType = "Sphere" | |
2117 | aa21.Scale = v3(1,1,1) | |
2118 | GroundWave2() | |
2119 | GroundWave3() | |
2120 | GroundWave4() | |
2121 | for i = 1,50 do | |
2122 | wait() | |
2123 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5) | |
2124 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
2125 | end | |
2126 | enabled = true | |
2127 | char["Beam"..num]:Destroy() | |
2128 | end | |
2129 | ||
2130 | end | |
2131 | ||
2132 | end) | |
2133 | ||
2134 | ||
2135 | ||
2136 | ||
2137 | ||
2138 | beam2 = true | |
2139 | beam1 = true | |
2140 | ||
2141 | if potara == true then | |
2142 | for i = 1,20 do | |
2143 | wait(0.1) | |
2144 | sizeup = sizeup-0.7 | |
2145 | ringgo = ringgo + 15 | |
2146 | av = new("Part",ringfolder) | |
2147 | av.Name = "NewRing" | |
2148 | av.Anchored = true | |
2149 | av.Size = v3(0.6,1,1) | |
2150 | av.BrickColor = bc("New Yeller") | |
2151 | av.Material = "Neon" | |
2152 | av.Transparency = 0 | |
2153 | aav = new("SpecialMesh",av) | |
2154 | aav.MeshType = "FileMesh" | |
2155 | aav.Scale = v3(sizeup,30,sizeup) | |
2156 | aav.MeshId = "rbxassetid://991124063" | |
2157 | av.CFrame = RootPart.CFrame * CFrame.Angles(rad(90),rad(0),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * ringgo * math.random(1.1,1.3) | |
2158 | ||
2159 | end | |
2160 | end | |
2161 | if potara == false then | |
2162 | wait(3) | |
2163 | else | |
2164 | wait(0.5) | |
2165 | end | |
2166 | ||
2167 | beam1 = false | |
2168 | ||
2169 | repeat | |
2170 | wait() | |
2171 | ||
2172 | if fuse == false then | |
2173 | if potara == false then | |
2174 | a1.Size = a1.Size - v3(0,0.2,0.2) | |
2175 | else | |
2176 | for i,v in pairs(char.Model:GetChildren()) do | |
2177 | if v:IsA("Part") then | |
2178 | if v.Name == "NewRing" then | |
2179 | v.Mesh.Scale = v.Mesh.Scale + v3(2,2,2) | |
2180 | v.Transparency = v.Transparency + 0.1 | |
2181 | end | |
2182 | end | |
2183 | end | |
2184 | a1.Size = a1.Size - v3(0,2,2) | |
2185 | end | |
2186 | else | |
2187 | a1.Size = a1.Size - v3(0,2,2) | |
2188 | end | |
2189 | aa2.Scale = aa2.Scale - v3(3,3,3) | |
2190 | aa3.Scale = aa3.Scale - v3(3,3,3) | |
2191 | until | |
2192 | a1.Size.y < 0.1 | |
2193 | ||
2194 | ||
2195 | a1:Destroy() | |
2196 | ringfolder:Destroy() | |
2197 | a2:Destroy() | |
2198 | a3:Destroy() | |
2199 | for i = 1,10 do | |
2200 | wait() | |
2201 | ||
2202 | kamefire.Volume = kamefire.Volume - 0.5 | |
2203 | end | |
2204 | kamefire:Stop() | |
2205 | RootPart.Anchored = false | |
2206 | ||
2207 | end | |
2208 | ||
2209 | ||
2210 | lighting = Instance.new("ParticleEmitter", RootPart) | |
2211 | lighting.Size = NumberSequence.new(2.5) | |
2212 | lighting.LightEmission = 1 | |
2213 | lighting.Color = ColorSequence.new(Color3.fromRGB(170,170,255)) | |
2214 | lighting.Texture = "rbxassetid://257173628" | |
2215 | lighting.ZOffset = 2 | |
2216 | lighting.Transparency = ns(1) | |
2217 | lighting.Lifetime = NumberRange.new(0.1) | |
2218 | lighting.Rate = 60 | |
2219 | lighting.Rotation = NumberRange.new(-500,500) | |
2220 | lighting.Speed = NumberRange.new(8) | |
2221 | lighting.SpreadAngle = Vector2.new(500,500) | |
2222 | lighting1 = Instance.new("ParticleEmitter", RootPart) | |
2223 | lighting1.Size = NumberSequence.new(2.5) | |
2224 | lighting1.LightEmission = 1 | |
2225 | lighting1.Transparency = ns(1) | |
2226 | lighting1.Color = ColorSequence.new(Color3.fromRGB(170,170,255)) | |
2227 | lighting1.Texture = "rbxassetid://257173628" | |
2228 | lighting1.ZOffset = 2 | |
2229 | lighting1.Lifetime = NumberRange.new(0.1) | |
2230 | lighting1.Rate = 60 | |
2231 | lighting1.Rotation = NumberRange.new(-500,500) | |
2232 | lighting1.Speed = NumberRange.new(8) | |
2233 | lighting1.SpreadAngle = Vector2.new(500,500) | |
2234 | mouse.KeyDown:connect(function(key) | |
2235 | if fuse == true then | |
2236 | if key == "q" and canattack == true and ki > 99 then | |
2237 | ||
2238 | if canfly == true then | |
2239 | canfly = false | |
2240 | canfly1 = true | |
2241 | end | |
2242 | ki = ki - 100 | |
2243 | canattack = false | |
2244 | idle7 = false | |
2245 | walk = false | |
2246 | canjump = false | |
2247 | hum.WalkSpeed = 0 | |
2248 | aim = true | |
2249 | RootPart.Anchored = true | |
2250 | bigkamehameha1 = true | |
2251 | ||
2252 | wait(1) | |
2253 | KamehamehaVoice4:Play() | |
2254 | bigkamehameha1 = false | |
2255 | bigkamehameha2 = true | |
2256 | ar = new("Part",char) | |
2257 | ar.Name = "NewPart" | |
2258 | ar.Position = v3(999,999,999) | |
2259 | ar.Size = v3(1,1,1) | |
2260 | ar.BrickColor = bc("Cyan") | |
2261 | ar.Material = "Neon" | |
2262 | ar.Transparency = 1 | |
2263 | aar = new("SpecialMesh",ar) | |
2264 | aar.MeshType = "Sphere" | |
2265 | aar.Scale = v3(3,3,4) | |
2266 | ||
2267 | aaar =new("Weld",ar) | |
2268 | aaar.Part0 = LowerTorso | |
2269 | aaar.Part1 = ar | |
2270 | aaar.C0 = cf(0,1,-6) * cfa(rad(0),rad(0),rad(0)) | |
2271 | for i = 1,9 do | |
2272 | wait(0.5) | |
2273 | GroundWave1d() | |
2274 | ar.Transparency = ar.Transparency - 0.1 | |
2275 | end | |
2276 | aim = false | |
2277 | kamehameha() | |
2278 | ||
2279 | if canfly1 == true then | |
2280 | canfly = true | |
2281 | canfly1 = false | |
2282 | end | |
2283 | idle7 = true | |
2284 | hum.WalkSpeed = 16 | |
2285 | canattack = true | |
2286 | ar:Destroy() | |
2287 | bigkamehameha2 = false | |
2288 | mouth.Texture = "rbxassetid://932140764" | |
2289 | RootPart.Anchored = false | |
2290 | end | |
2291 | ||
2292 | ||
2293 | end | |
2294 | if potara == true then | |
2295 | if key == "q" and canattack == true and ki > 99 then | |
2296 | kamefire.TimePosition = 0.5 | |
2297 | if canfly == true then | |
2298 | canfly = false | |
2299 | canfly1 = true | |
2300 | end | |
2301 | ki = ki - 100 | |
2302 | ringgo = 18 | |
2303 | sizeup = 35 | |
2304 | canattack = false | |
2305 | idle7 = false | |
2306 | walk = false | |
2307 | canjump = false | |
2308 | hum.WalkSpeed = 0 | |
2309 | aim = true | |
2310 | RootPart.Anchored = true | |
2311 | KamehamehaVoice6:Play() | |
2312 | final1 = true | |
2313 | ||
2314 | wait(0.5) | |
2315 | startk = true | |
2316 | final1 = false | |
2317 | final2 = true | |
2318 | wait(1) | |
2319 | final2 = false | |
2320 | kamehameha1 = true | |
2321 | wait(2.3) | |
2322 | kamehameha1 = false | |
2323 | kamehameha2 = true | |
2324 | KamehamehaVoice6:Stop() | |
2325 | ||
2326 | aim = false | |
2327 | kamehameha() | |
2328 | ||
2329 | if canfly1 == true then | |
2330 | canfly = true | |
2331 | canfly1 = false | |
2332 | end | |
2333 | idle7 = true | |
2334 | hum.WalkSpeed = 16 | |
2335 | canattack = true | |
2336 | ||
2337 | kamehameha2 = false | |
2338 | mouth.Texture = "rbxassetid://932140764" | |
2339 | RootPart.Anchored = false | |
2340 | end | |
2341 | ||
2342 | ||
2343 | end | |
2344 | if ssjg == false and ssj3 == false and ssjbkaiox10 == false and fuse == false then | |
2345 | if key == "q" and canattack == true and ki > 39 then | |
2346 | ||
2347 | if canfly == true then | |
2348 | canfly = false | |
2349 | canfly1 = true | |
2350 | end | |
2351 | ki = ki - 40 | |
2352 | canattack = false | |
2353 | idle = false | |
2354 | walk = false | |
2355 | canjump = false | |
2356 | hum.WalkSpeed = 0 | |
2357 | aim = true | |
2358 | RootPart.Anchored = true | |
2359 | kamehameha6 = true | |
2360 | ||
2361 | KamehamehaVoice:Play() | |
2362 | startk = true | |
2363 | ||
2364 | mouth.Texture = "rbxassetid://828773176" | |
2365 | ||
2366 | ||
2367 | wait(0.5) | |
2368 | mouth.Texture = "rbxassetid://932140764" | |
2369 | ||
2370 | wait(0.5) | |
2371 | mouth.Texture = "rbxassetid://828773176" | |
2372 | wait(0.5) | |
2373 | mouth.Texture = "rbxassetid://932140764" | |
2374 | ||
2375 | wait(1.7) | |
2376 | ||
2377 | ||
2378 | wait(0.4) | |
2379 | mouth.Texture = "rbxassetid://828773176" | |
2380 | aim = false | |
2381 | ||
2382 | kamehameha6 = false | |
2383 | kamehameha2 = true | |
2384 | kamehameha() | |
2385 | wait(0.8) | |
2386 | KamehamehaVoice.TimePosition = 0 | |
2387 | kamehameha2 = false | |
2388 | if canfly1 == true then | |
2389 | idle = true | |
2390 | walk = true | |
2391 | canjump = true | |
2392 | end | |
2393 | if canfly1 == true then | |
2394 | canfly = true | |
2395 | canfly1 = false | |
2396 | end | |
2397 | hum.WalkSpeed = 16 | |
2398 | canattack = true | |
2399 | mouth.Texture = "rbxassetid://932140764" | |
2400 | RootPart.Anchored = false | |
2401 | end | |
2402 | ||
2403 | ||
2404 | end | |
2405 | if ssj3 == true then | |
2406 | if key == "q" and canattack == true and ki > 79 then | |
2407 | if canfly == true then | |
2408 | canfly = false | |
2409 | canfly1 = true | |
2410 | end | |
2411 | ki = ki - 80 | |
2412 | ssj3music:Stop() | |
2413 | Lightning.Volume = 0.1 | |
2414 | canattack = false | |
2415 | idle = false | |
2416 | walk = false | |
2417 | canjump = false | |
2418 | hum.WalkSpeed = 0 | |
2419 | aim = true | |
2420 | RootPart.Anchored = true | |
2421 | kamehameha1 = true | |
2422 | wait(0.5) | |
2423 | KamehamehaVoice2:Play() | |
2424 | ||
2425 | ||
2426 | mouth.Texture = "rbxassetid://828773176" | |
2427 | ||
2428 | ||
2429 | wait(0.5) | |
2430 | mouth.Texture = "rbxassetid://932140764" | |
2431 | ||
2432 | wait(0.5) | |
2433 | mouth.Texture = "rbxassetid://828773176" | |
2434 | wait(0.5) | |
2435 | mouth.Texture = "rbxassetid://932140764" | |
2436 | wait(2) | |
2437 | startk = true | |
2438 | kamecharge:Play() | |
2439 | mouth.Texture = "rbxassetid://828773176" | |
2440 | ||
2441 | ||
2442 | wait(5) | |
2443 | mouth.Texture = "rbxassetid://932140764" | |
2444 | ||
2445 | wait(0.5) | |
2446 | mouth.Texture = "rbxassetid://828773176" | |
2447 | wait(0.5) | |
2448 | mouth.Texture = "rbxassetid://932140764" | |
2449 | KamehamehaVoice:Pause() | |
2450 | wait(2) | |
2451 | KamehamehaVoice.TimePosition = 3.5 | |
2452 | KamehamehaVoice:Play() | |
2453 | ||
2454 | wait(0.4) | |
2455 | mouth.Texture = "rbxassetid://828773176" | |
2456 | aim = false | |
2457 | ||
2458 | kamehameha1 = false | |
2459 | kamehameha2 = true | |
2460 | kamehameha() | |
2461 | wait(0.8) | |
2462 | KamehamehaVoice.TimePosition = 0 | |
2463 | kamehameha2 = false | |
2464 | if canfly1 == true then | |
2465 | idle = true | |
2466 | walk = true | |
2467 | canjump = true | |
2468 | end | |
2469 | if canfly1 == true then | |
2470 | canfly = true | |
2471 | canfly1 = false | |
2472 | end | |
2473 | hum.WalkSpeed = 16 | |
2474 | canattack = true | |
2475 | ssj3music:Play() | |
2476 | mouth.Texture = "rbxassetid://932140764" | |
2477 | RootPart.Anchored = false | |
2478 | end | |
2479 | ||
2480 | ||
2481 | end | |
2482 | if ssjbkaiox10 == true then | |
2483 | if key == "q" and canattack == true and ki > 99 then | |
2484 | if canfly == true then | |
2485 | canfly = false | |
2486 | canfly1 = true | |
2487 | end | |
2488 | ki = ki- 100 | |
2489 | ||
2490 | canattack = false | |
2491 | idle = false | |
2492 | walk = false | |
2493 | canjump = false | |
2494 | hum.WalkSpeed = 0 | |
2495 | aim = true | |
2496 | RootPart.Anchored = true | |
2497 | kamehameha6 = true | |
2498 | wait(0.5) | |
2499 | KamehamehaVoice3:Play() | |
2500 | ||
2501 | ||
2502 | mouth.Texture = "rbxassetid://828773176" | |
2503 | ||
2504 | ||
2505 | wait(0.5) | |
2506 | mouth.Texture = "rbxassetid://932140764" | |
2507 | ||
2508 | wait(0.5) | |
2509 | mouth.Texture = "rbxassetid://828773176" | |
2510 | wait(0.5) | |
2511 | mouth.Texture = "rbxassetid://932140764" | |
2512 | wait(0.1) | |
2513 | startk = true | |
2514 | kamecharge:Play() | |
2515 | mouth.Texture = "rbxassetid://828773176" | |
2516 | ||
2517 | ||
2518 | wait(3.5) | |
2519 | mouth.Texture = "rbxassetid://932140764" | |
2520 | ||
2521 | wait(0.5) | |
2522 | mouth.Texture = "rbxassetid://828773176" | |
2523 | wait(0.5) | |
2524 | mouth.Texture = "rbxassetid://932140764" | |
2525 | KamehamehaVoice:Pause() | |
2526 | wait(2) | |
2527 | KamehamehaVoice.TimePosition = 3.5 | |
2528 | KamehamehaVoice:Play() | |
2529 | ||
2530 | wait(0.4) | |
2531 | mouth.Texture = "rbxassetid://828773176" | |
2532 | aim = false | |
2533 | ||
2534 | kamehameha6 = false | |
2535 | kamehameha2 = true | |
2536 | GroundShake = true | |
2537 | kamehameha() | |
2538 | GroundShake = false | |
2539 | wait(0.8) | |
2540 | KamehamehaVoice.TimePosition = 0 | |
2541 | kamehameha2 = false | |
2542 | if canfly1 == true then | |
2543 | idle = true | |
2544 | walk = true | |
2545 | canjump = true | |
2546 | end | |
2547 | if canfly1 == true then | |
2548 | canfly = true | |
2549 | canfly1 = false | |
2550 | end | |
2551 | hum.WalkSpeed = 16 | |
2552 | canattack = true | |
2553 | ssj3music:Play() | |
2554 | mouth.Texture = "rbxassetid://932140764" | |
2555 | RootPart.Anchored = false | |
2556 | end | |
2557 | ||
2558 | ||
2559 | end | |
2560 | if ssjg == true then | |
2561 | if key == "q" and canattack == true and ki > 99 then | |
2562 | if canfly == true then | |
2563 | canfly = false | |
2564 | canfly1 = true | |
2565 | end | |
2566 | ki = ki - 100 | |
2567 | ssjgmusic:Stop() | |
2568 | canattack = false | |
2569 | idle = false | |
2570 | walk = false | |
2571 | canjump = false | |
2572 | hum.WalkSpeed = 0 | |
2573 | aim = true | |
2574 | RootPart.Anchored = true | |
2575 | kamehameha1 = true | |
2576 | wait(0.5) | |
2577 | KamehamehaVoice1:Play() | |
2578 | ||
2579 | ||
2580 | mouth.Texture = "rbxassetid://828773176" | |
2581 | ||
2582 | ||
2583 | wait(0.1) | |
2584 | mouth.Texture = "rbxassetid://932140764" | |
2585 | ||
2586 | wait(0.5) | |
2587 | mouth.Texture = "rbxassetid://828773176" | |
2588 | wait(0.7) | |
2589 | mouth.Texture = "rbxassetid://932140764" | |
2590 | wait(0.3) | |
2591 | startk = true | |
2592 | ||
2593 | mouth.Texture = "rbxassetid://828773176" | |
2594 | ||
2595 | ||
2596 | wait(18.5) | |
2597 | mouth.Texture = "rbxassetid://932140764" | |
2598 | ||
2599 | wait(0.5) | |
2600 | mouth.Texture = "rbxassetid://828773176" | |
2601 | wait(0.5) | |
2602 | mouth.Texture = "rbxassetid://932140764" | |
2603 | ||
2604 | ||
2605 | wait(0.4) | |
2606 | mouth.Texture = "rbxassetid://828773176" | |
2607 | aim = false | |
2608 | ||
2609 | kamehameha1 = false | |
2610 | kamehameha2 = true | |
2611 | GroundShake = true | |
2612 | kamehameha() | |
2613 | GroundShake = false | |
2614 | wait(0.8) | |
2615 | KamehamehaVoice.TimePosition = 0 | |
2616 | kamehameha2 = false | |
2617 | if canfly1 == true then | |
2618 | idle = true | |
2619 | walk = true | |
2620 | canjump = true | |
2621 | end | |
2622 | if canfly1 == true then | |
2623 | canfly = true | |
2624 | canfly1 = false | |
2625 | end | |
2626 | hum.WalkSpeed = 16 | |
2627 | canattack = true | |
2628 | mouth.Texture = "rbxassetid://932140764" | |
2629 | RootPart.Anchored = false | |
2630 | end | |
2631 | ||
2632 | end | |
2633 | ||
2634 | end) | |
2635 | ----------------------------------------------------------------------------------------------------------------------------------- | |
2636 | ||
2637 | ad = new("Part",char) | |
2638 | ad.Name = "NewPart" | |
2639 | ad.Size = v3(10,0.1,10) | |
2640 | ad.CanCollide = false | |
2641 | ad.Anchored = true | |
2642 | ad.Position = RootPart.Position - v3(0,3,0) | |
2643 | ad.BrickColor = bc("bright Blue") | |
2644 | ad.Material = "Neon" | |
2645 | ad.Transparency = 1 | |
2646 | aad = new("Decal",ad) | |
2647 | aad.Texture = "rbxassetid://110711859" | |
2648 | aad.Face = "Top" | |
2649 | aad.Transparency = 1 | |
2650 | ||
2651 | mouse.KeyDown:connect(function(key) | |
2652 | if key == "t" then | |
2653 | if ssj1 == false then | |
2654 | if canattack == true then | |
2655 | canattack = false | |
2656 | if canfly == true then | |
2657 | canfly = false | |
2658 | canfly1 = true | |
2659 | end | |
2660 | RootPart.Anchored = true | |
2661 | ||
2662 | idle = false | |
2663 | walk = false | |
2664 | canjump = false | |
2665 | ssj1 = true | |
2666 | ssj2 = false | |
2667 | ssj3 = false | |
2668 | ssjmusic:Play() | |
2669 | ||
2670 | ------------------------------------------------ | |
2671 | transform1 = true | |
2672 | ||
2673 | wait(0.8) | |
2674 | ||
2675 | if potara == false then | |
2676 | Hair7.Color = Color3.fromRGB(255,246,123) | |
2677 | Mesh.MeshId = "rbxassetid://430344159" | |
2678 | Mesh.Scale = v3(6.3,6.3,6.3) | |
2679 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=976088530" | |
2680 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
2681 | else | |
2682 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=976088530" | |
2683 | Hair7.Color = Color3.fromRGB(255,246,123) | |
2684 | Mesh.MeshId = "rbxassetid://560152258" | |
2685 | Mesh.Scale = Vector3.new(6.9,6.9,6.9) | |
2686 | Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0) | |
2687 | end | |
2688 | ||
2689 | ||
2690 | ||
2691 | a21e = new("Part",char) | |
2692 | a21e.Name = "Beam"..num | |
2693 | a21e.Locked = true | |
2694 | a21e.Size = v3(1,1,1) | |
2695 | a21e.CanCollide = false | |
2696 | a21e.Position = v3(999,999,999) | |
2697 | a21e.BrickColor = bc("New Yeller") | |
2698 | a21e.Material = "Neon" | |
2699 | a21e.Transparency = 0 | |
2700 | aa21e = new("SpecialMesh",a21e) | |
2701 | a21e.Anchored = true | |
2702 | a21e.Position = RootPart.Position | |
2703 | aa21e.MeshType = "Sphere" | |
2704 | aa21e.Scale = v3(1,1,1) | |
2705 | ||
2706 | transform1 = false | |
2707 | transform2 = true | |
2708 | ssjauraburst:Play() | |
2709 | GroundWave5() | |
2710 | GroundWave6() | |
2711 | GroundWave7() | |
2712 | GroundWave8() | |
2713 | GroundWave9() | |
2714 | GroundWave10() | |
2715 | ad.Position = RootPart.Position - v3(0,3,0) | |
2716 | aad.Transparency = 0 | |
2717 | ||
2718 | ||
2719 | ||
2720 | newaura.ImageTransparency = 0 | |
2721 | ssjaura:Play() | |
2722 | for i = 1,25 do | |
2723 | wait() | |
2724 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
2725 | a21e.Transparency = a21e.Transparency + 0.04 | |
2726 | end | |
2727 | wait(0.1) | |
2728 | ||
2729 | transform2 = false | |
2730 | ||
2731 | ||
2732 | ||
2733 | ||
2734 | ------------------------------------------------- | |
2735 | canattack = true | |
2736 | RootPart.Anchored = false | |
2737 | if canfly1 == true then | |
2738 | ||
2739 | idle = true | |
2740 | walk = true | |
2741 | canjump = true | |
2742 | end | |
2743 | if canfly1 == true then | |
2744 | canfly = true | |
2745 | end | |
2746 | for i = 1,20 do | |
2747 | wait() | |
2748 | aad.Transparency = aad.Transparency + 0.05 | |
2749 | end | |
2750 | end | |
2751 | else | |
2752 | if fuse == false or potara == false then | |
2753 | if ssj1 == true then | |
2754 | if canattack == true then | |
2755 | canattack = false | |
2756 | if canfly == true then | |
2757 | canfly = false | |
2758 | canfly1 = true | |
2759 | end | |
2760 | RootPart.Anchored = true | |
2761 | idle = false | |
2762 | ssj2 = true | |
2763 | walk = false | |
2764 | canjump = false | |
2765 | ssj1 = true | |
2766 | ssjmusic:Stop() | |
2767 | ssj2music:Play() | |
2768 | g1q = Instance.new("Part",char) | |
2769 | g1q.Name = "Smoke" | |
2770 | g1q.CanCollide = false | |
2771 | g1q.Position = RootPart.Position - v3(-8,3,0) | |
2772 | g1q.Size = v3(0.1,0.1,0.1) | |
2773 | g1q.Anchored = true | |
2774 | g1a = Instance.new("Part",char) | |
2775 | g1a.Name = "Smoke" | |
2776 | g1a.CanCollide = false | |
2777 | g1a.Position = RootPart.Position + v3(8,80,0) | |
2778 | g1a.Size = v3(0.1,0.1,0.1) | |
2779 | g1a.Anchored = true | |
2780 | g1q1 = Instance.new("Part",char) | |
2781 | g1q1.Name = "Smoke" | |
2782 | g1q1.CanCollide = false | |
2783 | g1q1.Position = RootPart.Position - v3(-5,3,7) | |
2784 | g1q1.Size = v3(0.1,0.1,0.1) | |
2785 | g1q1.Anchored = true | |
2786 | g1a1 = Instance.new("Part",char) | |
2787 | g1a1.Name = "Smoke" | |
2788 | g1a1.CanCollide = false | |
2789 | g1a1.Position = RootPart.Position + v3(5,80,-7) | |
2790 | g1a1.Size = v3(0.1,0.1,0.1) | |
2791 | g1a1.Anchored = true | |
2792 | g1q2 = Instance.new("Part",char) | |
2793 | g1q2.Name = "Smoke" | |
2794 | g1q2.CanCollide = false | |
2795 | g1q2.Position = RootPart.Position - v3(12,3,-6) | |
2796 | g1q2.Size = v3(0.1,0.1,0.1) | |
2797 | g1q2.Anchored = true | |
2798 | g1a2 = Instance.new("Part",char) | |
2799 | g1a2.Name = "Smoke" | |
2800 | g1a2.CanCollide = false | |
2801 | g1a2.Position = RootPart.Position + v3(-12,80,6) | |
2802 | g1a2.Size = v3(0.1,0.1,0.1) | |
2803 | g1a2.Anchored = true | |
2804 | ------------------------------------------------ | |
2805 | transform3 = true | |
2806 | screaming1:Play() | |
2807 | mouth.Texture = "rbxassetid://828773176" | |
2808 | wait(1) | |
2809 | lighting1.Transparency = ns(0) | |
2810 | ssj2aura:Play() | |
2811 | transform3 = false | |
2812 | transform1 = true | |
2813 | wait(0.8) | |
2814 | GroundShake = true | |
2815 | ||
2816 | char.Head.face.Texture= "rbxassetid://765493484" | |
2817 | Mesh.MeshId = "rbxassetid://560718478" | |
2818 | Mesh.Scale = v3(6.3,6.3,6.3) | |
2819 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
2820 | Hair7.Color = Color3.fromRGB(255,227,10) | |
2821 | ||
2822 | a21e = new("Part",char) | |
2823 | a21e.Name = "Beam"..num | |
2824 | a21e.Locked = true | |
2825 | a21e.Size = v3(1,1,1) | |
2826 | a21e.CanCollide = false | |
2827 | a21e.Position = v3(999,999,999) | |
2828 | a21e.BrickColor = bc("New Yeller") | |
2829 | a21e.Material = "Neon" | |
2830 | a21e.Transparency = 0 | |
2831 | aa21e = new("SpecialMesh",a21e) | |
2832 | a21e.Anchored = true | |
2833 | a21e.Position = RootPart.Position | |
2834 | aa21e.MeshType = "Sphere" | |
2835 | aa21e.Scale = v3(1,1,1) | |
2836 | ||
2837 | transform1 = false | |
2838 | transform4 = true | |
2839 | ssjauraburst:Play() | |
2840 | GroundWave5() | |
2841 | GroundWave6() | |
2842 | GroundWave7() | |
2843 | GroundWave8() | |
2844 | GroundWave9() | |
2845 | GroundWave10() | |
2846 | ad.Position = RootPart.Position - v3(0,3,0) | |
2847 | aad.Transparency = 0 | |
2848 | ||
2849 | ||
2850 | ||
2851 | newaura.ImageTransparency = 0 | |
2852 | ||
2853 | for i = 1,25 do | |
2854 | wait() | |
2855 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
2856 | a21e.Transparency = a21e.Transparency + 0.04 | |
2857 | end | |
2858 | ||
2859 | ||
2860 | wait() | |
2861 | GroundShake = false | |
2862 | for i,v in pairs(workspace:GetChildren()) do | |
2863 | if v:IsA("Part") then | |
2864 | if v.Size.x > 150 then | |
2865 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
2866 | end | |
2867 | end | |
2868 | end | |
2869 | ||
2870 | ||
2871 | wait(0.9) | |
2872 | transform4 = false | |
2873 | mouth.Texture = "rbxassetid://932140764" | |
2874 | ||
2875 | ||
2876 | ||
2877 | ------------------------------------------------- | |
2878 | canattack = true | |
2879 | RootPart.Anchored = false | |
2880 | if canfly1 == true then | |
2881 | idle = true | |
2882 | walk = true | |
2883 | canjump = true | |
2884 | end | |
2885 | if canfly1 == true then | |
2886 | canfly = true | |
2887 | canfly1 = false | |
2888 | end | |
2889 | RootPart.Anchored = false | |
2890 | ssj1 = false | |
2891 | for i = 1,20 do | |
2892 | wait() | |
2893 | aad.Transparency = aad.Transparency + 0.05 | |
2894 | end | |
2895 | end | |
2896 | end | |
2897 | end | |
2898 | end | |
2899 | end | |
2900 | end) | |
2901 | ||
2902 | ||
2903 | ||
2904 | ||
2905 | ||
2906 | ||
2907 | ||
2908 | ||
2909 | ||
2910 | ||
2911 | ||
2912 | ||
2913 | ||
2914 | ||
2915 | ||
2916 | mouse.KeyDown:connect(function(key) | |
2917 | ||
2918 | if key == "t" then | |
2919 | if fuse == false or potara == false then | |
2920 | if ssj2 == true then | |
2921 | if canattack == true then | |
2922 | canattack = false | |
2923 | if canfly == true then | |
2924 | canfly = false | |
2925 | canfly1 = true | |
2926 | end | |
2927 | idle = false | |
2928 | ssj2 = false | |
2929 | ssj1 = false | |
2930 | ssj3 = true | |
2931 | ssjb = false | |
2932 | ssjg = false | |
2933 | ssjbkaio = false | |
2934 | ssjbkaiox10 = false | |
2935 | ||
2936 | RootPart.Anchored = true | |
2937 | walk = false | |
2938 | canjump = false | |
2939 | ssj1 = true | |
2940 | ssj2music:Stop() | |
2941 | ssj3music:Play() | |
2942 | g1q = Instance.new("Part",char) | |
2943 | g1q.Name = "Smoke" | |
2944 | g1q.CanCollide = false | |
2945 | g1q.Position = RootPart.Position - v3(-8,3,0) | |
2946 | g1q.Size = v3(0.1,0.1,0.1) | |
2947 | g1q.Anchored = true | |
2948 | g1a = Instance.new("Part",char) | |
2949 | g1a.Name = "Smoke" | |
2950 | g1a.CanCollide = false | |
2951 | g1a.Position = RootPart.Position + v3(8,80,0) | |
2952 | g1a.Size = v3(0.1,0.1,0.1) | |
2953 | g1a.Anchored = true | |
2954 | g1q1 = Instance.new("Part",char) | |
2955 | g1q1.Name = "Smoke" | |
2956 | g1q1.CanCollide = false | |
2957 | g1q1.Position = RootPart.Position - v3(-5,3,7) | |
2958 | g1q1.Size = v3(0.1,0.1,0.1) | |
2959 | g1q1.Anchored = true | |
2960 | g1a1 = Instance.new("Part",char) | |
2961 | g1a1.Name = "Smoke" | |
2962 | g1a1.CanCollide = false | |
2963 | g1a1.Position = RootPart.Position + v3(5,80,-7) | |
2964 | g1a1.Size = v3(0.1,0.1,0.1) | |
2965 | g1a1.Anchored = true | |
2966 | g1q2 = Instance.new("Part",char) | |
2967 | g1q2.Name = "Smoke" | |
2968 | g1q2.CanCollide = false | |
2969 | g1q2.Position = RootPart.Position - v3(12,3,-6) | |
2970 | g1q2.Size = v3(0.1,0.1,0.1) | |
2971 | g1q2.Anchored = true | |
2972 | g1a2 = Instance.new("Part",char) | |
2973 | g1a2.Name = "Smoke" | |
2974 | g1a2.CanCollide = false | |
2975 | g1a2.Position = RootPart.Position + v3(-12,80,6) | |
2976 | g1a2.Size = v3(0.1,0.1,0.1) | |
2977 | g1a2.Anchored = true | |
2978 | ------------------------------------------------ | |
2979 | ||
2980 | ||
2981 | transform1 = true | |
2982 | ||
2983 | wait(0.6) | |
2984 | ||
2985 | ||
2986 | ||
2987 | KiCharge:Play() | |
2988 | transform1 = false | |
2989 | transform3 = true | |
2990 | ||
2991 | ||
2992 | GroundShake = true | |
2993 | coroutine.wrap(function() | |
2994 | ||
2995 | ||
2996 | repeat wait() | |
2997 | newaurabase.Size = UDim2.new(math.random(20,28),0,math.random(20,28),0) | |
2998 | until GroundShake == false | |
2999 | ||
3000 | KiCharge:Stop() | |
3001 | ||
3002 | end)() | |
3003 | rock = true | |
3004 | ||
3005 | mouth.Texture = "rbxassetid://828773176" | |
3006 | screaming:Play() | |
3007 | coroutine.wrap(function() | |
3008 | for i = 1,5 do | |
3009 | wait(math.random(1,2)) | |
3010 | game.Lighting.Ambient = Color3.new(999,999,999) | |
3011 | ||
3012 | wait(0.0001) | |
3013 | game.Lighting.Ambient = Color3.new(0,0,0) | |
3014 | wait(0.0001) | |
3015 | game.Lighting.Ambient = Color3.new(999,999,999) | |
3016 | wait(0.0001) | |
3017 | Lightning:Play() | |
3018 | block = Instance.new("Part",char) | |
3019 | block.Anchored = true | |
3020 | block.Transparency = 1 | |
3021 | block.Position = RootPart.Position + v3(math.random(-10,10),-1,math.random(-10,10)) | |
3022 | block.CanCollide = false | |
3023 | block2 = Instance.new("Part",char) | |
3024 | block2.Anchored = true | |
3025 | block2.Position = block.Position + v3(0,200,0) | |
3026 | block2.CanCollide = false | |
3027 | block2.Transparency = 1 | |
3028 | ||
3029 | ||
3030 | ||
3031 | ||
3032 | Lightning1(block.Position,block2.Position,0.2,10,workspace) | |
3033 | game.Lighting.Ambient = Color3.new(0,0,0) | |
3034 | end | |
3035 | end)() | |
3036 | ||
3037 | wait(8) | |
3038 | GroundShake2 = true | |
3039 | char.Head.face.Texture= "rbxassetid://897514186" | |
3040 | ||
3041 | lighting.Transparency = ns(0) | |
3042 | KiCharge:Stop() | |
3043 | ||
3044 | ||
3045 | Weld.C0 = CFrame.new(0.3, -1, 1.45) * CFrame.Angles(0,rad(180),0) | |
3046 | Mesh.MeshId = "http://www.roblox.com/asset/?id=431511681" | |
3047 | Mesh.Scale = Vector3.new(0.0055,0.005,0.0055) | |
3048 | ||
3049 | a21e = new("Part",char) | |
3050 | a21e.Name = "Beam"..num | |
3051 | a21e.Locked = true | |
3052 | a21e.Size = v3(1,1,1) | |
3053 | a21e.CanCollide = false | |
3054 | a21e.Position = v3(999,999,999) | |
3055 | a21e.BrickColor = bc("New Yeller") | |
3056 | a21e.Material = "Neon" | |
3057 | a21e.Transparency = 0 | |
3058 | aa21e = new("SpecialMesh",a21e) | |
3059 | a21e.Anchored = true | |
3060 | a21e.Position = RootPart.Position | |
3061 | aa21e.MeshType = "Sphere" | |
3062 | aa21e.Scale = v3(1,1,1) | |
3063 | ||
3064 | ||
3065 | ssjauraburst:Play() | |
3066 | GroundWave5() | |
3067 | GroundWave6() | |
3068 | GroundWave7() | |
3069 | GroundWave8() | |
3070 | GroundWave9() | |
3071 | GroundWave10() | |
3072 | ad.Position = RootPart.Position - v3(0,3,0) | |
3073 | aad.Transparency = 0 | |
3074 | rock = false | |
3075 | rock3 = true | |
3076 | ||
3077 | newaura.ImageTransparency = 0 | |
3078 | ssjaura:Play() | |
3079 | for i = 1,50 do | |
3080 | wait() | |
3081 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3082 | a21e.Transparency = a21e.Transparency + 0.02 | |
3083 | end | |
3084 | GroundShake = false | |
3085 | wait(0.1) | |
3086 | ||
3087 | ||
3088 | ||
3089 | ||
3090 | GroundShake2 = false | |
3091 | for i,v in pairs(workspace:GetChildren()) do | |
3092 | if v:IsA("Part") then | |
3093 | if v.Size.x > 150 then | |
3094 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
3095 | end | |
3096 | end | |
3097 | end | |
3098 | ||
3099 | wait(0.9) | |
3100 | transform3 = false | |
3101 | mouth.Texture = "rbxassetid://932140764" | |
3102 | ||
3103 | ||
3104 | ||
3105 | ------------------------------------------------- | |
3106 | canattack = true | |
3107 | rock3 = false | |
3108 | RootPart.Anchored = false | |
3109 | if canfly1 == true then | |
3110 | idle = true | |
3111 | walk = true | |
3112 | canjump = true | |
3113 | end | |
3114 | if canfly1 == true then | |
3115 | canfly = true | |
3116 | canfly1 = false | |
3117 | end | |
3118 | for i = 1,20 do | |
3119 | wait() | |
3120 | aad.Transparency = aad.Transparency + 0.05 | |
3121 | end | |
3122 | end | |
3123 | end | |
3124 | end | |
3125 | end | |
3126 | end) | |
3127 | ||
3128 | mouse.KeyDown:connect(function(key) | |
3129 | if key == "x" then | |
3130 | if canattack == true then | |
3131 | if ssj1 == true and fuse == false or ssj2 == true and fuse == false and potara == false or ssj3 == true and fuse == false and potara == false or ssjb == true and fuse == false and potara == false or ssjg == true and fuse == false and potara == false or ssj4 == true and fuse == false and potara == false then | |
3132 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=363968007" | |
3133 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=363966829" | |
3134 | if ssj4 == true then | |
3135 | ape5.Transparency = 1 | |
3136 | end | |
3137 | ssj4 = false | |
3138 | fuse = false | |
3139 | idle7 = false | |
3140 | idle = true | |
3141 | mouth.Transparency = 0 | |
3142 | nose.Transparency = 0 | |
3143 | Hair7.BrickColor = BrickColor.new("Really black") | |
3144 | Mesh.Scale = Vector3.new(7.1,7.1,7.1) | |
3145 | Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712" | |
3146 | Weld.C0 = CFrame.new(-0.3, 1.2, -0.32) | |
3147 | newaurabase.Size = UDim2.new(20,0,20,0) | |
3148 | newaura.Position = UDim2.new(-0.5,0,-0.2,0) | |
3149 | newaurabase.AlwaysOnTop = false | |
3150 | newaura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
3151 | newaurabase.ExtentsOffset = Vector3.new(0,0,3) | |
3152 | char.Head.face.Texture= "rbxassetid://765423946" | |
3153 | ||
3154 | lighting.Transparency = ns(1) | |
3155 | lighting1.Transparency = ns(1) | |
3156 | newaura.ImageTransparency = 1 | |
3157 | ssj1 = false | |
3158 | ssj2 = false | |
3159 | ssjg = false | |
3160 | p1.Transparency = 1 | |
3161 | p2.Transparency = 1 | |
3162 | p3.Transparency = 1 | |
3163 | p4.Transparency = 1 | |
3164 | p5.Transparency = 1 | |
3165 | p6.Transparency = 1 | |
3166 | p7.Transparency = 1 | |
3167 | p8.Transparency =1 | |
3168 | p9.Transparency = 1 | |
3169 | p10.Transparency = 1 | |
3170 | p11.Transparency = 1 | |
3171 | p12.Transparency = 1 | |
3172 | p13.Transparency =1 | |
3173 | p14.Transparency = 1 | |
3174 | p15.Transparency =1 | |
3175 | newaura2.ImageTransparency = 1 | |
3176 | ssjb = false | |
3177 | ssjbkaio = false | |
3178 | ssjbkaiox10 = false | |
3179 | a21e.Locked = true | |
3180 | a21e.Size = v3(1,1,1) | |
3181 | a21e.CanCollide = false | |
3182 | a21e.Position = v3(999,999,999) | |
3183 | a21e.BrickColor = bc("White") | |
3184 | a21e.Material = "Neon" | |
3185 | a21e.Transparency = 0 | |
3186 | aa21e = new("SpecialMesh",a21e) | |
3187 | a21e.Anchored = true | |
3188 | a21e.Position = RootPart.Position | |
3189 | aa21e.MeshType = "Sphere" | |
3190 | aa21e.Scale = v3(1,1,1) | |
3191 | ssjaura:Stop() | |
3192 | ssj2aura:Stop() | |
3193 | ||
3194 | ssj3 = false | |
3195 | ssjaura:Stop() | |
3196 | ssjbaura:Stop() | |
3197 | ssjbkaura:Stop() | |
3198 | ssjgmusic:Stop() | |
3199 | ssjgaura:Stop() | |
3200 | ssjbmusic:Stop() | |
3201 | ssj2aura:Stop() | |
3202 | ssjmusic:Stop() | |
3203 | ssj2music:Stop() | |
3204 | ssj3music:Stop() | |
3205 | PowerDown:Play() | |
3206 | for i = 1,50 do | |
3207 | wait() | |
3208 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3209 | a21e.Transparency = a21e.Transparency + 0.02 | |
3210 | end | |
3211 | end | |
3212 | if fuse == true and ssj4 == true then | |
3213 | fuse = false | |
3214 | idle7 = false | |
3215 | idle5 = false | |
3216 | noidle = true | |
3217 | ssjb = false | |
3218 | ssj1= false | |
3219 | walk = true | |
3220 | canjump = true | |
3221 | linkpart = Instance.new("Part",char) | |
3222 | linkpart.Position = v3(999,999,999) | |
3223 | linkpart.Transparency = 1 | |
3224 | linkpart.CanCollide = false | |
3225 | linkpart.Anchored = true | |
3226 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
3227 | RootPart1.Anchored = true | |
3228 | RootPart.Anchored = true | |
3229 | RootPart1 = clone1.HumanoidRootPart | |
3230 | com1 = 1 | |
3231 | Hair7.Color = Color3.fromRGB(0,0,0) | |
3232 | Mesh.MeshId = "http://www.roblox.com/asset/?id=504772831" | |
3233 | Mesh.Scale = Vector3.new(0.23,0.23,0.23) | |
3234 | Weld.C0 = CFrame.new(0.25, 0.4, 0.5)*CFrame.Angles(0,math.rad(180),0) | |
3235 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=869609457" | |
3236 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=258281249" | |
3237 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=258281716" | |
3238 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
3239 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
3240 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
3241 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
3242 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
3243 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3244 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
3245 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3246 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
3247 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
3248 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
3249 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
3250 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
3251 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
3252 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
3253 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3254 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
3255 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3256 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
3257 | Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
3258 | for i = 1,50 do | |
3259 | wait() | |
3260 | com1 = com1 + 0.1 | |
3261 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
3262 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
3263 | end | |
3264 | noidle = false | |
3265 | idle = true | |
3266 | RootPart1.CFrame = CFrame.new(999,999,999) | |
3267 | RootPart1.Anchored = true | |
3268 | RootPart.Anchored = false | |
3269 | hum.HipHeight = 1.35 | |
3270 | end | |
3271 | if fuse == true and ssj4 == false or potara == true then | |
3272 | fuse = false | |
3273 | idle7 = false | |
3274 | ssjb = false | |
3275 | ssj2 = false | |
3276 | ssj3 = false | |
3277 | ssj4 = false | |
3278 | ssjaura:Stop() | |
3279 | newaurabase.Size = UDim2.new(20,0,20,0) | |
3280 | newaura.Position = UDim2.new(-0.5,0,-0.2,0) | |
3281 | newaurabase.AlwaysOnTop = false | |
3282 | newaura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
3283 | newaurabase.ExtentsOffset = Vector3.new(0,0,3) | |
3284 | ssjg = false | |
3285 | idle5 = false | |
3286 | noidle = true | |
3287 | walk = true | |
3288 | ssj1 = false | |
3289 | newaura.ImageTransparency = 1 | |
3290 | char.Head.face.Texture= "rbxassetid://765423946" | |
3291 | Hair7.BrickColor = bc("Really black") | |
3292 | ssjaura:Stop() | |
3293 | canjump = true | |
3294 | if potara == true then | |
3295 | ||
3296 | ee1d:Destroy() | |
3297 | ee2d:Destroy() | |
3298 | ee3d:Destroy() | |
3299 | ee4d:Destroy() | |
3300 | eec:Destroy() | |
3301 | ee1c:Destroy() | |
3302 | ee2c:Destroy() | |
3303 | ee3c:Destroy() | |
3304 | ee4c:Destroy() | |
3305 | end | |
3306 | linkpart = Instance.new("Part",char) | |
3307 | linkpart.Position = v3(999,999,999) | |
3308 | linkpart.Transparency = 1 | |
3309 | linkpart.CanCollide = false | |
3310 | linkpart.Anchored = true | |
3311 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
3312 | RootPart1.Anchored = true | |
3313 | RootPart.Anchored = true | |
3314 | RootPart1 = clone1.HumanoidRootPart | |
3315 | com1 = 1 | |
3316 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=363968007" | |
3317 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=363966829" | |
3318 | Weld.C0 = CFrame.new(-0.3, 1.2, -0.32) | |
3319 | Mesh.Scale = Vector3.new(6.8,6.8,6.8) | |
3320 | Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712" | |
3321 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
3322 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
3323 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
3324 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
3325 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
3326 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3327 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
3328 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3329 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
3330 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
3331 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
3332 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
3333 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
3334 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
3335 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
3336 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3337 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
3338 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3339 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
3340 | Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
3341 | a21e.Locked = true | |
3342 | a21e.Size = v3(1,1,1) | |
3343 | a21e.CanCollide = false | |
3344 | a21e.Position = v3(999,999,999) | |
3345 | a21e.BrickColor = bc("White") | |
3346 | a21e.Material = "Neon" | |
3347 | a21e.Transparency = 0 | |
3348 | aa21e = new("SpecialMesh",a21e) | |
3349 | a21e.Anchored = true | |
3350 | a21e.Position = RootPart.Position | |
3351 | aa21e.MeshType = "Sphere" | |
3352 | aa21e.Scale = v3(1,1,1) | |
3353 | ssjbaura:Stop() | |
3354 | PowerDown:Play() | |
3355 | coroutine.wrap(function() | |
3356 | for i = 1,50 do | |
3357 | wait() | |
3358 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3359 | a21e.Transparency = a21e.Transparency + 0.02 | |
3360 | end | |
3361 | end)() | |
3362 | for i = 1,50 do | |
3363 | wait() | |
3364 | com1 = com1 + 0.1 | |
3365 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
3366 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
3367 | end | |
3368 | noidle = false | |
3369 | idle = true | |
3370 | if potara == true then | |
3371 | ee:Destroy() | |
3372 | ee1:Destroy() | |
3373 | ee2:Destroy() | |
3374 | ee3:Destroy() | |
3375 | ee4:Destroy() | |
3376 | eed:Destroy() | |
3377 | end | |
3378 | potara = false | |
3379 | RootPart1.CFrame = CFrame.new(999,999,999) | |
3380 | RootPart1.Anchored = true | |
3381 | RootPart.Anchored = false | |
3382 | hum.HipHeight = 1.35 | |
3383 | end | |
3384 | end | |
3385 | end | |
3386 | end) | |
3387 | mouse.KeyDown:connect(function(key) | |
3388 | if key == "c" then | |
3389 | if canattack == true then | |
3390 | if ssj1 == true or ssj2 == true or ssj3 == true then | |
3391 | lighting.Transparency = ns(1) | |
3392 | lighting1.Transparency = ns(1) | |
3393 | newaura.ImageTransparency = 1 | |
3394 | a21e.Name = "Beam"..num | |
3395 | a21e.Locked = true | |
3396 | a21e.Size = v3(1,1,1) | |
3397 | a21e.CanCollide = false | |
3398 | a21e.Position = v3(999,999,999) | |
3399 | a21e.BrickColor = bc("New Yeller") | |
3400 | a21e.Material = "Neon" | |
3401 | a21e.Transparency = 0 | |
3402 | aa21e = new("SpecialMesh",a21e) | |
3403 | a21e.Anchored = true | |
3404 | a21e.Position = RootPart.Position | |
3405 | aa21e.MeshType = "Sphere" | |
3406 | aa21e.Scale = v3(1,1,1) | |
3407 | ssjaura:Stop() | |
3408 | ssj2aura:Stop() | |
3409 | AuraOff:Play() | |
3410 | for i = 1,50 do | |
3411 | wait() | |
3412 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3413 | a21e.Transparency = a21e.Transparency + 0.02 | |
3414 | end | |
3415 | end | |
3416 | if ssjb == true then | |
3417 | ssjbaura:Stop() | |
3418 | ||
3419 | newaura.ImageTransparency = 1 | |
3420 | a21e.Name = "Beam"..num | |
3421 | a21e.Locked = true | |
3422 | a21e.Size = v3(1,1,1) | |
3423 | a21e.CanCollide = false | |
3424 | a21e.Position = v3(999,999,999) | |
3425 | a21e.BrickColor = bc("Toothpaste") | |
3426 | a21e.Material = "Neon" | |
3427 | a21e.Transparency = 0 | |
3428 | aa21e = new("SpecialMesh",a21e) | |
3429 | a21e.Anchored = true | |
3430 | a21e.Position = RootPart.Position | |
3431 | aa21e.MeshType = "Sphere" | |
3432 | aa21e.Scale = v3(1,1,1) | |
3433 | AuraOff:Play() | |
3434 | for i = 1,50 do | |
3435 | wait() | |
3436 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3437 | a21e.Transparency = a21e.Transparency + 0.02 | |
3438 | end | |
3439 | end | |
3440 | if ssj4 == true then | |
3441 | ssjaura:Stop() | |
3442 | ||
3443 | newaura.ImageTransparency = 1 | |
3444 | a21e.Name = "Beam"..num | |
3445 | a21e.Locked = true | |
3446 | a21e.Size = v3(1,1,1) | |
3447 | a21e.CanCollide = false | |
3448 | a21e.Position = v3(999,999,999) | |
3449 | a21e.BrickColor = bc("New Yeller") | |
3450 | a21e.Material = "Neon" | |
3451 | a21e.Transparency = 0 | |
3452 | aa21e = new("SpecialMesh",a21e) | |
3453 | a21e.Anchored = true | |
3454 | a21e.Position = RootPart.Position | |
3455 | aa21e.MeshType = "Sphere" | |
3456 | aa21e.Scale = v3(1,1,1) | |
3457 | AuraOff:Play() | |
3458 | for i = 1,50 do | |
3459 | wait() | |
3460 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3461 | a21e.Transparency = a21e.Transparency + 0.02 | |
3462 | end | |
3463 | end | |
3464 | if ssjg == true then | |
3465 | ssjgaura:Stop() | |
3466 | ||
3467 | newaura.ImageTransparency = 1 | |
3468 | a21e.Name = "Beam"..num | |
3469 | a21e.Locked = true | |
3470 | a21e.Size = v3(1,1,1) | |
3471 | a21e.CanCollide = false | |
3472 | a21e.Position = v3(999,999,999) | |
3473 | a21e.BrickColor = bc("Really red") | |
3474 | a21e.Material = "Neon" | |
3475 | a21e.Transparency = 0 | |
3476 | aa21e = new("SpecialMesh",a21e) | |
3477 | a21e.Anchored = true | |
3478 | a21e.Position = RootPart.Position | |
3479 | aa21e.MeshType = "Sphere" | |
3480 | aa21e.Scale = v3(1,1,1) | |
3481 | AuraOff:Play() | |
3482 | for i = 1,50 do | |
3483 | wait() | |
3484 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3485 | a21e.Transparency = a21e.Transparency + 0.02 | |
3486 | end | |
3487 | end | |
3488 | end | |
3489 | end | |
3490 | end) | |
3491 | ||
3492 | ||
3493 | ||
3494 | ||
3495 | mouse.KeyDown:connect(function(key) | |
3496 | if key == "h" then | |
3497 | if canattack == true and flying1 == false and punched1 == true then | |
3498 | ||
3499 | idle = false | |
3500 | walk = false | |
3501 | canjump = false | |
3502 | canattack = false | |
3503 | punch1 = true | |
3504 | punched1 = false | |
3505 | punched2 = true | |
3506 | af1 = new("Part",char) | |
3507 | af1.Name = "NewPart" | |
3508 | af1.Size = v3(1,1,1) | |
3509 | af1.Position = v3(999,999,999) | |
3510 | af1.Material = "Neon" | |
3511 | af1.Transparency = 1 | |
3512 | ||
3513 | aaaf1 =new("Weld",af1) | |
3514 | aaaf1.Part0 = RootPart | |
3515 | aaaf1.Part1 = af1 | |
3516 | aaaf1.C0 = cf(0,0,-2) * cfa(rad(0),rad(0),rad(0)) | |
3517 | wait(0.1) | |
3518 | punch1 = false | |
3519 | punch2 = true | |
3520 | wait(0.2) | |
3521 | ||
3522 | af1.Touched:connect(function(hit) | |
3523 | if hit.Parent:FindFirstChild("Head") then | |
3524 | grab = true | |
3525 | go11 = 2.3 | |
3526 | af1:Destroy() | |
3527 | punchsound1:Play() | |
3528 | hit1 = true | |
3529 | hit.Parent:findFirstChild("Head").Anchored = true | |
3530 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3531 | ||
3532 | ||
3533 | if v:IsA("Humanoid") then | |
3534 | v.Health = v.Health - 10 | |
3535 | if v.Health > 100 then | |
3536 | v.Health = 100 | |
3537 | v.MaxHealth = 100 | |
3538 | end | |
3539 | end | |
3540 | end | |
3541 | hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 2.3 | |
3542 | punch2 = false | |
3543 | ||
3544 | ||
3545 | idle = false | |
3546 | walk = false | |
3547 | canjump = false | |
3548 | canattack = false | |
3549 | punch3 = true | |
3550 | punched1 = false | |
3551 | punched2 = false | |
3552 | punched3 = true | |
3553 | af1 = new("Part",char) | |
3554 | af1.Name = "NewPart" | |
3555 | af1.Size = v3(1,1,1) | |
3556 | af1.Position = v3(999,999,999) | |
3557 | af1.Material = "Neon" | |
3558 | af1.Transparency = 1 | |
3559 | ||
3560 | aaaf1 =new("Weld",af1) | |
3561 | aaaf1.Part0 = LeftHand | |
3562 | aaaf1.Part1 = af1 | |
3563 | aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0)) | |
3564 | ||
3565 | wait(0.1) | |
3566 | punch3 = false | |
3567 | punch4 = true | |
3568 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3569 | ||
3570 | ||
3571 | if v:IsA("Humanoid") then | |
3572 | v.Health = v.Health - 10 | |
3573 | if v.Health > 100 then | |
3574 | v.Health = 100 | |
3575 | v.MaxHealth = 100 | |
3576 | end | |
3577 | end | |
3578 | end | |
3579 | punchsound1:Play() | |
3580 | wait(0.2) | |
3581 | if hit1 == false then | |
3582 | af1:Destroy() | |
3583 | hit1 = false | |
3584 | end | |
3585 | punch4 = false | |
3586 | ||
3587 | ||
3588 | idle = false | |
3589 | walk = false | |
3590 | canjump = false | |
3591 | canattack = false | |
3592 | uppercut1 = true | |
3593 | punched1 = false | |
3594 | punched2 = false | |
3595 | punched3 = false | |
3596 | punched4 = true | |
3597 | wait(0.3) | |
3598 | uppercut1 = false | |
3599 | uppercut2 = true | |
3600 | af1 = new("Part",char) | |
3601 | af1.Name = "NewPart" | |
3602 | af1.Size = v3(1,1,1) | |
3603 | af1.Position = v3(999,999,999) | |
3604 | af1.Material = "Neon" | |
3605 | af1.Transparency = 1 | |
3606 | ||
3607 | aaaf1 =new("Weld",af1) | |
3608 | aaaf1.Part0 = LeftHand | |
3609 | aaaf1.Part1 = af1 | |
3610 | aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0)) | |
3611 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3612 | ||
3613 | ||
3614 | if v:IsA("Humanoid") then | |
3615 | v.Health = v.Health - 10 | |
3616 | if v.Health > 100 then | |
3617 | v.Health = 100 | |
3618 | v.MaxHealth = 100 | |
3619 | end | |
3620 | end | |
3621 | end | |
3622 | punchsound1:Play() | |
3623 | for i = 1,10 do | |
3624 | wait() | |
3625 | up = up + 1 | |
3626 | hit.Parent:findFirstChild("Head").CFrame = CFrame.new(hit.Parent:findFirstChild("Head").CFrame.x,hit.Parent:findFirstChild("Head").CFrame.y + up,hit.Parent:findFirstChild("Head").CFrame.z) | |
3627 | end | |
3628 | hit.Parent:findFirstChild("Head").Anchored = true | |
3629 | ||
3630 | ||
3631 | ||
3632 | ||
3633 | wait(0.3) | |
3634 | uppercut2 = false | |
3635 | ||
3636 | RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3 | |
3637 | RootPart.Anchored = true | |
3638 | idle = false | |
3639 | walk = false | |
3640 | canjump = false | |
3641 | canattack = false | |
3642 | knockdown1 = true | |
3643 | punched1 = true | |
3644 | punched2 = false | |
3645 | punched3 = false | |
3646 | punched4 = false | |
3647 | wait(0.3) | |
3648 | knockdown1 = false | |
3649 | knockdown2 = true | |
3650 | StrongPunch:Play() | |
3651 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3652 | ||
3653 | ||
3654 | if v:IsA("Humanoid") then | |
3655 | v.Health = v.Health - 10 | |
3656 | if v.Health > 100 then | |
3657 | v.Health = 100 | |
3658 | v.MaxHealth = 100 | |
3659 | end | |
3660 | end | |
3661 | end | |
3662 | GroundWave11() | |
3663 | punchsound2:Play() | |
3664 | up = 0 | |
3665 | for i = 1,10 do | |
3666 | wait() | |
3667 | up = up + 1 | |
3668 | hit.Parent:findFirstChild("Head").CFrame = CFrame.new(hit.Parent:findFirstChild("Head").CFrame.x,hit.Parent:findFirstChild("Head").CFrame.y - up,hit.Parent:findFirstChild("Head").CFrame.z) | |
3669 | end | |
3670 | wait(0.2) | |
3671 | knockdown2 = false | |
3672 | hit.Parent:findFirstChild("Head").Anchored = true | |
3673 | RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3 | |
3674 | FastPunch:Play() | |
3675 | for i = 1,3 do | |
3676 | punch1 = true | |
3677 | wait(0.01) | |
3678 | punch1 = false | |
3679 | ||
3680 | punch2 = true | |
3681 | wait(0.01) | |
3682 | punch2 = false | |
3683 | GroundWave1() | |
3684 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3685 | ||
3686 | ||
3687 | if v:IsA("Humanoid") then | |
3688 | v.Health = v.Health - 1 | |
3689 | if v.Health > 100 then | |
3690 | v.Health = 100 | |
3691 | v.MaxHealth = 100 | |
3692 | end | |
3693 | end | |
3694 | ||
3695 | end | |
3696 | punchsound1:Play() | |
3697 | punch3 = true | |
3698 | wait(0.01) | |
3699 | punch3 = false | |
3700 | ||
3701 | punch4 = true | |
3702 | wait(0.01) | |
3703 | punch4 = false | |
3704 | ||
3705 | ||
3706 | kick1 = true | |
3707 | wait(0.01) | |
3708 | kick1 = false | |
3709 | ||
3710 | kick2 = true | |
3711 | wait(0.01) | |
3712 | kick2 = false | |
3713 | GroundWave111() | |
3714 | ||
3715 | punchsound1:Play() | |
3716 | kick3 = true | |
3717 | wait(0.01) | |
3718 | kick3 = false | |
3719 | ||
3720 | kick4 = true | |
3721 | wait(0.01) | |
3722 | kick4 = false | |
3723 | ||
3724 | punchsound1:Play() | |
3725 | end | |
3726 | punch1 = true | |
3727 | wait(0.5) | |
3728 | punch1 = false | |
3729 | GroundWave1() | |
3730 | punch2 = true | |
3731 | wait(0.01) | |
3732 | ||
3733 | punchsound2:Play() | |
3734 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3735 | ||
3736 | ||
3737 | if v:IsA("Humanoid") then | |
3738 | v.Health = v.Health - 10 | |
3739 | if v.Health > 100 then | |
3740 | v.Health = 100 | |
3741 | v.MaxHealth = 100 | |
3742 | end | |
3743 | end | |
3744 | end | |
3745 | coroutine.wrap(function() | |
3746 | for i = 1,40 do | |
3747 | wait() | |
3748 | go11 = go11+ 2 | |
3749 | ||
3750 | hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * go11 | |
3751 | ||
3752 | end | |
3753 | ||
3754 | end)() | |
3755 | ||
3756 | ||
3757 | ||
3758 | RootPart.Anchored = true | |
3759 | punch2 = false | |
3760 | kamehameha5 = true | |
3761 | ||
3762 | startk = true | |
3763 | kamecharge:Play() | |
3764 | wait(0.5) | |
3765 | ||
3766 | ||
3767 | kamehameha5 = false | |
3768 | kamehameha2 = true | |
3769 | hit.Parent:findFirstChild("Head").Anchored = false | |
3770 | kamehameha() | |
3771 | wait(0.8) | |
3772 | kamehameha2 = false | |
3773 | RootPart.Anchored = false | |
3774 | idle = true | |
3775 | walk = true | |
3776 | canjump = true | |
3777 | canattack = true | |
3778 | ||
3779 | go11 = 2.3 | |
3780 | up = 0 | |
3781 | idle = true | |
3782 | walk = true | |
3783 | canjump = true | |
3784 | canattack = true | |
3785 | ||
3786 | ||
3787 | ||
3788 | if hit1 == false then | |
3789 | af1:Destroy() | |
3790 | hit1 = false | |
3791 | end | |
3792 | idle = true | |
3793 | walk = true | |
3794 | canjump = true | |
3795 | canattack = true | |
3796 | ||
3797 | ||
3798 | idle = true | |
3799 | ||
3800 | walk = true | |
3801 | canjump = true | |
3802 | canattack = true | |
3803 | end | |
3804 | ||
3805 | end) | |
3806 | end | |
3807 | end | |
3808 | end) | |
3809 | ||
3810 | ||
3811 | mouse.KeyDown:connect(function(key) | |
3812 | if key == "r" then | |
3813 | if canattack == true and kiblastdone == false then | |
3814 | idle = false | |
3815 | walk = false | |
3816 | kiblastdone = true | |
3817 | canattack = false | |
3818 | canjump = false | |
3819 | kiblast1 = true | |
3820 | wait(0.2) | |
3821 | kiblast1 = false | |
3822 | kiblast2 = true | |
3823 | kiblastsound:Play() | |
3824 | ay = new("Part",char) | |
3825 | ay.Name = "NewPart" | |
3826 | ay.Size = v3(1,1,1) | |
3827 | ay.CanCollide = false | |
3828 | ay.BrickColor = bc("Cyan") | |
3829 | ay.Material = "Neon" | |
3830 | ay.Transparency = 0 | |
3831 | aay = new("SpecialMesh",ay) | |
3832 | aay.MeshType = "Sphere" | |
3833 | aay.Scale = v3(1,1,1) | |
3834 | ay.Position = v3(999,999,999) | |
3835 | ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3 | |
3836 | ys = Instance.new("BodyVelocity",ay) | |
3837 | ||
3838 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
3839 | ||
3840 | ys.Velocity = RootPart.CFrame.lookVector * 60 | |
3841 | ay.Touched:connect(function(hit) | |
3842 | if hit then | |
3843 | ||
3844 | ||
3845 | ||
3846 | ||
3847 | ||
3848 | ||
3849 | kamehit:Play() | |
3850 | for i = 1,10 do | |
3851 | wait() | |
3852 | aay.Scale = aay.Scale + v3(1,1,1) | |
3853 | ay.Transparency = ay.Transparency + 0.1 | |
3854 | end | |
3855 | ay:Destroy() | |
3856 | ||
3857 | end | |
3858 | if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then | |
3859 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3860 | ||
3861 | ||
3862 | if v:IsA("Humanoid") then | |
3863 | v.Health = v.Health - 5 | |
3864 | if v.Health > 100 then | |
3865 | v.Health = 100 | |
3866 | v.MaxHealth = 100 | |
3867 | end | |
3868 | end | |
3869 | end | |
3870 | end | |
3871 | ||
3872 | end) | |
3873 | ||
3874 | game.Debris:AddItem(ay,3) | |
3875 | wait(0.2) | |
3876 | kiblast2= false | |
3877 | idle = true | |
3878 | walk = true | |
3879 | canjump = true | |
3880 | canattack = true | |
3881 | ||
3882 | end | |
3883 | end | |
3884 | end) | |
3885 | ||
3886 | mouse.KeyDown:connect(function(key) | |
3887 | if key == "r" then | |
3888 | if canattack == true and kiblastdone == true then | |
3889 | idle = false | |
3890 | walk = false | |
3891 | kiblastdone = false | |
3892 | canattack = false | |
3893 | canjump = false | |
3894 | kiblast3 = true | |
3895 | wait(0.2) | |
3896 | kiblast3 = false | |
3897 | kiblast4 = true | |
3898 | kiblastsound:Play() | |
3899 | ay = new("Part",char) | |
3900 | ay.Name = "NewPart" | |
3901 | ay.Size = v3(1,1,1) | |
3902 | ay.CanCollide = false | |
3903 | ay.BrickColor = bc("Cyan") | |
3904 | ay.Material = "Neon" | |
3905 | ay.Transparency = 0 | |
3906 | aay = new("SpecialMesh",ay) | |
3907 | aay.MeshType = "Sphere" | |
3908 | aay.Scale = v3(1,1,1) | |
3909 | ay.Position = v3(999,999,999) | |
3910 | ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3 | |
3911 | ys = Instance.new("BodyVelocity",ay) | |
3912 | ||
3913 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
3914 | ||
3915 | ys.Velocity = RootPart.CFrame.lookVector * 60 | |
3916 | ay.Touched:connect(function(hit) | |
3917 | if hit then | |
3918 | ||
3919 | ||
3920 | ||
3921 | ||
3922 | ||
3923 | ||
3924 | kamehit:Play() | |
3925 | for i = 1,10 do | |
3926 | wait() | |
3927 | aay.Scale = aay.Scale + v3(1,1,1) | |
3928 | ay.Transparency = ay.Transparency + 0.1 | |
3929 | end | |
3930 | ay:Destroy() | |
3931 | ||
3932 | end | |
3933 | if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then | |
3934 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3935 | ||
3936 | ||
3937 | if v:IsA("Humanoid") then | |
3938 | v.Health = v.Health - 5 | |
3939 | if v.Health > 100 then | |
3940 | v.Health = 100 | |
3941 | v.MaxHealth = 100 | |
3942 | end | |
3943 | end | |
3944 | end | |
3945 | end | |
3946 | ||
3947 | end) | |
3948 | ||
3949 | game.Debris:AddItem(ay,3) | |
3950 | wait(0.2) | |
3951 | kiblast4= false | |
3952 | idle = true | |
3953 | walk = true | |
3954 | canjump = true | |
3955 | canattack = true | |
3956 | ||
3957 | end | |
3958 | end | |
3959 | end) | |
3960 | ||
3961 | mouse.KeyDown:connect(function(key) | |
3962 | if key == "g" then | |
3963 | if canattack == true and flying1 == false and punched1 == true then | |
3964 | ||
3965 | idle = false | |
3966 | walk = false | |
3967 | canjump = false | |
3968 | canattack = false | |
3969 | punch1 = true | |
3970 | punched1 = false | |
3971 | punched2 = true | |
3972 | af1 = new("Part",char) | |
3973 | af1.Name = "NewPart" | |
3974 | af1.Size = v3(1,1,1) | |
3975 | af1.Position = v3(999,999,999) | |
3976 | af1.Material = "Neon" | |
3977 | af1.Transparency = 1 | |
3978 | ||
3979 | aaaf1 =new("Weld",af1) | |
3980 | aaaf1.Part0 = RootPart | |
3981 | aaaf1.Part1 = af1 | |
3982 | aaaf1.C0 = cf(0,0,-2) * cfa(rad(0),rad(0),rad(0)) | |
3983 | wait(0.1) | |
3984 | punch1 = false | |
3985 | punch2 = true | |
3986 | wait(0.2) | |
3987 | ||
3988 | af1.Touched:connect(function(hit) | |
3989 | if hit.Parent:FindFirstChild("Head") then | |
3990 | grab = true | |
3991 | go11 = 2.3 | |
3992 | af1:Destroy() | |
3993 | punchsound1:Play() | |
3994 | hit1 = true | |
3995 | hit.Parent:findFirstChild("Head").Anchored = true | |
3996 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3997 | ||
3998 | ||
3999 | if v:IsA("Humanoid") then | |
4000 | v.Health = v.Health - 10 | |
4001 | if v.Health > 100 then | |
4002 | v.Health = 100 | |
4003 | v.MaxHealth = 100 | |
4004 | end | |
4005 | end | |
4006 | end | |
4007 | hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 2.3 | |
4008 | punch2 = false | |
4009 | ||
4010 | ||
4011 | idle = false | |
4012 | walk = false | |
4013 | canjump = false | |
4014 | canattack = false | |
4015 | punch3 = true | |
4016 | punched1 = false | |
4017 | punched2 = false | |
4018 | punched3 = true | |
4019 | af1 = new("Part",char) | |
4020 | af1.Name = "NewPart" | |
4021 | af1.Size = v3(1,1,1) | |
4022 | af1.Position = v3(999,999,999) | |
4023 | af1.Material = "Neon" | |
4024 | af1.Transparency = 1 | |
4025 | ||
4026 | aaaf1 =new("Weld",af1) | |
4027 | aaaf1.Part0 = LeftHand | |
4028 | aaaf1.Part1 = af1 | |
4029 | aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0)) | |
4030 | ||
4031 | wait(0.1) | |
4032 | punch3 = false | |
4033 | punch4 = true | |
4034 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4035 | ||
4036 | ||
4037 | if v:IsA("Humanoid") then | |
4038 | v.Health = v.Health - 10 | |
4039 | if v.Health > 100 then | |
4040 | v.Health = 100 | |
4041 | v.MaxHealth = 100 | |
4042 | end | |
4043 | end | |
4044 | end | |
4045 | punchsound1:Play() | |
4046 | wait(0.2) | |
4047 | if hit1 == false then | |
4048 | af1:Destroy() | |
4049 | hit1 = false | |
4050 | end | |
4051 | punch4 = false | |
4052 | ||
4053 | ||
4054 | idle = false | |
4055 | walk = false | |
4056 | canjump = false | |
4057 | canattack = false | |
4058 | uppercut1 = true | |
4059 | punched1 = false | |
4060 | punched2 = false | |
4061 | punched3 = false | |
4062 | punched4 = true | |
4063 | wait(0.3) | |
4064 | uppercut1 = false | |
4065 | uppercut2 = true | |
4066 | af1 = new("Part",char) | |
4067 | af1.Name = "NewPart" | |
4068 | af1.Size = v3(1,1,1) | |
4069 | af1.Position = v3(999,999,999) | |
4070 | af1.Material = "Neon" | |
4071 | af1.Transparency = 1 | |
4072 | ||
4073 | aaaf1 =new("Weld",af1) | |
4074 | aaaf1.Part0 = LeftHand | |
4075 | aaaf1.Part1 = af1 | |
4076 | aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0)) | |
4077 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4078 | ||
4079 | ||
4080 | if v:IsA("Humanoid") then | |
4081 | v.Health = v.Health - 10 | |
4082 | if v.Health > 100 then | |
4083 | v.Health = 100 | |
4084 | v.MaxHealth = 100 | |
4085 | end | |
4086 | end | |
4087 | end | |
4088 | punchsound1:Play() | |
4089 | for i = 1,10 do | |
4090 | wait() | |
4091 | up = up + 1 | |
4092 | hit.Parent:findFirstChild("Head").CFrame = CFrame.new(hit.Parent:findFirstChild("Head").CFrame.x,hit.Parent:findFirstChild("Head").CFrame.y + up,hit.Parent:findFirstChild("Head").CFrame.z) | |
4093 | end | |
4094 | hit.Parent:findFirstChild("Head").Anchored = true | |
4095 | ||
4096 | ||
4097 | ||
4098 | ||
4099 | wait(0.3) | |
4100 | uppercut2 = false | |
4101 | ||
4102 | RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3 | |
4103 | RootPart.Anchored = true | |
4104 | idle = false | |
4105 | walk = false | |
4106 | canjump = false | |
4107 | canattack = false | |
4108 | knockdown1 = true | |
4109 | punched1 = true | |
4110 | punched2 = false | |
4111 | punched3 = false | |
4112 | punched4 = false | |
4113 | wait(0.3) | |
4114 | knockdown1 = false | |
4115 | knockdown2 = true | |
4116 | StrongPunch:Play() | |
4117 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4118 | ||
4119 | ||
4120 | if v:IsA("Humanoid") then | |
4121 | v.Health = v.Health - 10 | |
4122 | if v.Health > 100 then | |
4123 | v.Health = 100 | |
4124 | v.MaxHealth = 100 | |
4125 | end | |
4126 | end | |
4127 | end | |
4128 | GroundWave11() | |
4129 | punchsound2:Play() | |
4130 | up = 0 | |
4131 | for i = 1,10 do | |
4132 | wait() | |
4133 | up = up + 1 | |
4134 | hit.Parent:findFirstChild("Head").CFrame = CFrame.new(hit.Parent:findFirstChild("Head").CFrame.x,hit.Parent:findFirstChild("Head").CFrame.y - up,hit.Parent:findFirstChild("Head").CFrame.z) | |
4135 | end | |
4136 | wait(0.2) | |
4137 | knockdown2 = false | |
4138 | hit.Parent:findFirstChild("Head").Anchored = true | |
4139 | ||
4140 | RootPart.CFrame = CFrame.new(RootPart.Position,Vector3.new(hit.Parent:findFirstChild("Head").Position.x, hit.Parent:findFirstChild("Head").Position.y,hit.Parent:findFirstChild("Head").Position.z)) | |
4141 | Instance.new("Smoke",hit.Parent:findFirstChild("Head")).Color = Color3.fromRGB(79,91,79) | |
4142 | coroutine.wrap(function() | |
4143 | ||
4144 | for i= 1,8 do | |
4145 | ||
4146 | FastPunch:Play() | |
4147 | wait(0.4) | |
4148 | end | |
4149 | end)() | |
4150 | coroutine.wrap(function() | |
4151 | wait(0.5) | |
4152 | ay1 = new("Part",char) | |
4153 | ay1.Name = "NewPart" | |
4154 | ay1.Size = v3(1,1,1) | |
4155 | ay1.CanCollide = false | |
4156 | ay1.BrickColor = bc("Cyan") | |
4157 | ay1.Material = "Neon" | |
4158 | ay1.Transparency = 0 | |
4159 | aay1 = new("SpecialMesh",ay1) | |
4160 | aay1.MeshType = "Sphere" | |
4161 | aay1.Scale = v3(3,3,3) | |
4162 | ay1.Anchored = true | |
4163 | ay1.Position = hit.Parent:findFirstChild("Head").Position | |
4164 | for i = 1,5 do | |
4165 | wait() | |
4166 | for i = 1,10 do | |
4167 | wait() | |
4168 | aay1.Scale = aay1.Scale + v3(2,2,2) | |
4169 | end | |
4170 | local HandCF = ay1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
4171 | Colors = {"White", "White"} | |
4172 | local wave11111 = Instance.new("Part", char) | |
4173 | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
4174 | wave11111.Anchored = true | |
4175 | wave11111.Name = "Wave" | |
4176 | wave11111.CanCollide = false | |
4177 | wave11111.Locked = true | |
4178 | wave11111.Size = Vector3.new(1, 1, 1) | |
4179 | wave11111.TopSurface = "Smooth" | |
4180 | wave11111.BottomSurface = "Smooth" | |
4181 | wave11111.Transparency = 0.35 | |
4182 | wave11111.CFrame = HandCF | |
4183 | wm31111 = Instance.new("SpecialMesh", wave11111) | |
4184 | wm31111.MeshId = "rbxassetid://3270017" | |
4185 | ||
4186 | coroutine.wrap(function() | |
4187 | for i = 1, 30, 1 do | |
4188 | wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
4189 | wave11111.Size = wm31111.Scale | |
4190 | wave11111.CFrame = HandCF | |
4191 | wave11111.Transparency = i/30 | |
4192 | wait() | |
4193 | end | |
4194 | wait() | |
4195 | wave11111:Destroy() | |
4196 | end)() | |
4197 | for i = 1,10 do | |
4198 | wait() | |
4199 | aay1.Scale = aay1.Scale - v3(2,2,2) | |
4200 | end | |
4201 | local HandCF = ay1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
4202 | Colors = {"White", "White"} | |
4203 | local wave11111 = Instance.new("Part", char) | |
4204 | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
4205 | wave11111.Anchored = true | |
4206 | wave11111.Name = "Wave" | |
4207 | wave11111.CanCollide = false | |
4208 | wave11111.Locked = true | |
4209 | wave11111.Size = Vector3.new(1, 1, 1) | |
4210 | wave11111.TopSurface = "Smooth" | |
4211 | wave11111.BottomSurface = "Smooth" | |
4212 | wave11111.Transparency = 0.35 | |
4213 | wave11111.CFrame = HandCF | |
4214 | wm31111 = Instance.new("SpecialMesh", wave11111) | |
4215 | wm31111.MeshId = "rbxassetid://3270017" | |
4216 | coroutine.wrap(function() | |
4217 | for i = 1, 30, 1 do | |
4218 | wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
4219 | wave11111.Size = wm31111.Scale | |
4220 | wave11111.CFrame = HandCF | |
4221 | wave11111.Transparency = i/30 | |
4222 | wait() | |
4223 | end | |
4224 | wait() | |
4225 | wave11111:Destroy() | |
4226 | end)() | |
4227 | end | |
4228 | ay1:Destroy() | |
4229 | end)() | |
4230 | coroutine.wrap(function() | |
4231 | wait(0.5) | |
4232 | for i= 1,32 do | |
4233 | wait(0.1) | |
4234 | kiblastsound:Play() | |
4235 | kamehit:Play() | |
4236 | ||
4237 | end | |
4238 | end)() | |
4239 | ||
4240 | for i = 1,20 do | |
4241 | wait() | |
4242 | kiblast1 = true | |
4243 | wait() | |
4244 | kiblast1 = false | |
4245 | kiblast2 = true | |
4246 | ||
4247 | ay = new("Part",char) | |
4248 | ay.Name = "NewPart" | |
4249 | ay.Size = v3(1,1,1) | |
4250 | ay.CanCollide = false | |
4251 | ay.BrickColor = bc("Cyan") | |
4252 | ay.Material = "Neon" | |
4253 | ay.Transparency = 0 | |
4254 | aay = new("SpecialMesh",ay) | |
4255 | aay.MeshType = "Sphere" | |
4256 | aay.Scale = v3(2,2,2) | |
4257 | ay.Position = v3(999,999,999) | |
4258 | ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3 | |
4259 | ys = Instance.new("BodyVelocity",ay) | |
4260 | ||
4261 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4262 | ||
4263 | ys.Velocity = RootPart.CFrame.lookVector * 80 | |
4264 | ay.Touched:connect(function(hit) | |
4265 | if hit ~= ay then | |
4266 | ||
4267 | ||
4268 | ||
4269 | ||
4270 | ||
4271 | ||
4272 | ||
4273 | ||
4274 | ||
4275 | end | |
4276 | if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then | |
4277 | ||
4278 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4279 | ||
4280 | ||
4281 | if v:IsA("Humanoid") then | |
4282 | v.Health = v.Health - 0.4 | |
4283 | if v.Health > 100 then | |
4284 | v.Health = 100 | |
4285 | v.MaxHealth = 100 | |
4286 | end | |
4287 | end | |
4288 | end | |
4289 | end | |
4290 | ||
4291 | end) | |
4292 | ||
4293 | game.Debris:AddItem(ay,3) | |
4294 | wait() | |
4295 | kiblast2= false | |
4296 | ||
4297 | ||
4298 | ||
4299 | ||
4300 | ||
4301 | kiblast3 = true | |
4302 | wait() | |
4303 | kiblast3 = false | |
4304 | kiblast4 = true | |
4305 | ||
4306 | ay = new("Part",char) | |
4307 | ay.Name = "NewPart" | |
4308 | ay.Size = v3(1,1,1) | |
4309 | ay.CanCollide = false | |
4310 | ay.BrickColor = bc("Cyan") | |
4311 | ay.Material = "Neon" | |
4312 | ay.Transparency = 0 | |
4313 | aay = new("SpecialMesh",ay) | |
4314 | aay.MeshType = "Sphere" | |
4315 | aay.Scale = v3(2,2,2) | |
4316 | ay.Position = v3(999,999,999) | |
4317 | ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3 | |
4318 | ys = Instance.new("BodyVelocity",ay) | |
4319 | ||
4320 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4321 | ||
4322 | ys.Velocity = RootPart.CFrame.lookVector * 80 | |
4323 | ay.Touched:connect(function(hit) | |
4324 | if hit ~= ay then | |
4325 | ||
4326 | ||
4327 | ||
4328 | ||
4329 | ||
4330 | ||
4331 | ||
4332 | ||
4333 | end | |
4334 | if hit.Parent:FindFirstChild("Head") ~= nil and hit.Parent:FindFirstChild("NewPart") == nil then | |
4335 | ||
4336 | ||
4337 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4338 | ||
4339 | ||
4340 | ||
4341 | if v:IsA("Humanoid") then | |
4342 | v.Health = v.Health - 0.4 | |
4343 | if v.Health > 100 then | |
4344 | v.Health = 100 | |
4345 | v.MaxHealth = 100 | |
4346 | end | |
4347 | end | |
4348 | end | |
4349 | end | |
4350 | ||
4351 | end) | |
4352 | ||
4353 | game.Debris:AddItem(ay,3) | |
4354 | wait() | |
4355 | kiblast4= false | |
4356 | end | |
4357 | ||
4358 | ||
4359 | ||
4360 | ||
4361 | wait(2) | |
4362 | idle = true | |
4363 | walk = true | |
4364 | canjump = true | |
4365 | canattack = true | |
4366 | ||
4367 | hit.Parent:findFirstChild("Head").Anchored = false | |
4368 | idle = true | |
4369 | go11 = 2.3 | |
4370 | walk = true | |
4371 | up = 0 | |
4372 | canjump = true | |
4373 | canattack = true | |
4374 | RootPart.Anchored = false | |
4375 | end | |
4376 | ||
4377 | end) | |
4378 | end | |
4379 | end | |
4380 | end) | |
4381 | ||
4382 | ||
4383 | ||
4384 | ||
4385 | ||
4386 | ||
4387 | ||
4388 | ||
4389 | ||
4390 | ||
4391 | ||
4392 | ||
4393 | ||
4394 | ||
4395 | mouse.KeyDown:connect(function(key) | |
4396 | if key == "y" then | |
4397 | if fuse == false then | |
4398 | if ssj1 == false and ssj2 == false and ssj3 == false then | |
4399 | if canattack == true then | |
4400 | canattack = false | |
4401 | if canfly == true then | |
4402 | canfly = false | |
4403 | canfly1 = true | |
4404 | end | |
4405 | newaura.Position = UDim2.new(-0.475,0,-0.25,0) | |
4406 | RootPart.Anchored = true | |
4407 | newaurabase.Size = UDim2.new(15,0,25,0) | |
4408 | newaurabase.AlwaysOnTop = false | |
4409 | newaura.ImageColor3 = Color3.fromRGB(255, 255, 255) | |
4410 | newaurabase.ExtentsOffset = Vector3.new(0,0,-2) | |
4411 | idle = false | |
4412 | ssjb = true | |
4413 | ssj1 = false | |
4414 | ssj2= false | |
4415 | ssj3 = false | |
4416 | walk = false | |
4417 | canjump = false | |
4418 | ||
4419 | ssjbmusic:Play() | |
4420 | g1q = Instance.new("Part",char) | |
4421 | g1q.Name = "Smoke" | |
4422 | g1q.CanCollide = false | |
4423 | g1q.Position = RootPart.Position - v3(-8,3,0) | |
4424 | g1q.Size = v3(0.1,0.1,0.1) | |
4425 | g1q.Anchored = true | |
4426 | g1a = Instance.new("Part",char) | |
4427 | g1a.Name = "Smoke" | |
4428 | g1a.CanCollide = false | |
4429 | g1a.Position = RootPart.Position + v3(8,80,0) | |
4430 | g1a.Size = v3(0.1,0.1,0.1) | |
4431 | g1a.Anchored = true | |
4432 | g1q1 = Instance.new("Part",char) | |
4433 | g1q1.Name = "Smoke" | |
4434 | g1q1.CanCollide = false | |
4435 | g1q1.Position = RootPart.Position - v3(-5,3,7) | |
4436 | g1q1.Size = v3(0.1,0.1,0.1) | |
4437 | g1q1.Anchored = true | |
4438 | g1a1 = Instance.new("Part",char) | |
4439 | g1a1.Name = "Smoke" | |
4440 | g1a1.CanCollide = false | |
4441 | g1a1.Position = RootPart.Position + v3(5,80,-7) | |
4442 | g1a1.Size = v3(0.1,0.1,0.1) | |
4443 | g1a1.Anchored = true | |
4444 | g1q2 = Instance.new("Part",char) | |
4445 | g1q2.Name = "Smoke" | |
4446 | g1q2.CanCollide = false | |
4447 | g1q2.Position = RootPart.Position - v3(12,3,-6) | |
4448 | g1q2.Size = v3(0.1,0.1,0.1) | |
4449 | g1q2.Anchored = true | |
4450 | g1a2 = Instance.new("Part",char) | |
4451 | g1a2.Name = "Smoke" | |
4452 | g1a2.CanCollide = false | |
4453 | g1a2.Position = RootPart.Position + v3(-12,80,6) | |
4454 | g1a2.Size = v3(0.1,0.1,0.1) | |
4455 | g1a2.Anchored = true | |
4456 | ------------------------------------------------ | |
4457 | transform1 = true | |
4458 | ||
4459 | wait(0.8) | |
4460 | if potara == false then | |
4461 | Hair7.Color = Color3.fromRGB(21,221,239) | |
4462 | Mesh.MeshId = "rbxassetid://430344159" | |
4463 | Mesh.Scale = v3(6.3,6.3,6.3) | |
4464 | char.Head.face.Texture= "rbxassetid://959519291" | |
4465 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
4466 | else | |
4467 | char.Head.face.Texture= "rbxassetid://959519291" | |
4468 | Hair7.Color = Color3.fromRGB(21,221,239) | |
4469 | Mesh.MeshId = "rbxassetid://560152258" | |
4470 | Mesh.Scale = Vector3.new(6.9,6.9,6.9) | |
4471 | Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0) | |
4472 | end | |
4473 | a21e = new("Part",char) | |
4474 | a21e.Name = "Beam"..num | |
4475 | a21e.Locked = true | |
4476 | a21e.Size = v3(1,1,1) | |
4477 | a21e.CanCollide = false | |
4478 | a21e.Position = v3(999,999,999) | |
4479 | a21e.BrickColor = bc("Cyan") | |
4480 | a21e.Material = "Neon" | |
4481 | a21e.Transparency = 0 | |
4482 | aa21e = new("SpecialMesh",a21e) | |
4483 | a21e.Anchored = true | |
4484 | a21e.Position = RootPart.Position | |
4485 | aa21e.MeshType = "Sphere" | |
4486 | aa21e.Scale = v3(1,1,1) | |
4487 | ||
4488 | transform1 = false | |
4489 | transform2 = true | |
4490 | ssjbauraburst:Play() | |
4491 | GroundWave5() | |
4492 | GroundWave6() | |
4493 | GroundWave7() | |
4494 | GroundWave8() | |
4495 | GroundWave9() | |
4496 | GroundWave10() | |
4497 | ad.Position = RootPart.Position - v3(0,3,0) | |
4498 | aad.Transparency = 0 | |
4499 | ||
4500 | ||
4501 | ||
4502 | newaura.ImageTransparency = 0 | |
4503 | ssjbaura:Play() | |
4504 | for i = 1,50 do | |
4505 | wait() | |
4506 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
4507 | a21e.Transparency = a21e.Transparency + 0.02 | |
4508 | end | |
4509 | wait(0.1) | |
4510 | wait(1.4) | |
4511 | transform2 = false | |
4512 | ||
4513 | ||
4514 | ||
4515 | ||
4516 | ------------------------------------------------- | |
4517 | canattack = true | |
4518 | RootPart.Anchored = false | |
4519 | if canfly1 == true then | |
4520 | ||
4521 | idle = true | |
4522 | walk = true | |
4523 | canjump = true | |
4524 | end | |
4525 | if canfly1 == true then | |
4526 | canfly = true | |
4527 | end | |
4528 | for i = 1,20 do | |
4529 | wait() | |
4530 | aad.Transparency = aad.Transparency + 0.05 | |
4531 | end | |
4532 | end | |
4533 | end | |
4534 | end | |
4535 | end | |
4536 | end) | |
4537 | ||
4538 | ||
4539 | ||
4540 | mouse.KeyDown:connect(function(key) | |
4541 | if key == "k" then | |
4542 | if potara == false then | |
4543 | if ssjb == true then | |
4544 | if canattack == true then | |
4545 | canattack = false | |
4546 | if canfly == true then | |
4547 | canfly = false | |
4548 | canfly1 = true | |
4549 | end | |
4550 | ||
4551 | ||
4552 | idle = false | |
4553 | ssjb = true | |
4554 | ssjbkaio = true | |
4555 | ssj1 = false | |
4556 | ssj2= false | |
4557 | ssj3 = false | |
4558 | walk = false | |
4559 | canjump = false | |
4560 | ||
4561 | ssjbmusic:Play() | |
4562 | ||
4563 | ------------------------------------------------ | |
4564 | transform3 = true | |
4565 | ||
4566 | wait(0.8) | |
4567 | Hair7.Color = Color3.fromRGB(21,221,239) | |
4568 | Mesh.MeshId = "rbxassetid://430344159" | |
4569 | Mesh.Scale = v3(6.3,6.3,6.3) | |
4570 | char.Head.face.Texture= "rbxassetid://959519291" | |
4571 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
4572 | ||
4573 | a21e = new("Part",char) | |
4574 | a21e.Name = "Beam"..num | |
4575 | a21e.Locked = true | |
4576 | a21e.Size = v3(1,1,1) | |
4577 | a21e.CanCollide = false | |
4578 | a21e.Position = v3(999,999,999) | |
4579 | a21e.BrickColor = bc("Cyan") | |
4580 | a21e.Material = "Neon" | |
4581 | a21e.Transparency = 1 | |
4582 | aa21e = new("SpecialMesh",a21e) | |
4583 | a21e.Anchored = true | |
4584 | a21e.Position = RootPart.Position | |
4585 | aa21e.MeshType = "Sphere" | |
4586 | aa21e.Scale = v3(1,1,1) | |
4587 | ||
4588 | ||
4589 | ||
4590 | ||
4591 | ||
4592 | smokey = Instance.new("Smoke",RootPart) | |
4593 | smokey.Color = Color3.new(255,0,0) | |
4594 | smokey.Opacity = 1 | |
4595 | smokey.Size = 2 | |
4596 | ssjbkaioken.TimePosition = 1.5 | |
4597 | ssjbkaioken:Play() | |
4598 | wait(0.2) | |
4599 | coroutine.wrap(function() | |
4600 | repeat | |
4601 | wait() | |
4602 | newaurabase.Size = UDim2.new(math.random(15,17),0,math.random(25,30),0) | |
4603 | until newaura.ImageTransparency == 1 | |
4604 | ||
4605 | ||
4606 | ||
4607 | end)() | |
4608 | rock = true | |
4609 | redlight = Instance.new("PointLight",LowerTorso) | |
4610 | redlight.Color = Color3.new(255,0,0) | |
4611 | redlight.Brightness = math.huge | |
4612 | mouth.Texture = "rbxassetid://828773176" | |
4613 | GroundShake = true | |
4614 | RootPart.Anchored = true | |
4615 | ||
4616 | wait(10) | |
4617 | ||
4618 | wait(7) | |
4619 | rock2 = true | |
4620 | rock = false | |
4621 | smokey:Destroy() | |
4622 | ssjbaura:Stop() | |
4623 | ssjbmusic:Stop() | |
4624 | transform3 = false | |
4625 | transform2 = false | |
4626 | transform5 = true | |
4627 | redlight:Destroy() | |
4628 | ||
4629 | mouth.Texture = "rbxassetid://932140764" | |
4630 | newaura.ImageTransparency = 1 | |
4631 | GroundShake = false | |
4632 | ||
4633 | a21e.Transparency = 0 | |
4634 | for i = 1,50 do | |
4635 | wait() | |
4636 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
4637 | a21e.Transparency = a21e.Transparency + 0.02 | |
4638 | end | |
4639 | aa21e.Scale = v3(1,1,1) | |
4640 | a21e.Transparency = 1 | |
4641 | wait(1) | |
4642 | chatfunc("Kaioken!") | |
4643 | mouth.Texture = "rbxassetid://828773176" | |
4644 | wait(0.3) | |
4645 | mouth.Texture = "rbxassetid://932140764" | |
4646 | wait(0.3) | |
4647 | mouth.Texture = "rbxassetid://828773176" | |
4648 | wait(0.3) | |
4649 | mouth.Texture = "rbxassetid://932140764" | |
4650 | wait(0.3) | |
4651 | mouth.Texture = "rbxassetid://828773176" | |
4652 | wait(0.3) | |
4653 | mouth.Texture = "rbxassetid://932140764" | |
4654 | wait(0.3) | |
4655 | GroundShake2 = true | |
4656 | transform5 = false | |
4657 | transform3 = false | |
4658 | transform2 = true | |
4659 | ssjbauraburst:Play() | |
4660 | GroundWave5() | |
4661 | GroundWave6() | |
4662 | GroundWave7() | |
4663 | GroundWave8() | |
4664 | GroundWave9() | |
4665 | GroundWave10() | |
4666 | ad.Position = RootPart.Position - v3(0,3,0) | |
4667 | aad.Transparency = 0 | |
4668 | newaura2.ImageTransparency = 0 | |
4669 | wait(0.1) | |
4670 | ||
4671 | ||
4672 | newaura.ImageTransparency = 0 | |
4673 | ssjbaura:Stop() | |
4674 | ssjbkaura:Play() | |
4675 | a21e.Transparency = 0 | |
4676 | for i = 1,50 do | |
4677 | wait() | |
4678 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
4679 | a21e.Transparency = a21e.Transparency + 0.02 | |
4680 | end | |
4681 | GroundShake2 = false | |
4682 | for i,v in pairs(workspace:GetChildren()) do | |
4683 | if v:IsA("Part") then | |
4684 | if v.Size.x > 150 then | |
4685 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
4686 | end | |
4687 | end | |
4688 | end | |
4689 | wait(0.1) | |
4690 | wait(1.4) | |
4691 | chatfunc("This Is My Trump Card") | |
4692 | rock2 = false | |
4693 | transform2 = false | |
4694 | ||
4695 | ||
4696 | ||
4697 | ||
4698 | ------------------------------------------------- | |
4699 | canattack = true | |
4700 | RootPart.Anchored = false | |
4701 | if canfly1 == true then | |
4702 | ||
4703 | idle = true | |
4704 | walk = true | |
4705 | canjump = true | |
4706 | end | |
4707 | if canfly1 == true then | |
4708 | canfly = true | |
4709 | end | |
4710 | for i = 1,20 do | |
4711 | wait() | |
4712 | aad.Transparency = aad.Transparency + 0.05 | |
4713 | end | |
4714 | end | |
4715 | end | |
4716 | end | |
4717 | end | |
4718 | end) | |
4719 | ||
4720 | ||
4721 | ||
4722 | mouse.KeyDown:connect(function(key) | |
4723 | if key == "k" then | |
4724 | if ssjbkaio == true then | |
4725 | if canattack == true then | |
4726 | canattack = false | |
4727 | if canfly == true then | |
4728 | canfly = false | |
4729 | canfly1 = true | |
4730 | end | |
4731 | ||
4732 | RootPart.Anchored = true | |
4733 | idle = false | |
4734 | ssjb = true | |
4735 | ssjbkaio = false | |
4736 | ssjbkaiox10 = true | |
4737 | ssj1 = false | |
4738 | ssj2= false | |
4739 | ssj3 = false | |
4740 | walk = false | |
4741 | canjump = false | |
4742 | ||
4743 | ssjbmusic:Play() | |
4744 | ||
4745 | ------------------------------------------------ | |
4746 | transform3 = true | |
4747 | ||
4748 | wait(0.8) | |
4749 | ||
4750 | ||
4751 | a21e = new("Part",char) | |
4752 | a21e.Name = "Beam"..num | |
4753 | a21e.Locked = true | |
4754 | a21e.Size = v3(1,1,1) | |
4755 | a21e.CanCollide = false | |
4756 | a21e.Position = v3(999,999,999) | |
4757 | a21e.BrickColor = bc("Cyan") | |
4758 | a21e.Material = "Neon" | |
4759 | a21e.Transparency = 1 | |
4760 | aa21e = new("SpecialMesh",a21e) | |
4761 | a21e.Anchored = true | |
4762 | a21e.Position = RootPart.Position | |
4763 | aa21e.MeshType = "Sphere" | |
4764 | aa21e.Scale = v3(1,1,1) | |
4765 | ||
4766 | ||
4767 | ||
4768 | ||
4769 | ||
4770 | ||
4771 | ssjbkaioken1:Play() | |
4772 | coroutine.wrap(function() | |
4773 | repeat | |
4774 | wait() | |
4775 | newaurabase2.Size = UDim2.new(math.random(30,35),0,math.random(60,75),0) | |
4776 | until Hair7.Color == Color3.fromRGB(210, 211, 223) | |
4777 | ||
4778 | ||
4779 | ||
4780 | end)() | |
4781 | rock = true | |
4782 | redlight = Instance.new("PointLight",LowerTorso) | |
4783 | redlight.Color = Color3.new(255,0,0) | |
4784 | redlight.Brightness = math.huge | |
4785 | GroundShake = true | |
4786 | ||
4787 | mouth.Texture = "rbxassetid://828773176" | |
4788 | wait(9) | |
4789 | GroundWave5() | |
4790 | GroundWave6() | |
4791 | GroundWave7() | |
4792 | GroundWave8() | |
4793 | GroundWave9() | |
4794 | GroundWave10() | |
4795 | ad = new("Part",char) | |
4796 | ad.Name = "NewPart" | |
4797 | ad.Size = v3(30,0.1,30) | |
4798 | ad.CanCollide = false | |
4799 | ad.Anchored = true | |
4800 | ad.Position = RootPart.Position - v3(0,2,0) | |
4801 | ad.BrickColor = bc("bright Blue") | |
4802 | ad.Material = "Neon" | |
4803 | ad.Transparency = 1 | |
4804 | aad = new("Decal",ad) | |
4805 | ||
4806 | aad.Face = "Top" | |
4807 | aad.Transparency = 1 | |
4808 | aad.Transparency = 0 | |
4809 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
4810 | wait(11) | |
4811 | ||
4812 | redlight:Destroy() | |
4813 | ||
4814 | chatfunc("Times 10!") | |
4815 | mouth.Texture = "rbxassetid://828773176" | |
4816 | wait(0.3) | |
4817 | mouth.Texture = "rbxassetid://932140764" | |
4818 | wait(0.3) | |
4819 | mouth.Texture = "rbxassetid://828773176" | |
4820 | wait(0.3) | |
4821 | mouth.Texture = "rbxassetid://932140764" | |
4822 | wait(0.2) | |
4823 | mouth.Texture = "rbxassetid://828773176" | |
4824 | wait(0.2) | |
4825 | mouth.Texture = "rbxassetid://932140764" | |
4826 | wait(0.2) | |
4827 | mouth.Texture = "rbxassetid://828773176" | |
4828 | wait(1.4) | |
4829 | rock3 = true | |
4830 | rock = false | |
4831 | GroundShake2 = true | |
4832 | ||
4833 | ssjbauraburst:Play() | |
4834 | GroundWave5() | |
4835 | GroundWave6() | |
4836 | GroundWave7() | |
4837 | GroundWave8() | |
4838 | GroundWave9() | |
4839 | GroundWave10() | |
4840 | ||
4841 | aad.Transparency = 0 | |
4842 | newaura2.ImageTransparency = 0 | |
4843 | ||
4844 | p1.Transparency = 0.5 | |
4845 | p2.Transparency = 0.5 | |
4846 | p3.Transparency = 0.5 | |
4847 | p4.Transparency = 0.5 | |
4848 | p5.Transparency = 0.5 | |
4849 | p6.Transparency = 0.5 | |
4850 | p7.Transparency = 0.5 | |
4851 | p8.Transparency = 0.5 | |
4852 | p9.Transparency = 0.5 | |
4853 | p10.Transparency = 0.5 | |
4854 | p11.Transparency = 0.5 | |
4855 | p12.Transparency = 0.5 | |
4856 | p13.Transparency = 0.5 | |
4857 | p14.Transparency = 0.5 | |
4858 | p15.Transparency = 0.5 | |
4859 | newaura.ImageTransparency = 0 | |
4860 | ssjbaura:Stop() | |
4861 | ssjbkaura:Play() | |
4862 | a21e.Transparency = 0 | |
4863 | Hair7.Color = Color3.fromRGB(210, 211, 223) | |
4864 | ||
4865 | Mesh.MeshId = "rbxassetid://430344159" | |
4866 | Mesh.Scale = v3(6.3,6.3,6.3) | |
4867 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=975967879" | |
4868 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
4869 | for i = 1,50 do | |
4870 | wait() | |
4871 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
4872 | a21e.Transparency = a21e.Transparency + 0.02 | |
4873 | end | |
4874 | ssjbkaioken1:Stop() | |
4875 | mouth.Texture = "rbxassetid://932140764" | |
4876 | wait() | |
4877 | GroundShake = false | |
4878 | wait() | |
4879 | ||
4880 | wait() | |
4881 | GroundShake2 = false | |
4882 | for i,v in pairs(workspace:GetChildren()) do | |
4883 | if v:IsA("Part") then | |
4884 | if v.Size.x > 150 then | |
4885 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
4886 | end | |
4887 | end | |
4888 | end | |
4889 | wait(2) | |
4890 | ||
4891 | ||
4892 | ||
4893 | ||
4894 | rock3 = false | |
4895 | ------------------------------------------------- | |
4896 | transform3 = false | |
4897 | chatfunc("I Can't Maintain This Form For Long") | |
4898 | canattack = true | |
4899 | RootPart.Anchored = false | |
4900 | if canfly1 == true then | |
4901 | ||
4902 | idle = true | |
4903 | walk = true | |
4904 | canjump = true | |
4905 | end | |
4906 | if canfly1 == true then | |
4907 | canfly = true | |
4908 | end | |
4909 | for i = 1,20 do | |
4910 | wait() | |
4911 | aad.Transparency = aad.Transparency + 0.05 | |
4912 | end | |
4913 | end | |
4914 | end | |
4915 | end | |
4916 | end) | |
4917 | ||
4918 | ||
4919 | ||
4920 | ||
4921 | mouse.KeyDown:connect(function(key) | |
4922 | if key == "u" then | |
4923 | if fuse == false or potara == false then | |
4924 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false then | |
4925 | if canattack == true then | |
4926 | canattack = false | |
4927 | if canfly == true then | |
4928 | canfly = false | |
4929 | canfly1 = true | |
4930 | end | |
4931 | newaura.Position = UDim2.new(-0.57,0,-0.28,0) | |
4932 | newaurabase.Size = UDim2.new(10,0,20,0) | |
4933 | newaurabase.AlwaysOnTop = false | |
4934 | newaurabase.ExtentsOffset = v3(0,0,-2) | |
4935 | RootPart.Anchored = true | |
4936 | ||
4937 | idle = false | |
4938 | ssjb = false | |
4939 | ssjg = true | |
4940 | ssj1 = false | |
4941 | ssj2= false | |
4942 | ssj3 = false | |
4943 | walk = false | |
4944 | canjump = false | |
4945 | ||
4946 | ssjgmusic:Play() | |
4947 | ||
4948 | ------------------------------------------------ | |
4949 | transform1 = true | |
4950 | ||
4951 | wait(0.8) | |
4952 | Hair7.Color = Color3.fromRGB(255,16,88) | |
4953 | GroundShake = true | |
4954 | char.Head.face.Texture= "rbxassetid://900680867" | |
4955 | ||
4956 | ||
4957 | a21e = new("Part",char) | |
4958 | a21e.Name = "Beam"..num | |
4959 | a21e.Locked = true | |
4960 | a21e.Size = v3(1,1,1) | |
4961 | a21e.CanCollide = false | |
4962 | a21e.Position = v3(999,999,999) | |
4963 | a21e.BrickColor = bc("Really red") | |
4964 | a21e.Material = "Neon" | |
4965 | a21e.Transparency = 0 | |
4966 | aa21e = new("SpecialMesh",a21e) | |
4967 | a21e.Anchored = true | |
4968 | a21e.Position = RootPart.Position | |
4969 | aa21e.MeshType = "Sphere" | |
4970 | aa21e.Scale = v3(1,1,1) | |
4971 | ||
4972 | transform1 = false | |
4973 | transform2 = true | |
4974 | ssjbauraburst:Play() | |
4975 | GroundWave5() | |
4976 | GroundWave6() | |
4977 | GroundWave7() | |
4978 | GroundWave8() | |
4979 | GroundWave9() | |
4980 | GroundWave10() | |
4981 | ad.Position = RootPart.Position - v3(0,3,0) | |
4982 | aad.Transparency = 0 | |
4983 | ||
4984 | ||
4985 | ||
4986 | newaura.ImageTransparency = 0 | |
4987 | ssjgaura:Play() | |
4988 | for i = 1,50 do | |
4989 | wait() | |
4990 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
4991 | a21e.Transparency = a21e.Transparency + 0.02 | |
4992 | end | |
4993 | GroundShake = false | |
4994 | for i,v in pairs(workspace:GetChildren()) do | |
4995 | if v:IsA("Part") then | |
4996 | if v.Size.x > 150 then | |
4997 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
4998 | end | |
4999 | end | |
5000 | end | |
5001 | wait(0.1) | |
5002 | wait(1.4) | |
5003 | transform2 = false | |
5004 | ||
5005 | ||
5006 | ||
5007 | ||
5008 | ------------------------------------------------- | |
5009 | canattack = true | |
5010 | RootPart.Anchored = false | |
5011 | if canfly1 == true then | |
5012 | ||
5013 | idle = true | |
5014 | walk = true | |
5015 | canjump = true | |
5016 | end | |
5017 | if canfly1 == true then | |
5018 | canfly = true | |
5019 | end | |
5020 | for i = 1,20 do | |
5021 | wait() | |
5022 | aad.Transparency = aad.Transparency + 0.05 | |
5023 | end | |
5024 | end | |
5025 | end | |
5026 | end | |
5027 | end | |
5028 | end) | |
5029 | ||
5030 | mouse.KeyDown:connect(function(key) | |
5031 | if key == "l" then | |
5032 | if fuse == false and potara == false then | |
5033 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
5034 | if great == false then | |
5035 | if canattack == true then | |
5036 | canattack = false | |
5037 | if canfly == true then | |
5038 | canfly = false | |
5039 | canfly1 = true | |
5040 | end | |
5041 | ||
5042 | ||
5043 | transform3 = true | |
5044 | idle = false | |
5045 | ssjb = false | |
5046 | ssjg = true | |
5047 | ssj1 = false | |
5048 | ssj2= false | |
5049 | ssj3 = false | |
5050 | walk = false | |
5051 | ssjg = false | |
5052 | great = true | |
5053 | canjump = false | |
5054 | ||
5055 | ||
5056 | ape = Instance.new("Part",char) | |
5057 | ape.Transparency = 1 | |
5058 | weldape = Instance.new("Weld",ape) | |
5059 | weldape.Part0 = Head | |
5060 | weldape.Part1 = ape | |
5061 | weldape.C0 = CFrame.new(0,5,-9)*CFrame.Angles(0,math.rad(180),0) | |
5062 | meshape = Instance.new("SpecialMesh",ape) | |
5063 | meshape.MeshId = "rbxassetid://553201144" | |
5064 | meshape.Scale = v3(0.04,0.04,0.04) | |
5065 | ||
5066 | Ape1:Play() | |
5067 | wait(2) | |
5068 | ||
5069 | Ape2:Play() | |
5070 | ||
5071 | wait(3) | |
5072 | Ape3:Play() | |
5073 | wait(10) | |
5074 | headcolor = Head.BrickColor | |
5075 | wait(0.1) | |
5076 | Head.BrickColor = bc("New Yeller") | |
5077 | Hair7.Transparency = 1 | |
5078 | p1.Transparency = 0 | |
5079 | p2.Transparency = 0 | |
5080 | p3.Transparency = 0 | |
5081 | p4.Transparency = 0 | |
5082 | p5.Transparency = 0 | |
5083 | p6.Transparency = 0 | |
5084 | p7.Transparency = 0 | |
5085 | p8.Transparency =0 | |
5086 | p9.Transparency = 0 | |
5087 | p10.Transparency = 0 | |
5088 | p11.Transparency = 0 | |
5089 | p12.Transparency = 0 | |
5090 | p13.Transparency =0 | |
5091 | p14.Transparency = 0 | |
5092 | ||
5093 | p1.BrickColor = bc("New Yeller") | |
5094 | p2.BrickColor = bc("New Yeller") | |
5095 | p3.BrickColor = bc("New Yeller") | |
5096 | p4.BrickColor = bc("New Yeller") | |
5097 | p5.BrickColor = bc("New Yeller") | |
5098 | p6.BrickColor = bc("Cool yellow") | |
5099 | p7.BrickColor = bc("Cool yellow") | |
5100 | p8.BrickColor = bc("Cool yellow") | |
5101 | p9.BrickColor = bc("Cool yellow") | |
5102 | p10.BrickColor = bc("New Yeller") | |
5103 | p11.BrickColor = bc("New Yeller") | |
5104 | p12.BrickColor = bc("New Yeller") | |
5105 | p13.BrickColor = bc("New Yeller") | |
5106 | p14.BrickColor = bc("New Yeller") | |
5107 | ||
5108 | transform3 = false | |
5109 | transform4 = true | |
5110 | for i = 1,10 do | |
5111 | wait() | |
5112 | hum.BodyDepthScale.Value = hum.BodyDepthScale.Value + 2 | |
5113 | hum.BodyHeightScale.Value = hum.BodyHeightScale.Value + 2 | |
5114 | hum.BodyWidthScale.Value = hum.BodyWidthScale.Value + 2 | |
5115 | hum.HeadScale.Value = hum.HeadScale.Value + 2 | |
5116 | end | |
5117 | lboob = Instance.new("Part",char) | |
5118 | lboobmesh = Instance.new("SpecialMesh",lboob) | |
5119 | lboobweld = Instance.new("Weld",lboob) | |
5120 | lboobweld.Part0 = UpperTorso | |
5121 | lboobweld.Part1 = lboob | |
5122 | lboobweld.C0 = CFrame.new(0.4,7,-5) | |
5123 | lboobmesh.MeshType = "Sphere" | |
5124 | lboobmesh.Scale = Vector3.new(0.2*50,0.4*50,0.2*50) | |
5125 | rboob = Instance.new("Part",char) | |
5126 | rboobmesh = Instance.new("SpecialMesh",rboob) | |
5127 | rboobweld = Instance.new("Weld",rboob) | |
5128 | rboobweld.Part0 = char.UpperTorso | |
5129 | rboobweld.Part1 = rboob | |
5130 | rboobweld.C0 = CFrame.new(-0.4,7,-5) | |
5131 | rboobmesh.MeshType = "Sphere" | |
5132 | rboobmesh.Scale = Vector3.new(0.2*50,0.4*50,0.2*50) | |
5133 | rlboob = Instance.new("Part",char) | |
5134 | rlboobmesh = Instance.new("SpecialMesh",rlboob) | |
5135 | rlboobweld = Instance.new("Weld",rlboob) | |
5136 | rlboobweld.Part0 = char.UpperTorso | |
5137 | rlboobweld.Part1 = rlboob | |
5138 | rlboobweld.C0 = CFrame.new(0,-1,-2) | |
5139 | rlboobmesh.MeshType = "Sphere" | |
5140 | rlboobmesh.Scale = Vector3.new(0.2*50,1*50,0.2*50) | |
5141 | lboob.BrickColor = bc("New Yeller") | |
5142 | rboob.BrickColor = bc("New Yeller") | |
5143 | rlboob.BrickColor = bc("New Yeller") | |
5144 | ape.Transparency = 0 | |
5145 | ape.BrickColor = bc("New Yeller") | |
5146 | p15.BrickColor = bc("Really black") | |
5147 | p15.Transparency =0 | |
5148 | a21e = new("Part",char) | |
5149 | a21e.Name = "Beam"..num | |
5150 | a21e.Locked = true | |
5151 | a21e.Size = v3(1,1,1) | |
5152 | a21e.CanCollide = false | |
5153 | a21e.Position = v3(999,999,999) | |
5154 | a21e.BrickColor = bc("Really red") | |
5155 | a21e.Material = "Neon" | |
5156 | a21e.Transparency = 0 | |
5157 | aa21e = new("SpecialMesh",a21e) | |
5158 | a21e.Anchored = true | |
5159 | a21e.Position = RootPart.Position | |
5160 | aa21e.MeshType = "Sphere" | |
5161 | aa21e.Scale = v3(50,50,50) | |
5162 | ||
5163 | ||
5164 | ApeGrowl:Play() | |
5165 | GroundWave5() | |
5166 | GroundWave6() | |
5167 | GroundWave7() | |
5168 | GroundWave8() | |
5169 | GroundWave9() | |
5170 | GroundWave10() | |
5171 | ||
5172 | ||
5173 | ||
5174 | ||
5175 | ||
5176 | for i = 1,50 do | |
5177 | wait() | |
5178 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
5179 | a21e.Transparency = a21e.Transparency + 0.02 | |
5180 | end | |
5181 | ||
5182 | for i,v in pairs(workspace:GetChildren()) do | |
5183 | if v:IsA("Part") then | |
5184 | if v.Size.x > 150 then | |
5185 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
5186 | end | |
5187 | end | |
5188 | end | |
5189 | wait(0.1) | |
5190 | wait(1.4) | |
5191 | transform4 = false | |
5192 | for i = 1,20 do | |
5193 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
5194 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
5195 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
5196 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
5197 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
5198 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5199 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
5200 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5201 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
5202 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
5203 | end | |
5204 | ||
5205 | ||
5206 | ||
5207 | ------------------------------------------------- | |
5208 | ||
5209 | ||
5210 | if canfly1 == true then | |
5211 | ||
5212 | ||
5213 | walk = true | |
5214 | ||
5215 | end | |
5216 | if canfly1 == true then | |
5217 | canfly = true | |
5218 | end | |
5219 | for i = 1,20 do | |
5220 | wait() | |
5221 | aad.Transparency = aad.Transparency + 0.05 | |
5222 | end | |
5223 | end | |
5224 | else | |
5225 | ape:Destroy() | |
5226 | ||
5227 | p15.BrickColor = bc("New Yeller") | |
5228 | Head.BrickColor = bc("New Yeller") | |
5229 | ||
5230 | transform5 = true | |
5231 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=258281249" | |
5232 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=258281716" | |
5233 | ||
5234 | --504772831 | |
5235 | Head.BrickColor = headcolor | |
5236 | lboob:Destroy() | |
5237 | rboob:Destroy() | |
5238 | rlboob:Destroy() | |
5239 | a21e = new("Part",char) | |
5240 | a21e.Name = "Beam"..num | |
5241 | a21e.Locked = true | |
5242 | a21e.Size = v3(1,1,1) | |
5243 | a21e.CanCollide = false | |
5244 | a21e.Position = v3(999,999,999) | |
5245 | a21e.BrickColor = bc("New Yeller") | |
5246 | a21e.Material = "Neon" | |
5247 | a21e.Transparency = 0 | |
5248 | aa21e = new("SpecialMesh",a21e) | |
5249 | a21e.Anchored = true | |
5250 | a21e.Position = RootPart.Position | |
5251 | aa21e.MeshType = "Sphere" | |
5252 | aa21e.Scale = v3(200,200,200) | |
5253 | ||
5254 | ||
5255 | ||
5256 | ||
5257 | for i = 1,100 do | |
5258 | wait() | |
5259 | hum.BodyDepthScale.Value = hum.BodyDepthScale.Value - .2 | |
5260 | hum.BodyHeightScale.Value = hum.BodyHeightScale.Value - .2 | |
5261 | hum.BodyWidthScale.Value = hum.BodyWidthScale.Value - .2 | |
5262 | hum.HeadScale.Value = hum.HeadScale.Value - .2 | |
5263 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
5264 | ||
5265 | end | |
5266 | wait(0.5) | |
5267 | mouth.Transparency = 1 | |
5268 | nose.Transparency = 1 | |
5269 | Hair7.Color = Color3.fromRGB(0,0,0) | |
5270 | Mesh.MeshId = "http://www.roblox.com/asset/?id=504772831" | |
5271 | Mesh.Scale = Vector3.new(0.23,0.23,0.23) | |
5272 | Weld.C0 = CFrame.new(0.25, 0.4, 0.5)*CFrame.Angles(0,math.rad(180),0) | |
5273 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=869609457" | |
5274 | Hair7.Transparency = 0 | |
5275 | ||
5276 | p1.Transparency = 1 | |
5277 | p2.Transparency = 1 | |
5278 | p3.Transparency = 1 | |
5279 | p4.Transparency = 1 | |
5280 | p5.Transparency = 1 | |
5281 | p6.Transparency = 1 | |
5282 | p7.Transparency = 1 | |
5283 | p8.Transparency =1 | |
5284 | p9.Transparency = 1 | |
5285 | p10.Transparency = 1 | |
5286 | p11.Transparency = 1 | |
5287 | p12.Transparency = 1 | |
5288 | p13.Transparency =1 | |
5289 | p14.Transparency = 1 | |
5290 | p15.Transparency = 1 | |
5291 | great = false | |
5292 | ape5 = Instance.new("Part",char) | |
5293 | ape5.Transparency = 0 | |
5294 | weldape5 = Instance.new("Weld",ape5) | |
5295 | weldape5.Part0 = LowerTorso | |
5296 | weldape5.Part1 = ape5 | |
5297 | ape5.BrickColor = bc("Crimson") | |
5298 | weldape5.C0 = CFrame.new(0.4,1,2)*CFrame.Angles(0,math.rad(90),math.rad(0)) | |
5299 | meshape5 = Instance.new("SpecialMesh",ape5) | |
5300 | meshape5.MeshId = "rbxassetid://547956749" | |
5301 | meshape5.Scale = v3(0.025,0.025,0.025) | |
5302 | ssj4 = true | |
5303 | ||
5304 | ||
5305 | wait(0.5) | |
5306 | ||
5307 | a21e:Destroy() | |
5308 | wait() | |
5309 | ||
5310 | a21e = new("Part",char) | |
5311 | a21e.Name = "Beam"..num | |
5312 | a21e.Locked = true | |
5313 | a21e.Size = v3(1,1,1) | |
5314 | a21e.CanCollide = false | |
5315 | a21e.Position = v3(999,999,999) | |
5316 | a21e.BrickColor = bc("New Yeller") | |
5317 | a21e.Material = "Neon" | |
5318 | a21e.Transparency = 0 | |
5319 | aa21e = new("SpecialMesh",a21e) | |
5320 | a21e.Anchored = true | |
5321 | a21e.Position = RootPart.Position | |
5322 | aa21e.MeshType = "Sphere" | |
5323 | aa21e.Scale = v3(50,50,50) | |
5324 | ||
5325 | ||
5326 | ||
5327 | ||
5328 | ||
5329 | aa21e.Scale = v3(10,10,10) | |
5330 | a21e.Transparency = 0 | |
5331 | newaura.ImageTransparency = 0 | |
5332 | GroundWave5() | |
5333 | GroundWave6() | |
5334 | GroundWave7() | |
5335 | GroundWave8() | |
5336 | GroundWave9() | |
5337 | GroundWave10() | |
5338 | ssjauraburst:Play() | |
5339 | ssjaura:Play() | |
5340 | for i = 1,50 do | |
5341 | wait() | |
5342 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
5343 | a21e.Transparency = a21e.Transparency + 0.02 | |
5344 | end | |
5345 | ||
5346 | transform5 = false | |
5347 | idle = true | |
5348 | canattack = true | |
5349 | end | |
5350 | end | |
5351 | end | |
5352 | end | |
5353 | end) | |
5354 | ||
5355 | ||
5356 | ||
5357 | ||
5358 | ||
5359 | ||
5360 | newaurabase = Instance.new("BillboardGui",LowerTorso) | |
5361 | newaurabase.Size = UDim2.new(20,0,20,0) | |
5362 | newaurabase.AlwaysOnTop = false | |
5363 | newaura = Instance.new("ImageLabel",newaurabase) | |
5364 | newaura.BackgroundTransparency = 1 | |
5365 | newaurabase.ExtentsOffset = v3(0,0,3) | |
5366 | newaura.ImageTransparency = 1 | |
5367 | newaura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
5368 | newaura.Size = UDim2.new(2,0,1,0) | |
5369 | newaura.Position = UDim2.new(-0.5,0,-0.2,0) | |
5370 | newaurabase2 = Instance.new("BillboardGui",LowerTorso) | |
5371 | newaurabase2.Size = UDim2.new(20,0,40,0) | |
5372 | newaurabase2.ExtentsOffset = v3(0,0,-3) | |
5373 | newaurabase2.AlwaysOnTop = false | |
5374 | newaura2 = Instance.new("ImageLabel",newaurabase2) | |
5375 | newaura2.BackgroundTransparency = 1 | |
5376 | newaura2.ImageTransparency = 1 | |
5377 | newaura2.ImageColor3 = Color3.fromRGB(255, 0,0) | |
5378 | newaura2.Size = UDim2.new(2,0,1,0) | |
5379 | newaura2.Position = UDim2.new(-0.5,0,-0.4,0) | |
5380 | ||
5381 | ||
5382 | ||
5383 | ||
5384 | ||
5385 | ||
5386 | ||
5387 | ||
5388 | ||
5389 | ||
5390 | ||
5391 | ||
5392 | ||
5393 | ||
5394 | char = game.Players.LocalPlayer.Character | |
5395 | char.Archivable = true | |
5396 | clone1 = char:Clone() | |
5397 | ||
5398 | clone1["Sound Folder"]:Destroy() | |
5399 | clone1.Name = "Vegeta" | |
5400 | clone1.Parent = char | |
5401 | ||
5402 | LeftUpperArm1 = clone1.LeftUpperArm | |
5403 | LeftShoulder1 = clone1.LeftUpperArm.LeftShoulder | |
5404 | LeftLowerArm1 = clone1.LeftLowerArm | |
5405 | LeftElbow1 = clone1.LeftLowerArm.LeftElbow | |
5406 | -------------------------------------------------------- | |
5407 | LeftUpperLeg1 = clone1.LeftUpperLeg | |
5408 | LeftHip1 = clone1.LeftUpperLeg.LeftHip | |
5409 | LeftLowerLeg1 = clone1.LeftLowerLeg | |
5410 | LeftKnee1 = clone1.LeftLowerLeg.LeftKnee | |
5411 | ---------------------------------------------------------- | |
5412 | RightUpperArm1 = clone1.RightUpperArm | |
5413 | RightShoulder1 = clone1.RightUpperArm.RightShoulder | |
5414 | RightLowerArm1 = clone1.RightLowerArm | |
5415 | RightElbow1 = clone1.RightLowerArm.RightElbow | |
5416 | ---------------------------------------------------------- | |
5417 | RightUpperLeg1 = clone1.RightUpperLeg | |
5418 | RightHip1 = clone1.RightUpperLeg.RightHip | |
5419 | RightLowerLeg1 = clone1.RightLowerLeg | |
5420 | RightKnee1 = clone1.RightLowerLeg.RightKnee | |
5421 | ---------------------------------------------------------- | |
5422 | UpperTorso1 = clone1.UpperTorso | |
5423 | LowerTorso1 = clone1.LowerTorso | |
5424 | Root1 = clone1.LowerTorso.Root | |
5425 | RootPart1 = clone1.HumanoidRootPart | |
5426 | LeftHand1 = clone1.LeftHand | |
5427 | RightHand1 = clone1.RightHand | |
5428 | LeftFoot1 = clone1.LeftFoot | |
5429 | RightFoot1 = clone1.RightFoot | |
5430 | -------------------------------------------- | |
5431 | Head1 = clone1.Head | |
5432 | Neck1 = clone1.Head.Neck | |
5433 | ||
5434 | ||
5435 | RootPart1.CFrame = CFrame.new(999,999,999) | |
5436 | RootPart1.Anchored = true | |
5437 | function RenderStepped3() | |
5438 | if spiritballenergy == true then | |
5439 | wait(math.random(0.1,0.5)) | |
5440 | ay = new("Part",char) | |
5441 | ay.Name = "NewPart2" | |
5442 | ay.Size = v3(0.3,0.3,0.3) | |
5443 | ay.CanCollide = false | |
5444 | ay.Material = "Neon" | |
5445 | ||
5446 | ay.BrickColor = bc("Cyan") | |
5447 | ||
5448 | meshk = Instance.new("SpecialMesh",ay) | |
5449 | meshk.MeshType = "Sphere" | |
5450 | ||
5451 | ay.Position = v3(999,999,999) | |
5452 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-12,RootPart.Position.z+math.random(-15,15)) | |
5453 | ys = Instance.new("BodyVelocity",ay) | |
5454 | ys.Name = "GO1" | |
5455 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
5456 | ||
5457 | ys.Velocity = v3(0,6,0) | |
5458 | game.Debris:AddItem(ay,4) | |
5459 | end | |
5460 | if spirit1 == true then | |
5461 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1) --LeftUpperArm | |
5462 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1)--RightUpperArm | |
5463 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
5464 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5465 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5466 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5467 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5468 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5469 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5470 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5471 | end | |
5472 | if spirit2 == true then | |
5473 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1) --LeftUpperArm | |
5474 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1)--RightUpperArm | |
5475 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5476 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5477 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftUpperLeg | |
5478 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg | |
5479 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5480 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5481 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--Torso | |
5482 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5483 | end | |
5484 | if beam1 == true then | |
5485 | beamgo = beamgo + 2 | |
5486 | beamgo1 = beamgo1 + 4 | |
5487 | ||
5488 | a1.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo | |
5489 | ||
5490 | aa1.Scale = v3(1,math.random(1,1.2),math.random(1,1.2)) | |
5491 | a3.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo * 2 | |
5492 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjbkaio == false and ssjbkaiox10 == false then | |
5493 | a1.Size = v3(beamgo1,3,3) | |
5494 | aa2.Scale = v3(100,math.random(50,70),math.random(50,70)) | |
5495 | aa3.Scale = v3(150,math.random(50,70),math.random(50,70)) | |
5496 | ||
5497 | ||
5498 | end | |
5499 | if ssj1 == true and ssj2 == false and ssj3 == false and ssjb == false and ssjbkaio == false and ssjbkaiox10 == false and ssj4 == false and potara == false and fuse == false then | |
5500 | a1.Size = v3(beamgo1,3.5,3.5) | |
5501 | aa2.Scale = v3(110,math.random(60,80),math.random(60,80)) | |
5502 | aa3.Scale = v3(160,math.random(60,80),math.random(60,80)) | |
5503 | end | |
5504 | if ssj1 == false and ssj2 == true and ssj3 == false and ssjb == false and ssjbkaio == false and ssjbkaiox10 == false then | |
5505 | a1.Size = v3(beamgo1,4,4) | |
5506 | aa2.Scale = v3(120,math.random(70,90),math.random(70,90)) | |
5507 | aa3.Scale = v3(170,math.random(70,90),math.random(70,90)) | |
5508 | end | |
5509 | if ssj3 == true then | |
5510 | a1.Size = v3(beamgo1,4.5,4.5) | |
5511 | aa2.Scale = v3(130,math.random(80,100),math.random(80,100)) | |
5512 | aa3.Scale = v3(180,math.random(80,100),math.random(80,100)) | |
5513 | end | |
5514 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == false and ssjbkaiox10 == false and potara == false then | |
5515 | a1.Size = v3(beamgo1,5,5) | |
5516 | aa2.Scale = v3(140,math.random(90,110),math.random(90,110)) | |
5517 | aa3.Scale = v3(190,math.random(90,110),math.random(90,110)) | |
5518 | end | |
5519 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == true and ssjbkaiox10 == false then | |
5520 | a1.Size = v3(beamgo1,6,6) | |
5521 | aa2.Scale = v3(155,math.random(105,125),math.random(105,125)) | |
5522 | aa3.Scale = v3(205,math.random(105,125),math.random(105,125)) | |
5523 | end | |
5524 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == false and ssjbkaiox10 == true then | |
5525 | a1.Size = v3(beamgo1,15,15) | |
5526 | aa2.Scale = v3(220,math.random(185,220),math.random(185,220)) | |
5527 | aa3.Scale = v3(280,math.random(185,220),math.random(185,220)) | |
5528 | end | |
5529 | if ssjg == true then | |
5530 | a1.Size = v3(beamgo1,6,6) | |
5531 | aa2.Scale = v3(150,math.random(100,120),math.random(100,120)) | |
5532 | aa3.Scale = v3(200,math.random(100,120),math.random(100,120)) | |
5533 | end | |
5534 | if ssj4 == true and fuse == true then | |
5535 | a1.Size = v3(beamgo1,75,75) | |
5536 | end | |
5537 | if ssj4 == false and fuse == true then | |
5538 | a1.Size = v3(beamgo1,50,50) | |
5539 | ||
5540 | end | |
5541 | if potara == true then | |
5542 | a1.Size = v3(beamgo1,math.random(25,35),math.random(25,35)) | |
5543 | end | |
5544 | if ssj4 == true and fuse == false then | |
5545 | a1.Size = v3(beamgo1,4,4) | |
5546 | aa2.Scale = v3(120,math.random(70,90),math.random(70,90)) | |
5547 | aa3.Scale = v3(170,math.random(70,90),math.random(70,90)) | |
5548 | end | |
5549 | a2.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) - RootPart.CFrame.lookVector * 1 | |
5550 | end | |
5551 | if final1 == true then | |
5552 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(-90)),.1) --LeftUpperArm | |
5553 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(90)),.1)--RightUpperArm | |
5554 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5555 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5556 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5557 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5558 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5559 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5560 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5561 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5562 | end | |
5563 | if final2 == true then | |
5564 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(30)),.1) --LeftUpperArm | |
5565 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-30)),.1)--RightUpperArm | |
5566 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5567 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5568 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5569 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5570 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5571 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5572 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5573 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5574 | end | |
5575 | if hum.MoveDirection.x > 0 and walk1 == true and fuse == true or hum.MoveDirection.x > 0 and walk1 == true and potara == true or hum.MoveDirection.x < 0 and walk1 == true and fuse == true or hum.MoveDirection.x < 0 and walk1 == true and potara == true then | |
5576 | hum.HipHeight = 1.35 | |
5577 | idle5 = false | |
5578 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
5579 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
5580 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
5581 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
5582 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
5583 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5584 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
5585 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5586 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
5587 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
5588 | end | |
5589 | if potara1 == true then | |
5590 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm | |
5591 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(110),rad(50),rad(0)),.1)--RightUpperArm | |
5592 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5593 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.1)--RightLowerArm | |
5594 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5595 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5596 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5597 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5598 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5599 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5600 | end | |
5601 | if potara2 == true then | |
5602 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1) --LeftUpperArm | |
5603 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperArm | |
5604 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftLowerArm | |
5605 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightLowerArm | |
5606 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1)--LeftUpperLeg | |
5607 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperLeg | |
5608 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
5609 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
5610 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(90),rad(0)),.1)--Torso | |
5611 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Head | |
5612 | end | |
5613 | if potara3 == true then | |
5614 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(110),rad(-50),rad(0)),.1) --LeftUpperArm | |
5615 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
5616 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.1)--LeftLowerArm | |
5617 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5618 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5619 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5620 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5621 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5622 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5623 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5624 | end | |
5625 | if potara4 == true then | |
5626 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1) --LeftUpperArm | |
5627 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperArm | |
5628 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftLowerArm | |
5629 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightLowerArm | |
5630 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1)--LeftUpperLeg | |
5631 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperLeg | |
5632 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
5633 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
5634 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-90),rad(0)),.1)--Torso | |
5635 | Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Head | |
5636 | end | |
5637 | if hum.MoveDirection.x == 0 and fuse == true or hum.MoveDirection.x == 0 and potara == true then | |
5638 | if idle7 == true then | |
5639 | idle5 = true | |
5640 | ||
5641 | ||
5642 | else | |
5643 | idle5 = false | |
5644 | hum.HipHeight = 1.35 | |
5645 | end | |
5646 | end | |
5647 | if idle5 == true and idle6 == true then | |
5648 | idle6 = false | |
5649 | hum.HipHeight = 2 | |
5650 | idle2 = true | |
5651 | for i = 1,50 do | |
5652 | wait() | |
5653 | hum.HipHeight = hum.HipHeight + 0.01 | |
5654 | end | |
5655 | idle2 = false | |
5656 | ||
5657 | idle3 = true | |
5658 | for i = 1,50 do | |
5659 | wait() | |
5660 | hum.HipHeight = hum.HipHeight - 0.01 | |
5661 | end | |
5662 | idle3 = false | |
5663 | idle6 = true | |
5664 | end | |
5665 | if noidle == true then | |
5666 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
5667 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
5668 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
5669 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
5670 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
5671 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5672 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
5673 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5674 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
5675 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
5676 | end | |
5677 | if noidle1 == true then | |
5678 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
5679 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
5680 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
5681 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
5682 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
5683 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5684 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
5685 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5686 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
5687 | Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
5688 | end | |
5689 | if idle2 == true then | |
5690 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.01) --LeftUpperArm | |
5691 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.01)--RightUpperArm | |
5692 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.01)--LeftLowerArm | |
5693 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.01)--RightLowerArm | |
5694 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.01)--LeftUpperLeg | |
5695 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--RightUpperLeg | |
5696 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-60),rad(0),rad(0)),.01)--LeftLowerLeg | |
5697 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--RightUpperLeg | |
5698 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-5),rad(0),rad(0)),.01)--Torso | |
5699 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--Head | |
5700 | end | |
5701 | if idle3 == true then | |
5702 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.01) --LeftUpperArm | |
5703 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.01)--RightUpperArm | |
5704 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.01)--LeftLowerArm | |
5705 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.01)--RightLowerArm | |
5706 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.01)--LeftUpperLeg | |
5707 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.01)--RightUpperLeg | |
5708 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.01)--LeftLowerLeg | |
5709 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.01)--RightUpperLeg | |
5710 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-4),rad(0),rad(0)),.01)--Torso | |
5711 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(2),rad(0),rad(0)),.01)--Head | |
5712 | end | |
5713 | if fuse1 == true then | |
5714 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(20),rad(20),rad(90)),.1) --LeftUpperArm | |
5715 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(90)),.1)--RightUpperArm | |
5716 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5717 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5718 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5719 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5720 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5721 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5722 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5723 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5724 | end | |
5725 | ||
5726 | ||
5727 | if fuse2 == true then | |
5728 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(260)),.1) --LeftUpperArm | |
5729 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(260)),.1)--RightUpperArm | |
5730 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5731 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5732 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5733 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5734 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5735 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5736 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5737 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5738 | ||
5739 | end | |
5740 | if fuse3 == true then | |
5741 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(20),rad(20),rad(90)),.5) --LeftUpperArm | |
5742 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(90)),.5)--RightUpperArm | |
5743 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm | |
5744 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm | |
5745 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg | |
5746 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(80),rad(0),rad(-60)),.5)--RightUpperLeg | |
5747 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg | |
5748 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--RightUpperLeg | |
5749 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso | |
5750 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head | |
5751 | ||
5752 | end | |
5753 | if fuse4 == true then | |
5754 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(330)),.5) --LeftUpperArm | |
5755 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(200)),.5)--RightUpperArm | |
5756 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-110)),.5)--LeftLowerArm | |
5757 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm | |
5758 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(80),rad(-30),rad(-80)),.5)--LeftUpperLeg | |
5759 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-40)),.5)--RightUpperLeg | |
5760 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.5)--LeftLowerLeg | |
5761 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
5762 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.5,0)*CFrame.Angles(rad(0),rad(0),rad(50)),.5)--Torso | |
5763 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(40)),.5)--Head | |
5764 | ||
5765 | end | |
5766 | if fuse5 == true then | |
5767 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-90)),.1) --LeftUpperArm | |
5768 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(-90)),.1)--RightUpperArm | |
5769 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5770 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5771 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5772 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5773 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5774 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5775 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5776 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5777 | end | |
5778 | ||
5779 | ||
5780 | if fuse6 == true then | |
5781 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(20),rad(20),rad(-260)),.1) --LeftUpperArm | |
5782 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(-260)),.1)--RightUpperArm | |
5783 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5784 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5785 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5786 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5787 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5788 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5789 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5790 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5791 | ||
5792 | end | |
5793 | if fuse7 == true then | |
5794 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-90)),.5) --LeftUpperArm | |
5795 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(-90)),.5)--RightUpperArm | |
5796 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm | |
5797 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm | |
5798 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(80),rad(0),rad(60)),.5)--LeftUpperLeg | |
5799 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
5800 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--LeftLowerLeg | |
5801 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
5802 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso | |
5803 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head | |
5804 | ||
5805 | end | |
5806 | if fuse8 == true then | |
5807 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-200)),.5) --LeftUpperArm | |
5808 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(-330)),.5)--RightUpperArm | |
5809 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm | |
5810 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(110)),.5)--RightLowerArm | |
5811 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(40)),.5)--LeftUpperLeg | |
5812 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(80),rad(30),rad(80)),.5)--RightUpperLeg | |
5813 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg | |
5814 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.5)--RightUpperLeg | |
5815 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,-0.5,0)*CFrame.Angles(rad(0),rad(0),rad(-50)),.5)--Torso | |
5816 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-40)),.5)--Head | |
5817 | ||
5818 | end | |
5819 | if bigkamehameha1 == true then | |
5820 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(0),rad(30)),.1) --LeftUpperArm | |
5821 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(60),rad(0),rad(-30)),.1)--RightUpperArm | |
5822 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm | |
5823 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm | |
5824 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.1)--LeftUpperLeg | |
5825 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5826 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-80),rad(0),rad(0)),.1)--LeftLowerLeg | |
5827 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5828 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5829 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5830 | end | |
5831 | if bigkamehameha2 == true then | |
5832 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(85),rad(0),rad(30)),.1) --LeftUpperArm | |
5833 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(85),rad(0),rad(-30)),.1)--RightUpperArm | |
5834 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5835 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5836 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftUpperLeg | |
5837 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5838 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-80),rad(0),rad(0)),.1)--LeftLowerLeg | |
5839 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5840 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-5),rad(0),rad(0)),.1)--Torso | |
5841 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5842 | end | |
5843 | end | |
5844 | ape51 = Instance.new("Part",clone1) | |
5845 | ape51.Transparency = 0 | |
5846 | weldape5 = Instance.new("Weld",ape51) | |
5847 | weldape5.Part0 = LowerTorso1 | |
5848 | weldape5.Part1 = ape51 | |
5849 | ape51.Color = Color3.fromRGB(79,0,0) | |
5850 | weldape5.C0 = CFrame.new(0.4,1,2)*CFrame.Angles(0,math.rad(90),math.rad(0)) | |
5851 | meshape5 = Instance.new("SpecialMesh",ape51) | |
5852 | meshape5.MeshId = "rbxassetid://547956749" | |
5853 | meshape5.Scale = v3(0.025,0.025,0.025) | |
5854 | game:GetService("RunService").RenderStepped:connect(RenderStepped3) | |
5855 | ||
5856 | player.Chatted:connect(function(msg) | |
5857 | if msg == "Fuse" and ssj4 == true then | |
5858 | clone1.Shirt.ShirtTemplate = "rbxassetid://919206310" | |
5859 | clone1.Pants.PantsTemplate = "rbxassetid://919206462" | |
5860 | clone1.Head.Weld.C0 = CFrame.new(0.27,0.5,.6)*cfa(0,rad(180),0) | |
5861 | clone1.Hair.Mesh.MeshId = "rbxassetid://558303331" | |
5862 | clone1.Hair.Mesh.Scale = v3(0.048,0.048,0.048) | |
5863 | ||
5864 | ape51.Transparency = 0 | |
5865 | idle = false | |
5866 | walk = false | |
5867 | canjump = false | |
5868 | linkpart = Instance.new("Part",char) | |
5869 | linkpart.Position = v3(999,999,999) | |
5870 | linkpart.Transparency = 1 | |
5871 | linkpart.CanCollide = false | |
5872 | linkpart.Anchored = true | |
5873 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
5874 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10 | |
5875 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10 | |
5876 | RootPart1.Anchored = true | |
5877 | RootPart.Anchored = true | |
5878 | RootPart1 = clone1.HumanoidRootPart | |
5879 | com1 = 10 | |
5880 | ||
5881 | noidle = true | |
5882 | wait(2) | |
5883 | noidle = false | |
5884 | ||
5885 | fuse1 = true | |
5886 | fuse5 = true | |
5887 | ||
5888 | wait(0.5) | |
5889 | fuse1 = false | |
5890 | fuse5 = false | |
5891 | coroutine.wrap(function() | |
5892 | for i = 1,40 do | |
5893 | if fuse == false then | |
5894 | wait() | |
5895 | com1 = com1 - 0.19 | |
5896 | ||
5897 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
5898 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
5899 | ||
5900 | end | |
5901 | end | |
5902 | end)() | |
5903 | chatfunc("Fuuuu") | |
5904 | chatfunc1("Fuuuu") | |
5905 | fuse2 = true | |
5906 | fuse6 = true | |
5907 | wait(0.5) | |
5908 | fuse2 = false | |
5909 | fuse6 = false | |
5910 | chatfunc("Shon") | |
5911 | chatfunc1("Shon") | |
5912 | fuse3 = true | |
5913 | fuse7 = true | |
5914 | wait(0.5) | |
5915 | fuse3 = false | |
5916 | fuse7 = false | |
5917 | fuse4 = true | |
5918 | chatfunc("Ha") | |
5919 | chatfunc1("Ha") | |
5920 | fuse8 = true | |
5921 | ||
5922 | wait(0.5) | |
5923 | a21e = new("Part",char) | |
5924 | a21e.Name = "Beam"..num | |
5925 | a21e.Locked = true | |
5926 | a21e.Size = v3(1,1,1) | |
5927 | a21e.CanCollide = false | |
5928 | a21e.Position = v3(999,999,999) | |
5929 | a21e.BrickColor = bc("White") | |
5930 | a21e.Material = "Neon" | |
5931 | a21e.Transparency = 0 | |
5932 | aa21e = new("SpecialMesh",a21e) | |
5933 | a21e.Anchored = true | |
5934 | a21e.Position = RootPart.Position | |
5935 | aa21e.MeshType = "Sphere" | |
5936 | aa21e.Scale = v3(1,1,1) | |
5937 | ||
5938 | ||
5939 | ||
5940 | ||
5941 | fuse = true | |
5942 | ||
5943 | fuse4 = false | |
5944 | fuse8 = false | |
5945 | Hair7.BrickColor = BrickColor.new("Really red") | |
5946 | Mesh.MeshId = "rbxassetid://560196103" | |
5947 | Mesh.Scale = Vector3.new(5.8,5.8,5.8) | |
5948 | Weld.C0 = CFrame.new(-0.28, 0, 0.25) | |
5949 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=919205601" | |
5950 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=919205734" | |
5951 | ||
5952 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
5953 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
5954 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
5955 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
5956 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
5957 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
5958 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
5959 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
5960 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
5961 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
5962 | hum.HipHeight = 1.35 | |
5963 | char.Head.face.Texture= "rbxassetid://903201228" | |
5964 | RootPart.Anchored = false | |
5965 | idle5 = true | |
5966 | idle7 = true | |
5967 | hum.HipHeight = 2 | |
5968 | ssjauraburst:Play() | |
5969 | RootPart1.CFrame = CFrame.new(999,999,999) | |
5970 | RootPart1.Anchored = true | |
5971 | GroundWave5() | |
5972 | GroundWave6() | |
5973 | GroundWave7() | |
5974 | GroundWave8() | |
5975 | GroundWave9() | |
5976 | GroundWave10() | |
5977 | for i = 1,50 do | |
5978 | wait() | |
5979 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
5980 | a21e.Transparency = a21e.Transparency + 0.02 | |
5981 | end | |
5982 | walk = false | |
5983 | end | |
5984 | if msg == "Fuse" and ssj4 == false and ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
5985 | clone1.Shirt.ShirtTemplate = "rbxassetid://914325463" | |
5986 | ape51.Transparency = 1 | |
5987 | clone1.Pants.PantsTemplate = "rbxassetid://914325779" | |
5988 | clone1.Head.Weld.C0 = CFrame.new(-.2,1,.5)*cfa(0,rad(0),0) | |
5989 | clone1.Hair.Mesh.MeshId = "rbxassetid://560180459" | |
5990 | clone1.Hair.Mesh.Scale = v3(7,7,7) | |
5991 | ||
5992 | idle = false | |
5993 | walk = false | |
5994 | ssj1 = true | |
5995 | canjump = false | |
5996 | linkpart = Instance.new("Part",char) | |
5997 | linkpart.Position = v3(999,999,999) | |
5998 | linkpart.Transparency = 1 | |
5999 | linkpart.CanCollide = false | |
6000 | linkpart.Anchored = true | |
6001 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
6002 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10 | |
6003 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10 | |
6004 | RootPart1.Anchored = true | |
6005 | RootPart.Anchored = true | |
6006 | RootPart1 = clone1.HumanoidRootPart | |
6007 | com1 = 10 | |
6008 | noidle = true | |
6009 | wait(2) | |
6010 | noidle = false | |
6011 | ||
6012 | fuse1 = true | |
6013 | fuse5 = true | |
6014 | ||
6015 | wait(0.5) | |
6016 | fuse1 = false | |
6017 | fuse5 = false | |
6018 | coroutine.wrap(function() | |
6019 | for i = 1,40 do | |
6020 | if fuse == false then | |
6021 | wait() | |
6022 | com1 = com1 - 0.19 | |
6023 | ||
6024 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
6025 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
6026 | ||
6027 | end | |
6028 | end | |
6029 | end)() | |
6030 | chatfunc("Fuuuu") | |
6031 | chatfunc1("Fuuuu") | |
6032 | fuse2 = true | |
6033 | fuse6 = true | |
6034 | wait(0.5) | |
6035 | fuse2 = false | |
6036 | fuse6 = false | |
6037 | chatfunc("Shon") | |
6038 | chatfunc1("Shon") | |
6039 | fuse3 = true | |
6040 | fuse7 = true | |
6041 | wait(0.5) | |
6042 | fuse3 = false | |
6043 | fuse7 = false | |
6044 | fuse4 = true | |
6045 | chatfunc("Ha") | |
6046 | chatfunc1("Ha") | |
6047 | fuse8 = true | |
6048 | wait(0.5) | |
6049 | a21e = new("Part",char) | |
6050 | a21e.Name = "Beam"..num | |
6051 | a21e.Locked = true | |
6052 | a21e.Size = v3(1,1,1) | |
6053 | a21e.CanCollide = false | |
6054 | a21e.Position = v3(999,999,999) | |
6055 | a21e.BrickColor = bc("White") | |
6056 | a21e.Material = "Neon" | |
6057 | a21e.Transparency = 0 | |
6058 | aa21e = new("SpecialMesh",a21e) | |
6059 | a21e.Anchored = true | |
6060 | a21e.Position = RootPart.Position | |
6061 | aa21e.MeshType = "Sphere" | |
6062 | aa21e.Scale = v3(1,1,1) | |
6063 | ||
6064 | ||
6065 | ||
6066 | fuse = true | |
6067 | ||
6068 | fuse4 = false | |
6069 | fuse8 = false | |
6070 | ||
6071 | ||
6072 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
6073 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
6074 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
6075 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
6076 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
6077 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6078 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
6079 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6080 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
6081 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
6082 | hum.HipHeight = 1.35 | |
6083 | ||
6084 | RootPart.Anchored = false | |
6085 | idle5 = true | |
6086 | idle7 = true | |
6087 | Mesh.MeshId = "rbxassetid://720406482" | |
6088 | newaura.ImageTransparency = 0 | |
6089 | Mesh.Scale = Vector3.new(7.2,7.2,7.2) | |
6090 | Weld.C0 = CFrame.new(0.2, .8, 0.55)*cfa(0,math.rad(180),0) | |
6091 | Hair7.Color = Color3.fromRGB(255,227,10) | |
6092 | char.Head.face.Texture= "rbxassetid://765493484" | |
6093 | ssjaura:Play() | |
6094 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=914324509" | |
6095 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=914324638" | |
6096 | hum.HipHeight = 2 | |
6097 | ssjauraburst:Play() | |
6098 | wait(0.1) | |
6099 | RootPart1.CFrame = CFrame.new(999,999,999) | |
6100 | RootPart1.Anchored = true | |
6101 | GroundWave5() | |
6102 | GroundWave6() | |
6103 | GroundWave7() | |
6104 | GroundWave8() | |
6105 | GroundWave9() | |
6106 | GroundWave10() | |
6107 | for i = 1,50 do | |
6108 | wait() | |
6109 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
6110 | a21e.Transparency = a21e.Transparency + 0.02 | |
6111 | end | |
6112 | walk = false | |
6113 | end | |
6114 | if msg == "Potara" and ssj4 == false and ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
6115 | clone1.Shirt.ShirtTemplate = "rbxassetid://914325463" | |
6116 | clone1.Pants.PantsTemplate = "rbxassetid://914325779" | |
6117 | ape51.Transparency = 1 | |
6118 | ||
6119 | clone1.Head.Weld.C0 = CFrame.new(-.2,1,.5)*cfa(0,rad(0),0) | |
6120 | clone1.Hair.Mesh.MeshId = "rbxassetid://560180459" | |
6121 | clone1.Hair.Mesh.Scale = v3(7,7,7) | |
6122 | idle = false | |
6123 | walk = false | |
6124 | canjump = false | |
6125 | linkpart = Instance.new("Part",char) | |
6126 | linkpart.Position = v3(999,999,999) | |
6127 | linkpart.Transparency = 1 | |
6128 | linkpart.CanCollide = false | |
6129 | linkpart.Anchored = true | |
6130 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
6131 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10 | |
6132 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10 | |
6133 | RootPart1.Anchored = true | |
6134 | RootPart.Anchored = true | |
6135 | RootPart1 = clone1.HumanoidRootPart | |
6136 | com1 = 10 | |
6137 | ||
6138 | ||
6139 | ||
6140 | potara1 = true | |
6141 | potara3 = true | |
6142 | wait(1) | |
6143 | potara1 = false | |
6144 | potara3 = false | |
6145 | noidle = true | |
6146 | noidle1 = true | |
6147 | ee = Instance.new("Part",char) | |
6148 | ee.Size = Vector3.new(0.2,0.2,0.2) | |
6149 | ee.Position = Vector3.new(9999999,9999999,9999999) | |
6150 | ee.Shape = "Ball" | |
6151 | ee.BrickColor = BrickColor.new("New Yeller") | |
6152 | ee1 = Instance.new("Part",char) | |
6153 | ee1.Size = Vector3.new(0.18,0.18,0.18) | |
6154 | ee1.Position = Vector3.new(999999,999999,999999) | |
6155 | ee1.Shape = "Ball" | |
6156 | ee1.BrickColor = BrickColor.new("Mid gray") | |
6157 | ee2 = Instance.new("Part",char) | |
6158 | ee2.Size = Vector3.new(0.06,0.06,0.06) | |
6159 | ee2.Shape = "Ball" | |
6160 | ee2.BrickColor = BrickColor.new("Mid gray") | |
6161 | ee2.Position = Vector3.new(99999,99999,99999) | |
6162 | ee3 = Instance.new("Part",char) | |
6163 | ee3.Size = Vector3.new(0.06,0.06,0.06) | |
6164 | ee3.Shape = "Ball" | |
6165 | ee3.BrickColor = BrickColor.new("Mid gray") | |
6166 | ee3.Position = Vector3.new(9999,9999,9999) | |
6167 | ee4 = Instance.new("Part",char) | |
6168 | ee4.Size = Vector3.new(0.1,0.1,0.1) | |
6169 | ee4.Shape = "Ball" | |
6170 | ee4.BrickColor = BrickColor.new("Mid gray") | |
6171 | ee4.Position = Vector3.new(999,999,999) | |
6172 | eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6173 | eew.Part0 = game.Players.LocalPlayer.Character.Head | |
6174 | eew.Part1 = ee | |
6175 | eew.C0 = CFrame.new(0.68,-0.22,0) | |
6176 | eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6177 | eew1.Part0 = ee | |
6178 | eew1.Part1 = ee1 | |
6179 | eew1.C0 = CFrame.new(0,0.02,0) | |
6180 | eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6181 | eew2.Part0 = game.Players.LocalPlayer.Character.Head | |
6182 | eew2.Part1 = ee2 | |
6183 | eew2.C0 = CFrame.new(0.67,-0.1,0) | |
6184 | eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6185 | eew3.Part0 = game.Players.LocalPlayer.Character.Head | |
6186 | eew3.Part1 = ee3 | |
6187 | eew3.C0 = CFrame.new(0.66,-0.05,0) | |
6188 | eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6189 | eew4.Part0 = game.Players.LocalPlayer.Character.Head | |
6190 | eew4.Part1 = ee4 | |
6191 | eew4.C0 = CFrame.new(0.64,-0.01,0) | |
6192 | ----------------------------------------------------------------------- | |
6193 | eed = Instance.new("Part",char) | |
6194 | eed.Size = Vector3.new(0.2,0.2,0.2) | |
6195 | eed.Position = Vector3.new(9999999,9999999,9999999) | |
6196 | eed.Shape = "Ball" | |
6197 | eed.BrickColor = BrickColor.new("New Yeller") | |
6198 | ee1d = Instance.new("Part",char) | |
6199 | ee1d.Size = Vector3.new(0.18,0.18,0.18) | |
6200 | ee1d.Position = Vector3.new(999999,999999,999999) | |
6201 | ee1d.Shape = "Ball" | |
6202 | ee1d.BrickColor = BrickColor.new("Mid gray") | |
6203 | ee2d = Instance.new("Part",char) | |
6204 | ee2d.Size = Vector3.new(0.06,0.06,0.06) | |
6205 | ee2d.Shape = "Ball" | |
6206 | ee2d.BrickColor = BrickColor.new("Mid gray") | |
6207 | ee2d.Position = Vector3.new(99999,99999,99999) | |
6208 | ee3d = Instance.new("Part",char) | |
6209 | ee3d.Size = Vector3.new(0.06,0.06,0.06) | |
6210 | ee3d.Shape = "Ball" | |
6211 | ee3d.BrickColor = BrickColor.new("Mid gray") | |
6212 | ee3d.Position = Vector3.new(9999,9999,9999) | |
6213 | ee4d = Instance.new("Part",char) | |
6214 | ee4d.Size = Vector3.new(0.1,0.1,0.1) | |
6215 | ee4d.Shape = "Ball" | |
6216 | ee4d.BrickColor = BrickColor.new("Mid gray") | |
6217 | ee4d.Position = Vector3.new(999,999,999) | |
6218 | eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6219 | eew.Part0 = clone1.Head | |
6220 | eew.Part1 = eed | |
6221 | eew.C0 = CFrame.new(-0.68,-0.22,0) | |
6222 | eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6223 | eew1.Part0 = ee | |
6224 | eew1.Part1 = ee1d | |
6225 | eew1.C0 = CFrame.new(0,0.02,0) | |
6226 | eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6227 | eew2.Part0 = clone1.Head | |
6228 | eew2.Part1 = ee2d | |
6229 | eew2.C0 = CFrame.new(-0.67,-0.1,0) | |
6230 | eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6231 | eew3.Part0 = clone1.Head | |
6232 | eew3.Part1 = ee3d | |
6233 | eew3.C0 = CFrame.new(-0.66,-0.05,0) | |
6234 | eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6235 | eew4.Part0 = clone1.Head | |
6236 | eew4.Part1 = ee4d | |
6237 | eew4.C0 = CFrame.new(-0.64,-0.01,0) | |
6238 | wait(0.5) | |
6239 | noidle = false | |
6240 | noidle1 = false | |
6241 | potara2 = true | |
6242 | potara4 = true | |
6243 | for i = 1,20 do | |
6244 | wait() | |
6245 | com1 = com1 - 0.5 | |
6246 | ||
6247 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
6248 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
6249 | ||
6250 | end | |
6251 | ||
6252 | potara = true | |
6253 | eec = Instance.new("Part",char) | |
6254 | eec.Size = Vector3.new(0.2,0.2,0.2) | |
6255 | eec.Position = Vector3.new(9999999,9999999,9999999) | |
6256 | eec.Shape = "Ball" | |
6257 | eec.BrickColor = BrickColor.new("New Yeller") | |
6258 | ee1c = Instance.new("Part",char) | |
6259 | ee1c.Size = Vector3.new(0.18,0.18,0.18) | |
6260 | ee1c.Position = Vector3.new(999999,999999,999999) | |
6261 | ee1c.Shape = "Ball" | |
6262 | ee1c.BrickColor = BrickColor.new("Mid gray") | |
6263 | ee2c = Instance.new("Part",char) | |
6264 | ee2c.Size = Vector3.new(0.06,0.06,0.06) | |
6265 | ee2c.Shape = "Ball" | |
6266 | ee2c.BrickColor = BrickColor.new("Mid gray") | |
6267 | ee2c.Position = Vector3.new(99999,99999,99999) | |
6268 | ee3c = Instance.new("Part",char) | |
6269 | ee3c.Size = Vector3.new(0.06,0.06,0.06) | |
6270 | ee3c.Shape = "Ball" | |
6271 | ee3c.BrickColor = BrickColor.new("Mid gray") | |
6272 | ee3c.Position = Vector3.new(9999,9999,9999) | |
6273 | ee4c = Instance.new("Part",char) | |
6274 | ee4c.Size = Vector3.new(0.1,0.1,0.1) | |
6275 | ee4c.Shape = "Ball" | |
6276 | ee4c.BrickColor = BrickColor.new("Mid gray") | |
6277 | ee4c.Position = Vector3.new(999,999,999) | |
6278 | eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6279 | eew.Part0 = game.Players.LocalPlayer.Character.Head | |
6280 | eew.Part1 = eec | |
6281 | eew.C0 = CFrame.new(-0.68,-0.22,0) | |
6282 | eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6283 | eew1.Part0 = ee | |
6284 | eew1.Part1 = ee1c | |
6285 | eew1.C0 = CFrame.new(0,0.02,0) | |
6286 | eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6287 | eew2.Part0 = game.Players.LocalPlayer.Character.Head | |
6288 | eew2.Part1 = ee2c | |
6289 | eew2.C0 = CFrame.new(-0.67,-0.1,0) | |
6290 | eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6291 | eew3.Part0 = game.Players.LocalPlayer.Character.Head | |
6292 | eew3.Part1 = ee3c | |
6293 | eew3.C0 = CFrame.new(-0.66,-0.05,0) | |
6294 | eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6295 | eew4.Part0 = game.Players.LocalPlayer.Character.Head | |
6296 | eew4.Part1 = ee4c | |
6297 | eew4.C0 = CFrame.new(-0.64,-0.01,0) | |
6298 | a21e = new("Part",char) | |
6299 | a21e.Name = "Beam"..num | |
6300 | a21e.Locked = true | |
6301 | a21e.Size = v3(1,1,1) | |
6302 | a21e.CanCollide = false | |
6303 | a21e.Position = v3(999,999,999) | |
6304 | a21e.BrickColor = bc("White") | |
6305 | a21e.Material = "Neon" | |
6306 | a21e.Transparency = 0 | |
6307 | aa21e = new("SpecialMesh",a21e) | |
6308 | a21e.Anchored = true | |
6309 | a21e.Position = RootPart.Position | |
6310 | aa21e.MeshType = "Sphere" | |
6311 | aa21e.Scale = v3(1,1,1) | |
6312 | Mesh.MeshId = "rbxassetid://560152258" | |
6313 | Hair7.Color = Color3.fromRGB(26,0,0) | |
6314 | Mesh.Scale = Vector3.new(6.9,6.9,6.9) | |
6315 | Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0) | |
6316 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=914326777" | |
6317 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=914326994" | |
6318 | ||
6319 | ||
6320 | ||
6321 | ||
6322 | ||
6323 | ||
6324 | potara2 = false | |
6325 | potara4 = false | |
6326 | ||
6327 | ||
6328 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
6329 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
6330 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
6331 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
6332 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
6333 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6334 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
6335 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6336 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
6337 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
6338 | hum.HipHeight = 1.35 | |
6339 | ||
6340 | RootPart.Anchored = false | |
6341 | idle5 = true | |
6342 | idle7 = true | |
6343 | ||
6344 | ||
6345 | hum.HipHeight = 2 | |
6346 | ssjauraburst:Play() | |
6347 | RootPart1.CFrame = CFrame.new(999,999,999) | |
6348 | RootPart1.Anchored = true | |
6349 | GroundWave5() | |
6350 | GroundWave6() | |
6351 | GroundWave7() | |
6352 | GroundWave8() | |
6353 | GroundWave9() | |
6354 | GroundWave10() | |
6355 | for i = 1,50 do | |
6356 | wait() | |
6357 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
6358 | a21e.Transparency = a21e.Transparency + 0.02 | |
6359 | end | |
6360 | walk = false | |
6361 | end | |
6362 | end) | |
6363 | ||
6364 | ||
6365 | ||
6366 | ||
6367 | ||
6368 | ||
6369 | ||
6370 | ||
6371 | ||
6372 | ||
6373 | p1 = Instance.new("Part",char) | |
6374 | p1.Size = v3(2,1.6,1) | |
6375 | p1.Transparency = 1 | |
6376 | p1.CanCollide = false | |
6377 | p1.Position = v3(999,999,999) | |
6378 | p1.BrickColor = bc("Bright red") | |
6379 | p1mesh = Instance.new("SpecialMesh",p1) | |
6380 | p1mesh.MeshType = "FileMesh" | |
6381 | p1mesh.Scale = v3(1.01,1.01,1.01) | |
6382 | p1mesh.MeshId = "rbxassetid://532220007" | |
6383 | p1weld = Instance.new("Weld",p1) | |
6384 | p1weld.Part0 = UpperTorso | |
6385 | p1weld.Part1 = p1 | |
6386 | ------------------------------------------------------------- | |
6387 | p2 = Instance.new("Part",char) | |
6388 | p2.Size = v3(2,1.6,1) | |
6389 | p2.Transparency = 1 | |
6390 | p2.CanCollide = false | |
6391 | p2.Position = v3(999,999,999) | |
6392 | p2.BrickColor = bc("Bright red") | |
6393 | p2mesh = Instance.new("SpecialMesh",p2) | |
6394 | p2mesh.MeshType = "FileMesh" | |
6395 | p2mesh.Scale = v3(1.01,1.01,1.01) | |
6396 | p2mesh.MeshId = "http://www.roblox.com/asset/?id=532220036" | |
6397 | p2weld = Instance.new("Weld",p2) | |
6398 | p2weld.Part0 = LowerTorso | |
6399 | p2weld.Part1 = p2 | |
6400 | ------------------------------------------------------------- | |
6401 | p3 = Instance.new("Part",char) | |
6402 | p3.Size = v3(2,1.6,1) | |
6403 | p3.Transparency = 1 | |
6404 | p3.CanCollide = false | |
6405 | p3.Position = v3(999,999,999) | |
6406 | p3.BrickColor = bc("Bright red") | |
6407 | p3mesh = Instance.new("SpecialMesh",p3) | |
6408 | p3mesh.MeshType = "FileMesh" | |
6409 | p3mesh.Scale = v3(1.01,1.01,1.01) | |
6410 | p3mesh.MeshId = "http://www.roblox.com/asset/?id=532219996" | |
6411 | p3weld = Instance.new("Weld",p3) | |
6412 | p3weld.Part0 = LeftUpperArm | |
6413 | p3weld.Part1 = p3 | |
6414 | ------------------------------------------------------------- | |
6415 | p4 = Instance.new("Part",char) | |
6416 | p4.Size = v3(2,1.6,1) | |
6417 | p4.Transparency = 1 | |
6418 | p4.CanCollide = false | |
6419 | p4.Position = v3(999,999,999) | |
6420 | p4.BrickColor = bc("Bright red") | |
6421 | p4mesh = Instance.new("SpecialMesh",p4) | |
6422 | p4mesh.MeshType = "FileMesh" | |
6423 | p4mesh.Scale = v3(1.01,1.01,1.01) | |
6424 | p4mesh.MeshId = "http://www.roblox.com/asset/?id=532220017" | |
6425 | p4weld = Instance.new("Weld",p4) | |
6426 | p4weld.Part0 = LeftLowerLeg | |
6427 | p4weld.Part1 = p4 | |
6428 | ------------------------------------------------------------- | |
6429 | p5 = Instance.new("Part",char) | |
6430 | p5.Size = v3(2,1.6,1) | |
6431 | p5.Transparency = 1 | |
6432 | p5.CanCollide = false | |
6433 | p5.Position = v3(999,999,999) | |
6434 | p5.BrickColor = bc("Bright red") | |
6435 | p5mesh = Instance.new("SpecialMesh",p5) | |
6436 | p5mesh.MeshType = "FileMesh" | |
6437 | p5mesh.Scale = v3(1.01,1.01,1.01) | |
6438 | p5mesh.MeshId = "http://www.roblox.com/asset/?id=532219991" | |
6439 | p5weld = Instance.new("Weld",p5) | |
6440 | p5weld.Part0 = LeftLowerArm | |
6441 | p5weld.Part1 = p5 | |
6442 | ------------------------------------------------------------- | |
6443 | p6 = Instance.new("Part",char) | |
6444 | p6.Size = v3(2,1.6,1) | |
6445 | p6.Transparency = 1 | |
6446 | p6.CanCollide = false | |
6447 | p6.Position = v3(999,999,999) | |
6448 | p6.BrickColor = bc("Bright red") | |
6449 | p6mesh = Instance.new("SpecialMesh",p6) | |
6450 | p6mesh.MeshType = "FileMesh" | |
6451 | p6mesh.Scale = v3(1.01,1.01,1.01) | |
6452 | p6mesh.MeshId = "http://www.roblox.com/asset/?id=532219986" | |
6453 | p6weld = Instance.new("Weld",p6) | |
6454 | p6weld.Part0 = LeftHand | |
6455 | p6weld.Part1 = p6 | |
6456 | ------------------------------------------------------------- | |
6457 | p7 = Instance.new("Part",char) | |
6458 | p7.Size = v3(2,1.6,1) | |
6459 | p7.Transparency =1 | |
6460 | p7.CanCollide = false | |
6461 | p7.Position = v3(999,999,999) | |
6462 | p7.BrickColor = bc("Bright red") | |
6463 | p7mesh = Instance.new("SpecialMesh",p7) | |
6464 | p7mesh.MeshType = "FileMesh" | |
6465 | p7mesh.Scale = v3(1.01,1.01,1.01) | |
6466 | p7mesh.MeshId = "http://www.roblox.com/asset/?id=532220012" | |
6467 | p7weld = Instance.new("Weld",p7) | |
6468 | p7weld.Part0 = LeftFoot | |
6469 | p7weld.Part1 = p7 | |
6470 | ------------------------------------------------------------- | |
6471 | p8 = Instance.new("Part",char) | |
6472 | p8.Size = v3(2,1.6,1) | |
6473 | p8.Transparency = 1 | |
6474 | p8.CanCollide = false | |
6475 | p8.Position = v3(999,999,999) | |
6476 | p8.BrickColor = bc("Bright red") | |
6477 | p8mesh = Instance.new("SpecialMesh",p8) | |
6478 | p8mesh.MeshType = "FileMesh" | |
6479 | p8mesh.Scale = v3(1.01,1.01,1.01) | |
6480 | p8mesh.MeshId = "http://www.roblox.com/asset/?id=532220020" | |
6481 | p8weld = Instance.new("Weld",p8) | |
6482 | p8weld.Part0 = RightFoot | |
6483 | p8weld.Part1 = p8 | |
6484 | ------------------------------------------------------------- | |
6485 | p9 = Instance.new("Part",char) | |
6486 | p9.Size = v3(2,1.6,1) | |
6487 | p9.Transparency = 1 | |
6488 | p9.CanCollide = false | |
6489 | p9.Position = v3(999,999,999) | |
6490 | p9.BrickColor = bc("Bright red") | |
6491 | p9mesh = Instance.new("SpecialMesh",p9) | |
6492 | p9mesh.MeshType = "FileMesh" | |
6493 | p9mesh.Scale = v3(1.01,1.01,1.01) | |
6494 | p9mesh.MeshId = "http://www.roblox.com/asset/?id=532219997" | |
6495 | p9weld = Instance.new("Weld",p9) | |
6496 | p9weld.Part0 = RightHand | |
6497 | p9weld.Part1 = p9 | |
6498 | ------------------------------------------------------------- | |
6499 | p10 = Instance.new("Part",char) | |
6500 | p10.Size = v3(2,1.6,1) | |
6501 | p10.Transparency = 1 | |
6502 | p10.CanCollide = false | |
6503 | p10.Position = v3(999,999,999) | |
6504 | p10.BrickColor = bc("Bright red") | |
6505 | p10mesh = Instance.new("SpecialMesh",p10) | |
6506 | p10mesh.MeshType = "FileMesh" | |
6507 | p10mesh.Scale = v3(1.01,1.01,1.01) | |
6508 | p10mesh.MeshId = "http://www.roblox.com/asset/?id=532219999" | |
6509 | p10weld = Instance.new("Weld",p10) | |
6510 | p10weld.Part0 = RightLowerArm | |
6511 | p10weld.Part1 = p10 | |
6512 | ------------------------------------------------------------- | |
6513 | p11 = Instance.new("Part",char) | |
6514 | p11.Size = v3(2,1.6,1) | |
6515 | p11.Transparency = 1 | |
6516 | p11.CanCollide = false | |
6517 | p11.Position = v3(999,999,999) | |
6518 | p11.BrickColor = bc("Bright red") | |
6519 | p11mesh = Instance.new("SpecialMesh",p11) | |
6520 | p11mesh.MeshType = "FileMesh" | |
6521 | p11mesh.Scale = v3(1.01,1.01,1.01) | |
6522 | p11mesh.MeshId = "http://www.roblox.com/asset/?id=532220027" | |
6523 | p11weld = Instance.new("Weld",p11) | |
6524 | p11weld.Part0 = RightLowerLeg | |
6525 | p11weld.Part1 = p11 | |
6526 | ------------------------------------------------------------- | |
6527 | p12 = Instance.new("Part",char) | |
6528 | p12.Size = v3(2,1.6,1) | |
6529 | p12.Transparency =1 | |
6530 | p12.CanCollide = false | |
6531 | p12.Position = v3(999,999,999) | |
6532 | p12.BrickColor = bc("Bright red") | |
6533 | p12mesh = Instance.new("SpecialMesh",p12) | |
6534 | p12mesh.MeshType = "FileMesh" | |
6535 | p12mesh.Scale = v3(1.01,1.01,1.01) | |
6536 | p12mesh.MeshId = "http://www.roblox.com/asset/?id=532220004" | |
6537 | p12weld = Instance.new("Weld",p12) | |
6538 | p12weld.Part0 = RightUpperArm | |
6539 | p12weld.Part1 = p12 | |
6540 | ------------------------------------------------------------- | |
6541 | p13 = Instance.new("Part",char) | |
6542 | p13.Size = v3(2,1.6,1) | |
6543 | p13.Transparency = 1 | |
6544 | p13.CanCollide = false | |
6545 | p13.Position = v3(999,999,999) | |
6546 | p13.BrickColor = bc("Bright red") | |
6547 | p13mesh = Instance.new("SpecialMesh",p13) | |
6548 | p13mesh.MeshType = "FileMesh" | |
6549 | p13mesh.Scale = v3(1.01,1.01,1.01) | |
6550 | p13mesh.MeshId = "http://www.roblox.com/asset/?id=532220031" | |
6551 | p13weld = Instance.new("Weld",p13) | |
6552 | p13weld.Part0 = RightUpperLeg | |
6553 | p13weld.Part1 = p13 | |
6554 | ------------------------------------------------------------- | |
6555 | p14 = Instance.new("Part",char) | |
6556 | p14.Size = v3(2,1,1) | |
6557 | p14.Transparency = 1 | |
6558 | p14.CanCollide = false | |
6559 | p14.Position = v3(999,999,999) | |
6560 | p14.BrickColor = bc("Bright red") | |
6561 | p14mesh = Instance.new("SpecialMesh",p14) | |
6562 | p14mesh.MeshType = "FileMesh" | |
6563 | p14mesh.Scale = v3(1.01,1.01,1.01) | |
6564 | p14mesh.MeshId = "http://www.roblox.com/asset/?id=532220018" | |
6565 | p14weld = Instance.new("Weld",p14) | |
6566 | p14weld.Part0 = LeftUpperLeg | |
6567 | p14weld.Part1 = p14 | |
6568 | p15 = Instance.new("Part",char) | |
6569 | p15.Size = v3(2,1,1) | |
6570 | p15.Transparency = 1 | |
6571 | p15.CanCollide = false | |
6572 | p15.Position = v3(999,999,999) | |
6573 | p15.BrickColor = bc("Bright red") | |
6574 | p15mesh = Instance.new("SpecialMesh",p15) | |
6575 | p15mesh.MeshType = "Head" | |
6576 | p15mesh.Scale = v3(1.26,1.26,1.26) | |
6577 | p15weld = Instance.new("Weld",p15) | |
6578 | p15weld.Part0 = Head | |
6579 | p15weld.Part1 = p15 | |
6580 | ||
6581 | mouse.KeyDown:connect(function(key) | |
6582 | if key == "z" and ki < 101 then | |
6583 | idle = false | |
6584 | idle7 = false | |
6585 | hum.HipHeight = 1.35 | |
6586 | walk = false | |
6587 | canjump = false | |
6588 | transform1 = true | |
6589 | wait(0.2) | |
6590 | size = newaurabase.Size | |
6591 | size2 = newaurabase2.Size | |
6592 | wait(0.1) | |
6593 | KiCharge.TimePosition = 0.7 | |
6594 | ||
6595 | wait(0.1) | |
6596 | KiCharge:Play() | |
6597 | ||
6598 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false and ssj4 == false then | |
6599 | newaura.ImageTransparency = 0 | |
6600 | newaura.ImageColor3 = Color3.fromRGB(255,255,255) | |
6601 | newaurabase.Size = UDim2.new(20,0,20,0) | |
6602 | elseif ssjg == true then | |
6603 | newaurabase.Size = UDim2.new(12,0,25,0) | |
6604 | elseif ssj1 == true or ssj2 == true or ssj3 == true then | |
6605 | newaurabase.Size = UDim2.new(40,0,40,0) | |
6606 | elseif ssjb == true then | |
6607 | newaurabase.Size = UDim2.new(20,0,30,0) | |
6608 | elseif ssjb == true and ssjbkaio == true then | |
6609 | newaurabase2.Size = UDim2.new(25,0,45,0) | |
6610 | elseif ssjb == true and ssjbkaiox10 == true then | |
6611 | newaurabase2.Size = UDim2.new(40,0,80,0) | |
6612 | elseif ssj4 == true then | |
6613 | newaurabase.Size = UDim2.new(40,0,40,0) | |
6614 | end | |
6615 | ||
6616 | newaura.ImageTransparency = 0 | |
6617 | rock = true | |
6618 | transform1 = false | |
6619 | transform3 = true | |
6620 | kicharging = true | |
6621 | wait(2) | |
6622 | ||
6623 | repeat | |
6624 | if kicharging == true then | |
6625 | KiCharge.TimePosition = 2 | |
6626 | ||
6627 | KiCharge:Play() | |
6628 | end | |
6629 | wait(2) | |
6630 | until kicharging == false | |
6631 | end | |
6632 | end) | |
6633 | mouse.KeyUp:connect(function(key) | |
6634 | if key == "z" then | |
6635 | ||
6636 | KiCharge:Stop() | |
6637 | kicharging = false | |
6638 | rock = false | |
6639 | rock3 = true | |
6640 | transform3 = false | |
6641 | transform1 = false | |
6642 | transform4 = true | |
6643 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false and ssj4 == false then | |
6644 | newaura.ImageTransparency = 1 | |
6645 | newaura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
6646 | else | |
6647 | newaurabase.Size = size | |
6648 | newaurabase2.Size = size2 | |
6649 | end | |
6650 | ||
6651 | a21e = new("Part",char) | |
6652 | a21e.Name = "Beam"..num | |
6653 | a21e.Locked = true | |
6654 | a21e.Size = v3(1,1,1) | |
6655 | a21e.CanCollide = false | |
6656 | a21e.Position = v3(999,999,999) | |
6657 | a21e.BrickColor = bc("White") | |
6658 | a21e.Material = "Neon" | |
6659 | a21e.Transparency = 0 | |
6660 | aa21e = new("SpecialMesh",a21e) | |
6661 | a21e.Anchored = true | |
6662 | a21e.Position = RootPart.Position | |
6663 | aa21e.MeshType = "Sphere" | |
6664 | aa21e.Scale = v3(1,1,1) | |
6665 | ||
6666 | KiCharge2.TimePosition = 7.6 | |
6667 | wait(0.1) | |
6668 | KiCharge2:Play() | |
6669 | KiCharge:Stop() | |
6670 | GroundWave5() | |
6671 | GroundWave6() | |
6672 | GroundWave7() | |
6673 | GroundWave8() | |
6674 | GroundWave9() | |
6675 | GroundWave10() | |
6676 | for i = 1,25 do | |
6677 | wait() | |
6678 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
6679 | a21e.Transparency = a21e.Transparency + 0.04 | |
6680 | end | |
6681 | ||
6682 | wait(0.5) | |
6683 | ||
6684 | KiCharge2:Stop() | |
6685 | transform4 = false | |
6686 | if fuse == false or potara == false then | |
6687 | idle = true | |
6688 | walk = true | |
6689 | canjump = true | |
6690 | end | |
6691 | if fuse == true or potara == true then | |
6692 | idle7 = true | |
6693 | end | |
6694 | end | |
6695 | end) | |
6696 | ||
6697 | ||
6698 | ||
6699 | ||
6700 | ||
6701 | ||
6702 | ||
6703 | ||
6704 | hum.Name = "LolCantHurtMe" | |
6705 | ||
6706 | ||
6707 | ||
6708 | ||
6709 | ||
6710 | ||
6711 | ||
6712 | ||
6713 | ||
6714 | function chatfunc1(text) | |
6715 | local chat = coroutine.wrap(function() | |
6716 | if clone1:FindFirstChild("TalkingBillBoard")~= nil then | |
6717 | clone1:FindFirstChild("TalkingBillBoard"):destroy() | |
6718 | end | |
6719 | local naeeym2 = Instance.new("BillboardGui",clone1) | |
6720 | naeeym2.Size = UDim2.new(0,100,0,40) | |
6721 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
6722 | naeeym2.Adornee = clone1.Head | |
6723 | naeeym2.Name = "TalkingBillBoard" | |
6724 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
6725 | tecks2.BackgroundTransparency = 1 | |
6726 | tecks2.BorderSizePixel = 0 | |
6727 | tecks2.Text = "" | |
6728 | tecks2.Font = "Fantasy" | |
6729 | tecks2.TextSize = 30 | |
6730 | tecks2.TextStrokeTransparency = 0 | |
6731 | tecks2.TextColor3 = Color3.new(0,0,0) | |
6732 | tecks2.TextStrokeColor3 = Color3.new(0,0,255) | |
6733 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
6734 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
6735 | tecks3.BackgroundTransparency = 1 | |
6736 | tecks3.BorderSizePixel = 0 | |
6737 | tecks3.Text = "" | |
6738 | tecks3.Font = "Fantasy" | |
6739 | tecks3.TextSize = 30 | |
6740 | tecks3.TextStrokeTransparency = 0 | |
6741 | tecks3.TextColor3 = Color3.new(0,0,0) | |
6742 | tecks3.TextStrokeColor3 = Color3.new(255,255,255) | |
6743 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
6744 | for i = 1,string.len(text),1 do | |
6745 | ||
6746 | tecks2.Text = string.sub(text,1,i) | |
6747 | tecks3.Text = string.sub(text,1,i) | |
6748 | wait(0.01) | |
6749 | end | |
6750 | wait(2) | |
6751 | for i = 1, 50 do | |
6752 | ||
6753 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
6754 | tecks2.Rotation = tecks2.Rotation - .8 | |
6755 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
6756 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
6757 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
6758 | tecks3.Rotation = tecks2.Rotation + .8 | |
6759 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
6760 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
6761 | end | |
6762 | naeeym2:Destroy() | |
6763 | end) | |
6764 | chat() | |
6765 | ||
6766 | end | |
6767 | ||
6768 | repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("LowerTorso") | |
6769 | local mouse = game.Players.LocalPlayer:GetMouse() | |
6770 | repeat wait() until mouse | |
6771 | local plr = game.Players.LocalPlayer | |
6772 | local LowerTorso = plr.Character.LowerTorso | |
6773 | local flying = true | |
6774 | local deb = true | |
6775 | local ctrl = {f = 0, b = 0, l = 0, r = 0} | |
6776 | local lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
6777 | local maxspeed = 50 | |
6778 | local speed = 0 | |
6779 | function Fly() | |
6780 | local bg = Instance.new("BodyGyro", LowerTorso) | |
6781 | bg.P = 9e4 | |
6782 | bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
6783 | bg.cframe =LowerTorso.CFrame | |
6784 | local bv = Instance.new("BodyVelocity", LowerTorso) | |
6785 | bv.velocity = Vector3.new(0,0.1,0) | |
6786 | bv.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
6787 | repeat wait() | |
6788 | hum.PlatformStand = true | |
6789 | if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then | |
6790 | speed = speed+.5+(speed/maxspeed) | |
6791 | if speed > maxspeed then | |
6792 | speed = maxspeed | |
6793 | end | |
6794 | elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then | |
6795 | speed = speed-1 | |
6796 | if speed < 0 then | |
6797 | speed = 0 | |
6798 | end | |
6799 | end | |
6800 | if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then | |
6801 | bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed | |
6802 | lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r} | |
6803 | elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then | |
6804 | bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed | |
6805 | else | |
6806 | bv.velocity = Vector3.new(0,0.1,0) | |
6807 | end | |
6808 | bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0) | |
6809 | until not flying | |
6810 | ctrl = {f = 0, b = 0, l = 0, r = 0} | |
6811 | lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
6812 | speed = 0 | |
6813 | bg:Destroy() | |
6814 | bv:Destroy() | |
6815 | hum.PlatformStand = false | |
6816 | end | |
6817 | mouse.KeyDown:connect(function(key) | |
6818 | if key:lower() == "f" then | |
6819 | if flying then flying = false | |
6820 | flying1 = false | |
6821 | idle = true | |
6822 | walk = true | |
6823 | canjump = true | |
6824 | else | |
6825 | hum.Jump = true | |
6826 | wait(0.5) | |
6827 | flying1 = true | |
6828 | flying = true | |
6829 | -- return to idle if finishing an emote | |
6830 | if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then | |
6831 | oldAnim = "idle" | |
6832 | end | |
6833 | ||
6834 | currentAnim = "" | |
6835 | currentAnimInstance = nil | |
6836 | if (currentAnimKeyframeHandler ~= nil) then | |
6837 | currentAnimKeyframeHandler:disconnect() | |
6838 | end | |
6839 | ||
6840 | if (currentAnimTrack ~= nil) then | |
6841 | currentAnimTrack:Stop() | |
6842 | currentAnimTrack:Destroy() | |
6843 | currentAnimTrack = nil | |
6844 | end | |
6845 | ||
6846 | -- clean up walk if there is one | |
6847 | if (runAnimKeyframeHandler ~= nil) then | |
6848 | runAnimKeyframeHandler:disconnect() | |
6849 | end | |
6850 | ||
6851 | if (runAnimTrack ~= nil) then | |
6852 | runAnimTrack:Stop() | |
6853 | runAnimTrack:Destroy() | |
6854 | runAnimTrack = nil | |
6855 | end | |
6856 | Fly() | |
6857 | end | |
6858 | elseif key:lower() == "w" then | |
6859 | ctrl.f = 1 | |
6860 | nill = false | |
6861 | foward = true | |
6862 | elseif key:lower() == "s" then | |
6863 | ctrl.b = -1 | |
6864 | elseif key:lower() == "a" then | |
6865 | ctrl.l = -1 | |
6866 | elseif key:lower() == "d" then | |
6867 | ctrl.r = 1 | |
6868 | end | |
6869 | end) | |
6870 | mouse.KeyUp:connect(function(key) | |
6871 | if key:lower() == "w" then | |
6872 | ctrl.f = 0 | |
6873 | nill = true | |
6874 | foward = false | |
6875 | elseif key:lower() == "s" then | |
6876 | ctrl.b = 0 | |
6877 | elseif key:lower() == "a" then | |
6878 | ctrl.l = 0 | |
6879 | elseif key:lower() == "d" then | |
6880 | ctrl.r = 0 | |
6881 | end | |
6882 | end) | |
6883 | Fly() | |
6884 | ||
6885 | ||
6886 | ||
6887 | ||
6888 | ||
6889 | ||
6890 | ||
6891 | ||
6892 | ||
6893 | ||
6894 | ||
6895 | ||
6896 | ||
6897 | ||
6898 | ||
6899 | ||
6900 | ||
6901 | ||
6902 | ||
6903 | ||
6904 | ||
6905 | ||
6906 | ||
6907 | ||
6908 | ||
6909 | ||
6910 | ||
6911 | ||
6912 | ||
6913 | ||
6914 | ||
6915 | ||
6916 | ||
6917 | ||
6918 | ||
6919 | ||
6920 | ------------------------------------------------------------------------------------------------------------------------------------------- | |
6921 | math.randomseed(tick()) | |
6922 | ||
6923 | function configureAnimationSet(name, fileList) | |
6924 | if (animTable[name] ~= nil) then | |
6925 | for _, connection in pairs(animTable[name].connections) do | |
6926 | connection:disconnect() | |
6927 | end | |
6928 | end | |
6929 | animTable[name] = {} | |
6930 | animTable[name].count = 0 | |
6931 | animTable[name].totalWeight = 0 | |
6932 | animTable[name].connections = {} | |
6933 | ||
6934 | local allowCustomAnimations = true | |
6935 | local AllowDisableCustomAnimsUserFlag = true | |
6936 | ||
6937 | local success, msg = pcall(function() | |
6938 | AllowDisableCustomAnimsUserFlag = UserSettings():IsUserFeatureEnabled("UserAllowDisableCustomAnims") | |
6939 | end) | |
6940 | ||
6941 | if (AllowDisableCustomAnimsUserFlag) then | |
6942 | local ps = game:GetService("StarterPlayer"):FindFirstChild("PlayerSettings") | |
6943 | if (ps ~= nil) then | |
6944 | allowCustomAnimations = not require(ps).UseDefaultAnimations | |
6945 | end | |
6946 | end | |
6947 | ||
6948 | -- check for config values | |
6949 | local config = script:FindFirstChild(name) | |
6950 | if (allowCustomAnimations and config ~= nil) then | |
6951 | table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end)) | |
6952 | table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end)) | |
6953 | local idx = 1 | |
6954 | for _, childPart in pairs(config:GetChildren()) do | |
6955 | if (childPart:IsA("Animation")) then | |
6956 | table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end)) | |
6957 | animTable[name][idx] = {} | |
6958 | animTable[name][idx].anim = childPart | |
6959 | local weightObject = childPart:FindFirstChild("Weight") | |
6960 | if (weightObject == nil) then | |
6961 | animTable[name][idx].weight = 1 | |
6962 | else | |
6963 | animTable[name][idx].weight = weightObject.Value | |
6964 | end | |
6965 | animTable[name].count = animTable[name].count + 1 | |
6966 | animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight | |
6967 | idx = idx + 1 | |
6968 | end | |
6969 | end | |
6970 | end | |
6971 | ||
6972 | -- fallback to defaults | |
6973 | if (animTable[name].count <= 0) then | |
6974 | for idx, anim in pairs(fileList) do | |
6975 | animTable[name][idx] = {} | |
6976 | animTable[name][idx].anim = Instance.new("Animation") | |
6977 | animTable[name][idx].anim.Name = name | |
6978 | animTable[name][idx].anim.AnimationId = anim.id | |
6979 | animTable[name][idx].weight = anim.weight | |
6980 | animTable[name].count = animTable[name].count + 1 | |
6981 | animTable[name].totalWeight = animTable[name].totalWeight + anim.weight | |
6982 | -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")") | |
6983 | end | |
6984 | end | |
6985 | end | |
6986 | ||
6987 | -- Setup animation objects | |
6988 | function scriptChildModified(child) | |
6989 | local fileList = animNames[child.Name] | |
6990 | if (fileList ~= nil) then | |
6991 | configureAnimationSet(child.Name, fileList) | |
6992 | end | |
6993 | end | |
6994 | ||
6995 | script.ChildAdded:connect(scriptChildModified) | |
6996 | script.ChildRemoved:connect(scriptChildModified) | |
6997 | ||
6998 | ||
6999 | for name, fileList in pairs(animNames) do | |
7000 | configureAnimationSet(name, fileList) | |
7001 | end | |
7002 | ||
7003 | -- ANIMATION | |
7004 | ||
7005 | -- declarations | |
7006 | local toolAnim = "None" | |
7007 | local toolAnimTime = 0 | |
7008 | ||
7009 | local jumpAnimTime = 0 | |
7010 | local jumpAnimDuration = 0.31 | |
7011 | ||
7012 | local toolTransitionTime = 0.1 | |
7013 | local fallTransitionTime = 0.2 | |
7014 | ||
7015 | -- functions | |
7016 | ||
7017 | function stopAllAnimations() | |
7018 | local oldAnim = currentAnim | |
7019 | ||
7020 | -- return to idle if finishing an emote | |
7021 | if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then | |
7022 | oldAnim = "idle" | |
7023 | end | |
7024 | ||
7025 | currentAnim = "" | |
7026 | currentAnimInstance = nil | |
7027 | if (currentAnimKeyframeHandler ~= nil) then | |
7028 | currentAnimKeyframeHandler:disconnect() | |
7029 | end | |
7030 | ||
7031 | if (currentAnimTrack ~= nil) then | |
7032 | currentAnimTrack:Stop() | |
7033 | currentAnimTrack:Destroy() | |
7034 | currentAnimTrack = nil | |
7035 | end | |
7036 | ||
7037 | -- clean up walk if there is one | |
7038 | if (runAnimKeyframeHandler ~= nil) then | |
7039 | runAnimKeyframeHandler:disconnect() | |
7040 | end | |
7041 | ||
7042 | if (runAnimTrack ~= nil) then | |
7043 | runAnimTrack:Stop() | |
7044 | runAnimTrack:Destroy() | |
7045 | runAnimTrack = nil | |
7046 | end | |
7047 | ||
7048 | return oldAnim | |
7049 | end | |
7050 | ||
7051 | local smallButNotZero = 0.0001 | |
7052 | function setRunSpeed(speed) | |
7053 | if speed < 0.33 then | |
7054 | currentAnimTrack:AdjustWeight(1.0) | |
7055 | runAnimTrack:AdjustWeight(smallButNotZero) | |
7056 | elseif speed < 0.66 then | |
7057 | local weight = ((speed - 0.33) / 0.33) | |
7058 | currentAnimTrack:AdjustWeight(1.0 - weight + smallButNotZero) | |
7059 | runAnimTrack:AdjustWeight(weight + smallButNotZero) | |
7060 | else | |
7061 | currentAnimTrack:AdjustWeight(smallButNotZero) | |
7062 | runAnimTrack:AdjustWeight(1.0) | |
7063 | end | |
7064 | ||
7065 | local speedScaled = speed * 1.25 | |
7066 | runAnimTrack:AdjustSpeed(speedScaled) | |
7067 | currentAnimTrack:AdjustSpeed(speedScaled) | |
7068 | end | |
7069 | ||
7070 | ||
7071 | function setAnimationSpeed(speed) | |
7072 | if jumped == false or flying == false then | |
7073 | if speed ~= currentAnimSpeed then | |
7074 | currentAnimSpeed = speed | |
7075 | if currentAnim == "walk" then | |
7076 | setRunSpeed(speed) | |
7077 | else | |
7078 | currentAnimTrack:AdjustSpeed(currentAnimSpeed) | |
7079 | end | |
7080 | end | |
7081 | end | |
7082 | end | |
7083 | ||
7084 | function keyFrameReachedFunc(frameName) | |
7085 | if (frameName == "End") then | |
7086 | if currentAnim == "walk" then | |
7087 | runAnimTrack.TimePosition = 0.0 | |
7088 | currentAnimTrack.TimePosition = 0.0 | |
7089 | else | |
7090 | local repeatAnim = currentAnim | |
7091 | -- return to idle if finishing an emote | |
7092 | if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then | |
7093 | repeatAnim = "idle" | |
7094 | end | |
7095 | ||
7096 | local animSpeed = currentAnimSpeed | |
7097 | playAnimation(repeatAnim, 0.15, Humanoid) | |
7098 | setAnimationSpeed(animSpeed) | |
7099 | end | |
7100 | end | |
7101 | end | |
7102 | ||
7103 | function rollAnimation(animName) | |
7104 | local roll = math.random(1, animTable[animName].totalWeight) | |
7105 | local origRoll = roll | |
7106 | local idx = 1 | |
7107 | while (roll > animTable[animName][idx].weight) do | |
7108 | roll = roll - animTable[animName][idx].weight | |
7109 | idx = idx + 1 | |
7110 | end | |
7111 | return idx | |
7112 | end | |
7113 | ||
7114 | function playAnimation(animName, transitionTime, humanoid) | |
7115 | local idx = rollAnimation(animName) | |
7116 | local anim = animTable[animName][idx].anim | |
7117 | ||
7118 | -- switch animation | |
7119 | if (anim ~= currentAnimInstance) then | |
7120 | ||
7121 | if (currentAnimTrack ~= nil) then | |
7122 | currentAnimTrack:Stop(transitionTime) | |
7123 | currentAnimTrack:Destroy() | |
7124 | end | |
7125 | ||
7126 | if (runAnimTrack ~= nil) then | |
7127 | runAnimTrack:Stop(transitionTime) | |
7128 | runAnimTrack:Destroy() | |
7129 | end | |
7130 | ||
7131 | currentAnimSpeed = 1.0 | |
7132 | ||
7133 | -- load it to the humanoid; get AnimationTrack | |
7134 | currentAnimTrack = humanoid:LoadAnimation(anim) | |
7135 | currentAnimTrack.Priority = Enum.AnimationPriority.Core | |
7136 | ||
7137 | -- play the animation | |
7138 | currentAnimTrack:Play(transitionTime) | |
7139 | currentAnim = animName | |
7140 | currentAnimInstance = anim | |
7141 | ||
7142 | -- set up keyframe name triggers | |
7143 | if (currentAnimKeyframeHandler ~= nil) then | |
7144 | currentAnimKeyframeHandler:disconnect() | |
7145 | end | |
7146 | currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc) | |
7147 | ||
7148 | -- check to see if we need to blend a walk/run animation | |
7149 | if animName == "walk" then | |
7150 | local runAnimName = "run" | |
7151 | local runIdx = rollAnimation(runAnimName) | |
7152 | ||
7153 | runAnimTrack = humanoid:LoadAnimation(animTable[runAnimName][runIdx].anim) | |
7154 | runAnimTrack.Priority = Enum.AnimationPriority.Core | |
7155 | runAnimTrack:Play(transitionTime) | |
7156 | ||
7157 | if (runAnimKeyframeHandler ~= nil) then | |
7158 | runAnimKeyframeHandler:disconnect() | |
7159 | end | |
7160 | runAnimKeyframeHandler = runAnimTrack.KeyframeReached:connect(keyFrameReachedFunc) | |
7161 | end | |
7162 | end | |
7163 | ||
7164 | end | |
7165 | ||
7166 | ------------------------------------------------------------------------------------------- | |
7167 | ------------------------------------------------------------------------------------------- | |
7168 | ||
7169 | local toolAnimName = "" | |
7170 | local toolAnimTrack = nil | |
7171 | local toolAnimInstance = nil | |
7172 | local currentToolAnimKeyframeHandler = nil | |
7173 | ||
7174 | function toolKeyFrameReachedFunc(frameName) | |
7175 | if (frameName == "End") then | |
7176 | playToolAnimation(toolAnimName, 0.0, Humanoid) | |
7177 | end | |
7178 | end | |
7179 | ||
7180 | ||
7181 | function playToolAnimation(animName, transitionTime, humanoid, priority) | |
7182 | local idx = rollAnimation(animName) | |
7183 | local anim = animTable[animName][idx].anim | |
7184 | ||
7185 | if (toolAnimInstance ~= anim) then | |
7186 | ||
7187 | if (toolAnimTrack ~= nil) then | |
7188 | toolAnimTrack:Stop() | |
7189 | toolAnimTrack:Destroy() | |
7190 | transitionTime = 0 | |
7191 | end | |
7192 | ||
7193 | -- load it to the humanoid; get AnimationTrack | |
7194 | toolAnimTrack = humanoid:LoadAnimation(anim) | |
7195 | if priority then | |
7196 | toolAnimTrack.Priority = priority | |
7197 | end | |
7198 | ||
7199 | -- play the animation | |
7200 | toolAnimTrack:Play(transitionTime) | |
7201 | toolAnimName = animName | |
7202 | toolAnimInstance = anim | |
7203 | ||
7204 | currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc) | |
7205 | end | |
7206 | end | |
7207 | ||
7208 | function stopToolAnimations() | |
7209 | local oldAnim = toolAnimName | |
7210 | ||
7211 | if (currentToolAnimKeyframeHandler ~= nil) then | |
7212 | currentToolAnimKeyframeHandler:disconnect() | |
7213 | end | |
7214 | ||
7215 | toolAnimName = "" | |
7216 | toolAnimInstance = nil | |
7217 | if (toolAnimTrack ~= nil) then | |
7218 | toolAnimTrack:Stop() | |
7219 | toolAnimTrack:Destroy() | |
7220 | toolAnimTrack = nil | |
7221 | end | |
7222 | ||
7223 | return oldAnim | |
7224 | end | |
7225 | ||
7226 | ------------------------------------------------------------------------------------------- | |
7227 | ------------------------------------------------------------------------------------------- | |
7228 | -- STATE CHANGE HANDLERS | |
7229 | ||
7230 | function onRunning(speed) | |
7231 | if speed > 0.5 then | |
7232 | local scale = 16.0 | |
7233 | if jumped == false or flying == false then | |
7234 | playAnimation("walk", 0.2, Humanoid) | |
7235 | end | |
7236 | setAnimationSpeed(speed / scale) | |
7237 | pose = "Running" | |
7238 | else | |
7239 | if emoteNames[currentAnim] == nil then | |
7240 | playAnimation("idle", 0.2, Humanoid) | |
7241 | pose = "Standing" | |
7242 | end | |
7243 | end | |
7244 | end | |
7245 | ||
7246 | function onDied() | |
7247 | pose = "Dead" | |
7248 | end | |
7249 | ||
7250 | function onJumping() | |
7251 | ||
7252 | end | |
7253 | ||
7254 | function onClimbing(speed) | |
7255 | local scale = 5.0 | |
7256 | playAnimation("climb", 0.1, Humanoid) | |
7257 | setAnimationSpeed(speed / scale) | |
7258 | pose = "Climbing" | |
7259 | end | |
7260 | ||
7261 | function onGettingUp() | |
7262 | pose = "GettingUp" | |
7263 | end | |
7264 | ||
7265 | function onFreeFall() | |
7266 | ||
7267 | end | |
7268 | ||
7269 | function onFallingDown() | |
7270 | ||
7271 | end | |
7272 | ||
7273 | function onSeated() | |
7274 | pose = "Seated" | |
7275 | end | |
7276 | ||
7277 | function onPlatformStanding() | |
7278 | ||
7279 | end | |
7280 | ||
7281 | ------------------------------------------------------------------------------------------- | |
7282 | ------------------------------------------------------------------------------------------- | |
7283 | ||
7284 | function onSwimming(speed) | |
7285 | if speed > 1.00 then | |
7286 | local scale = 10.0 | |
7287 | playAnimation("swim", 0.4, Humanoid) | |
7288 | setAnimationSpeed(speed / scale) | |
7289 | pose = "Swimming" | |
7290 | else | |
7291 | playAnimation("swimidle", 0.4, Humanoid) | |
7292 | pose = "Standing" | |
7293 | end | |
7294 | end | |
7295 | ||
7296 | function animateTool() | |
7297 | if (toolAnim == "None") then | |
7298 | playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle) | |
7299 | return | |
7300 | end | |
7301 | ||
7302 | if (toolAnim == "Slash") then | |
7303 | playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action) | |
7304 | return | |
7305 | end | |
7306 | ||
7307 | if (toolAnim == "Lunge") then | |
7308 | playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action) | |
7309 | return | |
7310 | end | |
7311 | end | |
7312 | ||
7313 | function getToolAnim(tool) | |
7314 | for _, c in ipairs(tool:GetChildren()) do | |
7315 | if c.Name == "toolanim" and c.className == "StringValue" then | |
7316 | return c | |
7317 | end | |
7318 | end | |
7319 | return nil | |
7320 | end | |
7321 | ||
7322 | local lastTick = 0 | |
7323 | ||
7324 | function stepAnimate(currentTime) | |
7325 | local amplitude = 1 | |
7326 | local frequency = 1 | |
7327 | local deltaTime = currentTime - lastTick | |
7328 | lastTick = currentTime | |
7329 | ||
7330 | local climbFudge = 0 | |
7331 | local setAngles = false | |
7332 | ||
7333 | if (jumpAnimTime > 0) then | |
7334 | jumpAnimTime = jumpAnimTime - deltaTime | |
7335 | end | |
7336 | ||
7337 | if (pose == "FreeFall" and jumpAnimTime <= 0) then | |
7338 | playAnimation("fall", fallTransitionTime, Humanoid) | |
7339 | elseif (pose == "Seated") then | |
7340 | playAnimation("sit", 0.5, Humanoid) | |
7341 | return | |
7342 | elseif (pose == "Running") then | |
7343 | if jumped == false or flying == false then | |
7344 | playAnimation("walk", 0.2, Humanoid) | |
7345 | end | |
7346 | elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then | |
7347 | stopAllAnimations() | |
7348 | amplitude = 0.1 | |
7349 | frequency = 1 | |
7350 | setAngles = true | |
7351 | end | |
7352 | ||
7353 | -- Tool Animation handling | |
7354 | local tool = Character:FindFirstChildOfClass("Tool") | |
7355 | if tool and (tool.RequiresHandle or tool:FindFirstChild("Handle")) then | |
7356 | ||
7357 | local animStringValueObject = getToolAnim(tool) | |
7358 | ||
7359 | if animStringValueObject then | |
7360 | toolAnim = animStringValueObject.Value | |
7361 | -- message recieved, delete StringValue | |
7362 | animStringValueObject.Parent = nil | |
7363 | toolAnimTime = currentTime + .3 | |
7364 | end | |
7365 | ||
7366 | if currentTime > toolAnimTime then | |
7367 | toolAnimTime = 0 | |
7368 | toolAnim = "None" | |
7369 | end | |
7370 | ||
7371 | animateTool() | |
7372 | else | |
7373 | stopToolAnimations() | |
7374 | toolAnim = "None" | |
7375 | toolAnimInstance = nil | |
7376 | toolAnimTime = 0 | |
7377 | end | |
7378 | end | |
7379 | ||
7380 | -- connect events | |
7381 | Humanoid.Died:connect(onDied) | |
7382 | Humanoid.Running:connect(onRunning) | |
7383 | Humanoid.Jumping:connect(onJumping) | |
7384 | Humanoid.Climbing:connect(onClimbing) | |
7385 | Humanoid.GettingUp:connect(onGettingUp) | |
7386 | Humanoid.FreeFalling:connect(onFreeFall) | |
7387 | Humanoid.FallingDown:connect(onFallingDown) | |
7388 | Humanoid.Seated:connect(onSeated) | |
7389 | Humanoid.PlatformStanding:connect(onPlatformStanding) | |
7390 | Humanoid.Swimming:connect(onSwimming) | |
7391 | ||
7392 | -- setup emote chat hook | |
7393 | game:GetService("Players").LocalPlayer.Chatted:connect(function(msg) | |
7394 | local emote = "" | |
7395 | if (string.sub(msg, 1, 3) == "/e ") then | |
7396 | emote = string.sub(msg, 4) | |
7397 | elseif (string.sub(msg, 1, 7) == "/emote ") then | |
7398 | emote = string.sub(msg, 8) | |
7399 | end | |
7400 | ||
7401 | if (pose == "Standing" and emoteNames[emote] ~= nil) then | |
7402 | playAnimation(emote, 0.1, Humanoid) | |
7403 | end | |
7404 | end) | |
7405 | ||
7406 | ||
7407 | ||
7408 | -- initialize to idle | |
7409 | ||
7410 | ||
7411 | -- loop to handle timed state transitions and tool animations | |
7412 | while Character.Parent ~= nil do | |
7413 | local _, currentGameTime = wait(0.1) | |
7414 | stepAnimate(currentGameTime) | |
7415 | end |