View difference between Paste ID: tu6ktpLu and Y7Q8kLgb
SHOW: | | - or go back to the newest paste.
1
wait(1)
2
canspirit = false
3
 goup = 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
42+
local ki = 200
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
512+
ssj3music.Volume = 10
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
627+
ssjbmusic.Volume = 10
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
657+
ssjgmusic.Volume = 10
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
	else
1126
		Colors = {"Cyan", "Cyan"}
1127
	end
1128
	else
1129
		Colors = {"Really red", "Deep orange"}
1130
	end
1131
	local wave1111111 = Instance.new("Part", char)
1132
	wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
1133
	wave1111111.Anchored = true
1134
	wave1111111.Name = "Wave"
1135
	wave1111111.CanCollide = false
1136
	wave1111111.Locked = true
1137
	wave1111111.Size = Vector3.new(1, 1, 1)
1138
	wave1111111.TopSurface = "Smooth"
1139
	wave1111111.BottomSurface = "Smooth"
1140
	wave1111111.Transparency = 0.35
1141
	wave1111111.CFrame = HandCF
1142
	wm3111111 = Instance.new("SpecialMesh", wave1111111)
1143
	wm3111111.MeshId = "rbxassetid://3270017"
1144
	coroutine.wrap(function()
1145
	for i = 1, 30, 1 do
1146
	wm3111111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
1147
	wave1111111.Size = wm3111111.Scale
1148
	wave1111111.CFrame = HandCF
1149
	wave1111111.Transparency = i/30
1150
	wait()
1151
	end
1152
	wait()
1153
	wave1111111:Destroy()
1154
	end)()
1155
end
1156
ae = new("Part",char)
1157
ae.Name = "NewPart"
1158
ae.Size = v3(0.1,0.1,0.1)
1159
ae.Shape = "Ball"
1160
ae.Position = v3(999,999,999)
1161
ae.BrickColor = bc("bright Blue")
1162
ae.Material = "Neon"
1163
ae.Transparency = 1
1164
aaae =new("Weld",ae)
1165
aaae.Part0 = RootPart
1166
aaae.Part1 = ae
1167
aaae.C0 = cf(0,7,0) * cfa(rad(0),rad(0),rad(0))
1168
ae1 = new("Part",char)
1169
ae1.Name = "NewPart"
1170
ae1.Size = v3(0.1,0.1,0.1)
1171
ae1.Shape = "Ball"
1172
ae1.Position = v3(999,999,999)
1173
ae1.BrickColor = bc("bright Blue")
1174
ae1.Material = "Neon"
1175
ae1.Transparency = 1
1176
aaae1 =new("Weld",ae1)
1177
aaae1.Part0 = RootPart
1178
aaae1.Part1 = ae1
1179
aaae1.C0 = cf(0,15,0) * cfa(rad(0),rad(0),rad(0))
1180
1181
1182
aw = new("Part",char)
1183
aw.Name = "NewPart"
1184
aw.Size = v3(0.1,0.1,0.1)
1185
aw.Shape = "Ball"
1186
aw.Position = v3(999,999,999)
1187
aw.BrickColor = BrickColor.new("bright Blue")
1188
aw.Material = "Neon"
1189
aw.Transparency = 1
1190
aaw = new("SpecialMesh",aw)
1191
aaw.Scale = v3(1,1,1)
1192
aaaw =new("Weld",aw)
1193
aaaw.Part0 = LowerTorso
1194
aaaw.Part1 = aw
1195
aaaw.C0 = cf(0,1.6,-1.6) * cfa(rad(0),rad(0),rad(0))
1196
aaaaw = new("ParticleEmitter",aw)
1197
aaaaw.Size = ns(5)
1198
aaaaw.Rate = 5
1199
aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255))
1200
aaaaw.Texture = "rbxassetid://924710961"
1201
aaaaw.ZOffset = -1
1202
aaaaw.Lifetime = nr(5)
1203
aaaaw.RotSpeed = nr(50)
1204
aaaaw.Transparency = ns(1)
1205
aaaaw.LockedToPart = true
1206
aaaaw.Speed = nr(0)
1207
a = new("Part",char)
1208
a.Name = "NewPart"
1209
a.Size = v3(0.1,0.1,0.1)
1210
a.Shape = "Ball"
1211
a.Position = v3(999,999,999)
1212
a.BrickColor =  BrickColor.new("bright Blue")
1213
a.Material = "Neon"
1214
a.Transparency = 1
1215
aa = new("SpecialMesh",a)
1216
aa.Scale = v3(1,1,1)
1217
aaa =new("Weld",a)
1218
aaa.Part0 = LowerTorso
1219
aaa.Part1 = a
1220
aaa.C0 = cf(0,1.6,-1.6) * cfa(rad(0),rad(0),rad(0))
1221
aaaa = new("ParticleEmitter",a)
1222
aaaa.Size = ns(1)
1223
aaaa.Rate = 5
1224
aaaa.Texture = "rbxassetid://246381828"
1225
aaaa.ZOffset = 1
1226
aaaa.Lifetime = nr(5)
1227
aaaa.Transparency = ns(1)
1228
aaaa.LockedToPart = true
1229
aaaa.Speed = nr(0)
1230
lighting2 = Instance.new("ParticleEmitter", a)
1231
    lighting2.Size = NumberSequence.new(2.5)
1232
    lighting2.LightEmission = 1
1233
    lighting2.Color = ColorSequence.new(Color3.fromRGB(255,255,0))
1234
    lighting2.Texture = "rbxassetid://257173628"
1235
    lighting2.ZOffset = 2
1236
lighting2.Transparency = ns(1)
1237
    lighting2.Lifetime = NumberRange.new(0.1)
1238
    lighting2.Rate = 60
1239
    lighting2.Rotation = NumberRange.new(-500,500)
1240
    lighting2.Speed = NumberRange.new(8)
1241
    lighting2.SpreadAngle = Vector2.new(500,500)
1242
--DOntTouch
1243
1244
hum.JumpPower = 100
1245
hum.BodyDepthScale.Value = 1
1246
hum.BodyHeightScale.Value = 1
1247
hum.BodyWidthScale.Value = 1
1248
hum.HeadScale.Value = 1
1249
for i,v in pairs(char:GetChildren()) do
1250
	if v.ClassName == "Accessory" then
1251
	v:Destroy()
1252
	end
1253
end
1254
1255
Instance.new("ForceField",char).Visible = false
1256
char.Animate:Destroy()
1257
------------------------
1258
for i = 1,20 do
1259
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
1260
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
1261
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
1262
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
1263
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
1264
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1265
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
1266
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1267
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
1268
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
1269
end
1270
1271
function RenderStepped2()
1272
1273
	if startk == true then
1274
	if ssj4 == true and fuse == false then
1275
		aaaa.Color = ColorSequence.new(Color3.new(255,0,0))
1276
		aaaaw.Color = ColorSequence.new(Color3.new(255,0,0))
1277
else
1278
	aaaa.Color = ColorSequence.new(Color3.new(255,255,255))
1279
		aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255))
1280
	end
1281
	turn = turn - 0.01
1282
	aaaa.Transparency = ns(turn)
1283
	aaaaw.Transparency = ns(turn)
1284
	aaaa.Size = ns(math.random(1,2))
1285
	if ssjg == true or potara == true then
1286
		lighting2.Transparency = ns(0)
1287
	end
1288
else
1289
	lighting2.Transparency = ns(1)
1290
	aaaa.Transparency = ns(1)
1291
	aaaaw.Transparency = ns(1)
1292
	turn = 1
1293
	end
1294
1295
	if rock2 == true then
1296
		wait(0.1)
1297
		
1298
	for i,v in pairs(char:GetChildren()) do
1299
		if v:IsA("Part") then
1300
		if v.Name == "NewPart2" then
1301
			v.GO.Velocity = v3(0,-5,0)
1302
		end
1303
		end
1304
	
1305
		end
1306
		rock2 = false
1307
	end
1308
	if rock3 == true then
1309
		wait(0.1)
1310
	for i,v in pairs(char:GetChildren()) do
1311
		if v:IsA("Part") then
1312
		if v.Name == "NewPart2" then
1313
			v.GO.Velocity = v3(math.random(-80,80),math.random(0,20),math.random(-80,80))
1314
		end
1315
		end
1316
	end
1317
	rock3 = false
1318
end
1319
if transform4 == true then
1320
1321
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-15)),.1) --LeftUpperArm
1322
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(15)),.1)--RightUpperArm
1323
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftLowerArm
1324
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm
1325
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftUpperLeg
1326
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg
1327
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
1328
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
1329
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso
1330
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--Head
1331
end
1332
1333
1334
1335
if aim == true then
1336
    RootPart.CFrame = CFrame.new(RootPart.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
1337
end
1338
1339
hum.MaxHealth = math.huge
1340
hum.Health = math.huge
1341
1342
if flying1 == true and canfly == true and nill == true then
1343
	idle = false
1344
	walk = false
1345
	canjump = false
1346
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),0.1) --LeftUpperArm
1347
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),0.1)--RightUpperArm
1348
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
1349
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
1350
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),0.1)--LeftUpperLeg
1351
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1352
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),0.1)--LeftLowerLeg
1353
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1354
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
1355
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
1356
	
1357
end
1358
if flying1 == true and canfly == true and foward == true then
1359
	
1360
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),0.05) --LeftUpperArm
1361
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-20),rad(0),rad(10)),0.05)--RightUpperArm
1362
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerArm
1363
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightLowerArm
1364
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftUpperLeg
1365
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg
1366
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerLeg
1367
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg
1368
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--Torso
1369
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),0.01)--Head
1370
	
1371
end
1372
1373
if uppercut1 == true then
1374
1375
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),.1) --LeftUpperArm
1376
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
1377
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm
1378
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
1379
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.1)--LeftUpperLeg
1380
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
1381
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),.1)--LeftLowerLeg
1382
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--RightUpperLeg
1383
	Root.C0 = Root.C0:lerp(CFrame.new(0,-0.1,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
1384
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
1385
1386
end
1387
if uppercut2 == true then
1388
1389
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(120),rad(0),rad(-10)),.1) --LeftUpperArm
1390
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
1391
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm
1392
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
1393
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftUpperLeg
1394
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
1395
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftLowerLeg
1396
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),.1)--RightUpperLeg
1397
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-50),rad(0)),.1)--Torso
1398
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),.1)--Head
1399
1400
end
1401
1402
if punch1 == true then
1403
1404
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-40)),.5) --LeftUpperArm
1405
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.5)--RightUpperArm
1406
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.5)--LeftLowerArm
1407
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm
1408
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg
1409
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg
1410
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg
1411
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg
1412
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(30),rad(0)),.2)--Torso
1413
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(-20),rad(0)),.2)--Head
1414
1415
end
1416
if punch2 == true then
1417
1418
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(20)),.5) --LeftUpperArm
1419
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.5)--RightUpperArm
1420
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--LeftLowerArm
1421
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--RightLowerArm
1422
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg
1423
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg
1424
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg
1425
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg
1426
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso
1427
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head
1428
1429
end
1430
if punch3 == true then
1431
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.5) --LeftUpperArm
1432
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(40)),.5)--RightUpperArm
1433
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm
1434
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.5)--RightLowerArm
1435
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg
1436
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg
1437
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg
1438
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg
1439
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.2)--Torso
1440
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(20),rad(0)),.3)--Head
1441
1442
end
1443
if punch4 == true then
1444
1445
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.5) --LeftUpperArm
1446
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-20)),.5)--RightUpperArm
1447
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--LeftLowerArm
1448
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--RightLowerArm
1449
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg
1450
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg
1451
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg
1452
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg
1453
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso
1454
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
1455
1456
end
1457
1458
if kick3 == true then
1459
1460
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.3) --LeftUpperArm
1461
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.3)--RightUpperArm
1462
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerArm
1463
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightLowerArm
1464
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),.5)--LeftUpperLeg
1465
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
1466
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.5)--LeftLowerLeg
1467
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
1468
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Torso
1469
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Head
1470
1471
end
1472
if kick4 == true then
1473
1474
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.3) --LeftUpperArm
1475
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.3)--RightUpperArm
1476
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--LeftLowerArm
1477
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--RightLowerArm
1478
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.5)--LeftUpperLeg
1479
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
1480
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.5)--LeftLowerLeg
1481
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
1482
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Torso
1483
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Head
1484
1485
end
1486
if kick1 == true then
1487
1488
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.3) --LeftUpperArm
1489
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.3)--RightUpperArm
1490
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerArm
1491
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightLowerArm
1492
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg
1493
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(10)),.5)--RightUpperLeg
1494
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg
1495
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.5)--RightUpperLeg
1496
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Torso
1497
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Head
1498
1499
end
1500
if kick2 == true then
1501
1502
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.3) --LeftUpperArm
1503
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.3)--RightUpperArm
1504
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--LeftLowerArm
1505
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--RightLowerArm
1506
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg
1507
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.5)--RightUpperLeg
1508
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg
1509
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.5)--RightUpperLeg
1510
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Torso
1511
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Head
1512
1513
end
1514
if knockdown1 == true then
1515
1516
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1.0,1,.05)*CFrame.Angles(rad(150),rad(-90),rad(0)),.1) --LeftUpperArm
1517
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1.0,1,.05)*CFrame.Angles(rad(150),rad(90),rad(0)),.1)--RightUpperArm
1518
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(55),rad(0),rad(0)),.1)--LeftLowerArm
1519
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(55),rad(0),rad(0)),.1)--RightLowerArm
1520
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftUpperLeg
1521
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--RightUpperLeg
1522
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--LeftLowerLeg
1523
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
1524
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso
1525
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
1526
1527
end
1528
if knockdown2 == true then
1529
1530
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1.0,0.5,.05)*CFrame.Angles(rad(100),rad(-90),rad(50)),.1) --LeftUpperArm
1531
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1.0,0.5,.05)*CFrame.Angles(rad(20),rad(100),rad(30)),.1)--RightUpperArm
1532
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(25),rad(0),rad(0)),.1)--LeftLowerArm
1533
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightLowerArm
1534
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftUpperLeg
1535
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightUpperLeg
1536
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftLowerLeg
1537
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightUpperLeg
1538
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(10),rad(0)),.1)--Torso
1539
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head
1540
1541
end
1542
if kiblast3 == true then
1543
1544
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-80)),.4) --LeftUpperArm
1545
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperArm
1546
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.4)--LeftLowerArm
1547
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm
1548
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg
1549
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg
1550
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg
1551
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg
1552
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso
1553
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head
1554
1555
end
1556
if kiblast4 == true then
1557
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(-90),rad(-80)),.4) --LeftUpperArm
1558
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperArm
1559
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm
1560
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm
1561
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg
1562
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg
1563
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg
1564
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg
1565
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso
1566
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head
1567
1568
end
1569
if kiblast1 == true then
1570
1571
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4) --LeftUpperArm
1572
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(80)),.4)--RightUpperArm
1573
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm
1574
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.4)--RightLowerArm
1575
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg
1576
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg
1577
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg
1578
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg
1579
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso
1580
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head
1581
1582
end
1583
if kiblast2 == true then
1584
1585
    LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4) --LeftUpperArm
1586
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(90),rad(80)),.4)--RightUpperArm
1587
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm
1588
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm
1589
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg
1590
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg
1591
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg
1592
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg
1593
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso
1594
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head
1595
1596
end
1597
  Frame_3.Size = UDim2.new(0, ki*2.29, 0, 10)
1598
  if kicharging == true and ki < 100 then
1599
	ki = ki + 0.5
1600
end
1601
  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
1602
	walk11 = false
1603
1604
	GiantStep:Play()
1605
	GroundShake = true
1606
	wait(0.3)
1607
	GiantStep:Stop()
1608
	GroundShake = false
1609
	walk11 = true
1610
end
1611
end
1612
function RenderStepped()
1613
1614
	if hum.MoveDirection.x == 0 and idle == true and fuse == false and potara == false then
1615
	
1616
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(-30)),0.1) --LeftUpperArm
1617
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(5),rad(0),rad(10)),0.1)--RightUpperArm
1618
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),0.1)--LeftLowerArm
1619
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),0.1)--RightLowerArm
1620
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),0.1)--LeftUpperLeg
1621
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1622
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
1623
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1624
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-50),rad(0)),0.1)--Torso
1625
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),0.1)--Head
1626
	end
1627
	
1628
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
1629
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
1630
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
1631
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
1632
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
1633
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
1634
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1635
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
1636
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1637
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
1638
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
1639
end
1640
1641
if hum.Jump == true and canjump == true then
1642
	idle = false
1643
	walk = false
1644
	
1645
1646
	-- return to idle if finishing an emote
1647
	if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
1648
	oldAnim = "idle"
1649
	end
1650
1651
	currentAnim = ""
1652
	currentAnimInstance = nil
1653
	if (currentAnimKeyframeHandler ~= nil) then
1654
	currentAnimKeyframeHandler:disconnect()
1655
	end
1656
1657
	if (currentAnimTrack ~= nil) then
1658
	currentAnimTrack:Stop()
1659
	currentAnimTrack:Destroy()
1660
	currentAnimTrack = nil
1661
	end
1662
1663
	-- clean up walk if there is one
1664
	if (runAnimKeyframeHandler ~= nil) then
1665
	runAnimKeyframeHandler:disconnect()
1666
	end
1667
	
1668
	if (runAnimTrack ~= nil) then
1669
	runAnimTrack:Stop()
1670
	runAnimTrack:Destroy()
1671
	runAnimTrack = nil
1672
	end
1673
	
1674
	
1675
	jumped = true
1676
	
1677
for i=1,30 do
1678
	wait()
1679
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-80)),0.05) --LeftUpperArm
1680
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(80)),0.05)--RightUpperArm
1681
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
1682
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
1683
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),0.1)--LeftUpperLeg
1684
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),0.1)--RightUpperLeg
1685
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),0.1)--LeftLowerLeg
1686
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),0.1)--RightUpperLeg
1687
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
1688
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-5),rad(0),rad(0)),0.1)--Head
1689
	end
1690
	jumped = false
1691
	idle = true
1692
	walk = true
1693
end
1694
if kamehameha1 == true then
1695
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.03) --LeftUpperArm
1696
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(70),rad(80),rad(0)),.03)--RightUpperArm
1697
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm
1698
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm
1699
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg
1700
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg
1701
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
1702
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg
1703
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.03)--Torso
1704
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.03)--Head
1705
	
1706
end
1707
if kamehameha6 == true then
1708
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.1) --LeftUpperArm
1709
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(70),rad(80),rad(0)),.1)--RightUpperArm
1710
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm
1711
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm
1712
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg
1713
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg
1714
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
1715
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg
1716
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.1)--Torso
1717
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.1)--Head
1718
	
1719
end
1720
if kamehameha5 == true then
1721
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.1) --LeftUpperArm
1722
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(70),rad(80),rad(0)),.1)--RightUpperArm
1723
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm
1724
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm
1725
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg
1726
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg
1727
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
1728
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg
1729
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.1)--Torso
1730
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.1)--Head
1731
	
1732
end
1733
if kamehameha2 == true then
1734
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(40)),.1) --LeftUpperArm
1735
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(30),rad(0),rad(-40)),.1)--RightUpperArm
1736
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
1737
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(30),rad(30),rad(20)),.1)--RightLowerArm
1738
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftUpperLeg
1739
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg
1740
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
1741
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightLowerLeg
1742
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso
1743
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head
1744
end
1745
1746
	if beam2 == true then
1747
	
1748
	a1.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0) + v3(0,1,0) + RootPart.CFrame.lookVector * beamgo
1749
	a2.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * 8
1750
	a3.CFrame = RootPart.CFrame  * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector  * beamgo * 2
1751
	end
1752
	
1753
1754
1755
if transform1 == true then
1756
1757
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(150),rad(-110),rad(0)),.1) --LeftUpperArm
1758
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(150),rad(110),rad(0)),.1)--RightUpperArm
1759
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftLowerArm
1760
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--RightLowerArm
1761
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.1)--LeftUpperLeg
1762
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(10)),.1)--RightUpperLeg
1763
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
1764
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg
1765
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso
1766
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
1767
1768
1769
end
1770
if rock == true then
1771
	wait(math.random(0.1,0.5))
1772
		ay = new("Part",char)
1773
ay.Name = "NewPart2"
1774
ay.Size = v3(0.3,0.3,0.3)
1775
ay.CanCollide = false
1776
for i,v in pairs(workspace:GetChildren()) do
1777
		if v:IsA("Part") then
1778
			if v.Size.x > 150 then
1779
				
1780
	
1781
ay.BrickColor = v.BrickColor
1782
ay.Material = v.Material
1783
ay.Transparency = v.Transparency
1784
			end
1785
		end
1786
	end
1787
ay.Position = v3(999,999,999)
1788
ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-2,RootPart.Position.z+math.random(-15,15))
1789
	ys = Instance.new("BodyVelocity",ay)
1790
ys.Name = "GO"
1791
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
1792
1793
ys.Velocity = v3(0,6,0)
1794
	game.Debris:AddItem(ay,math.random(3,4))
1795
end
1796
1797
if transform2 == true then
1798
1799
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.1) --LeftUpperArm
1800
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.1)--RightUpperArm
1801
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--LeftLowerArm
1802
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--RightLowerArm
1803
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.1)--LeftUpperLeg
1804
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(10)),.1)--RightUpperLeg
1805
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
1806
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
1807
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
1808
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
1809
1810
1811
end
1812
if onaura == true then
1813
	if ssjg == false then
1814
	if ssjb == false then
1815
	onaura =false
1816
	
1817
	wait(0.1)
1818
	newaura.Image = "rbxassetid://926705964"
1819
	wait(0.1)
1820
	newaura.Image = "rbxassetid://926709486"
1821
	wait(0.1)
1822
	newaura.Image = "rbxassetid://926711720"
1823
	wait(0.1)
1824
	newaura.Image = "rbxassetid://926712235"
1825
1826
	onaura =true
1827
	else
1828
		onaura =false
1829
	
1830
	wait(0.1)
1831
	newaura.Image = "http://www.roblox.com/asset/?id=894173257" 
1832
	wait(0.1)
1833
	newaura.Image = "http://www.roblox.com/asset/?id=894173392"
1834
	wait(0.1)
1835
	newaura.Image = "http://www.roblox.com/asset/?id=890403068"
1836
	wait(0.1)
1837
	newaura.Image = "http://www.roblox.com/asset/?id=890403512"
1838
	onaura =true
1839
	end
1840
	end
1841
end
1842
1843
if onaura == true then
1844
if ssjg == true then
1845
	onaura =false
1846
	wait(0.1)
1847
	newaura.Image = "rbxassetid://639676034"
1848
	wait(0.1)
1849
	newaura.Image = "rbxassetid://639676268"
1850
	wait(0.1)
1851
	newaura.Image = "rbxassetid://639676527"
1852
	wait(0.1)
1853
	newaura.Image = "rbxassetid://639676855"
1854
	onaura =true
1855
end
1856
end
1857
if auracan3 == true then
1858
	auracan3 = false
1859
	newaura2.Image = "rbxassetid://276853031"
1860
	wait(0.07)
1861
	newaura2.Image = "rbxassetid://276853123"
1862
	wait(0.07)
1863
	newaura2.Image = "rbxassetid://276853057"
1864
	wait(0.07)
1865
    newaura2.Image = "rbxassetid://276853088"
1866
	wait(0.07)
1867
	auracan3 = true
1868
end
1869
1870
auranum = math.random(35,65)
1871
auranum1 = math.random(-25,0)
1872
auranum2 = math.random(10,25)
1873
auranum3 = math.random(65,75)
1874
auranum4 = math.random(-25,-15)
1875
1876
if transform3 == true then
1877
if ssjb == false then
1878
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum1)),.1) --LeftUpperArm
1879
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum2)),.1)--RightUpperArm
1880
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm
1881
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm
1882
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(-20)),.1)--LeftUpperLeg
1883
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(20)),.1)--RightUpperLeg
1884
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--LeftLowerLeg
1885
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightUpperLeg
1886
	Root.C0 = Root.C0:lerp(CFrame.new(0,-0.2,0)*CFrame.Angles(rad(auranum4),rad(0),rad(0)),.1)--Torso
1887
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head
1888
else
1889
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum1)),.1) --LeftUpperArm
1890
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum2)),.1)--RightUpperArm
1891
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm
1892
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm
1893
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(-20)),.1)--LeftUpperLeg
1894
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(20)),.1)--RightUpperLeg
1895
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--LeftLowerLeg
1896
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightUpperLeg
1897
	Root.C0 = Root.C0:lerp(CFrame.new(0,-0.2,0)*CFrame.Angles(rad(auranum4),rad(0),rad(0)),.1)--Torso
1898
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head
1899
end
1900
end
1901
if transform5 == true then
1902
1903
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(10),rad(0),rad(-10)),.1) --LeftUpperArm
1904
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(10),rad(0),rad(10)),.1)--RightUpperArm
1905
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
1906
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
1907
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftUpperLeg
1908
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightUpperLeg
1909
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
1910
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg
1911
	Root.C0 = Root.C0:lerp(CFrame.new(0,-0.2,0)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Torso
1912
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head
1913
1914
end
1915
if GroundShake == true then
1916
	for i,v in pairs(workspace:GetChildren()) do
1917
		if v:IsA("Part") then
1918
			if v.Size.x > 150 then
1919
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-1,1)),rad(math.random(-1,1)),rad(math.random(-1,1)))
1920
			end
1921
		end
1922
	end
1923
	
1924
	
1925
	
1926
	
1927
end
1928
  if GroundShake2 == true then
1929
	
1930
for i,v in pairs(workspace:GetChildren()) do
1931
		if v:IsA("Part") then
1932
			if v.Size.x > 150 then
1933
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-2,2)),rad(math.random(-2,2)),rad(math.random(-2,2)))
1934
			end
1935
		end
1936
	end
1937
	
1938
end
1939
end
1940
game:GetService("RunService").RenderStepped:connect(RenderStepped)
1941
game:GetService("RunService").RenderStepped:connect(RenderStepped2)
1942
1943
local player = game.Players.LocalPlayer
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
Hair7 = Instance.new("Part")
1958
Hair7.Parent = char
1959
Hair7.Name = "Hair"
1960
Hair7.CanCollide = false
1961
Hair7.Locked = true
1962
Hair7.TopSurface = "Smooth"
1963
Hair7.BottomSurface = "Smooth"
1964
Hair7.formFactor = "Symmetric"
1965
Hair7.Material = "Neon"
1966
Hair7.BrickColor = BrickColor.new("Really black")
1967
Hair7.CFrame = LowerTorso.CFrame
1968
Hair7.Size = Vector3.new(1, 1, 1)
1969
Hair7.Transparency = 0
1970
1971
1972
1973
Weld = Instance.new("Weld")
1974
Weld.Parent = Head
1975
Weld.Part0 = Head
1976
Weld.Part1 = Hair7
1977
1978
Weld.C0 = CFrame.new(-0.3, 1.2, -0.32)
1979
1980
Mesh = Instance.new("SpecialMesh")
1981
Mesh.Offset = Vector3.new(0.2, -0.2, 0.2)
1982
Mesh.Parent = Hair7
1983
1984
Mesh.Scale = Vector3.new(6.8,6.8,6.8)
1985
Mesh.MeshType = "FileMesh"
1986
1987
Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712"
1988
1989
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=363968007"
1990
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=363966829"
1991
1992
 function kamehameha()
1993
	beamgo = 6
1994
	beamgo1 = 1
1995
	enabled = true
1996
	sizeup = -25
1997
	
1998
	kamefire.Volume = 5
1999
	
2000
	wait(0.2)
2001
	RootPart.Anchored = true
2002
	kamecharge:Stop()
2003
	
2004
2005
	a1 = new("Part",char)
2006
a1.Name = "Beam"
2007
a1.Anchored = true
2008
a1.Size = v3(6,6,6)
2009
a1.CanCollide = false
2010
a1.Locked = true
2011
a1.Position = v3(999,999,999)
2012
a1.BrickColor = bc("Cyan")
2013
a1.Material = "Neon"
2014
a1.Transparency = 0
2015
aa1 = new("SpecialMesh",a1)
2016
if fuse == false then
2017
	aa1.MeshType = "Cylinder"
2018
	if potara == false then
2019
		aa1.MeshType = "Cylinder"
2020
	else
2021
		aa1.MeshType = "Sphere"
2022
	end
2023
else
2024
	aa1.MeshType = "Sphere"
2025
end
2026
2027
aa1.Scale = v3(1,1,1)
2028
2029
a2 = new("Part",char)
2030
a2.Name = "Beam"
2031
a2.Anchored = true
2032
a2.Locked = true
2033
2034
a2.Size = v3(0.1,0.1,0.1)
2035
a2.CanCollide = false
2036
a2.Position = v3(999,999,999)
2037
a2.BrickColor = bc("Cyan")
2038
a2.Material = "Neon"
2039
if fuse == false then
2040
	if potara == false then
2041
a2.Transparency = 0
2042
	else
2043
		a2.Transparency = 1
2044
end
2045
else
2046
	
2047
	a2.Transparency = 1
2048
	end
2049
aa2 = new("SpecialMesh",a2)
2050
aa2.MeshType = "Sphere"
2051
aa2.Scale = v3(150,100,100)
2052
a3 = new("Part",char)
2053
a3.Name = "Beam"
2054
a3.Locked = true
2055
a3.Anchored = true
2056
a3.Size = v3(0.1,0.1,0.1)
2057
a3.CanCollide = false
2058
a3.Position = v3(999,999,999)
2059
a3.BrickColor = bc("Cyan")
2060
a3.Material = "Neon"
2061
if fuse == false then
2062
	if potara == false then
2063
a3.Transparency = 0
2064
	else
2065
		a3.Transparency = 1
2066
end
2067
else
2068
	
2069
	a3.Transparency = 1
2070
	end
2071
aa3 = new("SpecialMesh",a3)
2072
aa3.MeshType = "Sphere"
2073
aa3.Scale = v3(200,100,100)
2074
if ssj4 == true and fuse == false then
2075
	a1.BrickColor = bc("Really red")
2076
	a2.BrickColor = bc("Really red")
2077
	a3.BrickColor = bc("Really red")
2078
end
2079
	kamecharge:Stop()
2080
	kamefire:Play()
2081
	
2082
	GroundWave1()
2083
	startk = false
2084
	ringfolder = Instance.new("Model",char)
2085
2086
2087
--Damages
2088
-----------------------------------------------------------------------------------------
2089
a1.Touched:connect(function(hit)
2090
 
2091
if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil then
2092
	
2093
	
2094
2095
	if hit.Parent:IsA("Model") then
2096
	hit.Parent:BreakJoints()
2097
	end
2098
	hit:Destroy()
2099
	if enabled  == true then
2100
	enabled = false	
2101
	num = num + 1
2102
	kamehit:Play()
2103
	a21 = new("Part",char)
2104
a21.Name = "Beam"..num
2105
a21.Locked = true
2106
a21.Size = v3(1,1,1)
2107
a21.CanCollide = false
2108
a21.Position = v3(999,999,999)
2109
a21.BrickColor = bc("Cyan")
2110
a21.Material = "Neon"
2111
a21.Transparency = 0
2112
aa21 = new("SpecialMesh",a21)
2113
a21.Anchored = true
2114
a21.Position = hit.Position
2115
aa21.MeshType = "Sphere"
2116
aa21.Scale = v3(1,1,1)
2117
GroundWave2()
2118
GroundWave3()
2119
GroundWave4()
2120
	for i = 1,50 do
2121
	wait()
2122
	char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5)
2123
	char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02
2124
	end
2125
	enabled = true
2126
	char["Beam"..num]:Destroy()
2127
	end
2128
	
2129
end
2130
2131
end)
2132
2133
2134
2135
2136
2137
beam2 = true
2138
beam1 = true
2139
  
2140
if potara == true then
2141
for i = 1,20 do
2142
	wait(0.1)
2143
	sizeup = sizeup-0.7
2144
	ringgo = ringgo + 15
2145
	av = new("Part",ringfolder)
2146
av.Name = "NewRing"
2147
av.Anchored = true
2148
av.Size = v3(0.6,1,1)
2149
av.BrickColor = bc("New Yeller")
2150
av.Material = "Neon"
2151
av.Transparency = 0
2152
aav = new("SpecialMesh",av)
2153
aav.MeshType = "FileMesh"
2154
aav.Scale = v3(sizeup,30,sizeup)
2155
aav.MeshId = "rbxassetid://991124063"
2156
	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)
2157
	
2158
end
2159
end
2160
if potara == false then
2161
wait(3)
2162
else
2163
	wait(0.5)
2164
end
2165
2166
beam1 = false
2167
2168
repeat
2169
	wait()
2170
	
2171
		if fuse == false then
2172
			if potara == false then
2173
	a1.Size = a1.Size - v3(0,0.2,0.2)
2174
			else
2175
				for i,v in pairs(char.Model:GetChildren()) do
2176
					if v:IsA("Part") then
2177
						if v.Name == "NewRing" then
2178
							v.Mesh.Scale = v.Mesh.Scale + v3(2,2,2)
2179
							v.Transparency = v.Transparency + 0.1
2180
						end
2181
					end
2182
				end
2183
			a1.Size = a1.Size - v3(0,2,2)	
2184
	end
2185
	else
2186
	a1.Size = a1.Size - v3(0,2,2)
2187
	end
2188
	aa2.Scale = aa2.Scale - v3(3,3,3)
2189
	aa3.Scale = aa3.Scale - v3(3,3,3)
2190
until
2191
	a1.Size.y < 0.1
2192
	
2193
	
2194
	a1:Destroy()
2195
	ringfolder:Destroy()
2196
	a2:Destroy()
2197
	a3:Destroy()
2198
	for i = 1,10 do
2199
	wait()
2200
	
2201
	kamefire.Volume = kamefire.Volume - 0.5
2202
	end
2203
	kamefire:Stop()
2204
	RootPart.Anchored = false
2205
	
2206
	end
2207
	
2208
	
2209
	lighting = Instance.new("ParticleEmitter", RootPart)
2210
    lighting.Size = NumberSequence.new(2.5)
2211
    lighting.LightEmission = 1
2212
    lighting.Color = ColorSequence.new(Color3.fromRGB(170,170,255))
2213
    lighting.Texture = "rbxassetid://257173628"
2214
    lighting.ZOffset = 2
2215
lighting.Transparency = ns(1)
2216
    lighting.Lifetime = NumberRange.new(0.1)
2217
    lighting.Rate = 60
2218
    lighting.Rotation = NumberRange.new(-500,500)
2219
    lighting.Speed = NumberRange.new(8)
2220
    lighting.SpreadAngle = Vector2.new(500,500)
2221
	lighting1 = Instance.new("ParticleEmitter", RootPart)
2222
    lighting1.Size = NumberSequence.new(2.5)
2223
    lighting1.LightEmission = 1
2224
lighting1.Transparency = ns(1)
2225
    lighting1.Color = ColorSequence.new(Color3.fromRGB(170,170,255))
2226
    lighting1.Texture = "rbxassetid://257173628"
2227
    lighting1.ZOffset = 2
2228
    lighting1.Lifetime = NumberRange.new(0.1)
2229
    lighting1.Rate = 60
2230
    lighting1.Rotation = NumberRange.new(-500,500)
2231
    lighting1.Speed = NumberRange.new(8)
2232
    lighting1.SpreadAngle = Vector2.new(500,500)
2233
 mouse.KeyDown:connect(function(key)
2234
	if fuse == true then
2235
	if key == "q" and canattack == true and ki > 99 then
2236
		
2237
	if canfly == true then
2238
	canfly = false
2239
	canfly1 = true
2240
	end
2241
	ki = ki - 100
2242
	canattack = false
2243
	idle7 = false
2244
	walk = false
2245
	canjump = false
2246
	hum.WalkSpeed = 0
2247
	aim = true
2248
	RootPart.Anchored = true
2249
	bigkamehameha1 = true
2250
	
2251
	wait(1)
2252
	KamehamehaVoice4:Play()
2253
	bigkamehameha1 = false
2254
	bigkamehameha2 = true
2255
	ar = new("Part",char)
2256
ar.Name = "NewPart"
2257
ar.Position = v3(999,999,999)
2258
ar.Size = v3(1,1,1)
2259
ar.BrickColor = bc("Cyan")
2260
ar.Material = "Neon"
2261
ar.Transparency = 1
2262
aar = new("SpecialMesh",ar)
2263
aar.MeshType = "Sphere"
2264
aar.Scale = v3(3,3,4)
2265
2266
aaar =new("Weld",ar)
2267
aaar.Part0 = LowerTorso
2268
aaar.Part1 = ar
2269
aaar.C0 = cf(0,1,-6) * cfa(rad(0),rad(0),rad(0))
2270
for i = 1,9 do
2271
	wait(0.5)
2272
	GroundWave1d()
2273
	ar.Transparency = ar.Transparency - 0.1
2274
end
2275
aim = false
2276
	kamehameha()
2277
	
2278
	if canfly1 == true then
2279
	canfly = true
2280
	canfly1 = false
2281
	end
2282
	idle7 = true
2283
hum.WalkSpeed = 16
2284
canattack = true
2285
ar:Destroy()
2286
bigkamehameha2 = false
2287
mouth.Texture = "rbxassetid://932140764"
2288
RootPart.Anchored = false
2289
	end
2290
	
2291
	
2292
	end
2293
	if potara == true then
2294
	if key == "q" and canattack == true and ki > 99 then
2295
		kamefire.TimePosition = 0.5
2296
	if canfly == true then
2297
	canfly = false
2298
	canfly1 = true
2299
	end
2300
	ki = ki - 100
2301
	ringgo = 18
2302
	sizeup = 35
2303
	canattack = false
2304
	idle7 = false
2305
	walk = false
2306
	canjump = false
2307
	hum.WalkSpeed = 0
2308
	aim = true
2309
	RootPart.Anchored = true
2310
	KamehamehaVoice6:Play()
2311
	final1 = true
2312
	
2313
	wait(0.5)
2314
	startk = true
2315
	final1 = false
2316
	final2 = true
2317
	wait(1)
2318
	final2 = false
2319
	kamehameha1 = true
2320
	wait(2.3)
2321
	kamehameha1 = false
2322
	kamehameha2 = true
2323
KamehamehaVoice6:Stop()
2324
2325
aim = false
2326
	kamehameha()
2327
	
2328
	if canfly1 == true then
2329
	canfly = true
2330
	canfly1 = false
2331
	end
2332
	idle7 = true
2333
hum.WalkSpeed = 16
2334
canattack = true
2335
2336
kamehameha2 = false
2337
mouth.Texture = "rbxassetid://932140764"
2338
RootPart.Anchored = false
2339
	end
2340
	
2341
	
2342
	end
2343
	if ssjg == false and ssj3 == false and ssjbkaiox10 == false and fuse == false  then
2344
	if key == "q" and canattack == true and ki > 39 then
2345
		
2346
	if canfly == true then
2347
	canfly = false
2348
	canfly1 = true
2349
	end
2350
	ki = ki - 40
2351
	canattack = false
2352
	idle = false
2353
	walk = false
2354
	canjump = false
2355
	hum.WalkSpeed = 0
2356
	aim = true
2357
	RootPart.Anchored = true
2358
	kamehameha6 = true
2359
	
2360
	KamehamehaVoice:Play()
2361
	startk = true
2362
	
2363
	mouth.Texture = "rbxassetid://828773176"
2364
	
2365
	
2366
	wait(0.5)
2367
	mouth.Texture = "rbxassetid://932140764"
2368
	
2369
	wait(0.5)
2370
	mouth.Texture = "rbxassetid://828773176"
2371
	wait(0.5)
2372
	mouth.Texture = "rbxassetid://932140764"
2373
2374
	wait(1.7)
2375
	
2376
	
2377
	wait(0.4)
2378
	mouth.Texture = "rbxassetid://828773176"
2379
	aim = false
2380
	
2381
kamehameha6 = false
2382
kamehameha2 = true
2383
kamehameha()
2384
wait(0.8)
2385
KamehamehaVoice.TimePosition = 0
2386
kamehameha2 = false
2387
if canfly1 == true then
2388
	idle = true
2389
	walk = true
2390
	canjump = true
2391
	end
2392
	if canfly1 == true then
2393
	canfly = true
2394
	canfly1 = false
2395
	end
2396
hum.WalkSpeed = 16
2397
canattack = true
2398
mouth.Texture = "rbxassetid://932140764"
2399
RootPart.Anchored = false
2400
	end
2401
	
2402
	
2403
	end
2404
	if ssj3 == true then
2405
	if key == "q" and canattack == true and ki > 79 then
2406
	if canfly == true then
2407
	canfly = false
2408
	canfly1 = true
2409
	end
2410
	ki = ki - 80
2411
	ssj3music:Stop()
2412
	Lightning.Volume = 0.1
2413
	canattack = false
2414
	idle = false
2415
	walk = false
2416
	canjump = false
2417
	hum.WalkSpeed = 0
2418
	aim = true
2419
	RootPart.Anchored = true
2420
	kamehameha1 = true
2421
	wait(0.5)
2422
	KamehamehaVoice2:Play()
2423
	
2424
	
2425
	mouth.Texture = "rbxassetid://828773176"
2426
	
2427
	
2428
	wait(0.5)
2429
	mouth.Texture = "rbxassetid://932140764"
2430
	
2431
	wait(0.5)
2432
	mouth.Texture = "rbxassetid://828773176"
2433
	wait(0.5)
2434
	mouth.Texture = "rbxassetid://932140764"
2435
	wait(2)
2436
	startk = true
2437
	kamecharge:Play()
2438
	mouth.Texture = "rbxassetid://828773176"
2439
	
2440
	
2441
	wait(5)
2442
	mouth.Texture = "rbxassetid://932140764"
2443
	
2444
	wait(0.5)
2445
	mouth.Texture = "rbxassetid://828773176"
2446
	wait(0.5)
2447
	mouth.Texture = "rbxassetid://932140764"
2448
	KamehamehaVoice:Pause()
2449
	wait(2)
2450
	KamehamehaVoice.TimePosition = 3.5
2451
	KamehamehaVoice:Play()
2452
	
2453
	wait(0.4)
2454
	mouth.Texture = "rbxassetid://828773176"
2455
	aim = false
2456
	
2457
kamehameha1 = false
2458
kamehameha2 = true
2459
kamehameha()
2460
wait(0.8)
2461
KamehamehaVoice.TimePosition = 0
2462
kamehameha2 = false
2463
if canfly1 == true then
2464
	idle = true
2465
	walk = true
2466
	canjump = true
2467
	end
2468
	if canfly1 == true then
2469
	canfly = true
2470
	canfly1 = false
2471
	end
2472
hum.WalkSpeed = 16
2473
canattack = true
2474
ssj3music:Play()
2475
mouth.Texture = "rbxassetid://932140764"
2476
RootPart.Anchored = false
2477
	end
2478
	
2479
	
2480
	end
2481
	if ssjbkaiox10 == true then
2482
	if key == "q" and canattack == true and ki > 99 then
2483
	if canfly == true then
2484
	canfly = false
2485
	canfly1 = true
2486
	end
2487
	ki = ki- 100
2488
2489
	canattack = false
2490
	idle = false
2491
	walk = false
2492
	canjump = false
2493
	hum.WalkSpeed = 0
2494
	aim = true
2495
	RootPart.Anchored = true
2496
	kamehameha6 = true
2497
	wait(0.5)
2498
	KamehamehaVoice3:Play()
2499
	
2500
	
2501
	mouth.Texture = "rbxassetid://828773176"
2502
	
2503
	
2504
	wait(0.5)
2505
	mouth.Texture = "rbxassetid://932140764"
2506
	
2507
	wait(0.5)
2508
	mouth.Texture = "rbxassetid://828773176"
2509
	wait(0.5)
2510
	mouth.Texture = "rbxassetid://932140764"
2511
	wait(0.1)
2512
	startk = true
2513
	kamecharge:Play()
2514
	mouth.Texture = "rbxassetid://828773176"
2515
	
2516
	
2517
	wait(3.5)
2518
	mouth.Texture = "rbxassetid://932140764"
2519
	
2520
	wait(0.5)
2521
	mouth.Texture = "rbxassetid://828773176"
2522
	wait(0.5)
2523
	mouth.Texture = "rbxassetid://932140764"
2524
	KamehamehaVoice:Pause()
2525
	wait(2)
2526
	KamehamehaVoice.TimePosition = 3.5
2527
	KamehamehaVoice:Play()
2528
	
2529
	wait(0.4)
2530
	mouth.Texture = "rbxassetid://828773176"
2531
	aim = false
2532
	
2533
kamehameha6 = false
2534
kamehameha2 = true
2535
GroundShake = true
2536
kamehameha()
2537
GroundShake = false
2538
wait(0.8)
2539
KamehamehaVoice.TimePosition = 0
2540
kamehameha2 = false
2541
if canfly1 == true then
2542
	idle = true
2543
	walk = true
2544
	canjump = true
2545
	end
2546
	if canfly1 == true then
2547
	canfly = true
2548
	canfly1 = false
2549
	end
2550
hum.WalkSpeed = 16
2551
canattack = true
2552
ssj3music:Play()
2553
mouth.Texture = "rbxassetid://932140764"
2554
RootPart.Anchored = false
2555
	end
2556
	
2557
	
2558
	end
2559
	if ssjg == true then
2560
		if key == "q" and canattack == true and ki > 99 then
2561
	if canfly == true then
2562
	canfly = false
2563
	canfly1 = true
2564
	end
2565
	ki = ki - 100
2566
	ssjgmusic:Stop()
2567
	canattack = false
2568
	idle = false
2569
	walk = false
2570
	canjump = false
2571
	hum.WalkSpeed = 0
2572
	aim = true
2573
	RootPart.Anchored = true
2574
	kamehameha1 = true
2575
	wait(0.5)
2576
	KamehamehaVoice1:Play()
2577
	
2578
	
2579
	mouth.Texture = "rbxassetid://828773176"
2580
	
2581
	
2582
	wait(0.1)
2583
	mouth.Texture = "rbxassetid://932140764"
2584
	
2585
	wait(0.5)
2586
	mouth.Texture = "rbxassetid://828773176"
2587
	wait(0.7)
2588
	mouth.Texture = "rbxassetid://932140764"
2589
	wait(0.3)
2590
	startk = true
2591
2592
	mouth.Texture = "rbxassetid://828773176"
2593
	
2594
	
2595
	wait(18.5)
2596
	mouth.Texture = "rbxassetid://932140764"
2597
	
2598
	wait(0.5)
2599
	mouth.Texture = "rbxassetid://828773176"
2600
	wait(0.5)
2601
	mouth.Texture = "rbxassetid://932140764"
2602
	
2603
	
2604
	wait(0.4)
2605
	mouth.Texture = "rbxassetid://828773176"
2606
	aim = false
2607
	
2608
kamehameha1 = false
2609
kamehameha2 = true
2610
GroundShake = true
2611
kamehameha()
2612
GroundShake = false
2613
wait(0.8)
2614
KamehamehaVoice.TimePosition = 0
2615
kamehameha2 = false
2616
if canfly1 == true then
2617
	idle = true
2618
	walk = true
2619
	canjump = true
2620
	end
2621
	if canfly1 == true then
2622
	canfly = true
2623
	canfly1 = false
2624
	end
2625
hum.WalkSpeed = 16
2626
canattack = true
2627
mouth.Texture = "rbxassetid://932140764"
2628
RootPart.Anchored = false
2629
	end
2630
	
2631
	end
2632
	
2633
end)
2634
-----------------------------------------------------------------------------------------------------------------------------------
2635
2636
ad = new("Part",char)
2637
ad.Name = "NewPart"
2638
ad.Size = v3(10,0.1,10)
2639
ad.CanCollide = false
2640
ad.Anchored = true
2641
ad.Position = RootPart.Position - v3(0,3,0)
2642
ad.BrickColor = bc("bright Blue")
2643
ad.Material = "Neon"
2644
ad.Transparency = 1
2645
aad = new("Decal",ad)
2646
aad.Texture = "rbxassetid://110711859"
2647
aad.Face = "Top"
2648
aad.Transparency = 1
2649
2650
mouse.KeyDown:connect(function(key)
2651
	if key == "t" then
2652
	if ssj1 == false then
2653
	if canattack == true then
2654
	canattack = false
2655
	if canfly == true then
2656
	canfly = false
2657
	canfly1 = true
2658
	end
2659
RootPart.Anchored = true
2660
	
2661
	idle = false
2662
	walk = false
2663
	canjump = false
2664
	ssj1 = true
2665
	ssj2 = false
2666
	ssj3 = false
2667
	ssjmusic:Play()
2668
	
2669
	------------------------------------------------
2670
	transform1 = true
2671
	
2672
	wait(0.8)
2673
	
2674
		if potara == false then
2675
	Hair7.Color = Color3.fromRGB(255,246,123)
2676
	Mesh.MeshId = "rbxassetid://430344159"
2677
	Mesh.Scale = v3(6.3,6.3,6.3)
2678
	char.Head.face.Texture= "http://www.roblox.com/asset/?id=976088530"
2679
	Weld.C0 = CFrame.new(-.25,1.2,.34)
2680
		else
2681
			char.Head.face.Texture= "http://www.roblox.com/asset/?id=976088530"
2682
			Hair7.Color = Color3.fromRGB(255,246,123)
2683
			Mesh.MeshId = "rbxassetid://560152258"
2684
	Mesh.Scale = Vector3.new(6.9,6.9,6.9)
2685
	Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0)
2686
	end
2687
	
2688
		
2689
	
2690
	a21e = new("Part",char)
2691
a21e.Name = "Beam"..num
2692
a21e.Locked = true
2693
a21e.Size = v3(1,1,1)
2694
a21e.CanCollide = false
2695
a21e.Position = v3(999,999,999)
2696
a21e.BrickColor = bc("New Yeller")
2697
a21e.Material = "Neon"
2698
a21e.Transparency = 0
2699
aa21e = new("SpecialMesh",a21e)
2700
a21e.Anchored = true
2701
a21e.Position = RootPart.Position
2702
aa21e.MeshType = "Sphere"
2703
aa21e.Scale = v3(1,1,1)
2704
	
2705
	transform1 = false
2706
	transform2 = true
2707
	ssjauraburst:Play()
2708
	GroundWave5()
2709
	GroundWave6()
2710
	GroundWave7()
2711
	GroundWave8()
2712
	GroundWave9()
2713
	GroundWave10()
2714
	ad.Position = RootPart.Position - v3(0,3,0)
2715
	aad.Transparency = 0
2716
	
2717
	
2718
	
2719
	newaura.ImageTransparency = 0
2720
	ssjaura:Play()
2721
	for i = 1,25 do
2722
	wait()
2723
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
2724
	a21e.Transparency = a21e.Transparency + 0.04
2725
	end
2726
	wait(0.1)
2727
	
2728
	transform2 = false
2729
	
2730
	
2731
	
2732
	
2733
	-------------------------------------------------
2734
	canattack = true
2735
RootPart.Anchored = false
2736
	if canfly1 == true then
2737
	
2738
	idle = true
2739
	walk = true
2740
	canjump = true
2741
	end
2742
	if canfly1 == true then
2743
	canfly = true
2744
	end
2745
	for i = 1,20 do
2746
	wait()
2747
	aad.Transparency = aad.Transparency + 0.05
2748
	end
2749
	end
2750
	else
2751
		if fuse == false or potara == false then
2752
	if ssj1 == true then
2753
	if canattack == true then
2754
	canattack = false
2755
	if canfly == true then
2756
	canfly = false
2757
	canfly1 = true
2758
	end
2759
RootPart.Anchored = true
2760
	idle = false
2761
	ssj2 = true
2762
	walk = false
2763
	canjump = false
2764
	ssj1 = true
2765
	ssjmusic:Stop()
2766
	ssj2music:Play()
2767
	g1q = Instance.new("Part",char)
2768
	g1q.Name = "Smoke"
2769
	g1q.CanCollide = false
2770
	g1q.Position = RootPart.Position - v3(-8,3,0)
2771
	g1q.Size = v3(0.1,0.1,0.1)
2772
	g1q.Anchored = true
2773
	g1a = Instance.new("Part",char)
2774
	g1a.Name = "Smoke"
2775
	g1a.CanCollide = false
2776
	g1a.Position = RootPart.Position + v3(8,80,0)
2777
	g1a.Size = v3(0.1,0.1,0.1)
2778
	g1a.Anchored = true
2779
	g1q1 = Instance.new("Part",char)
2780
	g1q1.Name = "Smoke"
2781
	g1q1.CanCollide = false
2782
	g1q1.Position = RootPart.Position - v3(-5,3,7)
2783
	g1q1.Size = v3(0.1,0.1,0.1)
2784
	g1q1.Anchored = true
2785
	g1a1 = Instance.new("Part",char)
2786
	g1a1.Name = "Smoke"
2787
	g1a1.CanCollide = false
2788
	g1a1.Position = RootPart.Position + v3(5,80,-7)
2789
	g1a1.Size = v3(0.1,0.1,0.1)
2790
	g1a1.Anchored = true
2791
	g1q2 = Instance.new("Part",char)
2792
	g1q2.Name = "Smoke"
2793
	g1q2.CanCollide = false
2794
	g1q2.Position = RootPart.Position - v3(12,3,-6)
2795
	g1q2.Size = v3(0.1,0.1,0.1)
2796
	g1q2.Anchored = true
2797
	g1a2 = Instance.new("Part",char)
2798
	g1a2.Name = "Smoke"
2799
	g1a2.CanCollide = false
2800
	g1a2.Position = RootPart.Position + v3(-12,80,6)
2801
	g1a2.Size = v3(0.1,0.1,0.1)
2802
	g1a2.Anchored = true
2803
	------------------------------------------------
2804
	transform3 = true
2805
	screaming1:Play()
2806
	mouth.Texture = "rbxassetid://828773176"
2807
	wait(1)
2808
	lighting1.Transparency = ns(0)
2809
	ssj2aura:Play()
2810
	transform3 = false
2811
	transform1 = true
2812
	wait(0.8)
2813
            GroundShake = true
2814
            
2815
	char.Head.face.Texture= "rbxassetid://765493484"
2816
	Mesh.MeshId = "rbxassetid://560718478"
2817
	Mesh.Scale = v3(6.3,6.3,6.3)
2818
	Weld.C0 = CFrame.new(-.25,1.2,.34)
2819
	Hair7.Color = Color3.fromRGB(255,227,10)
2820
	
2821
	a21e = new("Part",char)
2822
a21e.Name = "Beam"..num
2823
a21e.Locked = true
2824
a21e.Size = v3(1,1,1)
2825
a21e.CanCollide = false
2826
a21e.Position = v3(999,999,999)
2827
a21e.BrickColor = bc("New Yeller")
2828
a21e.Material = "Neon"
2829
a21e.Transparency = 0
2830
aa21e = new("SpecialMesh",a21e)
2831
a21e.Anchored = true
2832
a21e.Position = RootPart.Position
2833
aa21e.MeshType = "Sphere"
2834
aa21e.Scale = v3(1,1,1)
2835
	
2836
	transform1 = false
2837
	transform4 = true
2838
	ssjauraburst:Play()
2839
	GroundWave5()
2840
	GroundWave6()
2841
	GroundWave7()
2842
	GroundWave8()
2843
	GroundWave9()
2844
	GroundWave10()
2845
	ad.Position = RootPart.Position - v3(0,3,0)
2846
	aad.Transparency = 0
2847
	
2848
	
2849
	
2850
	newaura.ImageTransparency = 0
2851
	
2852
	for i = 1,25 do
2853
	wait()
2854
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
2855
	a21e.Transparency = a21e.Transparency + 0.04
2856
	end
2857
	
2858
	
2859
	wait()
2860
            GroundShake = false
2861
for i,v in pairs(workspace:GetChildren()) do
2862
		if v:IsA("Part") then
2863
			if v.Size.x > 150 then
2864
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
2865
			end
2866
		end
2867
	end
2868
	
2869
2870
            wait(0.9)
2871
	transform4 = false
2872
	mouth.Texture = "rbxassetid://932140764"
2873
	
2874
	
2875
	
2876
	-------------------------------------------------
2877
	canattack = true
2878
RootPart.Anchored = false
2879
	if canfly1 == true then
2880
	idle = true
2881
	walk = true
2882
	canjump = true
2883
	end
2884
	if canfly1 == true then
2885
	canfly = true
2886
	canfly1 = false
2887
	end
2888
	RootPart.Anchored = false
2889
	ssj1 = false
2890
	for i = 1,20 do
2891
	wait()
2892
	aad.Transparency = aad.Transparency + 0.05
2893
	end
2894
	end
2895
	end
2896
		end
2897
		end
2898
	end
2899
end)
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
mouse.KeyDown:connect(function(key)
2916
	
2917
	if key == "t" then
2918
		if fuse == false or potara == false then
2919
	if ssj2 == true then
2920
	if canattack == true then
2921
	canattack = false
2922
	if canfly == true then
2923
	canfly = false
2924
	canfly1 = true
2925
	end
2926
	idle = false
2927
	ssj2 = false
2928
	ssj1 = false
2929
	ssj3 = true
2930
	ssjb = false
2931
	ssjg = false
2932
	ssjbkaio = false
2933
	ssjbkaiox10 = false
2934
	
2935
          RootPart.Anchored = true
2936
	walk = false
2937
	canjump = false
2938
	ssj1 = true
2939
	ssj2music:Stop()
2940
	ssj3music:Play()
2941
	g1q = Instance.new("Part",char)
2942
	g1q.Name = "Smoke"
2943
	g1q.CanCollide = false
2944
	g1q.Position = RootPart.Position - v3(-8,3,0)
2945
	g1q.Size = v3(0.1,0.1,0.1)
2946
	g1q.Anchored = true
2947
	g1a = Instance.new("Part",char)
2948
	g1a.Name = "Smoke"
2949
	g1a.CanCollide = false
2950
	g1a.Position = RootPart.Position + v3(8,80,0)
2951
	g1a.Size = v3(0.1,0.1,0.1)
2952
	g1a.Anchored = true
2953
	g1q1 = Instance.new("Part",char)
2954
	g1q1.Name = "Smoke"
2955
	g1q1.CanCollide = false
2956
	g1q1.Position = RootPart.Position - v3(-5,3,7)
2957
	g1q1.Size = v3(0.1,0.1,0.1)
2958
	g1q1.Anchored = true
2959
	g1a1 = Instance.new("Part",char)
2960
	g1a1.Name = "Smoke"
2961
	g1a1.CanCollide = false
2962
	g1a1.Position = RootPart.Position + v3(5,80,-7)
2963
	g1a1.Size = v3(0.1,0.1,0.1)
2964
	g1a1.Anchored = true
2965
	g1q2 = Instance.new("Part",char)
2966
	g1q2.Name = "Smoke"
2967
	g1q2.CanCollide = false
2968
	g1q2.Position = RootPart.Position - v3(12,3,-6)
2969
	g1q2.Size = v3(0.1,0.1,0.1)
2970
	g1q2.Anchored = true
2971
	g1a2 = Instance.new("Part",char)
2972
	g1a2.Name = "Smoke"
2973
	g1a2.CanCollide = false
2974
	g1a2.Position = RootPart.Position + v3(-12,80,6)
2975
	g1a2.Size = v3(0.1,0.1,0.1)
2976
	g1a2.Anchored = true
2977
	------------------------------------------------
2978
	
2979
	
2980
	transform1 = true
2981
	
2982
	wait(0.6)
2983
	
2984
	
2985
	
2986
	KiCharge:Play()
2987
	transform1 = false
2988
	transform3 = true
2989
	
2990
	
2991
	GroundShake = true
2992
	coroutine.wrap(function()
2993
		
2994
		
2995
		repeat wait()
2996
			newaurabase.Size = UDim2.new(math.random(20,28),0,math.random(20,28),0)
2997
		until GroundShake == false
2998
		
2999
		KiCharge:Stop()
3000
		
3001
	end)()
3002
	rock = true
3003
        
3004
	mouth.Texture = "rbxassetid://828773176"
3005
	screaming:Play()
3006
	coroutine.wrap(function()
3007
	for i = 1,5 do
3008
	wait(math.random(1,2))
3009
	game.Lighting.Ambient = Color3.new(999,999,999)
3010
3011
wait(0.0001)
3012
game.Lighting.Ambient = Color3.new(0,0,0)
3013
wait(0.0001)
3014
game.Lighting.Ambient = Color3.new(999,999,999)
3015
wait(0.0001)
3016
Lightning:Play()
3017
block = Instance.new("Part",char)
3018
block.Anchored = true
3019
block.Transparency = 1
3020
block.Position = RootPart.Position + v3(math.random(-10,10),-1,math.random(-10,10))
3021
block.CanCollide = false
3022
block2 = Instance.new("Part",char)
3023
block2.Anchored = true
3024
block2.Position = block.Position + v3(0,200,0)
3025
block2.CanCollide = false
3026
block2.Transparency = 1
3027
3028
3029
3030
3031
Lightning1(block.Position,block2.Position,0.2,10,workspace)
3032
game.Lighting.Ambient = Color3.new(0,0,0)
3033
end
3034
end)()
3035
	
3036
	wait(8)
3037
	GroundShake2 = true
3038
	char.Head.face.Texture= "rbxassetid://897514186"
3039
	
3040
lighting.Transparency = ns(0)
3041
	KiCharge:Stop()
3042
	
3043
	
3044
	 Weld.C0 = CFrame.new(0.3, -1, 1.45) * CFrame.Angles(0,rad(180),0)
3045
Mesh.MeshId = "http://www.roblox.com/asset/?id=431511681"
3046
Mesh.Scale = Vector3.new(0.0055,0.005,0.0055)
3047
	
3048
	a21e = new("Part",char)
3049
a21e.Name = "Beam"..num
3050
a21e.Locked = true
3051
a21e.Size = v3(1,1,1)
3052
a21e.CanCollide = false
3053
a21e.Position = v3(999,999,999)
3054
a21e.BrickColor = bc("New Yeller")
3055
a21e.Material = "Neon"
3056
a21e.Transparency = 0
3057
aa21e = new("SpecialMesh",a21e)
3058
a21e.Anchored = true
3059
a21e.Position = RootPart.Position
3060
aa21e.MeshType = "Sphere"
3061
aa21e.Scale = v3(1,1,1)
3062
	
3063
	
3064
	ssjauraburst:Play()
3065
	GroundWave5()
3066
	GroundWave6()
3067
	GroundWave7()
3068
	GroundWave8()
3069
	GroundWave9()
3070
	GroundWave10()
3071
	ad.Position = RootPart.Position - v3(0,3,0)
3072
	aad.Transparency = 0
3073
	rock = false
3074
	rock3 = true
3075
	
3076
	newaura.ImageTransparency = 0
3077
	ssjaura:Play()
3078
	for i = 1,50 do
3079
	wait()
3080
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3081
	a21e.Transparency = a21e.Transparency + 0.02
3082
	end
3083
	GroundShake = false
3084
	wait(0.1)
3085
	
3086
	
3087
	
3088
	
3089
          GroundShake2 = false
3090
for i,v in pairs(workspace:GetChildren()) do
3091
		if v:IsA("Part") then
3092
			if v.Size.x > 150 then
3093
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
3094
			end
3095
		end
3096
	end
3097
3098
          wait(0.9)
3099
	transform3 = false
3100
	mouth.Texture = "rbxassetid://932140764"
3101
	
3102
	
3103
	
3104
	-------------------------------------------------
3105
	canattack = true
3106
	rock3 = false
3107
	RootPart.Anchored = false
3108
	if canfly1 == true then
3109
	idle = true
3110
	walk = true
3111
	canjump = true
3112
	end
3113
	if canfly1 == true then
3114
	canfly = true
3115
	canfly1 = false
3116
	end
3117
	for i = 1,20 do
3118
	wait()
3119
	aad.Transparency = aad.Transparency + 0.05
3120
	end
3121
	end
3122
	end
3123
	end
3124
	end
3125
	end)
3126
3127
mouse.KeyDown:connect(function(key)
3128
	if key == "x" then
3129
	if canattack == true then
3130
	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
3131
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=363968007"
3132
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=363966829"
3133
if ssj4 == true then
3134
	ape5.Transparency = 1
3135
end
3136
ssj4 = false
3137
fuse = false
3138
idle7 = false
3139
idle = true
3140
mouth.Transparency = 0
3141
nose.Transparency = 0
3142
	Hair7.BrickColor = BrickColor.new("Really black")
3143
Mesh.Scale = Vector3.new(7.1,7.1,7.1)
3144
Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712"
3145
Weld.C0 = CFrame.new(-0.3, 1.2, -0.32)
3146
newaurabase.Size = UDim2.new(20,0,20,0)
3147
newaura.Position = UDim2.new(-0.5,0,-0.2,0)
3148
newaurabase.AlwaysOnTop = false
3149
newaura.ImageColor3 = Color3.fromRGB(255, 227, 10)
3150
newaurabase.ExtentsOffset = Vector3.new(0,0,3)
3151
char.Head.face.Texture= "rbxassetid://765423946"
3152
3153
	lighting.Transparency = ns(1)
3154
	lighting1.Transparency = ns(1)
3155
	newaura.ImageTransparency = 1
3156
	ssj1 = false
3157
	ssj2 = false
3158
	ssjg = false
3159
	p1.Transparency = 1
3160
	p2.Transparency = 1
3161
	p3.Transparency = 1
3162
	p4.Transparency = 1
3163
	p5.Transparency = 1
3164
	p6.Transparency = 1
3165
	p7.Transparency = 1
3166
	p8.Transparency =1
3167
	p9.Transparency = 1
3168
	p10.Transparency = 1
3169
	p11.Transparency = 1
3170
	p12.Transparency = 1
3171
	p13.Transparency =1
3172
	p14.Transparency = 1
3173
	p15.Transparency =1
3174
	newaura2.ImageTransparency = 1
3175
	ssjb = false
3176
	ssjbkaio = false
3177
	ssjbkaiox10 = false
3178
	a21e.Locked = true
3179
a21e.Size = v3(1,1,1)
3180
a21e.CanCollide = false
3181
a21e.Position = v3(999,999,999)
3182
a21e.BrickColor = bc("White")
3183
a21e.Material = "Neon"
3184
a21e.Transparency = 0
3185
aa21e = new("SpecialMesh",a21e)
3186
a21e.Anchored = true
3187
a21e.Position = RootPart.Position
3188
aa21e.MeshType = "Sphere"
3189
aa21e.Scale = v3(1,1,1)
3190
	ssjaura:Stop()
3191
	ssj2aura:Stop()
3192
	
3193
	ssj3 = false
3194
	ssjaura:Stop()
3195
	ssjbaura:Stop()
3196
	ssjbkaura:Stop()
3197
	ssjgmusic:Stop()
3198
	ssjgaura:Stop()
3199
	ssjbmusic:Stop()
3200
	ssj2aura:Stop()
3201
	ssjmusic:Stop()
3202
	ssj2music:Stop()
3203
	ssj3music:Stop()
3204
	PowerDown:Play()
3205
	for i = 1,50 do
3206
	wait()
3207
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3208
	a21e.Transparency = a21e.Transparency + 0.02
3209
	end
3210
	end
3211
	if fuse == true and ssj4 == true then
3212
		fuse = false
3213
idle7 = false
3214
idle5 = false
3215
noidle = true
3216
ssjb = false
3217
ssj1= false
3218
walk = true
3219
canjump = true
3220
linkpart = Instance.new("Part",char)
3221
linkpart.Position = v3(999,999,999)
3222
linkpart.Transparency = 1
3223
linkpart.CanCollide = false
3224
linkpart.Anchored = true
3225
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
3226
RootPart1.Anchored = true
3227
		RootPart.Anchored = true
3228
	RootPart1 = clone1.HumanoidRootPart
3229
	com1 = 1
3230
	Hair7.Color = Color3.fromRGB(0,0,0)
3231
	Mesh.MeshId = "http://www.roblox.com/asset/?id=504772831"
3232
Mesh.Scale = Vector3.new(0.23,0.23,0.23)
3233
Weld.C0 = CFrame.new(0.25, 0.4, 0.5)*CFrame.Angles(0,math.rad(180),0)
3234
	char.Head.face.Texture= "http://www.roblox.com/asset/?id=869609457"
3235
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=258281249"
3236
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=258281716"
3237
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
3238
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
3239
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
3240
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
3241
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
3242
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3243
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
3244
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3245
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
3246
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
3247
	LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
3248
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
3249
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
3250
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
3251
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
3252
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3253
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
3254
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3255
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
3256
	Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
3257
for i = 1,50 do
3258
	wait()
3259
	com1 = com1 + 0.1
3260
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
3261
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
3262
end
3263
noidle = false
3264
idle = true
3265
	RootPart1.CFrame = CFrame.new(999,999,999)
3266
RootPart1.Anchored = true
3267
RootPart.Anchored = false
3268
hum.HipHeight = 1.35
3269
	end
3270
	if fuse == true and ssj4 == false or potara == true then
3271
		fuse = false
3272
idle7 = false
3273
ssjb = false
3274
ssj2 = false
3275
ssj3 = false
3276
ssj4 = false
3277
ssjaura:Stop()
3278
          newaurabase.Size = UDim2.new(20,0,20,0)
3279
newaura.Position = UDim2.new(-0.5,0,-0.2,0)
3280
newaurabase.AlwaysOnTop = false
3281
newaura.ImageColor3 = Color3.fromRGB(255, 227, 10)
3282
newaurabase.ExtentsOffset = Vector3.new(0,0,3)
3283
ssjg = false
3284
idle5 = false
3285
noidle = true
3286
walk = true
3287
ssj1 = false
3288
newaura.ImageTransparency = 1
3289
char.Head.face.Texture= "rbxassetid://765423946"
3290
Hair7.BrickColor = bc("Really black")
3291
ssjaura:Stop()
3292
canjump = true
3293
if potara == true then
3294
	
3295
	ee1d:Destroy()
3296
	ee2d:Destroy()
3297
	ee3d:Destroy()
3298
	ee4d:Destroy()
3299
	eec:Destroy()
3300
	ee1c:Destroy()
3301
	ee2c:Destroy()
3302
	ee3c:Destroy()
3303
	ee4c:Destroy()
3304
end
3305
linkpart = Instance.new("Part",char)
3306
linkpart.Position = v3(999,999,999)
3307
linkpart.Transparency = 1
3308
linkpart.CanCollide = false
3309
linkpart.Anchored = true
3310
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
3311
RootPart1.Anchored = true
3312
		RootPart.Anchored = true
3313
	RootPart1 = clone1.HumanoidRootPart
3314
	com1 = 1
3315
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=363968007"
3316
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=363966829"
3317
Weld.C0 = CFrame.new(-0.3, 1.2, -0.32)
3318
Mesh.Scale = Vector3.new(6.8,6.8,6.8)
3319
Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712"
3320
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
3321
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
3322
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
3323
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
3324
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
3325
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3326
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
3327
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3328
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
3329
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
3330
	LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
3331
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
3332
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
3333
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
3334
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
3335
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3336
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
3337
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3338
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
3339
	Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
3340
	a21e.Locked = true
3341
a21e.Size = v3(1,1,1)
3342
a21e.CanCollide = false
3343
a21e.Position = v3(999,999,999)
3344
a21e.BrickColor = bc("White")
3345
a21e.Material = "Neon"
3346
a21e.Transparency = 0
3347
aa21e = new("SpecialMesh",a21e)
3348
a21e.Anchored = true
3349
a21e.Position = RootPart.Position
3350
aa21e.MeshType = "Sphere"
3351
aa21e.Scale = v3(1,1,1)
3352
	ssjbaura:Stop()
3353
	PowerDown:Play()
3354
	coroutine.wrap(function()
3355
	for i = 1,50 do
3356
	wait()
3357
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3358
	a21e.Transparency = a21e.Transparency + 0.02
3359
	end
3360
	end)()
3361
for i = 1,50 do
3362
	wait()
3363
	com1 = com1 + 0.1
3364
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
3365
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
3366
end
3367
noidle = false
3368
idle = true
3369
if potara == true then
3370
	ee:Destroy()
3371
	ee1:Destroy()
3372
	ee2:Destroy()
3373
	ee3:Destroy()
3374
	ee4:Destroy()
3375
	eed:Destroy()
3376
end
3377
potara = false
3378
	RootPart1.CFrame = CFrame.new(999,999,999)
3379
RootPart1.Anchored = true
3380
RootPart.Anchored = false
3381
hum.HipHeight = 1.35
3382
	end
3383
	end
3384
	end
3385
	end)
3386
mouse.KeyDown:connect(function(key)
3387
	if key == "c" then
3388
	if canattack == true then
3389
	if ssj1 == true or ssj2 == true or ssj3 == true then
3390
	lighting.Transparency = ns(1)
3391
	lighting1.Transparency = ns(1)
3392
	newaura.ImageTransparency = 1
3393
	a21e.Name = "Beam"..num
3394
a21e.Locked = true
3395
a21e.Size = v3(1,1,1)
3396
a21e.CanCollide = false
3397
a21e.Position = v3(999,999,999)
3398
a21e.BrickColor = bc("New Yeller")
3399
a21e.Material = "Neon"
3400
a21e.Transparency = 0
3401
aa21e = new("SpecialMesh",a21e)
3402
a21e.Anchored = true
3403
a21e.Position = RootPart.Position
3404
aa21e.MeshType = "Sphere"
3405
aa21e.Scale = v3(1,1,1)
3406
	ssjaura:Stop()
3407
	ssj2aura:Stop()
3408
	AuraOff:Play()
3409
	for i = 1,50 do
3410
	wait()
3411
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3412
	a21e.Transparency = a21e.Transparency + 0.02
3413
	end
3414
	end
3415
	if ssjb == true then
3416
		ssjbaura:Stop()
3417
		
3418
		newaura.ImageTransparency = 1
3419
		a21e.Name = "Beam"..num
3420
a21e.Locked = true
3421
a21e.Size = v3(1,1,1)
3422
a21e.CanCollide = false
3423
a21e.Position = v3(999,999,999)
3424
a21e.BrickColor = bc("Toothpaste")
3425
a21e.Material = "Neon"
3426
a21e.Transparency = 0
3427
aa21e = new("SpecialMesh",a21e)
3428
a21e.Anchored = true
3429
a21e.Position = RootPart.Position
3430
aa21e.MeshType = "Sphere"
3431
aa21e.Scale = v3(1,1,1)
3432
AuraOff:Play()
3433
for i = 1,50 do
3434
	wait()
3435
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3436
	a21e.Transparency = a21e.Transparency + 0.02
3437
	end
3438
	end
3439
	if ssj4 == true then
3440
		ssjaura:Stop()
3441
		
3442
		newaura.ImageTransparency = 1
3443
		a21e.Name = "Beam"..num
3444
a21e.Locked = true
3445
a21e.Size = v3(1,1,1)
3446
a21e.CanCollide = false
3447
a21e.Position = v3(999,999,999)
3448
a21e.BrickColor = bc("New Yeller")
3449
a21e.Material = "Neon"
3450
a21e.Transparency = 0
3451
aa21e = new("SpecialMesh",a21e)
3452
a21e.Anchored = true
3453
a21e.Position = RootPart.Position
3454
aa21e.MeshType = "Sphere"
3455
aa21e.Scale = v3(1,1,1)
3456
AuraOff:Play()
3457
for i = 1,50 do
3458
	wait()
3459
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3460
	a21e.Transparency = a21e.Transparency + 0.02
3461
	end
3462
	end
3463
	if ssjg == true then
3464
		ssjgaura:Stop()
3465
		
3466
		newaura.ImageTransparency = 1
3467
		a21e.Name = "Beam"..num
3468
a21e.Locked = true
3469
a21e.Size = v3(1,1,1)
3470
a21e.CanCollide = false
3471
a21e.Position = v3(999,999,999)
3472
a21e.BrickColor = bc("Really red")
3473
a21e.Material = "Neon"
3474
a21e.Transparency = 0
3475
aa21e = new("SpecialMesh",a21e)
3476
a21e.Anchored = true
3477
a21e.Position = RootPart.Position
3478
aa21e.MeshType = "Sphere"
3479
aa21e.Scale = v3(1,1,1)
3480
AuraOff:Play()
3481
for i = 1,50 do
3482
	wait()
3483
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3484
	a21e.Transparency = a21e.Transparency + 0.02
3485
	end
3486
	end
3487
	end
3488
	end
3489
	end)
3490
3491
3492
3493
3494
mouse.KeyDown:connect(function(key)
3495
	if key == "h" then
3496
	if canattack == true and flying1 == false and punched1 == true then
3497
		
3498
		idle = false
3499
		walk = false
3500
		canjump = false
3501
		canattack = false
3502
		punch1 = true
3503
		punched1 = false
3504
		punched2 = true
3505
		af1 = new("Part",char)
3506
af1.Name = "NewPart"
3507
af1.Size = v3(1,1,1)
3508
af1.Position = v3(999,999,999)
3509
af1.Material = "Neon"
3510
af1.Transparency = 1
3511
3512
aaaf1 =new("Weld",af1)
3513
aaaf1.Part0 = RootPart
3514
aaaf1.Part1 = af1
3515
aaaf1.C0 = cf(0,0,-2) * cfa(rad(0),rad(0),rad(0))
3516
wait(0.1)
3517
		punch1 = false
3518
		punch2 = true
3519
		wait(0.2)
3520
		
3521
af1.Touched:connect(function(hit)
3522
	if hit.Parent:FindFirstChild("Head") then
3523
		grab = true
3524
		go11 = 2.3
3525
		af1:Destroy()
3526
		punchsound1:Play()
3527
		hit1 = true
3528
		hit.Parent:findFirstChild("Head").Anchored = true
3529
		for i,v in pairs(hit.Parent:GetChildren()) do
3530
			
3531
			
3532
			if v:IsA("Humanoid") then
3533
				v.Health = v.Health - 10
3534
				if v.Health > 100 then
3535
						v.Health = 100
3536
							v.MaxHealth = 100
3537
					end
3538
			end
3539
			end
3540
		hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 2.3
3541
		punch2 = false
3542
		
3543
	
3544
		idle = false
3545
		walk = false
3546
		canjump = false
3547
		canattack = false
3548
		punch3 = true
3549
		punched1 = false
3550
		punched2 = false
3551
		punched3 = true
3552
		af1 = new("Part",char)
3553
af1.Name = "NewPart"
3554
af1.Size = v3(1,1,1)
3555
af1.Position = v3(999,999,999)
3556
af1.Material = "Neon"
3557
af1.Transparency = 1
3558
3559
aaaf1 =new("Weld",af1)
3560
aaaf1.Part0 = LeftHand
3561
aaaf1.Part1 = af1
3562
aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0))
3563
3564
		wait(0.1)
3565
		punch3 = false
3566
		punch4 = true
3567
		for i,v in pairs(hit.Parent:GetChildren()) do
3568
			
3569
			
3570
			if v:IsA("Humanoid") then
3571
				v.Health = v.Health - 10
3572
				if v.Health > 100 then
3573
						v.Health = 100
3574
						v.MaxHealth = 100
3575
					end
3576
			end
3577
		end
3578
		punchsound1:Play()
3579
		wait(0.2)
3580
		if hit1 == false then
3581
			af1:Destroy()
3582
			hit1 = false
3583
		end
3584
		punch4 = false
3585
			
3586
	
3587
		idle = false
3588
		walk = false
3589
		canjump = false
3590
		canattack = false
3591
		uppercut1 = true
3592
		punched1 = false
3593
		punched2 = false
3594
		punched3 = false
3595
		punched4 = true
3596
		wait(0.3)
3597
		uppercut1 = false
3598
		uppercut2 = true
3599
		af1 = new("Part",char)
3600
af1.Name = "NewPart"
3601
af1.Size = v3(1,1,1)
3602
af1.Position = v3(999,999,999)
3603
af1.Material = "Neon"
3604
af1.Transparency = 1
3605
3606
aaaf1 =new("Weld",af1)
3607
aaaf1.Part0 = LeftHand
3608
aaaf1.Part1 = af1
3609
aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0))
3610
for i,v in pairs(hit.Parent:GetChildren()) do
3611
			
3612
			
3613
			if v:IsA("Humanoid") then
3614
				v.Health = v.Health - 10
3615
				if v.Health > 100 then
3616
						v.Health = 100
3617
						v.MaxHealth = 100
3618
					end
3619
			end
3620
end
3621
punchsound1:Play()
3622
	for i = 1,10 do
3623
		wait()
3624
		up = up + 1
3625
		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) 
3626
	end
3627
	hit.Parent:findFirstChild("Head").Anchored = true
3628
	
3629
	
3630
	
3631
3632
		wait(0.3)
3633
		uppercut2 = false
3634
	
3635
		RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3
3636
		RootPart.Anchored = true
3637
		idle = false
3638
		walk = false
3639
		canjump = false
3640
		canattack = false
3641
		knockdown1 = true
3642
		punched1 = true
3643
		punched2 = false
3644
		punched3 = false
3645
		punched4 = false
3646
		wait(0.3)
3647
		knockdown1 = false
3648
		knockdown2 = true
3649
		StrongPunch:Play()
3650
		for i,v in pairs(hit.Parent:GetChildren()) do
3651
			
3652
			
3653
			if v:IsA("Humanoid") then
3654
					v.Health = v.Health - 10
3655
					if v.Health > 100 then
3656
						v.Health = 100
3657
						v.MaxHealth = 100
3658
					end
3659
			end
3660
		end
3661
		GroundWave11()
3662
		punchsound2:Play()
3663
		up = 0
3664
		for i = 1,10 do
3665
		wait()
3666
		up = up + 1
3667
		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) 
3668
	end
3669
		wait(0.2)
3670
		knockdown2 = false
3671
		hit.Parent:findFirstChild("Head").Anchored = true
3672
		RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3
3673
		FastPunch:Play()
3674
		for i = 1,3 do
3675
		punch1 = true
3676
		wait(0.01)
3677
		punch1 = false
3678
		
3679
		punch2 = true
3680
		wait(0.01)
3681
		punch2 = false
3682
		GroundWave1()
3683
		for i,v in pairs(hit.Parent:GetChildren()) do
3684
			
3685
			
3686
			if v:IsA("Humanoid") then
3687
					v.Health = v.Health - 1
3688
					if v.Health > 100 then
3689
						v.Health = 100
3690
						v.MaxHealth = 100
3691
					end
3692
			end
3693
			
3694
		end
3695
		punchsound1:Play()
3696
		punch3 = true
3697
		wait(0.01)
3698
		punch3 = false
3699
		
3700
		punch4 = true
3701
		wait(0.01)
3702
		punch4 = false
3703
		
3704
		
3705
			kick1 = true
3706
		wait(0.01)
3707
		kick1 = false
3708
		
3709
		kick2 = true
3710
		wait(0.01)
3711
		kick2 = false
3712
		GroundWave111()
3713
		
3714
		punchsound1:Play()
3715
		kick3 = true
3716
		wait(0.01)
3717
	kick3 = false
3718
		
3719
		kick4 = true
3720
		wait(0.01)
3721
		kick4 = false
3722
		
3723
		punchsound1:Play()
3724
		end
3725
		punch1 = true
3726
		wait(0.5)
3727
		punch1 = false
3728
		GroundWave1()
3729
		punch2 = true
3730
		wait(0.01)
3731
		
3732
		punchsound2:Play()
3733
		for i,v in pairs(hit.Parent:GetChildren()) do
3734
			
3735
			
3736
			if v:IsA("Humanoid") then
3737
					v.Health = v.Health - 10
3738
					if v.Health > 100 then
3739
						v.Health = 100
3740
						v.MaxHealth = 100
3741
					end
3742
			end
3743
		end
3744
		coroutine.wrap(function()
3745
		for i = 1,40 do
3746
			wait()
3747
			go11 = go11+ 2
3748
			
3749
			hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * go11
3750
		
3751
		end
3752
		
3753
		end)()
3754
		
3755
		
3756
		
3757
		RootPart.Anchored = true
3758
		punch2 = false
3759
	kamehameha5 = true
3760
	
3761
	startk = true
3762
	kamecharge:Play()
3763
	wait(0.5)
3764
	
3765
	
3766
kamehameha5 = false
3767
kamehameha2 = true
3768
hit.Parent:findFirstChild("Head").Anchored = false
3769
kamehameha()
3770
wait(0.8)
3771
kamehameha2 = false
3772
	RootPart.Anchored = false
3773
		idle = true
3774
		walk = true
3775
		canjump = true
3776
		canattack = true
3777
	
3778
		go11 = 2.3
3779
	up = 0
3780
		idle = true
3781
		walk = true
3782
		canjump = true
3783
		canattack = true
3784
	
3785
	
3786
	
3787
if hit1 == false then
3788
			af1:Destroy()
3789
			hit1 = false
3790
		end
3791
		idle = true
3792
		walk = true
3793
		canjump = true
3794
		canattack = true
3795
	
3796
3797
		idle = true
3798
		
3799
		walk = true
3800
		canjump = true
3801
		canattack = true
3802
	end
3803
3804
end)
3805
end
3806
	end
3807
		end)
3808
	
3809
3810
mouse.KeyDown:connect(function(key)
3811
	if key == "r" then
3812
	if canattack == true and kiblastdone == false then
3813
		idle = false
3814
		walk = false
3815
		kiblastdone = true
3816
		canattack = false
3817
		canjump = false
3818
	kiblast1 = true
3819
	wait(0.2)
3820
	kiblast1 = false
3821
	kiblast2 = true
3822
		kiblastsound:Play()
3823
		ay = new("Part",char)
3824
ay.Name = "NewPart"
3825
ay.Size = v3(1,1,1)
3826
ay.CanCollide = false
3827
ay.BrickColor = bc("Cyan")
3828
ay.Material = "Neon"
3829
ay.Transparency = 0
3830
aay = new("SpecialMesh",ay)
3831
aay.MeshType = "Sphere"
3832
aay.Scale = v3(1,1,1)
3833
ay.Position = v3(999,999,999)
3834
ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3
3835
	ys = Instance.new("BodyVelocity",ay)
3836
3837
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
3838
3839
ys.Velocity = RootPart.CFrame.lookVector * 60
3840
ay.Touched:connect(function(hit)
3841
	if hit then
3842
		
3843
		
3844
	
3845
	
3846
	
3847
3848
	kamehit:Play()
3849
	for i = 1,10 do
3850
	wait()
3851
	aay.Scale = aay.Scale + v3(1,1,1)
3852
	ay.Transparency = ay.Transparency + 0.1
3853
	end
3854
	ay:Destroy()
3855
	
3856
	end
3857
	if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then
3858
		for i,v in pairs(hit.Parent:GetChildren()) do
3859
			
3860
			
3861
			if v:IsA("Humanoid") then
3862
					v.Health = v.Health - 5
3863
					if v.Health > 100 then
3864
						v.Health = 100
3865
						v.MaxHealth = 100
3866
					end
3867
			end
3868
			end
3869
	end
3870
	
3871
end)
3872
3873
game.Debris:AddItem(ay,3)
3874
	wait(0.2)
3875
	kiblast2= false	
3876
		idle = true
3877
		walk = true
3878
		canjump = true
3879
		canattack = true
3880
3881
	end
3882
	end
3883
	end)
3884
	
3885
mouse.KeyDown:connect(function(key)
3886
	if key == "r" then
3887
	if canattack == true and kiblastdone == true then
3888
		idle = false
3889
		walk = false
3890
		kiblastdone = false
3891
		canattack = false
3892
		canjump = false
3893
	kiblast3 = true
3894
	wait(0.2)
3895
	kiblast3 = false
3896
	kiblast4 = true
3897
	kiblastsound:Play()	
3898
		ay = new("Part",char)
3899
ay.Name = "NewPart"
3900
ay.Size = v3(1,1,1)
3901
ay.CanCollide = false
3902
ay.BrickColor = bc("Cyan")
3903
ay.Material = "Neon"
3904
ay.Transparency = 0
3905
aay = new("SpecialMesh",ay)
3906
aay.MeshType = "Sphere"
3907
aay.Scale = v3(1,1,1)
3908
ay.Position = v3(999,999,999)
3909
ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3
3910
	ys = Instance.new("BodyVelocity",ay)
3911
3912
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
3913
3914
ys.Velocity = RootPart.CFrame.lookVector * 60
3915
ay.Touched:connect(function(hit)
3916
	if hit then
3917
		
3918
		
3919
	
3920
	
3921
	
3922
3923
	kamehit:Play()
3924
	for i = 1,10 do
3925
	wait()
3926
	aay.Scale = aay.Scale + v3(1,1,1)
3927
	ay.Transparency = ay.Transparency + 0.1
3928
	end
3929
	ay:Destroy()
3930
	
3931
	end
3932
	if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then
3933
		for i,v in pairs(hit.Parent:GetChildren()) do
3934
			
3935
			
3936
			if v:IsA("Humanoid") then
3937
					v.Health = v.Health - 5
3938
					if v.Health > 100 then
3939
						v.Health = 100
3940
						v.MaxHealth = 100
3941
					end
3942
			end
3943
			end
3944
	end
3945
	
3946
end)
3947
3948
game.Debris:AddItem(ay,3)
3949
	wait(0.2)
3950
	kiblast4= false	
3951
		idle = true
3952
		walk = true
3953
		canjump = true
3954
		canattack = true
3955
3956
	end
3957
	end
3958
	end)
3959
3960
mouse.KeyDown:connect(function(key)
3961
	if key == "g" then
3962
	if canattack == true and flying1 == false and punched1 == true then
3963
		
3964
		idle = false
3965
		walk = false
3966
		canjump = false
3967
		canattack = false
3968
		punch1 = true
3969
		punched1 = false
3970
		punched2 = true
3971
		af1 = new("Part",char)
3972
af1.Name = "NewPart"
3973
af1.Size = v3(1,1,1)
3974
af1.Position = v3(999,999,999)
3975
af1.Material = "Neon"
3976
af1.Transparency = 1
3977
3978
aaaf1 =new("Weld",af1)
3979
aaaf1.Part0 = RootPart
3980
aaaf1.Part1 = af1
3981
aaaf1.C0 = cf(0,0,-2) * cfa(rad(0),rad(0),rad(0))
3982
wait(0.1)
3983
		punch1 = false
3984
		punch2 = true
3985
		wait(0.2)
3986
		
3987
af1.Touched:connect(function(hit)
3988
	if hit.Parent:FindFirstChild("Head") then
3989
		grab = true
3990
		go11 = 2.3
3991
		af1:Destroy()
3992
		punchsound1:Play()
3993
		hit1 = true
3994
		hit.Parent:findFirstChild("Head").Anchored = true
3995
		for i,v in pairs(hit.Parent:GetChildren()) do
3996
			
3997
			
3998
			if v:IsA("Humanoid") then
3999
				v.Health = v.Health - 10
4000
				if v.Health > 100 then
4001
						v.Health = 100
4002
							v.MaxHealth = 100
4003
					end
4004
			end
4005
			end
4006
		hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 2.3
4007
		punch2 = false
4008
		
4009
	
4010
		idle = false
4011
		walk = false
4012
		canjump = false
4013
		canattack = false
4014
		punch3 = true
4015
		punched1 = false
4016
		punched2 = false
4017
		punched3 = true
4018
		af1 = new("Part",char)
4019
af1.Name = "NewPart"
4020
af1.Size = v3(1,1,1)
4021
af1.Position = v3(999,999,999)
4022
af1.Material = "Neon"
4023
af1.Transparency = 1
4024
4025
aaaf1 =new("Weld",af1)
4026
aaaf1.Part0 = LeftHand
4027
aaaf1.Part1 = af1
4028
aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0))
4029
4030
		wait(0.1)
4031
		punch3 = false
4032
		punch4 = true
4033
		for i,v in pairs(hit.Parent:GetChildren()) do
4034
			
4035
			
4036
			if v:IsA("Humanoid") then
4037
				v.Health = v.Health - 10
4038
				if v.Health > 100 then
4039
						v.Health = 100
4040
						v.MaxHealth = 100
4041
					end
4042
			end
4043
		end
4044
		punchsound1:Play()
4045
		wait(0.2)
4046
		if hit1 == false then
4047
			af1:Destroy()
4048
			hit1 = false
4049
		end
4050
		punch4 = false
4051
			
4052
	
4053
		idle = false
4054
		walk = false
4055
		canjump = false
4056
		canattack = false
4057
		uppercut1 = true
4058
		punched1 = false
4059
		punched2 = false
4060
		punched3 = false
4061
		punched4 = true
4062
		wait(0.3)
4063
		uppercut1 = false
4064
		uppercut2 = true
4065
		af1 = new("Part",char)
4066
af1.Name = "NewPart"
4067
af1.Size = v3(1,1,1)
4068
af1.Position = v3(999,999,999)
4069
af1.Material = "Neon"
4070
af1.Transparency = 1
4071
4072
aaaf1 =new("Weld",af1)
4073
aaaf1.Part0 = LeftHand
4074
aaaf1.Part1 = af1
4075
aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0))
4076
for i,v in pairs(hit.Parent:GetChildren()) do
4077
			
4078
			
4079
			if v:IsA("Humanoid") then
4080
				v.Health = v.Health - 10
4081
				if v.Health > 100 then
4082
						v.Health = 100
4083
						v.MaxHealth = 100
4084
					end
4085
			end
4086
end
4087
punchsound1:Play()
4088
	for i = 1,10 do
4089
		wait()
4090
		up = up + 1
4091
		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) 
4092
	end
4093
	hit.Parent:findFirstChild("Head").Anchored = true
4094
	
4095
	
4096
	
4097
4098
		wait(0.3)
4099
		uppercut2 = false
4100
	
4101
		RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3
4102
		RootPart.Anchored = true
4103
		idle = false
4104
		walk = false
4105
		canjump = false
4106
		canattack = false
4107
		knockdown1 = true
4108
		punched1 = true
4109
		punched2 = false
4110
		punched3 = false
4111
		punched4 = false
4112
		wait(0.3)
4113
		knockdown1 = false
4114
		knockdown2 = true
4115
		StrongPunch:Play()
4116
		for i,v in pairs(hit.Parent:GetChildren()) do
4117
			
4118
			
4119
			if v:IsA("Humanoid") then
4120
					v.Health = v.Health - 10
4121
					if v.Health > 100 then
4122
						v.Health = 100
4123
						v.MaxHealth = 100
4124
					end
4125
			end
4126
		end
4127
		GroundWave11()
4128
		punchsound2:Play()
4129
		up = 0
4130
		for i = 1,10 do
4131
		wait()
4132
		up = up + 1
4133
		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) 
4134
	end
4135
		wait(0.2)
4136
		knockdown2 = false
4137
		hit.Parent:findFirstChild("Head").Anchored = true
4138
	
4139
		 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))
4140
	Instance.new("Smoke",hit.Parent:findFirstChild("Head")).Color = Color3.fromRGB(79,91,79)
4141
	coroutine.wrap(function()
4142
		
4143
		for i= 1,8 do
4144
		
4145
		FastPunch:Play()
4146
		wait(0.4)
4147
		end
4148
	end)()
4149
	coroutine.wrap(function()
4150
		wait(0.5)
4151
			ay1 = new("Part",char)
4152
ay1.Name = "NewPart"
4153
ay1.Size = v3(1,1,1)
4154
ay1.CanCollide = false
4155
ay1.BrickColor = bc("Cyan")
4156
ay1.Material = "Neon"
4157
ay1.Transparency = 0
4158
aay1 = new("SpecialMesh",ay1)
4159
aay1.MeshType = "Sphere"
4160
aay1.Scale = v3(3,3,3)
4161
ay1.Anchored = true
4162
ay1.Position = hit.Parent:findFirstChild("Head").Position
4163
for i = 1,5 do
4164
	wait()
4165
		for i = 1,10 do
4166
			wait()
4167
			aay1.Scale = aay1.Scale + v3(2,2,2)
4168
		end
4169
		local HandCF = ay1.CFrame  * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
4170
	Colors = {"White", "White"}
4171
	local wave11111 = Instance.new("Part", char)
4172
	wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
4173
	wave11111.Anchored = true
4174
	wave11111.Name = "Wave"
4175
	wave11111.CanCollide = false
4176
	wave11111.Locked = true
4177
	wave11111.Size = Vector3.new(1, 1, 1)
4178
	wave11111.TopSurface = "Smooth"
4179
	wave11111.BottomSurface = "Smooth"
4180
	wave11111.Transparency = 0.35
4181
	wave11111.CFrame = HandCF
4182
	wm31111 = Instance.new("SpecialMesh", wave11111)
4183
	wm31111.MeshId = "rbxassetid://3270017"
4184
	
4185
	coroutine.wrap(function()
4186
	for i = 1, 30, 1 do
4187
	wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
4188
	wave11111.Size = wm31111.Scale
4189
	wave11111.CFrame = HandCF
4190
	wave11111.Transparency = i/30
4191
	wait()
4192
	end
4193
	wait()
4194
	wave11111:Destroy()
4195
	end)()
4196
		for i = 1,10 do
4197
			wait()
4198
			aay1.Scale = aay1.Scale - v3(2,2,2)
4199
		end
4200
		local HandCF = ay1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
4201
	Colors = {"White", "White"}
4202
	local wave11111 = Instance.new("Part", char)
4203
	wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
4204
	wave11111.Anchored = true
4205
	wave11111.Name = "Wave"
4206
	wave11111.CanCollide = false
4207
	wave11111.Locked = true
4208
	wave11111.Size = Vector3.new(1, 1, 1)
4209
	wave11111.TopSurface = "Smooth"
4210
	wave11111.BottomSurface = "Smooth"
4211
	wave11111.Transparency = 0.35
4212
	wave11111.CFrame = HandCF
4213
	wm31111 = Instance.new("SpecialMesh", wave11111)
4214
	wm31111.MeshId = "rbxassetid://3270017"
4215
	coroutine.wrap(function()
4216
	for i = 1, 30, 1 do
4217
	wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
4218
	wave11111.Size = wm31111.Scale
4219
	wave11111.CFrame = HandCF
4220
	wave11111.Transparency = i/30
4221
	wait()
4222
	end
4223
	wait()
4224
	wave11111:Destroy()
4225
	end)()
4226
end
4227
ay1:Destroy()
4228
		end)()
4229
	coroutine.wrap(function()
4230
		wait(0.5)
4231
		for i= 1,32 do
4232
		wait(0.1)
4233
		kiblastsound:Play()
4234
		kamehit:Play()
4235
		
4236
		end
4237
	end)()
4238
	
4239
		for i = 1,20 do
4240
			wait()
4241
	kiblast1 = true
4242
	wait()
4243
	kiblast1 = false
4244
	kiblast2 = true
4245
		
4246
		ay = new("Part",char)
4247
ay.Name = "NewPart"
4248
ay.Size = v3(1,1,1)
4249
ay.CanCollide = false
4250
ay.BrickColor = bc("Cyan")
4251
ay.Material = "Neon"
4252
ay.Transparency = 0
4253
aay = new("SpecialMesh",ay)
4254
aay.MeshType = "Sphere"
4255
aay.Scale = v3(2,2,2)
4256
ay.Position = v3(999,999,999)
4257
ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3
4258
	ys = Instance.new("BodyVelocity",ay)
4259
4260
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
4261
4262
ys.Velocity = RootPart.CFrame.lookVector * 80
4263
ay.Touched:connect(function(hit)
4264
	if hit ~= ay then
4265
		
4266
		
4267
	
4268
	
4269
	
4270
4271
	
4272
	
4273
	
4274
	end
4275
	if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then
4276
		
4277
		for i,v in pairs(hit.Parent:GetChildren()) do
4278
			
4279
		
4280
			if v:IsA("Humanoid") then
4281
					v.Health = v.Health -  0.4
4282
					if v.Health > 100 then
4283
						v.Health = 100
4284
						v.MaxHealth = 100
4285
					end
4286
			end
4287
			end
4288
	end
4289
	
4290
end)
4291
4292
game.Debris:AddItem(ay,3)
4293
	wait()
4294
	kiblast2= false	
4295
	
4296
	
4297
		
4298
4299
		
4300
	kiblast3 = true
4301
	wait()
4302
	kiblast3 = false
4303
	kiblast4 = true
4304
		
4305
		ay = new("Part",char)
4306
ay.Name = "NewPart"
4307
ay.Size = v3(1,1,1)
4308
ay.CanCollide = false
4309
ay.BrickColor = bc("Cyan")
4310
ay.Material = "Neon"
4311
ay.Transparency = 0
4312
aay = new("SpecialMesh",ay)
4313
aay.MeshType = "Sphere"
4314
aay.Scale = v3(2,2,2)
4315
ay.Position = v3(999,999,999)
4316
ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3
4317
	ys = Instance.new("BodyVelocity",ay)
4318
4319
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
4320
4321
ys.Velocity = RootPart.CFrame.lookVector * 80
4322
ay.Touched:connect(function(hit)
4323
	if hit ~= ay then
4324
		
4325
		
4326
	
4327
	
4328
	
4329
4330
	
4331
	
4332
	end
4333
	if hit.Parent:FindFirstChild("Head") ~= nil and hit.Parent:FindFirstChild("NewPart") == nil then
4334
	
4335
	
4336
		for i,v in pairs(hit.Parent:GetChildren()) do
4337
			
4338
		
4339
	
4340
			if v:IsA("Humanoid") then
4341
					v.Health = v.Health - 0.4
4342
					if v.Health > 100 then
4343
						v.Health = 100
4344
						v.MaxHealth = 100
4345
					end
4346
			end
4347
			end
4348
	end
4349
	
4350
end)
4351
4352
game.Debris:AddItem(ay,3)
4353
	wait()
4354
	kiblast4= false	
4355
		end
4356
4357
4358
	
4359
	
4360
wait(2)
4361
		idle = true
4362
		walk = true
4363
		canjump = true
4364
		canattack = true
4365
	
4366
hit.Parent:findFirstChild("Head").Anchored = false
4367
		idle = true
4368
		go11 = 2.3
4369
		walk = true
4370
		up = 0
4371
		canjump = true
4372
		canattack = true
4373
		RootPart.Anchored = false
4374
	end
4375
4376
end)
4377
end
4378
	end
4379
		end)
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
mouse.KeyDown:connect(function(key)
4395
if key == "y" then
4396
	if fuse == false then
4397
	if ssj1 == false and ssj2 == false and ssj3 == false then
4398
	if canattack == true then
4399
	canattack = false
4400
	if canfly == true then
4401
	canfly = false
4402
	canfly1 = true
4403
	end
4404
	newaura.Position = UDim2.new(-0.475,0,-0.25,0)
4405
RootPart.Anchored = true
4406
	newaurabase.Size = UDim2.new(15,0,25,0)
4407
newaurabase.AlwaysOnTop = false
4408
newaura.ImageColor3 = Color3.fromRGB(255, 255, 255)
4409
newaurabase.ExtentsOffset = Vector3.new(0,0,-2)
4410
	idle = false
4411
	ssjb = true
4412
	ssj1 = false
4413
	ssj2= false
4414
	ssj3 = false
4415
	walk = false
4416
	canjump = false
4417
	
4418
	ssjbmusic:Play()
4419
	g1q = Instance.new("Part",char)
4420
	g1q.Name = "Smoke"
4421
	g1q.CanCollide = false
4422
	g1q.Position = RootPart.Position - v3(-8,3,0)
4423
	g1q.Size = v3(0.1,0.1,0.1)
4424
	g1q.Anchored = true
4425
	g1a = Instance.new("Part",char)
4426
	g1a.Name = "Smoke"
4427
	g1a.CanCollide = false
4428
	g1a.Position = RootPart.Position + v3(8,80,0)
4429
	g1a.Size = v3(0.1,0.1,0.1)
4430
	g1a.Anchored = true
4431
	g1q1 = Instance.new("Part",char)
4432
	g1q1.Name = "Smoke"
4433
	g1q1.CanCollide = false
4434
	g1q1.Position = RootPart.Position - v3(-5,3,7)
4435
	g1q1.Size = v3(0.1,0.1,0.1)
4436
	g1q1.Anchored = true
4437
	g1a1 = Instance.new("Part",char)
4438
	g1a1.Name = "Smoke"
4439
	g1a1.CanCollide = false
4440
	g1a1.Position = RootPart.Position + v3(5,80,-7)
4441
	g1a1.Size = v3(0.1,0.1,0.1)
4442
	g1a1.Anchored = true
4443
	g1q2 = Instance.new("Part",char)
4444
	g1q2.Name = "Smoke"
4445
	g1q2.CanCollide = false
4446
	g1q2.Position = RootPart.Position - v3(12,3,-6)
4447
	g1q2.Size = v3(0.1,0.1,0.1)
4448
	g1q2.Anchored = true
4449
	g1a2 = Instance.new("Part",char)
4450
	g1a2.Name = "Smoke"
4451
	g1a2.CanCollide = false
4452
	g1a2.Position = RootPart.Position + v3(-12,80,6)
4453
	g1a2.Size = v3(0.1,0.1,0.1)
4454
	g1a2.Anchored = true
4455
	------------------------------------------------
4456
	transform1 = true
4457
	
4458
	wait(0.8)
4459
	if potara == false then
4460
	Hair7.Color = Color3.fromRGB(21,221,239)
4461
	Mesh.MeshId = "rbxassetid://430344159"
4462
	Mesh.Scale = v3(6.3,6.3,6.3)
4463
	char.Head.face.Texture= "rbxassetid://959519291"
4464
	Weld.C0 = CFrame.new(-.25,1.2,.34)
4465
	else
4466
		char.Head.face.Texture= "rbxassetid://959519291"
4467
		Hair7.Color = Color3.fromRGB(21,221,239)
4468
		Mesh.MeshId = "rbxassetid://560152258"
4469
	Mesh.Scale = Vector3.new(6.9,6.9,6.9)
4470
	Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0)
4471
	end
4472
	a21e = new("Part",char)
4473
a21e.Name = "Beam"..num
4474
a21e.Locked = true
4475
a21e.Size = v3(1,1,1)
4476
a21e.CanCollide = false
4477
a21e.Position = v3(999,999,999)
4478
a21e.BrickColor = bc("Cyan")
4479
a21e.Material = "Neon"
4480
a21e.Transparency = 0
4481
aa21e = new("SpecialMesh",a21e)
4482
a21e.Anchored = true
4483
a21e.Position = RootPart.Position
4484
aa21e.MeshType = "Sphere"
4485
aa21e.Scale = v3(1,1,1)
4486
	
4487
	transform1 = false
4488
	transform2 = true
4489
	ssjbauraburst:Play()
4490
	GroundWave5()
4491
	GroundWave6()
4492
	GroundWave7()
4493
	GroundWave8()
4494
	GroundWave9()
4495
	GroundWave10()
4496
	ad.Position = RootPart.Position - v3(0,3,0)
4497
	aad.Transparency = 0
4498
	
4499
	
4500
	
4501
	newaura.ImageTransparency = 0
4502
	ssjbaura:Play()
4503
	for i = 1,50 do
4504
	wait()
4505
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4506
	a21e.Transparency = a21e.Transparency + 0.02
4507
	end
4508
	wait(0.1)
4509
	wait(1.4)
4510
	transform2 = false
4511
	
4512
	
4513
	
4514
	
4515
	-------------------------------------------------
4516
	canattack = true
4517
RootPart.Anchored = false
4518
	if canfly1 == true then
4519
	
4520
	idle = true
4521
	walk = true
4522
	canjump = true
4523
	end
4524
	if canfly1 == true then
4525
	canfly = true
4526
	end
4527
	for i = 1,20 do
4528
	wait()
4529
	aad.Transparency = aad.Transparency + 0.05
4530
	end
4531
	end
4532
	end
4533
	end
4534
	end
4535
	end)
4536
4537
4538
4539
mouse.KeyDown:connect(function(key)
4540
if key == "k" then
4541
	if potara == false then
4542
	if ssjb == true then
4543
	if canattack == true then
4544
	canattack = false
4545
	if canfly == true then
4546
	canfly = false
4547
	canfly1 = true
4548
	end
4549
4550
	
4551
	idle = false
4552
	ssjb = true
4553
	ssjbkaio = true
4554
	ssj1 = false
4555
	ssj2= false
4556
	ssj3 = false
4557
	walk = false
4558
	canjump = false
4559
	
4560
	ssjbmusic:Play()
4561
	
4562
	------------------------------------------------
4563
	transform3 = true
4564
	
4565
	wait(0.8)
4566
	Hair7.Color = Color3.fromRGB(21,221,239)
4567
	Mesh.MeshId = "rbxassetid://430344159"
4568
	Mesh.Scale = v3(6.3,6.3,6.3)
4569
	char.Head.face.Texture= "rbxassetid://959519291"
4570
	Weld.C0 = CFrame.new(-.25,1.2,.34)
4571
	
4572
	a21e = new("Part",char)
4573
a21e.Name = "Beam"..num
4574
a21e.Locked = true
4575
a21e.Size = v3(1,1,1)
4576
a21e.CanCollide = false
4577
a21e.Position = v3(999,999,999)
4578
a21e.BrickColor = bc("Cyan")
4579
a21e.Material = "Neon"
4580
a21e.Transparency = 1
4581
aa21e = new("SpecialMesh",a21e)
4582
a21e.Anchored = true
4583
a21e.Position = RootPart.Position
4584
aa21e.MeshType = "Sphere"
4585
aa21e.Scale = v3(1,1,1)
4586
	
4587
	
4588
	
4589
	
4590
	
4591
	smokey = Instance.new("Smoke",RootPart)
4592
	smokey.Color = Color3.new(255,0,0)
4593
	smokey.Opacity = 1
4594
	smokey.Size = 2
4595
	ssjbkaioken.TimePosition = 1.5
4596
	ssjbkaioken:Play()
4597
	wait(0.2)
4598
	coroutine.wrap(function()
4599
		repeat
4600
			wait()
4601
		newaurabase.Size = UDim2.new(math.random(15,17),0,math.random(25,30),0)
4602
		until newaura.ImageTransparency == 1
4603
		
4604
		
4605
		
4606
	end)()
4607
	rock = true
4608
	redlight = Instance.new("PointLight",LowerTorso)
4609
	redlight.Color = Color3.new(255,0,0)
4610
	redlight.Brightness = math.huge
4611
	mouth.Texture = "rbxassetid://828773176"
4612
	GroundShake = true
4613
          RootPart.Anchored = true
4614
         
4615
	wait(10)
4616
	
4617
	wait(7)
4618
	rock2 = true
4619
	rock = false
4620
smokey:Destroy()
4621
ssjbaura:Stop()
4622
ssjbmusic:Stop()
4623
	transform3 = false
4624
	transform2 = false
4625
	transform5 = true
4626
	redlight:Destroy()
4627
	
4628
	mouth.Texture = "rbxassetid://932140764"
4629
newaura.ImageTransparency = 1
4630
	GroundShake = false
4631
	
4632
	a21e.Transparency = 0
4633
	for i = 1,50 do
4634
	wait()
4635
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4636
	a21e.Transparency = a21e.Transparency + 0.02
4637
	end
4638
	aa21e.Scale = v3(1,1,1)
4639
	a21e.Transparency = 1
4640
	wait(1)
4641
	chatfunc("Kaioken!")
4642
	mouth.Texture = "rbxassetid://828773176"
4643
	wait(0.3)
4644
	mouth.Texture = "rbxassetid://932140764"
4645
	wait(0.3)
4646
	mouth.Texture = "rbxassetid://828773176"
4647
	wait(0.3)
4648
	mouth.Texture = "rbxassetid://932140764"
4649
	wait(0.3)
4650
	mouth.Texture = "rbxassetid://828773176"
4651
	wait(0.3)
4652
	mouth.Texture = "rbxassetid://932140764"
4653
	wait(0.3)
4654
          GroundShake2 = true
4655
	transform5 = false
4656
	transform3 = false
4657
	transform2 = true
4658
	ssjbauraburst:Play()
4659
	GroundWave5()
4660
	GroundWave6()
4661
	GroundWave7()
4662
	GroundWave8()
4663
	GroundWave9()
4664
	GroundWave10()
4665
	ad.Position = RootPart.Position - v3(0,3,0)
4666
	aad.Transparency = 0
4667
	newaura2.ImageTransparency = 0
4668
	wait(0.1)
4669
	
4670
	
4671
	newaura.ImageTransparency = 0
4672
	ssjbaura:Stop()
4673
	ssjbkaura:Play()
4674
	a21e.Transparency = 0
4675
	for i = 1,50 do
4676
	wait()
4677
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4678
	a21e.Transparency = a21e.Transparency + 0.02
4679
	end
4680
          GroundShake2 = false
4681
for i,v in pairs(workspace:GetChildren()) do
4682
		if v:IsA("Part") then
4683
			if v.Size.x > 150 then
4684
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
4685
			end
4686
		end
4687
	end
4688
	wait(0.1)
4689
	wait(1.4)
4690
	chatfunc("This Is My Trump Card")
4691
	rock2 = false
4692
	transform2 = false
4693
	
4694
	
4695
	
4696
	
4697
	-------------------------------------------------
4698
	canattack = true
4699
RootPart.Anchored = false
4700
	if canfly1 == true then
4701
	
4702
	idle = true
4703
	walk = true
4704
	canjump = true
4705
	end
4706
	if canfly1 == true then
4707
	canfly = true
4708
	end
4709
	for i = 1,20 do
4710
	wait()
4711
	aad.Transparency = aad.Transparency + 0.05
4712
	end
4713
	end
4714
	end
4715
	end
4716
	end
4717
	end)
4718
4719
4720
4721
mouse.KeyDown:connect(function(key)
4722
if key == "k" then
4723
	if ssjbkaio == true then
4724
	if canattack == true then
4725
	canattack = false
4726
	if canfly == true then
4727
	canfly = false
4728
	canfly1 = true
4729
	end
4730
4731
	RootPart.Anchored = true
4732
	idle = false
4733
	ssjb = true
4734
	ssjbkaio = false
4735
	ssjbkaiox10 = true
4736
	ssj1 = false
4737
	ssj2= false
4738
	ssj3 = false
4739
	walk = false
4740
	canjump = false
4741
	
4742
	ssjbmusic:Play()
4743
	
4744
	------------------------------------------------
4745
	transform3 = true
4746
	
4747
	wait(0.8)
4748
	
4749
	
4750
	a21e = new("Part",char)
4751
a21e.Name = "Beam"..num
4752
a21e.Locked = true
4753
a21e.Size = v3(1,1,1)
4754
a21e.CanCollide = false
4755
a21e.Position = v3(999,999,999)
4756
a21e.BrickColor = bc("Cyan")
4757
a21e.Material = "Neon"
4758
a21e.Transparency = 1
4759
aa21e = new("SpecialMesh",a21e)
4760
a21e.Anchored = true
4761
a21e.Position = RootPart.Position
4762
aa21e.MeshType = "Sphere"
4763
aa21e.Scale = v3(1,1,1)
4764
	
4765
	
4766
	
4767
	
4768
	
4769
	
4770
	ssjbkaioken1:Play()
4771
	coroutine.wrap(function()
4772
		repeat
4773
			wait()
4774
		newaurabase2.Size = UDim2.new(math.random(30,35),0,math.random(60,75),0)
4775
		until Hair7.Color == Color3.fromRGB(210, 211, 223)
4776
		
4777
		
4778
		
4779
	end)()
4780
	rock = true
4781
	redlight = Instance.new("PointLight",LowerTorso)
4782
	redlight.Color = Color3.new(255,0,0)
4783
	redlight.Brightness = math.huge
4784
	GroundShake = true
4785
         
4786
	mouth.Texture = "rbxassetid://828773176"
4787
	wait(9)
4788
	GroundWave5()
4789
	GroundWave6()
4790
	GroundWave7()
4791
	GroundWave8()
4792
	GroundWave9()
4793
	GroundWave10()
4794
	ad = new("Part",char)
4795
ad.Name = "NewPart"
4796
ad.Size = v3(30,0.1,30)	
4797
ad.CanCollide = false
4798
ad.Anchored = true
4799
ad.Position = RootPart.Position - v3(0,2,0)
4800
ad.BrickColor = bc("bright Blue")
4801
ad.Material = "Neon"
4802
ad.Transparency = 1
4803
aad = new("Decal",ad)
4804
4805
aad.Face = "Top"
4806
aad.Transparency = 1
4807
		aad.Transparency = 0
4808
		aad.Texture = "http://www.roblox.com/asset/?id=108186785"
4809
	wait(11)
4810
	
4811
	redlight:Destroy()
4812
	
4813
	chatfunc("Times 10!")
4814
	mouth.Texture = "rbxassetid://828773176"
4815
	wait(0.3)
4816
	mouth.Texture = "rbxassetid://932140764"
4817
	wait(0.3)
4818
	mouth.Texture = "rbxassetid://828773176"
4819
	wait(0.3)
4820
	mouth.Texture = "rbxassetid://932140764"
4821
	wait(0.2)
4822
	mouth.Texture = "rbxassetid://828773176"
4823
	wait(0.2)
4824
	mouth.Texture = "rbxassetid://932140764"
4825
	wait(0.2)
4826
	mouth.Texture = "rbxassetid://828773176"
4827
	wait(1.4)
4828
	rock3 = true
4829
	rock = false
4830
	GroundShake2 = true 
4831
	
4832
	ssjbauraburst:Play()
4833
	GroundWave5()
4834
	GroundWave6()
4835
	GroundWave7()
4836
	GroundWave8()
4837
	GroundWave9()
4838
	GroundWave10()
4839
	
4840
	aad.Transparency = 0
4841
	newaura2.ImageTransparency = 0
4842
	
4843
	p1.Transparency = 0.5
4844
	p2.Transparency = 0.5
4845
	p3.Transparency = 0.5
4846
	p4.Transparency = 0.5
4847
	p5.Transparency = 0.5
4848
	p6.Transparency = 0.5
4849
	p7.Transparency = 0.5
4850
	p8.Transparency = 0.5
4851
	p9.Transparency = 0.5
4852
	p10.Transparency = 0.5
4853
	p11.Transparency = 0.5
4854
	p12.Transparency = 0.5
4855
	p13.Transparency = 0.5
4856
	p14.Transparency = 0.5
4857
	p15.Transparency = 0.5
4858
	newaura.ImageTransparency = 0
4859
	ssjbaura:Stop()
4860
	ssjbkaura:Play()
4861
	a21e.Transparency = 0
4862
	Hair7.Color = Color3.fromRGB(210, 211, 223)
4863
	
4864
	Mesh.MeshId = "rbxassetid://430344159"
4865
	Mesh.Scale = v3(6.3,6.3,6.3)
4866
	char.Head.face.Texture= "http://www.roblox.com/asset/?id=975967879"
4867
	Weld.C0 = CFrame.new(-.25,1.2,.34)
4868
	for i = 1,50 do
4869
	wait()
4870
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4871
	a21e.Transparency = a21e.Transparency + 0.02
4872
	end
4873
	ssjbkaioken1:Stop()
4874
	mouth.Texture = "rbxassetid://932140764"
4875
	wait()
4876
	GroundShake = false
4877
	wait()
4878
	
4879
	wait()
4880
          GroundShake2 = false
4881
for i,v in pairs(workspace:GetChildren()) do
4882
		if v:IsA("Part") then
4883
			if v.Size.x > 150 then
4884
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
4885
			end
4886
		end
4887
	end
4888
          wait(2)
4889
	
4890
	
4891
	
4892
	
4893
	rock3 = false
4894
	-------------------------------------------------
4895
	transform3 = false
4896
	chatfunc("I Can't Maintain This Form For Long")
4897
	canattack = true
4898
RootPart.Anchored = false
4899
	if canfly1 == true then
4900
	
4901
	idle = true
4902
	walk = true
4903
	canjump = true
4904
	end
4905
	if canfly1 == true then
4906
	canfly = true
4907
	end
4908
	for i = 1,20 do
4909
	wait()
4910
	aad.Transparency = aad.Transparency + 0.05
4911
	end
4912
	end
4913
	end
4914
	end
4915
	end)
4916
4917
4918
4919
4920
mouse.KeyDown:connect(function(key)
4921
if key == "u" then
4922
	if fuse == false or potara == false then
4923
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false then
4924
	if canattack == true then
4925
	canattack = false
4926
	if canfly == true then
4927
	canfly = false
4928
	canfly1 = true
4929
	end
4930
	newaura.Position = UDim2.new(-0.57,0,-0.28,0)
4931
	newaurabase.Size = UDim2.new(10,0,20,0)
4932
newaurabase.AlwaysOnTop = false
4933
newaurabase.ExtentsOffset = v3(0,0,-2)
4934
RootPart.Anchored = true
4935
	
4936
	idle = false
4937
	ssjb = false
4938
	ssjg = true
4939
	ssj1 = false
4940
	ssj2= false
4941
	ssj3 = false
4942
	walk = false
4943
	canjump = false
4944
	
4945
	ssjgmusic:Play()
4946
	
4947
	------------------------------------------------
4948
	transform1 = true
4949
	
4950
	wait(0.8)
4951
	Hair7.Color = Color3.fromRGB(255,16,88)
4952
	GroundShake = true
4953
	char.Head.face.Texture= "rbxassetid://900680867"
4954
	
4955
	
4956
	a21e = new("Part",char)
4957
a21e.Name = "Beam"..num
4958
a21e.Locked = true
4959
a21e.Size = v3(1,1,1)
4960
a21e.CanCollide = false
4961
a21e.Position = v3(999,999,999)
4962
a21e.BrickColor = bc("Really red")
4963
a21e.Material = "Neon"
4964
a21e.Transparency = 0
4965
aa21e = new("SpecialMesh",a21e)
4966
a21e.Anchored = true
4967
a21e.Position = RootPart.Position
4968
aa21e.MeshType = "Sphere"
4969
aa21e.Scale = v3(1,1,1)
4970
	
4971
	transform1 = false
4972
	transform2 = true
4973
	ssjbauraburst:Play()
4974
	GroundWave5()
4975
	GroundWave6()
4976
	GroundWave7()
4977
	GroundWave8()
4978
	GroundWave9()
4979
	GroundWave10()
4980
	ad.Position = RootPart.Position - v3(0,3,0)
4981
	aad.Transparency = 0
4982
	
4983
	
4984
	
4985
	newaura.ImageTransparency = 0
4986
	ssjgaura:Play()
4987
	for i = 1,50 do
4988
	wait()
4989
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4990
	a21e.Transparency = a21e.Transparency + 0.02
4991
	end
4992
	GroundShake = false
4993
	for i,v in pairs(workspace:GetChildren()) do
4994
		if v:IsA("Part") then
4995
			if v.Size.x > 150 then
4996
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
4997
			end
4998
		end
4999
	end
5000
	wait(0.1)
5001
	wait(1.4)
5002
	transform2 = false
5003
	
5004
	
5005
	
5006
	
5007
	-------------------------------------------------
5008
	canattack = true
5009
RootPart.Anchored = false
5010
	if canfly1 == true then
5011
	
5012
	idle = true
5013
	walk = true
5014
	canjump = true
5015
	end
5016
	if canfly1 == true then
5017
	canfly = true
5018
	end
5019
	for i = 1,20 do
5020
	wait()
5021
	aad.Transparency = aad.Transparency + 0.05
5022
	end
5023
	end
5024
	end
5025
	end
5026
	end
5027
	end)
5028
5029
mouse.KeyDown:connect(function(key)
5030
if key == "l" then
5031
	if fuse == false and potara == false then
5032
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
5033
	if great == false then
5034
	if canattack == true then
5035
	canattack = false
5036
	if canfly == true then
5037
	canfly = false
5038
	canfly1 = true
5039
	end
5040
	
5041
5042
		transform3 = true
5043
	idle = false
5044
	ssjb = false
5045
	ssjg = true
5046
	ssj1 = false
5047
	ssj2= false
5048
	ssj3 = false
5049
	walk = false
5050
	ssjg = false
5051
	great = true
5052
	canjump = false
5053
	
5054
	
5055
	ape = Instance.new("Part",char)
5056
	ape.Transparency = 1
5057
	weldape = Instance.new("Weld",ape)
5058
	weldape.Part0 = Head
5059
	weldape.Part1 = ape
5060
	weldape.C0 = CFrame.new(0,5,-9)*CFrame.Angles(0,math.rad(180),0)
5061
	meshape = Instance.new("SpecialMesh",ape)
5062
	meshape.MeshId = "rbxassetid://553201144"
5063
	meshape.Scale = v3(0.04,0.04,0.04)
5064
	
5065
Ape1:Play()
5066
wait(2)
5067
5068
Ape2:Play()
5069
5070
wait(3)
5071
Ape3:Play()
5072
wait(10)
5073
headcolor = Head.BrickColor
5074
wait(0.1)
5075
Head.BrickColor = bc("New Yeller")
5076
Hair7.Transparency = 1
5077
p1.Transparency = 0
5078
	p2.Transparency = 0
5079
	p3.Transparency = 0
5080
	p4.Transparency = 0
5081
	p5.Transparency = 0
5082
	p6.Transparency = 0
5083
	p7.Transparency = 0
5084
	p8.Transparency =0
5085
	p9.Transparency = 0
5086
	p10.Transparency = 0
5087
	p11.Transparency = 0
5088
	p12.Transparency = 0
5089
	p13.Transparency =0
5090
	p14.Transparency = 0
5091
	
5092
	p1.BrickColor = bc("New Yeller")
5093
	p2.BrickColor = bc("New Yeller")
5094
	p3.BrickColor = bc("New Yeller")
5095
	p4.BrickColor = bc("New Yeller")
5096
	p5.BrickColor = bc("New Yeller")
5097
	p6.BrickColor = bc("Cool yellow")
5098
	p7.BrickColor = bc("Cool yellow")
5099
	p8.BrickColor = bc("Cool yellow")
5100
	p9.BrickColor = bc("Cool yellow")
5101
	p10.BrickColor = bc("New Yeller")
5102
	p11.BrickColor = bc("New Yeller")
5103
	p12.BrickColor = bc("New Yeller")
5104
	p13.BrickColor = bc("New Yeller")
5105
	p14.BrickColor = bc("New Yeller")
5106
5107
transform3 = false
5108
transform4 = true
5109
	for i = 1,10 do
5110
		wait()
5111
		hum.BodyDepthScale.Value = hum.BodyDepthScale.Value + 2
5112
hum.BodyHeightScale.Value = hum.BodyHeightScale.Value + 2
5113
hum.BodyWidthScale.Value = hum.BodyWidthScale.Value + 2
5114
hum.HeadScale.Value = hum.HeadScale.Value + 2
5115
	end
5116
	lboob = Instance.new("Part",char)
5117
lboobmesh = Instance.new("SpecialMesh",lboob)
5118
lboobweld = Instance.new("Weld",lboob)
5119
lboobweld.Part0 = UpperTorso
5120
lboobweld.Part1 = lboob
5121
lboobweld.C0 = CFrame.new(0.4,7,-5)
5122
lboobmesh.MeshType = "Sphere"
5123
lboobmesh.Scale = Vector3.new(0.2*50,0.4*50,0.2*50)
5124
rboob = Instance.new("Part",char)
5125
rboobmesh = Instance.new("SpecialMesh",rboob)
5126
rboobweld = Instance.new("Weld",rboob)
5127
rboobweld.Part0 = char.UpperTorso
5128
rboobweld.Part1 = rboob
5129
rboobweld.C0 = CFrame.new(-0.4,7,-5)
5130
rboobmesh.MeshType = "Sphere"
5131
rboobmesh.Scale = Vector3.new(0.2*50,0.4*50,0.2*50)
5132
rlboob = Instance.new("Part",char)
5133
rlboobmesh = Instance.new("SpecialMesh",rlboob)
5134
rlboobweld = Instance.new("Weld",rlboob)
5135
rlboobweld.Part0 = char.UpperTorso
5136
rlboobweld.Part1 = rlboob
5137
rlboobweld.C0 = CFrame.new(0,-1,-2)
5138
rlboobmesh.MeshType = "Sphere"
5139
rlboobmesh.Scale = Vector3.new(0.2*50,1*50,0.2*50)
5140
lboob.BrickColor = bc("New Yeller")
5141
rboob.BrickColor = bc("New Yeller")
5142
rlboob.BrickColor = bc("New Yeller")
5143
	ape.Transparency = 0
5144
	ape.BrickColor = bc("New Yeller")
5145
	p15.BrickColor = bc("Really black")
5146
	p15.Transparency =0
5147
	a21e = new("Part",char)
5148
a21e.Name = "Beam"..num
5149
a21e.Locked = true
5150
a21e.Size = v3(1,1,1)
5151
a21e.CanCollide = false
5152
a21e.Position = v3(999,999,999)
5153
a21e.BrickColor = bc("Really red")
5154
a21e.Material = "Neon"
5155
a21e.Transparency = 0
5156
aa21e = new("SpecialMesh",a21e)
5157
a21e.Anchored = true
5158
a21e.Position = RootPart.Position
5159
aa21e.MeshType = "Sphere"
5160
aa21e.Scale = v3(50,50,50)
5161
	
5162
	
5163
	ApeGrowl:Play()
5164
	GroundWave5()
5165
	GroundWave6()
5166
	GroundWave7()
5167
	GroundWave8()
5168
	GroundWave9()
5169
	GroundWave10()
5170
	
5171
	
5172
	
5173
	
5174
	
5175
	for i = 1,50 do
5176
	wait()
5177
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
5178
	a21e.Transparency = a21e.Transparency + 0.02
5179
	end
5180
	
5181
	for i,v in pairs(workspace:GetChildren()) do
5182
		if v:IsA("Part") then
5183
			if v.Size.x > 150 then
5184
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
5185
			end
5186
		end
5187
	end
5188
	wait(0.1)
5189
	wait(1.4)
5190
	transform4 = false
5191
	for i = 1,20 do
5192
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
5193
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
5194
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
5195
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
5196
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
5197
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5198
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
5199
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5200
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
5201
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
5202
end
5203
	
5204
	
5205
	
5206
	-------------------------------------------------
5207
	
5208
5209
	if canfly1 == true then
5210
	
5211
	
5212
	walk = true
5213
	
5214
	end
5215
	if canfly1 == true then
5216
	canfly = true
5217
	end
5218
	for i = 1,20 do
5219
	wait()
5220
	aad.Transparency = aad.Transparency + 0.05
5221
	end
5222
	end
5223
	else
5224
		ape:Destroy()
5225
		
5226
p15.BrickColor = bc("New Yeller")
5227
		Head.BrickColor = bc("New Yeller")
5228
	
5229
transform5 = true
5230
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=258281249"
5231
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=258281716"
5232
5233
--504772831
5234
Head.BrickColor = headcolor
5235
lboob:Destroy()
5236
		rboob:Destroy()
5237
		rlboob:Destroy()
5238
		a21e = new("Part",char)
5239
a21e.Name = "Beam"..num
5240
a21e.Locked = true
5241
a21e.Size = v3(1,1,1)
5242
a21e.CanCollide = false
5243
a21e.Position = v3(999,999,999)
5244
a21e.BrickColor = bc("New Yeller")
5245
a21e.Material = "Neon"
5246
a21e.Transparency = 0
5247
aa21e = new("SpecialMesh",a21e)
5248
a21e.Anchored = true
5249
a21e.Position = RootPart.Position
5250
aa21e.MeshType = "Sphere"
5251
aa21e.Scale = v3(200,200,200)
5252
5253
	
5254
	
5255
	
5256
		for i = 1,100 do
5257
		wait()
5258
		hum.BodyDepthScale.Value = hum.BodyDepthScale.Value - .2
5259
hum.BodyHeightScale.Value = hum.BodyHeightScale.Value - .2
5260
hum.BodyWidthScale.Value = hum.BodyWidthScale.Value - .2
5261
hum.HeadScale.Value = hum.HeadScale.Value - .2
5262
aa21e.Scale = aa21e.Scale + v3(1,1,1)
5263
	
5264
		end
5265
	wait(0.5)
5266
		mouth.Transparency = 1
5267
nose.Transparency = 1
5268
Hair7.Color = Color3.fromRGB(0,0,0)
5269
	Mesh.MeshId = "http://www.roblox.com/asset/?id=504772831"
5270
Mesh.Scale = Vector3.new(0.23,0.23,0.23)
5271
Weld.C0 = CFrame.new(0.25, 0.4, 0.5)*CFrame.Angles(0,math.rad(180),0)
5272
	char.Head.face.Texture= "http://www.roblox.com/asset/?id=869609457"
5273
Hair7.Transparency = 0
5274
		
5275
		p1.Transparency = 1
5276
	p2.Transparency = 1
5277
	p3.Transparency = 1
5278
	p4.Transparency = 1
5279
	p5.Transparency = 1
5280
	p6.Transparency = 1
5281
	p7.Transparency = 1
5282
	p8.Transparency =1
5283
	p9.Transparency = 1
5284
	p10.Transparency = 1
5285
	p11.Transparency = 1
5286
	p12.Transparency = 1
5287
	p13.Transparency =1
5288
	p14.Transparency = 1
5289
	p15.Transparency = 1
5290
	great = false
5291
	ape5 = Instance.new("Part",char)
5292
	ape5.Transparency = 0
5293
	weldape5 = Instance.new("Weld",ape5)
5294
	weldape5.Part0 = LowerTorso
5295
	weldape5.Part1 = ape5
5296
	ape5.BrickColor = bc("Crimson")
5297
	weldape5.C0 = CFrame.new(0.4,1,2)*CFrame.Angles(0,math.rad(90),math.rad(0))
5298
	meshape5 = Instance.new("SpecialMesh",ape5)
5299
	meshape5.MeshId = "rbxassetid://547956749"
5300
	meshape5.Scale = v3(0.025,0.025,0.025)
5301
	ssj4 = true
5302
	
5303
		
5304
		wait(0.5)
5305
		
5306
		a21e:Destroy()
5307
		wait()
5308
	
5309
		a21e = new("Part",char)
5310
a21e.Name = "Beam"..num
5311
a21e.Locked = true
5312
a21e.Size = v3(1,1,1)
5313
a21e.CanCollide = false
5314
a21e.Position = v3(999,999,999)
5315
a21e.BrickColor = bc("New Yeller")
5316
a21e.Material = "Neon"
5317
a21e.Transparency = 0
5318
aa21e = new("SpecialMesh",a21e)
5319
a21e.Anchored = true
5320
a21e.Position = RootPart.Position
5321
aa21e.MeshType = "Sphere"
5322
aa21e.Scale = v3(50,50,50)
5323
5324
5325
5326
	
5327
	
5328
	aa21e.Scale = v3(10,10,10)
5329
	a21e.Transparency = 0
5330
	newaura.ImageTransparency = 0
5331
	GroundWave5()
5332
	GroundWave6()
5333
	GroundWave7()
5334
	GroundWave8()
5335
	GroundWave9()
5336
	GroundWave10()
5337
	ssjauraburst:Play()
5338
	ssjaura:Play()
5339
	for i = 1,50 do
5340
	wait()
5341
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
5342
	a21e.Transparency = a21e.Transparency + 0.02
5343
	end
5344
	
5345
	transform5 = false
5346
	idle = true
5347
	canattack = true
5348
	end
5349
	end
5350
	end
5351
	end
5352
	end)
5353
5354
5355
5356
5357
5358
5359
newaurabase = Instance.new("BillboardGui",LowerTorso)
5360
newaurabase.Size = UDim2.new(20,0,20,0)
5361
newaurabase.AlwaysOnTop = false
5362
newaura = Instance.new("ImageLabel",newaurabase)
5363
newaura.BackgroundTransparency = 1
5364
newaurabase.ExtentsOffset = v3(0,0,3)
5365
newaura.ImageTransparency = 1
5366
newaura.ImageColor3 = Color3.fromRGB(255, 227, 10)
5367
newaura.Size = UDim2.new(2,0,1,0)
5368
newaura.Position = UDim2.new(-0.5,0,-0.2,0)
5369
newaurabase2 = Instance.new("BillboardGui",LowerTorso)
5370
newaurabase2.Size = UDim2.new(20,0,40,0)
5371
newaurabase2.ExtentsOffset = v3(0,0,-3)
5372
newaurabase2.AlwaysOnTop = false
5373
newaura2 = Instance.new("ImageLabel",newaurabase2)
5374
newaura2.BackgroundTransparency = 1
5375
newaura2.ImageTransparency = 1
5376
newaura2.ImageColor3 = Color3.fromRGB(255, 0,0)
5377
newaura2.Size = UDim2.new(2,0,1,0)
5378
newaura2.Position = UDim2.new(-0.5,0,-0.4,0)
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
char = game.Players.LocalPlayer.Character
5394
char.Archivable = true
5395
clone1 = char:Clone()
5396
 
5397
clone1["Sound Folder"]:Destroy()
5398
clone1.Name = "Vegeta"
5399
clone1.Parent = char
5400
5401
 LeftUpperArm1 = clone1.LeftUpperArm
5402
 LeftShoulder1 = clone1.LeftUpperArm.LeftShoulder
5403
 LeftLowerArm1 = clone1.LeftLowerArm
5404
 LeftElbow1 = clone1.LeftLowerArm.LeftElbow
5405
--------------------------------------------------------
5406
 LeftUpperLeg1 = clone1.LeftUpperLeg
5407
 LeftHip1 = clone1.LeftUpperLeg.LeftHip
5408
 LeftLowerLeg1 = clone1.LeftLowerLeg
5409
 LeftKnee1 = clone1.LeftLowerLeg.LeftKnee
5410
----------------------------------------------------------
5411
 RightUpperArm1 = clone1.RightUpperArm
5412
 RightShoulder1 = clone1.RightUpperArm.RightShoulder
5413
 RightLowerArm1 = clone1.RightLowerArm
5414
RightElbow1 = clone1.RightLowerArm.RightElbow
5415
----------------------------------------------------------
5416
 RightUpperLeg1 = clone1.RightUpperLeg
5417
 RightHip1 = clone1.RightUpperLeg.RightHip
5418
 RightLowerLeg1 = clone1.RightLowerLeg
5419
 RightKnee1 = clone1.RightLowerLeg.RightKnee
5420
----------------------------------------------------------
5421
 UpperTorso1 = clone1.UpperTorso
5422
 LowerTorso1 = clone1.LowerTorso
5423
 Root1 = clone1.LowerTorso.Root
5424
 RootPart1 = clone1.HumanoidRootPart
5425
 LeftHand1 = clone1.LeftHand
5426
 RightHand1 = clone1.RightHand
5427
 LeftFoot1 = clone1.LeftFoot
5428
RightFoot1 = clone1.RightFoot
5429
--------------------------------------------
5430
Head1 = clone1.Head
5431
 Neck1 = clone1.Head.Neck
5432
5433
5434
RootPart1.CFrame = CFrame.new(999,999,999)
5435
RootPart1.Anchored = true
5436
function RenderStepped3()
5437
	if spiritballenergy == true then
5438
	wait(math.random(0.1,0.5))
5439
		ay = new("Part",char)
5440
ay.Name = "NewPart2"
5441
ay.Size = v3(0.3,0.3,0.3)
5442
ay.CanCollide = false
5443
ay.Material = "Neon"
5444
	
5445
ay.BrickColor = bc("Cyan")
5446
5447
meshk = Instance.new("SpecialMesh",ay)
5448
meshk.MeshType = "Sphere"
5449
		
5450
ay.Position = v3(999,999,999)
5451
ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-12,RootPart.Position.z+math.random(-15,15))
5452
	ys = Instance.new("BodyVelocity",ay)
5453
ys.Name = "GO1"
5454
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
5455
5456
ys.Velocity = v3(0,6,0)
5457
	game.Debris:AddItem(ay,4)
5458
end
5459
if spirit1 == true then
5460
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1) --LeftUpperArm
5461
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1)--RightUpperArm
5462
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
5463
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5464
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5465
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5466
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5467
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5468
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5469
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5470
end
5471
if spirit2 == true then
5472
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1) --LeftUpperArm
5473
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1)--RightUpperArm
5474
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5475
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5476
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftUpperLeg
5477
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg
5478
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5479
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5480
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--Torso
5481
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5482
end
5483
	if beam1 == true then
5484
	beamgo = beamgo + 2
5485
	beamgo1 = beamgo1 + 4
5486
	
5487
	a1.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo
5488
5489
	aa1.Scale = v3(1,math.random(1,1.2),math.random(1,1.2))
5490
	a3.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo * 2
5491
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjbkaio == false and ssjbkaiox10 == false then
5492
a1.Size = v3(beamgo1,3,3)
5493
aa2.Scale = v3(100,math.random(50,70),math.random(50,70))
5494
aa3.Scale = v3(150,math.random(50,70),math.random(50,70))
5495
5496
	
5497
	end
5498
	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
5499
	a1.Size = v3(beamgo1,3.5,3.5)
5500
	aa2.Scale = v3(110,math.random(60,80),math.random(60,80))
5501
	aa3.Scale = v3(160,math.random(60,80),math.random(60,80))
5502
	end
5503
	if ssj1 == false and ssj2 == true and ssj3 == false and ssjb == false and ssjbkaio == false and ssjbkaiox10 == false then
5504
	a1.Size = v3(beamgo1,4,4)
5505
	aa2.Scale = v3(120,math.random(70,90),math.random(70,90))
5506
	aa3.Scale = v3(170,math.random(70,90),math.random(70,90))
5507
	end
5508
	if ssj3 == true then
5509
	a1.Size = v3(beamgo1,4.5,4.5)
5510
	aa2.Scale = v3(130,math.random(80,100),math.random(80,100))
5511
	aa3.Scale = v3(180,math.random(80,100),math.random(80,100))
5512
	end
5513
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == false and ssjbkaiox10 == false and potara == false then
5514
	a1.Size = v3(beamgo1,5,5)
5515
	aa2.Scale = v3(140,math.random(90,110),math.random(90,110))
5516
	aa3.Scale = v3(190,math.random(90,110),math.random(90,110))
5517
	end
5518
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == true and ssjbkaiox10 == false then
5519
	a1.Size = v3(beamgo1,6,6)
5520
	aa2.Scale = v3(155,math.random(105,125),math.random(105,125))
5521
	aa3.Scale = v3(205,math.random(105,125),math.random(105,125))
5522
	end
5523
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == false and ssjbkaiox10 == true then
5524
	a1.Size = v3(beamgo1,15,15)
5525
	aa2.Scale = v3(220,math.random(185,220),math.random(185,220))
5526
	aa3.Scale = v3(280,math.random(185,220),math.random(185,220))
5527
	end
5528
	if ssjg == true then
5529
	a1.Size = v3(beamgo1,6,6)
5530
	aa2.Scale = v3(150,math.random(100,120),math.random(100,120))
5531
	aa3.Scale = v3(200,math.random(100,120),math.random(100,120))
5532
	end
5533
	if ssj4 == true and fuse == true then
5534
		a1.Size = v3(beamgo1,75,75)
5535
	end
5536
	if ssj4 == false and fuse == true then
5537
		a1.Size = v3(beamgo1,50,50)
5538
	
5539
	end
5540
	if potara == true then
5541
		a1.Size = v3(beamgo1,math.random(25,35),math.random(25,35))
5542
	end
5543
	if ssj4 == true and fuse == false then
5544
		a1.Size = v3(beamgo1,4,4)
5545
	aa2.Scale = v3(120,math.random(70,90),math.random(70,90))
5546
	aa3.Scale = v3(170,math.random(70,90),math.random(70,90))
5547
	end
5548
	a2.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) - RootPart.CFrame.lookVector * 1
5549
	end
5550
if final1 == true then
5551
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(-90)),.1) --LeftUpperArm
5552
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(90)),.1)--RightUpperArm
5553
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5554
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5555
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5556
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5557
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5558
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5559
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5560
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5561
end
5562
if final2 == true then
5563
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(30)),.1) --LeftUpperArm
5564
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-30)),.1)--RightUpperArm
5565
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5566
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5567
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5568
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5569
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5570
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5571
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5572
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5573
end
5574
	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
5575
	hum.HipHeight = 1.35
5576
	idle5 = false
5577
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
5578
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
5579
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
5580
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
5581
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
5582
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5583
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
5584
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5585
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
5586
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
5587
end
5588
	if potara1 == true then
5589
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm
5590
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(110),rad(50),rad(0)),.1)--RightUpperArm
5591
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5592
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.1)--RightLowerArm
5593
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5594
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5595
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5596
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5597
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5598
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5599
end
5600
if potara2 == true then
5601
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1) --LeftUpperArm
5602
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperArm
5603
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftLowerArm
5604
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightLowerArm
5605
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1)--LeftUpperLeg
5606
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperLeg
5607
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
5608
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg
5609
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(90),rad(0)),.1)--Torso
5610
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Head
5611
end
5612
if potara3 == true then
5613
	LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(110),rad(-50),rad(0)),.1) --LeftUpperArm
5614
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
5615
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.1)--LeftLowerArm
5616
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5617
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5618
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5619
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5620
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5621
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5622
	Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5623
end
5624
if potara4 == true then
5625
	LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1) --LeftUpperArm
5626
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperArm
5627
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftLowerArm
5628
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightLowerArm
5629
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1)--LeftUpperLeg
5630
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperLeg
5631
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
5632
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg
5633
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-90),rad(0)),.1)--Torso
5634
	Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Head
5635
end
5636
	if hum.MoveDirection.x == 0 and fuse == true or hum.MoveDirection.x == 0 and potara == true then
5637
		if idle7 == true then
5638
	idle5 = true
5639
	
5640
5641
		else
5642
			idle5 = false
5643
			hum.HipHeight = 1.35
5644
		end
5645
end
5646
	if idle5 == true and idle6 == true then
5647
		idle6 = false
5648
		hum.HipHeight = 2
5649
			idle2 = true
5650
			for i = 1,50 do
5651
				wait()
5652
			hum.HipHeight = hum.HipHeight + 0.01
5653
			end
5654
			idle2 = false
5655
			
5656
			idle3 = true
5657
			for i = 1,50 do
5658
				wait()
5659
				hum.HipHeight = hum.HipHeight - 0.01
5660
			end
5661
			idle3 = false
5662
			idle6 = true
5663
	end
5664
	if noidle == true then
5665
		LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
5666
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
5667
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
5668
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
5669
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
5670
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5671
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
5672
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5673
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
5674
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
5675
	end
5676
	if noidle1 == true then
5677
		LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
5678
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
5679
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
5680
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
5681
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
5682
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5683
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
5684
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5685
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
5686
	Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
5687
	end
5688
if idle2 == true then
5689
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.01) --LeftUpperArm
5690
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.01)--RightUpperArm
5691
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.01)--LeftLowerArm
5692
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.01)--RightLowerArm
5693
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.01)--LeftUpperLeg
5694
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--RightUpperLeg
5695
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-60),rad(0),rad(0)),.01)--LeftLowerLeg
5696
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--RightUpperLeg
5697
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-5),rad(0),rad(0)),.01)--Torso
5698
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--Head
5699
end
5700
if idle3 == true then
5701
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.01) --LeftUpperArm
5702
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.01)--RightUpperArm
5703
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.01)--LeftLowerArm
5704
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.01)--RightLowerArm
5705
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.01)--LeftUpperLeg
5706
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.01)--RightUpperLeg
5707
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.01)--LeftLowerLeg
5708
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.01)--RightUpperLeg
5709
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-4),rad(0),rad(0)),.01)--Torso
5710
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(2),rad(0),rad(0)),.01)--Head
5711
end
5712
	if fuse1 == true then
5713
	 LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(20),rad(20),rad(90)),.1) --LeftUpperArm
5714
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(90)),.1)--RightUpperArm
5715
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5716
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5717
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5718
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5719
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5720
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5721
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5722
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5723
end
5724
5725
5726
if fuse2 == true then
5727
	 LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(260)),.1) --LeftUpperArm
5728
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(260)),.1)--RightUpperArm
5729
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5730
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5731
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5732
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5733
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5734
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5735
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5736
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5737
5738
end
5739
if fuse3 == true then
5740
	 LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(20),rad(20),rad(90)),.5) --LeftUpperArm
5741
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(90)),.5)--RightUpperArm
5742
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm
5743
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm
5744
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg
5745
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(80),rad(0),rad(-60)),.5)--RightUpperLeg
5746
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg
5747
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--RightUpperLeg
5748
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso
5749
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head
5750
5751
end
5752
if fuse4 == true then
5753
	 LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(330)),.5) --LeftUpperArm
5754
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(200)),.5)--RightUpperArm
5755
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-110)),.5)--LeftLowerArm
5756
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm
5757
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(80),rad(-30),rad(-80)),.5)--LeftUpperLeg
5758
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-40)),.5)--RightUpperLeg
5759
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.5)--LeftLowerLeg
5760
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
5761
    Root.C0 = Root.C0:lerp(CFrame.new(0,-0.5,0)*CFrame.Angles(rad(0),rad(0),rad(50)),.5)--Torso
5762
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(40)),.5)--Head
5763
5764
end
5765
if fuse5 == true then
5766
	 LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-90)),.1) --LeftUpperArm
5767
    RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(-90)),.1)--RightUpperArm
5768
    LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5769
    RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5770
    LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5771
    RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5772
    LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5773
    RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5774
    Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5775
    Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5776
end
5777
5778
5779
if fuse6 == true then
5780
	 LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(20),rad(20),rad(-260)),.1) --LeftUpperArm
5781
    RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(-260)),.1)--RightUpperArm
5782
    LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5783
    RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5784
    LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5785
    RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5786
    LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5787
    RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5788
    Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5789
    Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5790
5791
end
5792
if fuse7 == true then
5793
	 LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-90)),.5) --LeftUpperArm
5794
    RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(-90)),.5)--RightUpperArm
5795
    LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm
5796
    RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm
5797
    LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(80),rad(0),rad(60)),.5)--LeftUpperLeg
5798
    RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
5799
    LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--LeftLowerLeg
5800
    RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
5801
    Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso
5802
    Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head
5803
5804
end
5805
if fuse8 == true then
5806
	 LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-200)),.5) --LeftUpperArm
5807
    RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(-330)),.5)--RightUpperArm
5808
    LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm
5809
    RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(110)),.5)--RightLowerArm
5810
    LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(40)),.5)--LeftUpperLeg
5811
    RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(80),rad(30),rad(80)),.5)--RightUpperLeg
5812
    LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg
5813
    RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.5)--RightUpperLeg
5814
    Root1.C0 = Root1.C0:lerp(CFrame.new(0,-0.5,0)*CFrame.Angles(rad(0),rad(0),rad(-50)),.5)--Torso
5815
    Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-40)),.5)--Head
5816
5817
end
5818
if bigkamehameha1 == true then
5819
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(0),rad(30)),.1) --LeftUpperArm
5820
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(60),rad(0),rad(-30)),.1)--RightUpperArm
5821
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm
5822
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm
5823
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.1)--LeftUpperLeg
5824
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5825
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-80),rad(0),rad(0)),.1)--LeftLowerLeg
5826
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5827
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5828
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5829
end
5830
if bigkamehameha2 == true then
5831
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(85),rad(0),rad(30)),.1) --LeftUpperArm
5832
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(85),rad(0),rad(-30)),.1)--RightUpperArm
5833
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5834
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5835
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftUpperLeg
5836
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5837
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-80),rad(0),rad(0)),.1)--LeftLowerLeg
5838
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5839
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-5),rad(0),rad(0)),.1)--Torso
5840
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5841
end
5842
end
5843
ape51 = Instance.new("Part",clone1)
5844
	ape51.Transparency = 0
5845
	weldape5 = Instance.new("Weld",ape51)
5846
	weldape5.Part0 = LowerTorso1
5847
	weldape5.Part1 = ape51
5848
	ape51.Color = Color3.fromRGB(79,0,0)
5849
	weldape5.C0 = CFrame.new(0.4,1,2)*CFrame.Angles(0,math.rad(90),math.rad(0))
5850
	meshape5 = Instance.new("SpecialMesh",ape51)
5851
	meshape5.MeshId = "rbxassetid://547956749"
5852
	meshape5.Scale = v3(0.025,0.025,0.025)
5853
game:GetService("RunService").RenderStepped:connect(RenderStepped3)
5854
5855
player.Chatted:connect(function(msg)
5856
      if msg == "Fuse" and ssj4 == true then
5857
	clone1.Shirt.ShirtTemplate = "rbxassetid://919206310"
5858
clone1.Pants.PantsTemplate = "rbxassetid://919206462"
5859
clone1.Head.Weld.C0 = CFrame.new(0.27,0.5,.6)*cfa(0,rad(180),0)
5860
clone1.Hair.Mesh.MeshId = "rbxassetid://558303331"
5861
clone1.Hair.Mesh.Scale = v3(0.048,0.048,0.048)
5862
5863
ape51.Transparency = 0
5864
	idle = false
5865
	walk = false 
5866
	canjump = false
5867
linkpart = Instance.new("Part",char)
5868
linkpart.Position = v3(999,999,999)
5869
linkpart.Transparency = 1
5870
linkpart.CanCollide = false
5871
linkpart.Anchored = true
5872
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
5873
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10
5874
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10
5875
	RootPart1.Anchored = true
5876
		RootPart.Anchored = true
5877
	RootPart1 = clone1.HumanoidRootPart
5878
	com1 = 10
5879
	
5880
noidle = true
5881
wait(2)
5882
noidle = false
5883
	
5884
	fuse1 = true
5885
	fuse5 = true
5886
	
5887
	wait(0.5)
5888
	fuse1 = false
5889
	fuse5 = false
5890
	coroutine.wrap(function()
5891
		for i = 1,40 do
5892
			if fuse == false then
5893
			wait()
5894
			com1 = com1 - 0.19
5895
			
5896
			RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
5897
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
5898
           
5899
		end
5900
		end
5901
	end)()
5902
	chatfunc("Fuuuu")
5903
	chatfunc1("Fuuuu")
5904
	fuse2 = true
5905
	fuse6 = true
5906
	wait(0.5)
5907
	fuse2 = false
5908
	fuse6 = false
5909
	chatfunc("Shon")
5910
	chatfunc1("Shon")
5911
	fuse3 = true
5912
	fuse7 = true
5913
	wait(0.5)
5914
	fuse3 = false
5915
	fuse7 = false
5916
	fuse4 = true
5917
	chatfunc("Ha")
5918
	chatfunc1("Ha")
5919
	fuse8 = true
5920
	
5921
	wait(0.5)
5922
		a21e = new("Part",char)
5923
a21e.Name = "Beam"..num
5924
a21e.Locked = true
5925
a21e.Size = v3(1,1,1)
5926
a21e.CanCollide = false
5927
a21e.Position = v3(999,999,999)
5928
a21e.BrickColor = bc("White")
5929
a21e.Material = "Neon"
5930
a21e.Transparency = 0
5931
aa21e = new("SpecialMesh",a21e)
5932
a21e.Anchored = true
5933
a21e.Position = RootPart.Position
5934
aa21e.MeshType = "Sphere"
5935
aa21e.Scale = v3(1,1,1)
5936
5937
5938
	
5939
	
5940
	fuse = true
5941
	
5942
	fuse4 = false
5943
	fuse8 = false
5944
	Hair7.BrickColor = BrickColor.new("Really red")
5945
Mesh.MeshId = "rbxassetid://560196103"
5946
	Mesh.Scale = Vector3.new(5.8,5.8,5.8)
5947
	Weld.C0 = CFrame.new(-0.28, 0, 0.25)
5948
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=919205601"
5949
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=919205734"
5950
	
5951
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
5952
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
5953
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
5954
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
5955
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
5956
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
5957
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
5958
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
5959
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
5960
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
5961
	hum.HipHeight = 1.35
5962
	char.Head.face.Texture= "rbxassetid://903201228"
5963
	RootPart.Anchored = false
5964
	idle5 = true
5965
	idle7 = true
5966
	hum.HipHeight = 2
5967
ssjauraburst:Play()
5968
RootPart1.CFrame = CFrame.new(999,999,999)
5969
RootPart1.Anchored = true
5970
GroundWave5()
5971
GroundWave6()
5972
GroundWave7()
5973
GroundWave8()
5974
GroundWave9()
5975
GroundWave10()
5976
for i = 1,50 do
5977
	wait()
5978
	aa21e.Scale = aa21e.Scale + v3(1,1,1)
5979
	a21e.Transparency = a21e.Transparency + 0.02
5980
end
5981
walk = false
5982
end
5983
   if msg == "Fuse" and ssj4 == false and ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
5984
	clone1.Shirt.ShirtTemplate = "rbxassetid://914325463"
5985
	ape51.Transparency = 1
5986
clone1.Pants.PantsTemplate = "rbxassetid://914325779"
5987
clone1.Head.Weld.C0 = CFrame.new(-.2,1,.5)*cfa(0,rad(0),0)
5988
clone1.Hair.Mesh.MeshId = "rbxassetid://560180459"
5989
clone1.Hair.Mesh.Scale = v3(7,7,7)
5990
5991
	idle = false
5992
	walk = false 
5993
	ssj1 = true
5994
	canjump = false
5995
linkpart = Instance.new("Part",char)
5996
linkpart.Position = v3(999,999,999)
5997
linkpart.Transparency = 1
5998
linkpart.CanCollide = false
5999
linkpart.Anchored = true
6000
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
6001
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10
6002
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10
6003
	RootPart1.Anchored = true
6004
		RootPart.Anchored = true
6005
	RootPart1 = clone1.HumanoidRootPart
6006
	com1 = 10
6007
	noidle = true
6008
wait(2)
6009
noidle = false
6010
	
6011
	fuse1 = true
6012
	fuse5 = true
6013
	
6014
	wait(0.5)
6015
	fuse1 = false
6016
	fuse5 = false
6017
	coroutine.wrap(function()
6018
		for i = 1,40 do
6019
			if fuse == false then
6020
			wait()
6021
			com1 = com1 - 0.19
6022
			
6023
			RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
6024
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
6025
           
6026
		end
6027
		end
6028
	end)()
6029
	chatfunc("Fuuuu")
6030
	chatfunc1("Fuuuu")
6031
	fuse2 = true
6032
	fuse6 = true
6033
	wait(0.5)
6034
	fuse2 = false
6035
	fuse6 = false
6036
	chatfunc("Shon")
6037
	chatfunc1("Shon")
6038
	fuse3 = true
6039
	fuse7 = true
6040
	wait(0.5)
6041
	fuse3 = false
6042
	fuse7 = false
6043
	fuse4 = true
6044
	chatfunc("Ha")
6045
	chatfunc1("Ha")
6046
	fuse8 = true
6047
	wait(0.5)
6048
		a21e = new("Part",char)
6049
a21e.Name = "Beam"..num
6050
a21e.Locked = true
6051
a21e.Size = v3(1,1,1)
6052
a21e.CanCollide = false
6053
a21e.Position = v3(999,999,999)
6054
a21e.BrickColor = bc("White")
6055
a21e.Material = "Neon"
6056
a21e.Transparency = 0
6057
aa21e = new("SpecialMesh",a21e)
6058
a21e.Anchored = true
6059
a21e.Position = RootPart.Position
6060
aa21e.MeshType = "Sphere"
6061
aa21e.Scale = v3(1,1,1)
6062
6063
6064
	
6065
	fuse = true
6066
	
6067
	fuse4 = false
6068
	fuse8 = false
6069
	
6070
	
6071
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
6072
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
6073
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
6074
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
6075
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
6076
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
6077
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
6078
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
6079
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
6080
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
6081
	hum.HipHeight = 1.35
6082
	
6083
	RootPart.Anchored = false
6084
	idle5 = true
6085
	idle7 = true
6086
	Mesh.MeshId = "rbxassetid://720406482"
6087
	newaura.ImageTransparency = 0
6088
	Mesh.Scale = Vector3.new(7.2,7.2,7.2)
6089
	Weld.C0 = CFrame.new(0.2, .8, 0.55)*cfa(0,math.rad(180),0)
6090
		Hair7.Color = Color3.fromRGB(255,227,10)
6091
		char.Head.face.Texture= "rbxassetid://765493484"
6092
		ssjaura:Play()
6093
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=914324509"
6094
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=914324638"
6095
	hum.HipHeight = 2
6096
ssjauraburst:Play()
6097
wait(0.1)
6098
RootPart1.CFrame = CFrame.new(999,999,999)
6099
RootPart1.Anchored = true
6100
GroundWave5()
6101
GroundWave6()
6102
GroundWave7()
6103
GroundWave8()
6104
GroundWave9()
6105
GroundWave10()
6106
for i = 1,50 do
6107
	wait()
6108
	aa21e.Scale = aa21e.Scale + v3(1,1,1)
6109
	a21e.Transparency = a21e.Transparency + 0.02
6110
end
6111
walk = false
6112
end
6113
  if msg == "Potara" and ssj4 == false and ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
6114
	clone1.Shirt.ShirtTemplate = "rbxassetid://914325463"
6115
clone1.Pants.PantsTemplate = "rbxassetid://914325779"
6116
	ape51.Transparency = 1
6117
	
6118
clone1.Head.Weld.C0 = CFrame.new(-.2,1,.5)*cfa(0,rad(0),0)
6119
clone1.Hair.Mesh.MeshId = "rbxassetid://1125231485"
6120
clone1.Hair.Mesh.Scale = v3(7,7,7)
6121
	idle = false
6122
	walk = false 
6123
	canjump = false
6124
linkpart = Instance.new("Part",char)
6125
linkpart.Position = v3(999,999,999)
6126
linkpart.Transparency = 1
6127
linkpart.CanCollide = false
6128
linkpart.Anchored = true
6129
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
6130
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10
6131
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10
6132
	RootPart1.Anchored = true
6133
		RootPart.Anchored = true
6134
	RootPart1 = clone1.HumanoidRootPart
6135
	com1 = 10
6136
	
6137
6138
	
6139
	potara1 = true
6140
	potara3 = true
6141
	wait(1)
6142
	potara1 = false
6143
	potara3 = false
6144
	noidle = true
6145
	noidle1 = true
6146
	ee = Instance.new("Part",char)
6147
ee.Size = Vector3.new(0.2,0.2,0.2)
6148
ee.Position = Vector3.new(9999999,9999999,9999999)
6149
ee.Shape = "Ball"
6150
ee.BrickColor = BrickColor.new("New Yeller")
6151
ee1 = Instance.new("Part",char)
6152
ee1.Size = Vector3.new(0.18,0.18,0.18)
6153
ee1.Position = Vector3.new(999999,999999,999999)
6154
ee1.Shape = "Ball"
6155
ee1.BrickColor = BrickColor.new("Mid gray") 
6156
ee2 = Instance.new("Part",char)
6157
ee2.Size = Vector3.new(0.06,0.06,0.06)
6158
ee2.Shape = "Ball"
6159
ee2.BrickColor = BrickColor.new("Mid gray")
6160
ee2.Position = Vector3.new(99999,99999,99999)
6161
ee3 = Instance.new("Part",char)
6162
ee3.Size = Vector3.new(0.06,0.06,0.06)
6163
ee3.Shape = "Ball"
6164
ee3.BrickColor = BrickColor.new("Mid gray")
6165
ee3.Position = Vector3.new(9999,9999,9999)
6166
ee4 = Instance.new("Part",char)
6167
ee4.Size = Vector3.new(0.1,0.1,0.1)
6168
ee4.Shape = "Ball"
6169
ee4.BrickColor = BrickColor.new("Mid gray")
6170
ee4.Position = Vector3.new(999,999,999)
6171
eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6172
eew.Part0 = game.Players.LocalPlayer.Character.Head
6173
eew.Part1 = ee
6174
eew.C0 = CFrame.new(0.68,-0.22,0)
6175
eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6176
eew1.Part0 = ee
6177
eew1.Part1 = ee1
6178
eew1.C0 = CFrame.new(0,0.02,0)
6179
eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6180
eew2.Part0 = game.Players.LocalPlayer.Character.Head
6181
eew2.Part1 = ee2
6182
eew2.C0 = CFrame.new(0.67,-0.1,0)
6183
eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6184
eew3.Part0 = game.Players.LocalPlayer.Character.Head
6185
eew3.Part1 = ee3
6186
eew3.C0 = CFrame.new(0.66,-0.05,0)
6187
eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6188
eew4.Part0 = game.Players.LocalPlayer.Character.Head
6189
eew4.Part1 = ee4
6190
eew4.C0 = CFrame.new(0.64,-0.01,0)
6191
-----------------------------------------------------------------------
6192
eed = Instance.new("Part",char)
6193
eed.Size = Vector3.new(0.2,0.2,0.2)
6194
eed.Position = Vector3.new(9999999,9999999,9999999)
6195
eed.Shape = "Ball"
6196
eed.BrickColor = BrickColor.new("New Yeller")
6197
ee1d = Instance.new("Part",char)
6198
ee1d.Size = Vector3.new(0.18,0.18,0.18)
6199
ee1d.Position = Vector3.new(999999,999999,999999)
6200
ee1d.Shape = "Ball"
6201
ee1d.BrickColor = BrickColor.new("Mid gray") 
6202
ee2d = Instance.new("Part",char)
6203
ee2d.Size = Vector3.new(0.06,0.06,0.06)
6204
ee2d.Shape = "Ball"
6205
ee2d.BrickColor = BrickColor.new("Mid gray")
6206
ee2d.Position = Vector3.new(99999,99999,99999)
6207
ee3d = Instance.new("Part",char)
6208
ee3d.Size = Vector3.new(0.06,0.06,0.06)
6209
ee3d.Shape = "Ball"
6210
ee3d.BrickColor = BrickColor.new("Mid gray")
6211
ee3d.Position = Vector3.new(9999,9999,9999)
6212
ee4d = Instance.new("Part",char)
6213
ee4d.Size = Vector3.new(0.1,0.1,0.1)
6214
ee4d.Shape = "Ball"
6215
ee4d.BrickColor = BrickColor.new("Mid gray")
6216
ee4d.Position = Vector3.new(999,999,999)
6217
eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6218
eew.Part0 = clone1.Head
6219
eew.Part1 = eed
6220
eew.C0 = CFrame.new(-0.68,-0.22,0)
6221
eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6222
eew1.Part0 = ee
6223
eew1.Part1 = ee1d
6224
eew1.C0 = CFrame.new(0,0.02,0)
6225
eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6226
eew2.Part0 = clone1.Head
6227
eew2.Part1 = ee2d
6228
eew2.C0 = CFrame.new(-0.67,-0.1,0)
6229
eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6230
eew3.Part0 = clone1.Head
6231
eew3.Part1 = ee3d
6232
eew3.C0 = CFrame.new(-0.66,-0.05,0)
6233
eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6234
eew4.Part0 = clone1.Head
6235
eew4.Part1 = ee4d
6236
eew4.C0 = CFrame.new(-0.64,-0.01,0)
6237
	wait(0.5)
6238
	noidle = false
6239
	noidle1 = false
6240
	potara2 = true
6241
	potara4 = true
6242
	for i = 1,20 do
6243
			wait()
6244
			com1 = com1 - 0.5
6245
			
6246
			RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
6247
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
6248
           
6249
	end
6250
	
6251
	potara = true
6252
	eec = Instance.new("Part",char)
6253
eec.Size = Vector3.new(0.2,0.2,0.2)
6254
eec.Position = Vector3.new(9999999,9999999,9999999)
6255
eec.Shape = "Ball"
6256
eec.BrickColor = BrickColor.new("Black")
6257
ee1c = Instance.new("Part",char)
6258
ee1c.Size = Vector3.new(0.18,0.18,0.18)
6259
ee1c.Position = Vector3.new(999999,999999,999999)
6260
ee1c.Shape = "Ball"
6261
ee1c.BrickColor = BrickColor.new("Black") 
6262
ee2c = Instance.new("Part",char)
6263
ee2c.Size = Vector3.new(0.06,0.06,0.06)
6264
ee2c.Shape = "Ball"
6265
ee2c.BrickColor = BrickColor.new("Black")
6266
ee2c.Position = Vector3.new(99999,99999,99999)
6267
ee3c = Instance.new("Part",char)
6268
ee3c.Size = Vector3.new(0.06,0.06,0.06)
6269
ee3c.Shape = "Ball"
6270
ee3c.BrickColor = BrickColor.new("Black")
6271
ee3c.Position = Vector3.new(9999,9999,9999)
6272
ee4c = Instance.new("Part",char)
6273
ee4c.Size = Vector3.new(0.1,0.1,0.1)
6274
ee4c.Shape = "Ball"
6275
ee4c.BrickColor = BrickColor.new("Black")
6276
ee4c.Position = Vector3.new(999,999,999)
6277
eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6278
eew.Part0 = game.Players.LocalPlayer.Character.Head
6279
eew.Part1 = eec
6280
eew.C0 = CFrame.new(-0.68,-0.22,0)
6281
eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6282
eew1.Part0 = ee
6283
eew1.Part1 = ee1c
6284
eew1.C0 = CFrame.new(0,0.02,0)
6285
eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6286
eew2.Part0 = game.Players.LocalPlayer.Character.Head
6287
eew2.Part1 = ee2c
6288
eew2.C0 = CFrame.new(-0.67,-0.1,0)
6289
eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6290
eew3.Part0 = game.Players.LocalPlayer.Character.Head
6291
eew3.Part1 = ee3c
6292
eew3.C0 = CFrame.new(-0.66,-0.05,0)
6293
eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6294
eew4.Part0 = game.Players.LocalPlayer.Character.Head
6295
eew4.Part1 = ee4c
6296
eew4.C0 = CFrame.new(-0.64,-0.01,0)
6297
		a21e = new("Part",char)
6298
a21e.Name = "Beam"..num
6299
a21e.Locked = true
6300
a21e.Size = v3(1,1,1)
6301
a21e.CanCollide = false
6302
a21e.Position = v3(999,999,999)
6303
a21e.BrickColor = bc("White")
6304
a21e.Material = "Neon"
6305
a21e.Transparency = 0
6306
aa21e = new("SpecialMesh",a21e)
6307
a21e.Anchored = true
6308
a21e.Position = RootPart.Position
6309
aa21e.MeshType = "Sphere"
6310
aa21e.Scale = v3(1,1,1)
6311
Mesh.MeshId = "rbxassetid://1125231485"
6312
Hair7.Color = Color3.fromRGB(26,0,0)
6313
	Mesh.Scale = Vector3.new(6.9,6.9,6.9)
6314
	Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0)
6315
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1162887253"
6316
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1162887782"
6317
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("Cyan")
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(3,3,3)
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