View difference between Paste ID: mmF7FRrz and tBMfCzes
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
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 = 2
508
ssj2aura.Name = "ssj2aura"
509
ssj2aura.Looped = true
510
ssj2aura.SoundId = "rbxassetid://850205092"
511
ssj3music = Instance.new("Sound",soundfolder)
512
ssj3music.Volume = 10
513
ssj3music.Name = "ssj3music"
514
ssj3music.Looped = true
515
ssj3music.SoundId = "rbxassetid://144377132"
516
KiCharge = Instance.new("Sound",soundfolder)
517
KiCharge.Volume = 10000
518
KiCharge.Name = "KiCharge"
519
KiCharge.Looped = true
520
KiCharge.TimePosition = 0.7
521
KiCharge.SoundId = "rbxassetid://700499952"
522
523
KiCharge2 = Instance.new("Sound",soundfolder)
524
KiCharge2.Volume = 10000
525
KiCharge2.Name = "KiCharge2"
526
KiCharge2.Looped = false
527
KiCharge2.TimePosition = 7.3
528
529
KiCharge2.SoundId = "rbxassetid://700499952"
530
Lightning = Instance.new("Sound",soundfolder)
531
Lightning.Volume = 10000
532
Lightning.TimePosition = 1
533
Lightning.Name = "Lightning"
534
Lightning.Looped = false
535
Lightning.SoundId = "http://www.roblox.com/asset/?id=12222030"
536
AuraOff = Instance.new("Sound",soundfolder)
537
AuraOff.Volume = 10000
538
AuraOff.Name = "AuraOff"
539
AuraOff.Looped = false
540
AuraOff.SoundId = "http://www.roblox.com/asset/?id=922710675"
541
PowerDown = Instance.new("Sound",soundfolder)
542
PowerDown.Volume = 10000
543
PowerDown.Name = "PowerDown"
544
PowerDown.Looped = false
545
PowerDown.SoundId = "http://www.roblox.com/asset/?id=598621913"
546
punchsound1 = Instance.new("Sound",soundfolder)
547
punchsound1.Volume = 10
548
punchsound1.Name = "punchsound1"
549
punchsound1.Looped = false
550
punchsound1.SoundId = "rbxassetid://137579113"
551
punchsound2 = Instance.new("Sound",soundfolder)
552
punchsound2.Volume = 10
553
punchsound2.Name = "punchsound2"
554
punchsound2.Looped = false
555
punchsound2.SoundId = "rbxassetid://441202925"
556
kiblastsound = Instance.new("Sound",soundfolder)
557
kiblastsound.Volume = 10000
558
kiblastsound.Name = "kiblastsound"
559
kiblastsound.Looped = false
560
kiblastsound.SoundId = "http://www.roblox.com/asset/?id=586187912"
561
screaming = Instance.new("Sound",soundfolder)
562
screaming.Volume = 10
563
screaming.Name = "screaming"
564
screaming.Looped = false
565
screaming.SoundId = "rbxassetid://527276541"
566
screaming1 = Instance.new("Sound",soundfolder)
567
screaming1.Volume = 10
568
screaming1.Name = "screaming1"
569
screaming1.Looped = false
570
screaming1.SoundId = "rbxassetid://975468335"
571
FastPunch = Instance.new("Sound",soundfolder)
572
FastPunch.Volume = 10000
573
FastPunch.Name = "FastPunch"
574
FastPunch.Looped = false
575
FastPunch.SoundId = "http://www.roblox.com/asset/?id=253255373"
576
GiantStep = Instance.new("Sound",soundfolder)
577
GiantStep.Volume = 10000
578
GiantStep.Name = "GiantStep"
579
GiantStep.Looped = false
580
GiantStep.SoundId = "http://www.roblox.com/asset/?id=863810402"
581
StrongPunch = Instance.new("Sound",soundfolder)
582
StrongPunch.Volume = 10000
583
StrongPunch.Name = "StrongPunch"
584
StrongPunch.Looped = false
585
StrongPunch.SoundId = "http://www.roblox.com/asset/?id=735524546"
586
KamehamehaVoice = Instance.new("Sound",soundfolder)
587
KamehamehaVoice.Volume = 10000
588
KamehamehaVoice.Name = "KamehamehaVoice"
589
KamehamehaVoice.Looped = false
590
KamehamehaVoice.SoundId = "http://www.roblox.com/asset/?id=130777838"
591
KamehamehaVoice6 = Instance.new("Sound",soundfolder)
592
KamehamehaVoice6.Volume = 10000
593
KamehamehaVoice6.Name = "KamehamehaVoice6"
594
KamehamehaVoice6.Looped = false
595
KamehamehaVoice6.SoundId = "http://www.roblox.com/asset/?id=670166779"
596
KamehamehaVoice3 = Instance.new("Sound",soundfolder)
597
KamehamehaVoice3.Volume = 10000
598
KamehamehaVoice3.Name = "KamehamehaVoice3"
599
KamehamehaVoice3.Looped = false
600
KamehamehaVoice3.SoundId = "http://www.roblox.com/asset/?id=1001695447"
601
KamehamehaVoice2 = Instance.new("Sound",soundfolder)
602
KamehamehaVoice2.Volume = 10000
603
KamehamehaVoice2.Name = "KamehamehaVoice2"
604
KamehamehaVoice2.Looped = false
605
KamehamehaVoice2.SoundId = "http://www.roblox.com/asset/?id=1000078112"
606
KamehamehaVoice1 = Instance.new("Sound",soundfolder)
607
KamehamehaVoice1.Volume = 10000
608
KamehamehaVoice1.Name = "KamehamehaVoice1"
609
KamehamehaVoice1.Looped = false
610
KamehamehaVoice1.SoundId = "http://www.roblox.com/asset/?id=1000028467"
611
KamehamehaVoice4 = Instance.new("Sound",soundfolder)
612
KamehamehaVoice4.Volume = 10000
613
KamehamehaVoice4.Name = "KamehamehaVoice4"
614
KamehamehaVoice4.Looped = false
615
KamehamehaVoice4.SoundId = "http://www.roblox.com/asset/?id=1006793453"
616
ssjbaura = Instance.new("Sound",soundfolder)
617
ssjbaura.Volume = 1
618
ssjbaura.Name = "ssjbaura"
619
ssjbaura.Looped = true
620
ssjbaura.SoundId = "rbxassetid://443386048"
621
ssjbauraburst = Instance.new("Sound",soundfolder)
622
ssjbauraburst.Volume = 1
623
ssjbauraburst.Name = "ssjbauraburst"
624
ssjbauraburst.Looped = false
625
ssjbauraburst.SoundId = "rbxassetid://874183151"
626
ssjbmusic = Instance.new("Sound",soundfolder)
627
ssjbmusic.Volume = 0
628
ssjbmusic.Name = "ssjbmusic"
629
ssjbmusic.Looped = true
630
ssjbmusic.SoundId = "rbxassetid://180572775"
631
ssjbkaioken = Instance.new("Sound",soundfolder)
632
ssjbkaioken.Volume = 10000
633
ssjbkaioken.Name = "ssjbkaioken"
634
ssjbkaioken.Looped = false
635
ssjbkaioken.SoundId = "http://www.roblox.com/asset/?id=975627244"
636
ssjbkaioken1 = Instance.new("Sound",soundfolder)
637
ssjbkaioken1.Volume = 10000
638
ssjbkaioken1.Name = "ssjbkaioken1"
639
ssjbkaioken1.Looped = false
640
ssjbkaioken1.SoundId = "http://www.roblox.com/asset/?id=975627532"
641
ssjbkaura = Instance.new("Sound",soundfolder)
642
ssjbkaura.Volume = 3
643
ssjbkaura.Name = "ssjbkaura"
644
ssjbkaura.Looped = true
645
ssjbkaura.SoundId = "rbxassetid://972925821"
646
ssjgaura = Instance.new("Sound",soundfolder)
647
ssjgaura.Volume = 5
648
ssjgaura.Name = "ssjgaura"
649
ssjgaura.Looped = true
650
ssjgaura.SoundId = "rbxassetid://590580266"
651
ApeGrowl = Instance.new("Sound",soundfolder)
652
ApeGrowl.Volume = 10
653
ApeGrowl.Name = "ApeGrowl"
654
ApeGrowl.Looped = false
655
ApeGrowl.SoundId = "rbxassetid://849892755"
656
ssjgmusic = Instance.new("Sound",soundfolder)
657
ssjgmusic.Volume = 0
658
ssjgmusic.Name = "ssjgmusic"
659
ssjgmusic.Looped = true
660
ssjgmusic.SoundId = "rbxassetid://785398417"
661
Ape1 = Instance.new("Sound",soundfolder)
662
Ape1.Volume = 10
663
Ape1.Name = "Ape1"
664
Ape1.Looped = false
665
Ape1.SoundId = "rbxassetid://851581494"
666
667
Ape2 = Instance.new("Sound",soundfolder)
668
Ape2.Volume = 10
669
Ape2.Name = "Ape2"
670
Ape2.Looped = false
671
Ape2.SoundId = "rbxassetid://851581851"
672
Ape3 = Instance.new("Sound",soundfolder)
673
Ape3.Volume = 10
674
Ape3.Name = "Ape3"
675
Ape3.Looped = false
676
Ape3.SoundId = "rbxassetid://851582274"
677
----------------------------------------------
678
function Lightning1(pos,pos2,radius,numParts,model)
679
        radius = radius or 0.2
680
        numParts = numParts or 10
681
        model = model or workspace
682
        local lv = CFrame.new(pos,pos2).lookVector
683
        local dist = (pos-pos2).magnitude
684
        local dbp = dist/numParts
685
        local last = pos
686
        for i = 1,numParts do
687
                local p = Instance.new("Part",model)
688
                p.FormFactor = "Symmetric"
689
                p.Size = Vector3.new(14,14,1)
690
                p.Material = "Neon"
691
                p.CanCollide = false
692
                p.Anchored = true
693
                p.BrickColor = BrickColor.new("Cyan")
694
                local x = math.random(-100,100)/100*dbp/2
695
                local y = math.random(-100,100)/100*dbp/2
696
                local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0)
697
                local dist2 = (p2.p-last).magnitude
698
                local mid = (p2.p+last)/2
699
                local m = Instance.new("BlockMesh",p)
700
                m.Scale = Vector3.new(radius,radius,dist2)
701
                p.CFrame = CFrame.new(mid,p2.p)
702
                last = p2.p
703
                game:GetService("Debris"):AddItem(p,math.random(40,100)/1000)
704
        end
705
end
706
--GoundWaves
707
GroundWave1 = function()
708
	
709
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + RootPart.CFrame.lookVector * 5
710
	Colors = {"White", "White"}
711
	local wave = Instance.new("Part", char)
712
	wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
713
	wave.Anchored = true
714
	wave.Name = "Wave"..number
715
	wave.CanCollide = false
716
	wave.Locked = true
717
	wave.Size = Vector3.new(1, 1, 1)
718
	wave.TopSurface = "Smooth"
719
	wave.BottomSurface = "Smooth"
720
	wave.Transparency = 0.35
721
	wave.CFrame = HandCF
722
	wm = Instance.new("SpecialMesh", wave)
723
	wm.Name = "wave"..number
724
	wm.MeshId = "rbxassetid://3270017"
725
	coroutine.wrap(function()
726
	for i = 1, 30, 1 do
727
	wm.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
728
	wave.Size = wm.Scale
729
	wave.CFrame = HandCF
730
	wave.Transparency = i/30
731
	wait()
732
	end
733
	wait()
734
	wave:Destroy()
735
736
	end)()
737
end
738
GroundWave1d = function()
739
	
740
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + RootPart.CFrame.lookVector * 6
741
	Colors = {"Cyan", "Cyan"}
742
	local wave = Instance.new("Part", char)
743
	wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
744
	wave.Anchored = true
745
	wave.Name = "Wave"..number
746
	wave.CanCollide = false
747
	wave.Locked = true
748
	wave.Size = Vector3.new(0.5,0.5,0.5)
749
	wave.TopSurface = "Smooth"
750
	wave.BottomSurface = "Smooth"
751
	wave.Transparency = 0.35
752
	wave.CFrame = HandCF
753
	wm = Instance.new("SpecialMesh", wave)
754
	wm.Name = "wave"..number
755
	wm.MeshId = "rbxassetid://3270017"
756
	coroutine.wrap(function()
757
	for i = 1, 30, 1 do
758
	wm.Scale = Vector3.new(0.5 + i*.7, 1 + i*.7, 0.5)
759
	wave.Size = wm.Scale
760
	wave.CFrame = HandCF
761
	wave.Transparency = i/30
762
	wait()
763
	end
764
	wait()
765
	wave:Destroy()
766
767
	end)()
768
end
769
GroundWave111 = function()
770
	
771
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + RootPart.CFrame.lookVector * 5
772
	Colors = {"White", "White"}
773
	local wavef = Instance.new("Part", char)
774
	wavef.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
775
	wavef.Anchored = true
776
	wavef.Name = "Wave"..number
777
	wavef.CanCollide = false
778
	wavef.Locked = true
779
	wavef.Size = Vector3.new(1, 1, 1)
780
	wavef.TopSurface = "Smooth"
781
	wavef.BottomSurface = "Smooth"
782
	wavef.Transparency = 0.35
783
	wavef.CFrame = HandCF
784
	wmf = Instance.new("SpecialMesh", wavef)
785
	wmf.Name = "wave"..number
786
	wmf.MeshId = "rbxassetid://3270017"
787
	coroutine.wrap(function()
788
	for i = 1, 30, 1 do
789
	wmf.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
790
	wavef.Size = wmf.Scale
791
	wavef.CFrame = HandCF
792
	wavef.Transparency = i/30
793
	wait()
794
	end
795
	wait()
796
	wavef:Destroy()
797
798
	end)()
799
end
800
GroundWave11 = function()
801
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) 
802
	Colors = {"White", "White"}
803
	local wave = Instance.new("Part", char)
804
	wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
805
	wave.Anchored = true
806
	wave.Name = "Wave"
807
	wave.CanCollide = false
808
	wave.Locked = true
809
	wave.Size = Vector3.new(1, 1, 1)
810
	wave.TopSurface = "Smooth"
811
	wave.BottomSurface = "Smooth"
812
	wave.Transparency = 0.35
813
	wave.CFrame = HandCF
814
	wm = Instance.new("SpecialMesh", wave)
815
	wm.MeshId = "rbxassetid://3270017"
816
	coroutine.wrap(function()
817
	for i = 1, 30, 1 do
818
	wm.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
819
	wave.Size = wm.Scale
820
	wave.CFrame = HandCF
821
	wave.Transparency = i/30
822
	wait()
823
	end
824
	wait()
825
	wave:Destroy()
826
	end)()
827
end
828
829
GroundWave2 = function()
830
	local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
831
	Colors = {"White", "White"}
832
	local wave3 = Instance.new("Part", char)
833
	wave3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
834
	wave3.Anchored = true
835
	wave3.Name = "Wave"
836
	wave3.CanCollide = false
837
	wave3.Locked = true
838
	wave3.Size = Vector3.new(1, 1, 1)
839
	wave3.TopSurface = "Smooth"
840
	wave3.BottomSurface = "Smooth"
841
	wave3.Transparency = 0.35
842
	wave3.CFrame = HandCF
843
	wm1 = Instance.new("SpecialMesh", wave3)
844
	wm1.MeshId = "rbxassetid://3270017"
845
	coroutine.wrap(function()
846
	for i = 1, 30, 1 do
847
	wm1.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
848
	wave3.Size = wm1.Scale
849
	wave3.CFrame = HandCF
850
	wave3.Transparency = i/30
851
	wait()
852
	end
853
	wait()
854
	wave3:Destroy()
855
	end)()
856
end
857
GroundWave3 = function()
858
	local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
859
	Colors = {"White", "White"}
860
	local wave2 = Instance.new("Part", char)
861
	wave2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
862
	wave2.Anchored = true
863
	wave2.Name = "Wave"
864
	wave2.CanCollide = false
865
	wave2.Locked = true
866
	wave2.Size = Vector3.new(1, 1, 1)
867
	wave2.TopSurface = "Smooth"
868
	wave2.BottomSurface = "Smooth"
869
	wave2.Transparency = 0.35
870
	wave2.CFrame = HandCF
871
	wm2 = Instance.new("SpecialMesh", wave2)
872
	wm2.MeshId = "rbxassetid://3270017"
873
	coroutine.wrap(function()
874
	for i = 1, 30, 1 do
875
	wm2.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
876
	wave2.Size = wm2.Scale
877
	wave2.CFrame = HandCF
878
	wave2.Transparency = i/30
879
	wait()
880
	end
881
	wait()
882
	wave2:Destroy()
883
	end)()
884
end
885
GroundWave4 = function()
886
	local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
887
	Colors = {"White", "White"}
888
	local wave1 = Instance.new("Part", char)
889
	wave1.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
890
	wave1.Anchored = true
891
	wave1.Name = "Wave"
892
	wave1.CanCollide = false
893
	wave1.Locked = true
894
	wave1.Size = Vector3.new(1, 1, 1)
895
	wave1.TopSurface = "Smooth"
896
	wave1.BottomSurface = "Smooth"
897
	wave1.Transparency = 0.35
898
	wave1.CFrame = HandCF
899
	wm3 = Instance.new("SpecialMesh", wave1)
900
	wm3.MeshId = "rbxassetid://3270017"
901
	coroutine.wrap(function()
902
	for i = 1, 30, 1 do
903
	wm3.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
904
	wave1.Size = wm3.Scale
905
	wave1.CFrame = HandCF
906
	wave1.Transparency = i/30
907
	wait()
908
	end
909
	wait()
910
	wave1:Destroy()
911
	end)()
912
end
913
--------------------------------------------------------------------------
914
--transform
915
GroundWave5 = function()
916
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
917
	if ssjg == false then
918
	if ssjb == false then
919
		if ssj1 == true or ssj2 == true or ssj3 == true then
920
	Colors = {"New Yeller", "New Yeller"}
921
		elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
922
			Colors = {"White", "White"}
923
	end
924
	else
925
		Colors = {"Cyan", "Cyan"}
926
	end
927
	else
928
		Colors = {"Really red", "Deep orange"}
929
	end
930
	
931
	local wave11 = Instance.new("Part", char)
932
	wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
933
	wave11.Anchored = true
934
	wave11.Name = "Wave"
935
	wave11.CanCollide = false
936
	wave11.Locked = true
937
	wave11.Size = Vector3.new(1, 1, 1)
938
	wave11.TopSurface = "Smooth"
939
	wave11.BottomSurface = "Smooth"
940
	wave11.Transparency = 0.35
941
	wave11.CFrame = HandCF
942
	wm31 = Instance.new("SpecialMesh", wave11)
943
	wm31.MeshId = "rbxassetid://3270017"
944
	coroutine.wrap(function()
945
	for i = 1, 30, 1 do
946
	wm31.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
947
	wave11.Size = wm31.Scale
948
	wave11.CFrame = HandCF
949
	wave11.Transparency = i/30
950
	wait()
951
	end
952
	wait()
953
	wave11:Destroy()
954
	end)()
955
end
956
GroundWave6 = function()
957
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
958
	if ssjg == false then
959
	if ssjb == false then
960
		if ssj1 == true or ssj2 == true or ssj3 == true then
961
	Colors = {"New Yeller", "New Yeller"}
962
		elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
963
			Colors = {"White", "White"}
964
	end
965
	else
966
		Colors = {"Cyan", "Cyan"}
967
	end
968
	else
969
		Colors = {"Really red", "Deep orange"}
970
	end
971
	local wave111 = Instance.new("Part", char)
972
	wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
973
	wave111.Anchored = true
974
	wave111.Name = "Wave"
975
	wave111.CanCollide = false
976
	wave111.Locked = true
977
	wave111.Size = Vector3.new(1, 1, 1)
978
	wave111.TopSurface = "Smooth"
979
	wave111.BottomSurface = "Smooth"
980
	wave111.Transparency = 0.35
981
	wave111.CFrame = HandCF
982
	wm311 = Instance.new("SpecialMesh", wave111)
983
	wm311.MeshId = "rbxassetid://3270017"
984
	coroutine.wrap(function()
985
	for i = 1, 30, 1 do
986
	wm311.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
987
	wave111.Size = wm311.Scale
988
	wave111.CFrame = HandCF
989
	wave111.Transparency = i/30
990
	wait()
991
	end
992
	wait()
993
	wave111:Destroy()
994
	end)()
995
end
996
GroundWave7 = function()
997
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
998
	if ssjg == false then
999
	if ssjb == false then
1000
		if ssj1 == true or ssj2 == true or ssj3 == true then
1001
	Colors = {"New Yeller", "New Yeller"}
1002
		elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
1003
			Colors = {"White", "White"}
1004
	end
1005
	else
1006
		Colors = {"Cyan", "Cyan"}
1007
	end
1008
	else
1009
		Colors = {"Really red", "Deep orange"}
1010
	end
1011
	local wave1111 = Instance.new("Part", char)
1012
	wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
1013
	wave1111.Anchored = true
1014
	wave1111.Name = "Wave"
1015
	wave1111.CanCollide = false
1016
	wave1111.Locked = true
1017
	wave1111.Size = Vector3.new(1, 1, 1)
1018
	wave1111.TopSurface = "Smooth"
1019
	wave1111.BottomSurface = "Smooth"
1020
	wave1111.Transparency = 0.35
1021
	wave1111.CFrame = HandCF
1022
	wm3111 = Instance.new("SpecialMesh", wave1111)
1023
	wm3111.MeshId = "rbxassetid://3270017"
1024
	coroutine.wrap(function()
1025
	for i = 1, 30, 1 do
1026
	wm3111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
1027
	wave1111.Size = wm3111.Scale
1028
	wave1111.CFrame = HandCF
1029
	wave1111.Transparency = i/30
1030
	wait()
1031
	end
1032
	wait()
1033
	wave1111:Destroy()
1034
	end)()
1035
end
1036
GroundWave8 = function()
1037
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(40), math.rad(90), math.rad(0))
1038
	if ssjg == false then
1039
	if ssjb == false then
1040
		if ssj1 == true or ssj2 == true or ssj3 == true then
1041
	Colors = {"New Yeller", "New Yeller"}
1042
		elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
1043
			Colors = {"White", "White"}
1044
	end
1045
	else
1046
		Colors = {"Cyan", "Cyan"}
1047
	end
1048
	else
1049
		Colors = {"Really red", "Deep orange"}
1050
	end
1051
	local wave11111 = Instance.new("Part", char)
1052
	wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
1053
	wave11111.Anchored = true
1054
	wave11111.Name = "Wave"
1055
	wave11111.CanCollide = false
1056
	wave11111.Locked = true
1057
	wave11111.Size = Vector3.new(1, 1, 1)
1058
	wave11111.TopSurface = "Smooth"
1059
	wave11111.BottomSurface = "Smooth"
1060
	wave11111.Transparency = 0.35
1061
	wave11111.CFrame = HandCF
1062
	wm31111 = Instance.new("SpecialMesh", wave11111)
1063
	wm31111.MeshId = "rbxassetid://3270017"
1064
	coroutine.wrap(function()
1065
	for i = 1, 30, 1 do
1066
	wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
1067
	wave11111.Size = wm31111.Scale
1068
	wave11111.CFrame = HandCF
1069
	wave11111.Transparency = i/30
1070
	wait()
1071
	end
1072
	wait()
1073
	wave11111:Destroy()
1074
	end)()
1075
end
1076
GroundWave9 = function()
1077
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(40))
1078
	if ssjg == false then
1079
	if ssjb == false then
1080
		if ssj1 == true or ssj2 == true or ssj3 == true then
1081
	Colors = {"New Yeller", "New Yeller"}
1082
		elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
1083
			Colors = {"White", "White"}
1084
	end
1085
	else
1086
		Colors = {"Cyan", "Cyan"}
1087
	end
1088
	else
1089
		Colors = {"Really red", "Deep orange"}
1090
	end
1091
	local wave111111 = Instance.new("Part", char)
1092
	wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
1093
	wave111111.Anchored = true
1094
	wave111111.Name = "Wave"
1095
	wave111111.CanCollide = false
1096
	wave111111.Locked = true
1097
	wave111111.Size = Vector3.new(1, 1, 1)
1098
	wave111111.TopSurface = "Smooth"
1099
	wave111111.BottomSurface = "Smooth"
1100
	wave111111.Transparency = 0.35
1101
	wave111111.CFrame = HandCF
1102
	wm311111 = Instance.new("SpecialMesh", wave111111)
1103
	wm311111.MeshId = "rbxassetid://3270017"
1104
	coroutine.wrap(function()
1105
	for i = 1, 30, 1 do
1106
	wm311111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
1107
	wave111111.Size = wm311111.Scale
1108
	wave111111.CFrame = HandCF
1109
	wave111111.Transparency = i/30
1110
	wait()
1111
	end
1112
	wait()
1113
	wave111111:Destroy()
1114
	end)()
1115
end
1116
GroundWave10 = function()
1117
	local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1118
	if ssjg == false then
1119
	if ssjb == false then
1120
		if ssj1 == true or ssj2 == true or ssj3 == true then
1121
	Colors = {"New Yeller", "New Yeller"}
1122
		elseif ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
1123
			Colors = {"White", "White"}
1124
	end
1125
	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=1098694171"
1990
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1108907444"
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.2)
2673
	
2674
		if potara == false then
2675
	Hair7.Color = Color3.fromRGB(255,246,123)
2676
	Mesh.MeshId = "rbxassetid://501884712"
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(-0.3, 1.2, -0.32)
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://501884712"
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
	mouth.Texture = "rbxassetid://828773176"
2806
	wait(1)
2807
	lighting1.Transparency = ns(1)
2808
	ssj2aura:Play()
2809
	transform3 = false
2810
	transform1 = true
2811
	wait(0.8)
2812
            GroundShake = false
2813
            
2814
	char.Head.face.Texture= "rbxassetid://765493484"
2815
	Mesh.MeshId = "rbxassetid://501884712"
2816
	Mesh.Scale = v3(6.3,6.3,6.3)
2817
	Weld.C0 = CFrame.new(-0.3, 1.2, -0.32)
2818
	Hair7.Color = Color3.fromRGB(255,239,0)
2819
	
2820
	a21e = new("Part",char)
2821
a21e.Name = "Beam"..num
2822
a21e.Locked = true
2823
a21e.Size = v3(1,1,1)
2824
a21e.CanCollide = false
2825
a21e.Position = v3(999,999,999)
2826
a21e.BrickColor = bc("New Yeller")
2827
a21e.Material = "Neon"
2828
a21e.Transparency = 0
2829
aa21e = new("SpecialMesh",a21e)
2830
a21e.Anchored = true
2831
a21e.Position = RootPart.Position
2832
aa21e.MeshType = "Sphere"
2833
aa21e.Scale = v3(1,1,1)
2834
	
2835
	transform1 = false
2836
	transform4 = true
2837
	ssjauraburst:Play()
2838
	GroundWave5()
2839
	GroundWave6()
2840
	GroundWave7()
2841
	GroundWave8()
2842
	GroundWave9()
2843
	GroundWave10()
2844
	ad.Position = RootPart.Position - v3(0,3,0)
2845
	aad.Transparency = 0
2846
	
2847
	
2848
	
2849
	newaura.ImageTransparency = 0
2850
	
2851
	for i = 1,25 do
2852
	wait()
2853
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
2854
	a21e.Transparency = a21e.Transparency + 0.04
2855
	end
2856
	
2857
	
2858
	wait()
2859
            GroundShake = false
2860
for i,v in pairs(workspace:GetChildren()) do
2861
		if v:IsA("Part") then
2862
			if v.Size.x > 150 then
2863
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
2864
			end
2865
		end
2866
	end
2867
	
2868
2869
            wait(0.9)
2870
	transform4 = false
2871
	mouth.Texture = "rbxassetid://932140764"
2872
	
2873
	
2874
	
2875
	-------------------------------------------------
2876
	canattack = true
2877
RootPart.Anchored = false
2878
	if canfly1 == true then
2879
	idle = true
2880
	walk = true
2881
	canjump = true
2882
	end
2883
	if canfly1 == true then
2884
	canfly = true
2885
	canfly1 = false
2886
	end
2887
	RootPart.Anchored = false
2888
	ssj1 = false
2889
	for i = 1,20 do
2890
	wait()
2891
	aad.Transparency = aad.Transparency + 0.05
2892
	end
2893
	end
2894
	end
2895
		end
2896
		end
2897
	end
2898
end)
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
mouse.KeyDown:connect(function(key)
2915
	
2916
	if key == "t" then
2917
		if fuse == false or potara == false then
2918
	if ssj2 == true then
2919
	if canattack == true then
2920
	canattack = false
2921
	if canfly == true then
2922
	canfly = false
2923
	canfly1 = true
2924
	end
2925
	idle = false
2926
	ssj2 = false
2927
	ssj1 = false
2928
	ssj3 = true
2929
	ssjb = false
2930
	ssjg = false
2931
	ssjbkaio = false
2932
	ssjbkaiox10 = false
2933
	
2934
          RootPart.Anchored = true
2935
	walk = false
2936
	canjump = false
2937
	ssj1 = true
2938
	ssj2music:Stop()
2939
	ssj3music:Play()
2940
	g1q = Instance.new("Part",char)
2941
	g1q.Name = "Smoke"
2942
	g1q.CanCollide = false
2943
	g1q.Position = RootPart.Position - v3(-8,3,0)
2944
	g1q.Size = v3(0.1,0.1,0.1)
2945
	g1q.Anchored = true
2946
	g1a = Instance.new("Part",char)
2947
	g1a.Name = "Smoke"
2948
	g1a.CanCollide = false
2949
	g1a.Position = RootPart.Position + v3(8,80,0)
2950
	g1a.Size = v3(0.1,0.1,0.1)
2951
	g1a.Anchored = true
2952
	g1q1 = Instance.new("Part",char)
2953
	g1q1.Name = "Smoke"
2954
	g1q1.CanCollide = false
2955
	g1q1.Position = RootPart.Position - v3(-5,3,7)
2956
	g1q1.Size = v3(0.1,0.1,0.1)
2957
	g1q1.Anchored = true
2958
	g1a1 = Instance.new("Part",char)
2959
	g1a1.Name = "Smoke"
2960
	g1a1.CanCollide = false
2961
	g1a1.Position = RootPart.Position + v3(5,80,-7)
2962
	g1a1.Size = v3(0.1,0.1,0.1)
2963
	g1a1.Anchored = true
2964
	g1q2 = Instance.new("Part",char)
2965
	g1q2.Name = "Smoke"
2966
	g1q2.CanCollide = false
2967
	g1q2.Position = RootPart.Position - v3(12,3,-6)
2968
	g1q2.Size = v3(0.1,0.1,0.1)
2969
	g1q2.Anchored = true
2970
	g1a2 = Instance.new("Part",char)
2971
	g1a2.Name = "Smoke"
2972
	g1a2.CanCollide = false
2973
	g1a2.Position = RootPart.Position + v3(-12,80,6)
2974
	g1a2.Size = v3(0.1,0.1,0.1)
2975
	g1a2.Anchored = true
2976
	------------------------------------------------
2977
	
2978
	
2979
	transform1 = true
2980
	
2981
	wait(0.6)
2982
2983
	
2984
	
2985
	KiCharge:Play()
2986
	transform1 = false
2987
	transform3 = true
2988
	
2989
	
2990
	GroundShake = true
2991
	coroutine.wrap(function()
2992
		
2993
		
2994
		repeat wait()
2995
			newaurabase.Size = UDim2.new(math.random(20,28),0,math.random(20,28),0)
2996
		until GroundShake == false
2997
		
2998
		KiCharge:Stop()
2999
		
3000
	end)()
3001
	rock = true
3002
        
3003
	mouth.Texture = "rbxassetid://828773176"
3004
	coroutine.wrap(function()
3005
	for i = 1,5 do
3006
	wait(math.random(1,2))
3007
	game.Lighting.Ambient = Color3.new(999,999,999)
3008
3009
wait(0.0001)
3010
game.Lighting.Ambient = Color3.new(0,0,0)
3011
wait(0.0001)
3012
game.Lighting.Ambient = Color3.new(999,999,999)
3013
wait(0.0001)
3014
Lightning:Play()
3015
block = Instance.new("Part",char)
3016
block.Anchored = true
3017
block.Transparency = 1
3018
block.Position = RootPart.Position + v3(math.random(-10,10),-1,math.random(-10,10))
3019
block.CanCollide = false
3020
block2 = Instance.new("Part",char)
3021
block2.Anchored = true
3022
block2.Position = block.Position + v3(0,200,0)
3023
block2.CanCollide = false
3024
block2.Transparency = 1
3025
3026
3027
3028
3029
Lightning1(block.Position,block2.Position,0.2,10,workspace)
3030
game.Lighting.Ambient = Color3.new(0,0,0)
3031
end
3032
end)()
3033
	
3034
	wait(8)
3035
	GroundShake2 = true
3036
	char.Head.face.Texture= "http://www.roblox.com/asset/?id=976088530"
3037
	
3038
lighting.Transparency = ns(0)
3039
	KiCharge:Stop()
3040
	
3041
	Weld.C0 = CFrame.new(0.3, -1, 1.45) * CFrame.Angles(0,rad(180),0)
3042
Mesh.MeshId = "rbxassetid://430344159" --idk 560186522 --base 501884712  -second try 560719908
3043
Mesh.Scale = v3(6.3,6.3,6.3)
3044
Weld.C0 = CFrame.new(-.25,1.2,.34)
3045
	
3046
	a21e = new("Part",char)
3047
a21e.Name = "Beam"..num
3048
a21e.Locked = true
3049
a21e.Size = v3(1,1,1)
3050
a21e.CanCollide = false
3051
a21e.Position = v3(999,999,999)
3052
a21e.BrickColor = bc("New Yeller")
3053
a21e.Material = "Neon"
3054
a21e.Transparency = 0
3055
aa21e = new("SpecialMesh",a21e)
3056
a21e.Anchored = true
3057
a21e.Position = RootPart.Position
3058
aa21e.MeshType = "Sphere"
3059
aa21e.Scale = v3(1,1,1)
3060
	
3061
	
3062
	ssjauraburst:Play()
3063
	GroundWave5()
3064
	GroundWave6()
3065
	GroundWave7()
3066
	GroundWave8()
3067
	GroundWave9()
3068
	GroundWave10()
3069
	ad.Position = RootPart.Position - v3(0,3,0)
3070
	aad.Transparency = 0
3071
	rock = false
3072
	rock3 = true
3073
	
3074
	newaura.ImageTransparency = 0
3075
	ssjaura:Play()
3076
	for i = 1,50 do
3077
	wait()
3078
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3079
	a21e.Transparency = a21e.Transparency + 0.02
3080
	end
3081
	GroundShake = false
3082
	wait(0.1)
3083
	
3084
	GroundShake2 = false
3085
	
3086
	
3087
3088
3089
          wait(0.9)
3090
	transform3 = false
3091
	mouth.Texture = "rbxassetid://932140764"
3092
	
3093
	
3094
	
3095
	-------------------------------------------------
3096
	canattack = true
3097
	rock3 = false
3098
	RootPart.Anchored = false
3099
	if canfly1 == true then
3100
	idle = true
3101
	walk = true
3102
	canjump = true
3103
	end
3104
	if canfly1 == true then
3105
	canfly = true
3106
	canfly1 = false
3107
	end
3108
	for i = 1,20 do
3109
	wait()
3110
	aad.Transparency = aad.Transparency + 0.05
3111
	end
3112
	end
3113
	end
3114
	end
3115
	end
3116
	end)
3117
3118
mouse.KeyDown:connect(function(key)
3119
	if key == "x" then
3120
	if canattack == true then
3121
	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
3122
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=363968007"
3123
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=363966829"
3124
if ssj4 == true then
3125
	ape5.Transparency = 1
3126
end
3127
ssj4 = false
3128
fuse = false
3129
idle7 = false
3130
idle = true
3131
mouth.Transparency = 0
3132
nose.Transparency = 0
3133
	Hair7.BrickColor = BrickColor.new("Really black")
3134
Mesh.Scale = Vector3.new(7.1,7.1,7.1)
3135
Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712"
3136
Weld.C0 = CFrame.new(-0.3, 1.2, -0.32)
3137
newaurabase.Size = UDim2.new(20,0,20,0)
3138
newaura.Position = UDim2.new(-0.5,0,-0.2,0)
3139
newaurabase.AlwaysOnTop = false
3140
newaura.ImageColor3 = Color3.fromRGB(255, 227, 10)
3141
newaurabase.ExtentsOffset = Vector3.new(0,0,3)
3142
char.Head.face.Texture= "rbxassetid://765423946"
3143
3144
	lighting.Transparency = ns(1)
3145
	lighting1.Transparency = ns(1)
3146
	newaura.ImageTransparency = 1
3147
	ssj1 = false
3148
	ssj2 = false
3149
	ssjg = false
3150
	p1.Transparency = 1
3151
	p2.Transparency = 1
3152
	p3.Transparency = 1
3153
	p4.Transparency = 1
3154
	p5.Transparency = 1
3155
	p6.Transparency = 1
3156
	p7.Transparency = 1
3157
	p8.Transparency =1
3158
	p9.Transparency = 1
3159
	p10.Transparency = 1
3160
	p11.Transparency = 1
3161
	p12.Transparency = 1
3162
	p13.Transparency =1
3163
	p14.Transparency = 1
3164
	p15.Transparency =1
3165
	newaura2.ImageTransparency = 1
3166
	ssjb = false
3167
	ssjbkaio = false
3168
	ssjbkaiox10 = false
3169
	a21e.Locked = true
3170
a21e.Size = v3(1,1,1)
3171
a21e.CanCollide = false
3172
a21e.Position = v3(999,999,999)
3173
a21e.BrickColor = bc("White")
3174
a21e.Material = "Neon"
3175
a21e.Transparency = 0
3176
aa21e = new("SpecialMesh",a21e)
3177
a21e.Anchored = true
3178
a21e.Position = RootPart.Position
3179
aa21e.MeshType = "Sphere"
3180
aa21e.Scale = v3(1,1,1)
3181
	ssjaura:Stop()
3182
	ssj2aura:Stop()
3183
	
3184
	ssj3 = false
3185
	ssjaura:Stop()
3186
	ssjbaura:Stop()
3187
	ssjbkaura:Stop()
3188
	ssjgmusic:Stop()
3189
	ssjgaura:Stop()
3190
	ssjbmusic:Stop()
3191
	ssj2aura:Stop()
3192
	ssjmusic:Stop()
3193
	ssj2music:Stop()
3194
	ssj3music:Stop()
3195
	PowerDown:Play()
3196
	for i = 1,50 do
3197
	wait()
3198
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3199
	a21e.Transparency = a21e.Transparency + 0.02
3200
	end
3201
	end
3202
	if fuse == true and ssj4 == true then
3203
		fuse = false
3204
idle7 = false
3205
idle5 = false
3206
noidle = true
3207
ssjb = false
3208
ssj1= false
3209
walk = true
3210
canjump = true
3211
linkpart = Instance.new("Part",char)
3212
linkpart.Position = v3(999,999,999)
3213
linkpart.Transparency = 1
3214
linkpart.CanCollide = false
3215
linkpart.Anchored = true
3216
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
3217
RootPart1.Anchored = true
3218
		RootPart.Anchored = true
3219
	RootPart1 = clone1.HumanoidRootPart
3220
	com1 = 1
3221
	Hair7.Color = Color3.fromRGB(0,0,0)
3222
	Mesh.MeshId = "http://www.roblox.com/asset/?id=504772831"
3223
Mesh.Scale = Vector3.new(0.23,0.23,0.23)
3224
Weld.C0 = CFrame.new(0.25, 0.4, 0.5)*CFrame.Angles(0,math.rad(180),0)
3225
	char.Head.face.Texture= "http://www.roblox.com/asset/?id=869609457"
3226
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=258281249"
3227
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=258281716"
3228
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
3229
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
3230
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
3231
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
3232
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
3233
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3234
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
3235
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3236
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
3237
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
3238
	LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
3239
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
3240
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
3241
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
3242
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
3243
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3244
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
3245
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3246
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
3247
	Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
3248
for i = 1,50 do
3249
	wait()
3250
	com1 = com1 + 0.1
3251
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
3252
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
3253
end
3254
noidle = false
3255
idle = true
3256
	RootPart1.CFrame = CFrame.new(999,999,999)
3257
RootPart1.Anchored = true
3258
RootPart.Anchored = false
3259
hum.HipHeight = 1.35
3260
	end
3261
	if fuse == true and ssj4 == false or potara == true then
3262
		fuse = false
3263
idle7 = false
3264
ssjb = false
3265
ssj2 = false
3266
ssj3 = false
3267
ssj4 = false
3268
ssjaura:Stop()
3269
          newaurabase.Size = UDim2.new(20,0,20,0)
3270
newaura.Position = UDim2.new(-0.5,0,-0.2,0)
3271
newaurabase.AlwaysOnTop = false
3272
newaura.ImageColor3 = Color3.fromRGB(255, 227, 10)
3273
newaurabase.ExtentsOffset = Vector3.new(0,0,3)
3274
ssjg = false
3275
idle5 = false
3276
noidle = true
3277
walk = true
3278
ssj1 = false
3279
newaura.ImageTransparency = 1
3280
char.Head.face.Texture= "rbxassetid://765423946"
3281
Hair7.BrickColor = bc("Really black")
3282
ssjaura:Stop()
3283
canjump = true
3284
if potara == true then
3285
	
3286
	ee1d:Destroy()
3287
	ee2d:Destroy()
3288
	ee3d:Destroy()
3289
	ee4d:Destroy()
3290
	eec:Destroy()
3291
	ee1c:Destroy()
3292
	ee2c:Destroy()
3293
	ee3c:Destroy()
3294
	ee4c:Destroy()
3295
end
3296
linkpart = Instance.new("Part",char)
3297
linkpart.Position = v3(999,999,999)
3298
linkpart.Transparency = 1
3299
linkpart.CanCollide = false
3300
linkpart.Anchored = true
3301
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
3302
RootPart1.Anchored = true
3303
		RootPart.Anchored = true
3304
	RootPart1 = clone1.HumanoidRootPart
3305
	com1 = 1
3306
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=363968007"
3307
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=363966829"
3308
Weld.C0 = CFrame.new(-0.3, 1.2, -0.32)
3309
Mesh.Scale = Vector3.new(6.8,6.8,6.8)
3310
Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712"
3311
LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
3312
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
3313
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
3314
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
3315
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
3316
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3317
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
3318
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3319
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
3320
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
3321
	LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
3322
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
3323
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
3324
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
3325
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
3326
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3327
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
3328
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
3329
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
3330
	Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
3331
	a21e.Locked = true
3332
a21e.Size = v3(1,1,1)
3333
a21e.CanCollide = false
3334
a21e.Position = v3(999,999,999)
3335
a21e.BrickColor = bc("White")
3336
a21e.Material = "Neon"
3337
a21e.Transparency = 0
3338
aa21e = new("SpecialMesh",a21e)
3339
a21e.Anchored = true
3340
a21e.Position = RootPart.Position
3341
aa21e.MeshType = "Sphere"
3342
aa21e.Scale = v3(1,1,1)
3343
	ssjbaura:Stop()
3344
	PowerDown:Play()
3345
	coroutine.wrap(function()
3346
	for i = 1,50 do
3347
	wait()
3348
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3349
	a21e.Transparency = a21e.Transparency + 0.02
3350
	end
3351
	end)()
3352
for i = 1,50 do
3353
	wait()
3354
	com1 = com1 + 0.1
3355
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
3356
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
3357
end
3358
noidle = false
3359
idle = true
3360
if potara == true then
3361
	ee:Destroy()
3362
	ee1:Destroy()
3363
	ee2:Destroy()
3364
	ee3:Destroy()
3365
	ee4:Destroy()
3366
	eed:Destroy()
3367
end
3368
potara = false
3369
	RootPart1.CFrame = CFrame.new(999,999,999)
3370
RootPart1.Anchored = true
3371
RootPart.Anchored = false
3372
hum.HipHeight = 1.35
3373
	end
3374
	end
3375
	end
3376
	end)
3377
mouse.KeyDown:connect(function(key)
3378
	if key == "c" then
3379
	if canattack == true then
3380
	if ssj1 == true or ssj2 == true or ssj3 == true then
3381
	lighting.Transparency = ns(1)
3382
	lighting1.Transparency = ns(1)
3383
	newaura.ImageTransparency = 1
3384
	a21e.Name = "Beam"..num
3385
a21e.Locked = true
3386
a21e.Size = v3(1,1,1)
3387
a21e.CanCollide = false
3388
a21e.Position = v3(999,999,999)
3389
a21e.BrickColor = bc("New Yeller")
3390
a21e.Material = "Neon"
3391
a21e.Transparency = 0
3392
aa21e = new("SpecialMesh",a21e)
3393
a21e.Anchored = true
3394
a21e.Position = RootPart.Position
3395
aa21e.MeshType = "Sphere"
3396
aa21e.Scale = v3(1,1,1)
3397
	ssjaura:Stop()
3398
	ssj2aura:Stop()
3399
	AuraOff:Play()
3400
	for i = 1,50 do
3401
	wait()
3402
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3403
	a21e.Transparency = a21e.Transparency + 0.02
3404
	end
3405
	end
3406
	if ssjb == true then
3407
		ssjbaura:Stop()
3408
		
3409
		newaura.ImageTransparency = 1
3410
		a21e.Name = "Beam"..num
3411
a21e.Locked = true
3412
a21e.Size = v3(1,1,1)
3413
a21e.CanCollide = false
3414
a21e.Position = v3(999,999,999)
3415
a21e.BrickColor = bc("Toothpaste")
3416
a21e.Material = "Neon"
3417
a21e.Transparency = 0
3418
aa21e = new("SpecialMesh",a21e)
3419
a21e.Anchored = true
3420
a21e.Position = RootPart.Position
3421
aa21e.MeshType = "Sphere"
3422
aa21e.Scale = v3(1,1,1)
3423
AuraOff:Play()
3424
for i = 1,50 do
3425
	wait()
3426
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3427
	a21e.Transparency = a21e.Transparency + 0.02
3428
	end
3429
	end
3430
	if ssj4 == true then
3431
		ssjaura:Stop()
3432
		
3433
		newaura.ImageTransparency = 1
3434
		a21e.Name = "Beam"..num
3435
a21e.Locked = true
3436
a21e.Size = v3(1,1,1)
3437
a21e.CanCollide = false
3438
a21e.Position = v3(999,999,999)
3439
a21e.BrickColor = bc("New Yeller")
3440
a21e.Material = "Neon"
3441
a21e.Transparency = 0
3442
aa21e = new("SpecialMesh",a21e)
3443
a21e.Anchored = true
3444
a21e.Position = RootPart.Position
3445
aa21e.MeshType = "Sphere"
3446
aa21e.Scale = v3(1,1,1)
3447
AuraOff:Play()
3448
for i = 1,50 do
3449
	wait()
3450
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3451
	a21e.Transparency = a21e.Transparency + 0.02
3452
	end
3453
	end
3454
	if ssjg == true then
3455
		ssjgaura:Stop()
3456
		
3457
		newaura.ImageTransparency = 1
3458
		a21e.Name = "Beam"..num
3459
a21e.Locked = true
3460
a21e.Size = v3(1,1,1)
3461
a21e.CanCollide = false
3462
a21e.Position = v3(999,999,999)
3463
a21e.BrickColor = bc("Really red")
3464
a21e.Material = "Neon"
3465
a21e.Transparency = 0
3466
aa21e = new("SpecialMesh",a21e)
3467
a21e.Anchored = true
3468
a21e.Position = RootPart.Position
3469
aa21e.MeshType = "Sphere"
3470
aa21e.Scale = v3(1,1,1)
3471
AuraOff:Play()
3472
for i = 1,50 do
3473
	wait()
3474
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
3475
	a21e.Transparency = a21e.Transparency + 0.02
3476
	end
3477
	end
3478
	end
3479
	end
3480
	end)
3481
3482
3483
3484
3485
mouse.KeyDown:connect(function(key)
3486
	if key == "h" then
3487
	if canattack == true and flying1 == false and punched1 == true then
3488
		
3489
		idle = false
3490
		walk = false
3491
		canjump = false
3492
		canattack = false
3493
		punch1 = true
3494
		punched1 = false
3495
		punched2 = true
3496
		af1 = new("Part",char)
3497
af1.Name = "NewPart"
3498
af1.Size = v3(1,1,1)
3499
af1.Position = v3(999,999,999)
3500
af1.Material = "Neon"
3501
af1.Transparency = 1
3502
3503
aaaf1 =new("Weld",af1)
3504
aaaf1.Part0 = RootPart
3505
aaaf1.Part1 = af1
3506
aaaf1.C0 = cf(0,0,-2) * cfa(rad(0),rad(0),rad(0))
3507
wait(0.1)
3508
		punch1 = false
3509
		punch2 = true
3510
		wait(0.2)
3511
		
3512
af1.Touched:connect(function(hit)
3513
	if hit.Parent:FindFirstChild("Head") then
3514
		grab = true
3515
		go11 = 2.3
3516
		af1:Destroy()
3517
		punchsound1:Play()
3518
		hit1 = true
3519
		hit.Parent:findFirstChild("Head").Anchored = true
3520
		for i,v in pairs(hit.Parent:GetChildren()) do
3521
			
3522
			
3523
			if v:IsA("Humanoid") then
3524
				v.Health = v.Health - 10
3525
				if v.Health > 100 then
3526
						v.Health = 100
3527
							v.MaxHealth = 100
3528
					end
3529
			end
3530
			end
3531
		hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 2.3
3532
		punch2 = false
3533
		
3534
	
3535
		idle = false
3536
		walk = false
3537
		canjump = false
3538
		canattack = false
3539
		punch3 = true
3540
		punched1 = false
3541
		punched2 = false
3542
		punched3 = true
3543
		af1 = new("Part",char)
3544
af1.Name = "NewPart"
3545
af1.Size = v3(1,1,1)
3546
af1.Position = v3(999,999,999)
3547
af1.Material = "Neon"
3548
af1.Transparency = 1
3549
3550
aaaf1 =new("Weld",af1)
3551
aaaf1.Part0 = LeftHand
3552
aaaf1.Part1 = af1
3553
aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0))
3554
3555
		wait(0.1)
3556
		punch3 = false
3557
		punch4 = true
3558
		for i,v in pairs(hit.Parent:GetChildren()) do
3559
			
3560
			
3561
			if v:IsA("Humanoid") then
3562
				v.Health = v.Health - 10
3563
				if v.Health > 100 then
3564
						v.Health = 100
3565
						v.MaxHealth = 100
3566
					end
3567
			end
3568
		end
3569
		punchsound1:Play()
3570
		wait(0.2)
3571
		if hit1 == false then
3572
			af1:Destroy()
3573
			hit1 = false
3574
		end
3575
		punch4 = false
3576
			
3577
	
3578
		idle = false
3579
		walk = false
3580
		canjump = false
3581
		canattack = false
3582
		uppercut1 = true
3583
		punched1 = false
3584
		punched2 = false
3585
		punched3 = false
3586
		punched4 = true
3587
		wait(0.3)
3588
		uppercut1 = false
3589
		uppercut2 = true
3590
		af1 = new("Part",char)
3591
af1.Name = "NewPart"
3592
af1.Size = v3(1,1,1)
3593
af1.Position = v3(999,999,999)
3594
af1.Material = "Neon"
3595
af1.Transparency = 1
3596
3597
aaaf1 =new("Weld",af1)
3598
aaaf1.Part0 = LeftHand
3599
aaaf1.Part1 = af1
3600
aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0))
3601
for i,v in pairs(hit.Parent:GetChildren()) do
3602
			
3603
			
3604
			if v:IsA("Humanoid") then
3605
				v.Health = v.Health - 10
3606
				if v.Health > 100 then
3607
						v.Health = 100
3608
						v.MaxHealth = 100
3609
					end
3610
			end
3611
end
3612
punchsound1:Play()
3613
	for i = 1,10 do
3614
		wait()
3615
		up = up + 1
3616
		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) 
3617
	end
3618
	hit.Parent:findFirstChild("Head").Anchored = true
3619
	
3620
	
3621
	
3622
3623
		wait(0.3)
3624
		uppercut2 = false
3625
	
3626
		RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3
3627
		RootPart.Anchored = true
3628
		idle = false
3629
		walk = false
3630
		canjump = false
3631
		canattack = false
3632
		knockdown1 = true
3633
		punched1 = true
3634
		punched2 = false
3635
		punched3 = false
3636
		punched4 = false
3637
		wait(0.3)
3638
		knockdown1 = false
3639
		knockdown2 = true
3640
		StrongPunch:Play()
3641
		for i,v in pairs(hit.Parent:GetChildren()) do
3642
			
3643
			
3644
			if v:IsA("Humanoid") then
3645
					v.Health = v.Health - 10
3646
					if v.Health > 100 then
3647
						v.Health = 100
3648
						v.MaxHealth = 100
3649
					end
3650
			end
3651
		end
3652
		GroundWave11()
3653
		punchsound2:Play()
3654
		up = 0
3655
		for i = 1,10 do
3656
		wait()
3657
		up = up + 1
3658
		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) 
3659
	end
3660
		wait(0.2)
3661
		knockdown2 = false
3662
		hit.Parent:findFirstChild("Head").Anchored = true
3663
		RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3
3664
		FastPunch:Play()
3665
		for i = 1,3 do
3666
		punch1 = true
3667
		wait(0.01)
3668
		punch1 = false
3669
		
3670
		punch2 = true
3671
		wait(0.01)
3672
		punch2 = false
3673
		GroundWave1()
3674
		for i,v in pairs(hit.Parent:GetChildren()) do
3675
			
3676
			
3677
			if v:IsA("Humanoid") then
3678
					v.Health = v.Health - 1
3679
					if v.Health > 100 then
3680
						v.Health = 100
3681
						v.MaxHealth = 100
3682
					end
3683
			end
3684
			
3685
		end
3686
		punchsound1:Play()
3687
		punch3 = true
3688
		wait(0.01)
3689
		punch3 = false
3690
		
3691
		punch4 = true
3692
		wait(0.01)
3693
		punch4 = false
3694
		
3695
		
3696
			kick1 = true
3697
		wait(0.01)
3698
		kick1 = false
3699
		
3700
		kick2 = true
3701
		wait(0.01)
3702
		kick2 = false
3703
		GroundWave111()
3704
		
3705
		punchsound1:Play()
3706
		kick3 = true
3707
		wait(0.01)
3708
	kick3 = false
3709
		
3710
		kick4 = true
3711
		wait(0.01)
3712
		kick4 = false
3713
		
3714
		punchsound1:Play()
3715
		end
3716
		punch1 = true
3717
		wait(0.5)
3718
		punch1 = false
3719
		GroundWave1()
3720
		punch2 = true
3721
		wait(0.01)
3722
		
3723
		punchsound2:Play()
3724
		for i,v in pairs(hit.Parent:GetChildren()) do
3725
			
3726
			
3727
			if v:IsA("Humanoid") then
3728
					v.Health = v.Health - 10
3729
					if v.Health > 100 then
3730
						v.Health = 100
3731
						v.MaxHealth = 100
3732
					end
3733
			end
3734
		end
3735
		coroutine.wrap(function()
3736
		for i = 1,40 do
3737
			wait()
3738
			go11 = go11+ 2
3739
			
3740
			hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * go11
3741
		
3742
		end
3743
		
3744
		end)()
3745
		
3746
		
3747
		
3748
		RootPart.Anchored = true
3749
		punch2 = false
3750
	kamehameha5 = true
3751
	
3752
	startk = true
3753
	kamecharge:Play()
3754
	wait(0.5)
3755
	
3756
	
3757
kamehameha5 = false
3758
kamehameha2 = true
3759
hit.Parent:findFirstChild("Head").Anchored = false
3760
kamehameha()
3761
wait(0.8)
3762
kamehameha2 = false
3763
	RootPart.Anchored = false
3764
		idle = true
3765
		walk = true
3766
		canjump = true
3767
		canattack = true
3768
	
3769
		go11 = 2.3
3770
	up = 0
3771
		idle = true
3772
		walk = true
3773
		canjump = true
3774
		canattack = true
3775
	
3776
	
3777
	
3778
if hit1 == false then
3779
			af1:Destroy()
3780
			hit1 = false
3781
		end
3782
		idle = true
3783
		walk = true
3784
		canjump = true
3785
		canattack = true
3786
	
3787
3788
		idle = true
3789
		
3790
		walk = true
3791
		canjump = true
3792
		canattack = true
3793
	end
3794
3795
end)
3796
end
3797
	end
3798
		end)
3799
	
3800
3801
mouse.KeyDown:connect(function(key)
3802
	if key == "r" then
3803
	if canattack == true and kiblastdone == false then
3804
		idle = false
3805
		walk = false
3806
		kiblastdone = true
3807
		canattack = false
3808
		canjump = false
3809
	kiblast1 = true
3810
	wait(0.2)
3811
	kiblast1 = false
3812
	kiblast2 = true
3813
		kiblastsound:Play()
3814
		ay = new("Part",char)
3815
ay.Name = "NewPart"
3816
ay.Size = v3(1,1,1)
3817
ay.CanCollide = false
3818
ay.BrickColor = bc("Cyan")
3819
ay.Material = "Neon"
3820
ay.Transparency = 0
3821
aay = new("SpecialMesh",ay)
3822
aay.MeshType = "Sphere"
3823
aay.Scale = v3(1,1,1)
3824
ay.Position = v3(999,999,999)
3825
ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3
3826
	ys = Instance.new("BodyVelocity",ay)
3827
3828
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
3829
3830
ys.Velocity = RootPart.CFrame.lookVector * 60
3831
ay.Touched:connect(function(hit)
3832
	if hit then
3833
		
3834
		
3835
	
3836
	
3837
	
3838
3839
	kamehit:Play()
3840
	for i = 1,10 do
3841
	wait()
3842
	aay.Scale = aay.Scale + v3(1,1,1)
3843
	ay.Transparency = ay.Transparency + 0.1
3844
	end
3845
	ay:Destroy()
3846
	
3847
	end
3848
	if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then
3849
		for i,v in pairs(hit.Parent:GetChildren()) do
3850
			
3851
			
3852
			if v:IsA("Humanoid") then
3853
					v.Health = v.Health - 5
3854
					if v.Health > 100 then
3855
						v.Health = 100
3856
						v.MaxHealth = 100
3857
					end
3858
			end
3859
			end
3860
	end
3861
	
3862
end)
3863
3864
game.Debris:AddItem(ay,3)
3865
	wait(0.2)
3866
	kiblast2= false	
3867
		idle = true
3868
		walk = true
3869
		canjump = true
3870
		canattack = true
3871
3872
	end
3873
	end
3874
	end)
3875
	
3876
mouse.KeyDown:connect(function(key)
3877
	if key == "r" then
3878
	if canattack == true and kiblastdone == true then
3879
		idle = false
3880
		walk = false
3881
		kiblastdone = false
3882
		canattack = false
3883
		canjump = false
3884
	kiblast3 = true
3885
	wait(0.2)
3886
	kiblast3 = false
3887
	kiblast4 = true
3888
	kiblastsound:Play()	
3889
		ay = new("Part",char)
3890
ay.Name = "NewPart"
3891
ay.Size = v3(1,1,1)
3892
ay.CanCollide = false
3893
ay.BrickColor = bc("Cyan")
3894
ay.Material = "Neon"
3895
ay.Transparency = 0
3896
aay = new("SpecialMesh",ay)
3897
aay.MeshType = "Sphere"
3898
aay.Scale = v3(1,1,1)
3899
ay.Position = v3(999,999,999)
3900
ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3
3901
	ys = Instance.new("BodyVelocity",ay)
3902
3903
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
3904
3905
ys.Velocity = RootPart.CFrame.lookVector * 60
3906
ay.Touched:connect(function(hit)
3907
	if hit then
3908
		
3909
		
3910
	
3911
	
3912
	
3913
3914
	kamehit:Play()
3915
	for i = 1,10 do
3916
	wait()
3917
	aay.Scale = aay.Scale + v3(1,1,1)
3918
	ay.Transparency = ay.Transparency + 0.1
3919
	end
3920
	ay:Destroy()
3921
	
3922
	end
3923
	if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then
3924
		for i,v in pairs(hit.Parent:GetChildren()) do
3925
			
3926
			
3927
			if v:IsA("Humanoid") then
3928
					v.Health = v.Health - 5
3929
					if v.Health > 100 then
3930
						v.Health = 100
3931
						v.MaxHealth = 100
3932
					end
3933
			end
3934
			end
3935
	end
3936
	
3937
end)
3938
3939
game.Debris:AddItem(ay,3)
3940
	wait(0.2)
3941
	kiblast4= false	
3942
		idle = true
3943
		walk = true
3944
		canjump = true
3945
		canattack = true
3946
3947
	end
3948
	end
3949
	end)
3950
3951
mouse.KeyDown:connect(function(key)
3952
	if key == "g" then
3953
	if canattack == true and flying1 == false and punched1 == true then
3954
		
3955
		idle = false
3956
		walk = false
3957
		canjump = false
3958
		canattack = false
3959
		punch1 = true
3960
		punched1 = false
3961
		punched2 = true
3962
		af1 = new("Part",char)
3963
af1.Name = "NewPart"
3964
af1.Size = v3(1,1,1)
3965
af1.Position = v3(999,999,999)
3966
af1.Material = "Neon"
3967
af1.Transparency = 1
3968
3969
aaaf1 =new("Weld",af1)
3970
aaaf1.Part0 = RootPart
3971
aaaf1.Part1 = af1
3972
aaaf1.C0 = cf(0,0,-2) * cfa(rad(0),rad(0),rad(0))
3973
wait(0.1)
3974
		punch1 = false
3975
		punch2 = true
3976
		wait(0.2)
3977
		
3978
af1.Touched:connect(function(hit)
3979
	if hit.Parent:FindFirstChild("Head") then
3980
		grab = true
3981
		go11 = 2.3
3982
		af1:Destroy()
3983
		punchsound1:Play()
3984
		hit1 = true
3985
		hit.Parent:findFirstChild("Head").Anchored = true
3986
		for i,v in pairs(hit.Parent:GetChildren()) do
3987
			
3988
			
3989
			if v:IsA("Humanoid") then
3990
				v.Health = v.Health - 10
3991
				if v.Health > 100 then
3992
						v.Health = 100
3993
							v.MaxHealth = 100
3994
					end
3995
			end
3996
			end
3997
		hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 2.3
3998
		punch2 = false
3999
		
4000
	
4001
		idle = false
4002
		walk = false
4003
		canjump = false
4004
		canattack = false
4005
		punch3 = true
4006
		punched1 = false
4007
		punched2 = false
4008
		punched3 = true
4009
		af1 = new("Part",char)
4010
af1.Name = "NewPart"
4011
af1.Size = v3(1,1,1)
4012
af1.Position = v3(999,999,999)
4013
af1.Material = "Neon"
4014
af1.Transparency = 1
4015
4016
aaaf1 =new("Weld",af1)
4017
aaaf1.Part0 = LeftHand
4018
aaaf1.Part1 = af1
4019
aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0))
4020
4021
		wait(0.1)
4022
		punch3 = false
4023
		punch4 = true
4024
		for i,v in pairs(hit.Parent:GetChildren()) do
4025
			
4026
			
4027
			if v:IsA("Humanoid") then
4028
				v.Health = v.Health - 10
4029
				if v.Health > 100 then
4030
						v.Health = 100
4031
						v.MaxHealth = 100
4032
					end
4033
			end
4034
		end
4035
		punchsound1:Play()
4036
		wait(0.2)
4037
		if hit1 == false then
4038
			af1:Destroy()
4039
			hit1 = false
4040
		end
4041
		punch4 = false
4042
			
4043
	
4044
		idle = false
4045
		walk = false
4046
		canjump = false
4047
		canattack = false
4048
		uppercut1 = true
4049
		punched1 = false
4050
		punched2 = false
4051
		punched3 = false
4052
		punched4 = true
4053
		wait(0.3)
4054
		uppercut1 = false
4055
		uppercut2 = true
4056
		af1 = new("Part",char)
4057
af1.Name = "NewPart"
4058
af1.Size = v3(1,1,1)
4059
af1.Position = v3(999,999,999)
4060
af1.Material = "Neon"
4061
af1.Transparency = 1
4062
4063
aaaf1 =new("Weld",af1)
4064
aaaf1.Part0 = LeftHand
4065
aaaf1.Part1 = af1
4066
aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0))
4067
for i,v in pairs(hit.Parent:GetChildren()) do
4068
			
4069
			
4070
			if v:IsA("Humanoid") then
4071
				v.Health = v.Health - 10
4072
				if v.Health > 100 then
4073
						v.Health = 100
4074
						v.MaxHealth = 100
4075
					end
4076
			end
4077
end
4078
punchsound1:Play()
4079
	for i = 1,10 do
4080
		wait()
4081
		up = up + 1
4082
		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) 
4083
	end
4084
	hit.Parent:findFirstChild("Head").Anchored = true
4085
	
4086
	
4087
	
4088
4089
		wait(0.3)
4090
		uppercut2 = false
4091
	
4092
		RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3
4093
		RootPart.Anchored = true
4094
		idle = false
4095
		walk = false
4096
		canjump = false
4097
		canattack = false
4098
		knockdown1 = true
4099
		punched1 = true
4100
		punched2 = false
4101
		punched3 = false
4102
		punched4 = false
4103
		wait(0.3)
4104
		knockdown1 = false
4105
		knockdown2 = true
4106
		StrongPunch:Play()
4107
		for i,v in pairs(hit.Parent:GetChildren()) do
4108
			
4109
			
4110
			if v:IsA("Humanoid") then
4111
					v.Health = v.Health - 10
4112
					if v.Health > 100 then
4113
						v.Health = 100
4114
						v.MaxHealth = 100
4115
					end
4116
			end
4117
		end
4118
		GroundWave11()
4119
		punchsound2:Play()
4120
		up = 0
4121
		for i = 1,10 do
4122
		wait()
4123
		up = up + 1
4124
		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) 
4125
	end
4126
		wait(0.2)
4127
		knockdown2 = false
4128
		hit.Parent:findFirstChild("Head").Anchored = true
4129
	
4130
		 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))
4131
	Instance.new("Smoke",hit.Parent:findFirstChild("Head")).Color = Color3.fromRGB(79,91,79)
4132
	coroutine.wrap(function()
4133
		
4134
		for i= 1,8 do
4135
		
4136
		FastPunch:Play()
4137
		wait(0.4)
4138
		end
4139
	end)()
4140
	coroutine.wrap(function()
4141
		wait(0.5)
4142
			ay1 = new("Part",char)
4143
ay1.Name = "NewPart"
4144
ay1.Size = v3(1,1,1)
4145
ay1.CanCollide = false
4146
ay1.BrickColor = bc("Cyan")
4147
ay1.Material = "Neon"
4148
ay1.Transparency = 0
4149
aay1 = new("SpecialMesh",ay1)
4150
aay1.MeshType = "Sphere"
4151
aay1.Scale = v3(3,3,3)
4152
ay1.Anchored = true
4153
ay1.Position = hit.Parent:findFirstChild("Head").Position
4154
for i = 1,5 do
4155
	wait()
4156
		for i = 1,10 do
4157
			wait()
4158
			aay1.Scale = aay1.Scale + v3(2,2,2)
4159
		end
4160
		local HandCF = ay1.CFrame  * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
4161
	Colors = {"White", "White"}
4162
	local wave11111 = Instance.new("Part", char)
4163
	wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
4164
	wave11111.Anchored = true
4165
	wave11111.Name = "Wave"
4166
	wave11111.CanCollide = false
4167
	wave11111.Locked = true
4168
	wave11111.Size = Vector3.new(1, 1, 1)
4169
	wave11111.TopSurface = "Smooth"
4170
	wave11111.BottomSurface = "Smooth"
4171
	wave11111.Transparency = 0.35
4172
	wave11111.CFrame = HandCF
4173
	wm31111 = Instance.new("SpecialMesh", wave11111)
4174
	wm31111.MeshId = "rbxassetid://3270017"
4175
	
4176
	coroutine.wrap(function()
4177
	for i = 1, 30, 1 do
4178
	wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
4179
	wave11111.Size = wm31111.Scale
4180
	wave11111.CFrame = HandCF
4181
	wave11111.Transparency = i/30
4182
	wait()
4183
	end
4184
	wait()
4185
	wave11111:Destroy()
4186
	end)()
4187
		for i = 1,10 do
4188
			wait()
4189
			aay1.Scale = aay1.Scale - v3(2,2,2)
4190
		end
4191
		local HandCF = ay1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
4192
	Colors = {"White", "White"}
4193
	local wave11111 = Instance.new("Part", char)
4194
	wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
4195
	wave11111.Anchored = true
4196
	wave11111.Name = "Wave"
4197
	wave11111.CanCollide = false
4198
	wave11111.Locked = true
4199
	wave11111.Size = Vector3.new(1, 1, 1)
4200
	wave11111.TopSurface = "Smooth"
4201
	wave11111.BottomSurface = "Smooth"
4202
	wave11111.Transparency = 0.35
4203
	wave11111.CFrame = HandCF
4204
	wm31111 = Instance.new("SpecialMesh", wave11111)
4205
	wm31111.MeshId = "rbxassetid://3270017"
4206
	coroutine.wrap(function()
4207
	for i = 1, 30, 1 do
4208
	wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
4209
	wave11111.Size = wm31111.Scale
4210
	wave11111.CFrame = HandCF
4211
	wave11111.Transparency = i/30
4212
	wait()
4213
	end
4214
	wait()
4215
	wave11111:Destroy()
4216
	end)()
4217
end
4218
ay1:Destroy()
4219
		end)()
4220
	coroutine.wrap(function()
4221
		wait(0.5)
4222
		for i= 1,32 do
4223
		wait(0.1)
4224
		kiblastsound:Play()
4225
		kamehit:Play()
4226
		
4227
		end
4228
	end)()
4229
	
4230
		for i = 1,20 do
4231
			wait()
4232
	kiblast1 = true
4233
	wait()
4234
	kiblast1 = false
4235
	kiblast2 = true
4236
		
4237
		ay = new("Part",char)
4238
ay.Name = "NewPart"
4239
ay.Size = v3(1,1,1)
4240
ay.CanCollide = false
4241
ay.BrickColor = bc("Cyan")
4242
ay.Material = "Neon"
4243
ay.Transparency = 0
4244
aay = new("SpecialMesh",ay)
4245
aay.MeshType = "Sphere"
4246
aay.Scale = v3(2,2,2)
4247
ay.Position = v3(999,999,999)
4248
ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3
4249
	ys = Instance.new("BodyVelocity",ay)
4250
4251
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
4252
4253
ys.Velocity = RootPart.CFrame.lookVector * 80
4254
ay.Touched:connect(function(hit)
4255
	if hit ~= ay then
4256
		
4257
		
4258
	
4259
	
4260
	
4261
4262
	
4263
	
4264
	
4265
	end
4266
	if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then
4267
		
4268
		for i,v in pairs(hit.Parent:GetChildren()) do
4269
			
4270
		
4271
			if v:IsA("Humanoid") then
4272
					v.Health = v.Health -  0.4
4273
					if v.Health > 100 then
4274
						v.Health = 100
4275
						v.MaxHealth = 100
4276
					end
4277
			end
4278
			end
4279
	end
4280
	
4281
end)
4282
4283
game.Debris:AddItem(ay,3)
4284
	wait()
4285
	kiblast2= false	
4286
	
4287
	
4288
		
4289
4290
		
4291
	kiblast3 = true
4292
	wait()
4293
	kiblast3 = false
4294
	kiblast4 = true
4295
		
4296
		ay = new("Part",char)
4297
ay.Name = "NewPart"
4298
ay.Size = v3(1,1,1)
4299
ay.CanCollide = false
4300
ay.BrickColor = bc("Cyan")
4301
ay.Material = "Neon"
4302
ay.Transparency = 0
4303
aay = new("SpecialMesh",ay)
4304
aay.MeshType = "Sphere"
4305
aay.Scale = v3(2,2,2)
4306
ay.Position = v3(999,999,999)
4307
ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3
4308
	ys = Instance.new("BodyVelocity",ay)
4309
4310
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
4311
4312
ys.Velocity = RootPart.CFrame.lookVector * 80
4313
ay.Touched:connect(function(hit)
4314
	if hit ~= ay then
4315
		
4316
		
4317
	
4318
	
4319
	
4320
4321
	
4322
	
4323
	end
4324
	if hit.Parent:FindFirstChild("Head") ~= nil and hit.Parent:FindFirstChild("NewPart") == nil then
4325
	
4326
	
4327
		for i,v in pairs(hit.Parent:GetChildren()) do
4328
			
4329
		
4330
	
4331
			if v:IsA("Humanoid") then
4332
					v.Health = v.Health - 0.4
4333
					if v.Health > 100 then
4334
						v.Health = 100
4335
						v.MaxHealth = 100
4336
					end
4337
			end
4338
			end
4339
	end
4340
	
4341
end)
4342
4343
game.Debris:AddItem(ay,3)
4344
	wait()
4345
	kiblast4= false	
4346
		end
4347
4348
4349
	
4350
	
4351
wait(2)
4352
		idle = true
4353
		walk = true
4354
		canjump = true
4355
		canattack = true
4356
	
4357
hit.Parent:findFirstChild("Head").Anchored = false
4358
		idle = true
4359
		go11 = 2.3
4360
		walk = true
4361
		up = 0
4362
		canjump = true
4363
		canattack = true
4364
		RootPart.Anchored = false
4365
	end
4366
4367
end)
4368
end
4369
	end
4370
		end)
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
mouse.KeyDown:connect(function(key)
4386
if key == "y" then
4387
	if fuse == false then
4388
	if ssj1 == false and ssj2 == false and ssj3 == false then
4389
	if canattack == true then
4390
	canattack = false
4391
	if canfly == true then
4392
	canfly = false
4393
	canfly1 = true
4394
	end
4395
	newaura.Position = UDim2.new(-0.475,0,-0.25,0)
4396
RootPart.Anchored = true
4397
	newaurabase.Size = UDim2.new(15,0,25,0)
4398
newaurabase.AlwaysOnTop = false
4399
newaura.ImageColor3 = Color3.fromRGB(255, 255, 255)
4400
newaurabase.ExtentsOffset = Vector3.new(0,0,-2)
4401
	idle = false
4402
	ssjb = true
4403
	ssj1 = false
4404
	ssj2= false
4405
	ssj3 = false
4406
	walk = false
4407
	canjump = false
4408
	
4409
	ssjbmusic:Play()
4410
	g1q = Instance.new("Part",char)
4411
	g1q.Name = "Smoke"
4412
	g1q.CanCollide = false
4413
	g1q.Position = RootPart.Position - v3(-8,3,0)
4414
	g1q.Size = v3(0.1,0.1,0.1)
4415
	g1q.Anchored = true
4416
	g1a = Instance.new("Part",char)
4417
	g1a.Name = "Smoke"
4418
	g1a.CanCollide = false
4419
	g1a.Position = RootPart.Position + v3(8,80,0)
4420
	g1a.Size = v3(0.1,0.1,0.1)
4421
	g1a.Anchored = true
4422
	g1q1 = Instance.new("Part",char)
4423
	g1q1.Name = "Smoke"
4424
	g1q1.CanCollide = false
4425
	g1q1.Position = RootPart.Position - v3(-5,3,7)
4426
	g1q1.Size = v3(0.1,0.1,0.1)
4427
	g1q1.Anchored = true
4428
	g1a1 = Instance.new("Part",char)
4429
	g1a1.Name = "Smoke"
4430
	g1a1.CanCollide = false
4431
	g1a1.Position = RootPart.Position + v3(5,80,-7)
4432
	g1a1.Size = v3(0.1,0.1,0.1)
4433
	g1a1.Anchored = true
4434
	g1q2 = Instance.new("Part",char)
4435
	g1q2.Name = "Smoke"
4436
	g1q2.CanCollide = false
4437
	g1q2.Position = RootPart.Position - v3(12,3,-6)
4438
	g1q2.Size = v3(0.1,0.1,0.1)
4439
	g1q2.Anchored = true
4440
	g1a2 = Instance.new("Part",char)
4441
	g1a2.Name = "Smoke"
4442
	g1a2.CanCollide = false
4443
	g1a2.Position = RootPart.Position + v3(-12,80,6)
4444
	g1a2.Size = v3(0.1,0.1,0.1)
4445
	g1a2.Anchored = true
4446
	------------------------------------------------
4447
	transform1 = true
4448
	
4449
	wait(0.8)
4450
	if potara == false then
4451
	Hair7.Color = Color3.fromRGB(21,221,239)
4452
	Mesh.MeshId = "rbxassetid://430344159"
4453
	Mesh.Scale = v3(6.3,6.3,6.3)
4454
	char.Head.face.Texture= "rbxassetid://959519291"
4455
	Weld.C0 = CFrame.new(-.25,1.2,.34)
4456
	else
4457
		char.Head.face.Texture= "rbxassetid://959519291"
4458
		Hair7.Color = Color3.fromRGB(21,221,239)
4459
		Mesh.MeshId = "rbxassetid://560152258"
4460
	Mesh.Scale = Vector3.new(6.9,6.9,6.9)
4461
	Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0)
4462
	end
4463
	a21e = new("Part",char)
4464
a21e.Name = "Beam"..num
4465
a21e.Locked = true
4466
a21e.Size = v3(1,1,1)
4467
a21e.CanCollide = false
4468
a21e.Position = v3(999,999,999)
4469
a21e.BrickColor = bc("Cyan")
4470
a21e.Material = "Neon"
4471
a21e.Transparency = 0
4472
aa21e = new("SpecialMesh",a21e)
4473
a21e.Anchored = true
4474
a21e.Position = RootPart.Position
4475
aa21e.MeshType = "Sphere"
4476
aa21e.Scale = v3(1,1,1)
4477
	
4478
	transform1 = false
4479
	transform2 = true
4480
	ssjbauraburst:Play()
4481
	GroundWave5()
4482
	GroundWave6()
4483
	GroundWave7()
4484
	GroundWave8()
4485
	GroundWave9()
4486
	GroundWave10()
4487
	ad.Position = RootPart.Position - v3(0,3,0)
4488
	aad.Transparency = 0
4489
	
4490
	
4491
	
4492
	newaura.ImageTransparency = 0
4493
	ssjbaura:Play()
4494
	for i = 1,50 do
4495
	wait()
4496
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4497
	a21e.Transparency = a21e.Transparency + 0.02
4498
	end
4499
	wait(0.1)
4500
	wait(1.4)
4501
	transform2 = false
4502
	
4503
	
4504
	
4505
	
4506
	-------------------------------------------------
4507
	canattack = true
4508
RootPart.Anchored = false
4509
	if canfly1 == true then
4510
	
4511
	idle = true
4512
	walk = true
4513
	canjump = true
4514
	end
4515
	if canfly1 == true then
4516
	canfly = true
4517
	end
4518
	for i = 1,20 do
4519
	wait()
4520
	aad.Transparency = aad.Transparency + 0.05
4521
	end
4522
	end
4523
	end
4524
	end
4525
	end
4526
	end)
4527
4528
4529
4530
mouse.KeyDown:connect(function(key)
4531
if key == "k" then
4532
	if potara == false then
4533
	if ssjb == true then
4534
	if canattack == true then
4535
	canattack = false
4536
	if canfly == true then
4537
	canfly = false
4538
	canfly1 = true
4539
	end
4540
4541
	
4542
	idle = false
4543
	ssjb = true
4544
	ssjbkaio = true
4545
	ssj1 = false
4546
	ssj2= false
4547
	ssj3 = false
4548
	walk = false
4549
	canjump = false
4550
	
4551
	ssjbmusic:Play()
4552
	
4553
	------------------------------------------------
4554
	transform3 = true
4555
	
4556
	wait(0.8)
4557
	Hair7.Color = Color3.fromRGB(21,221,239)
4558
	Mesh.MeshId = "rbxassetid://430344159"
4559
	Mesh.Scale = v3(6.3,6.3,6.3)
4560
	char.Head.face.Texture= "rbxassetid://959519291"
4561
	Weld.C0 = CFrame.new(-.25,1.2,.34)
4562
	
4563
	a21e = new("Part",char)
4564
a21e.Name = "Beam"..num
4565
a21e.Locked = true
4566
a21e.Size = v3(1,1,1)
4567
a21e.CanCollide = false
4568
a21e.Position = v3(999,999,999)
4569
a21e.BrickColor = bc("Cyan")
4570
a21e.Material = "Neon"
4571
a21e.Transparency = 1
4572
aa21e = new("SpecialMesh",a21e)
4573
a21e.Anchored = true
4574
a21e.Position = RootPart.Position
4575
aa21e.MeshType = "Sphere"
4576
aa21e.Scale = v3(1,1,1)
4577
	
4578
	
4579
	
4580
	
4581
	
4582
	smokey = Instance.new("Smoke",RootPart)
4583
	smokey.Color = Color3.new(255,0,0)
4584
	smokey.Opacity = 1
4585
	smokey.Size = 2
4586
	ssjbkaioken.TimePosition = 1.5
4587
	ssjbkaioken:Play()
4588
	wait(0.2)
4589
	coroutine.wrap(function()
4590
		repeat
4591
			wait()
4592
		newaurabase.Size = UDim2.new(math.random(15,17),0,math.random(25,30),0)
4593
		until newaura.ImageTransparency == 1
4594
		
4595
		
4596
		
4597
	end)()
4598
	rock = true
4599
	redlight = Instance.new("PointLight",LowerTorso)
4600
	redlight.Color = Color3.new(255,0,0)
4601
	redlight.Brightness = math.huge
4602
	mouth.Texture = "rbxassetid://828773176"
4603
	GroundShake = true
4604
          RootPart.Anchored = true
4605
         
4606
	wait(10)
4607
	
4608
	wait(7)
4609
	rock2 = true
4610
	rock = false
4611
smokey:Destroy()
4612
ssjbaura:Stop()
4613
ssjbmusic:Stop()
4614
	transform3 = false
4615
	transform2 = false
4616
	transform5 = true
4617
	redlight:Destroy()
4618
	
4619
	mouth.Texture = "rbxassetid://932140764"
4620
newaura.ImageTransparency = 1
4621
	GroundShake = false
4622
	
4623
	a21e.Transparency = 0
4624
	for i = 1,50 do
4625
	wait()
4626
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4627
	a21e.Transparency = a21e.Transparency + 0.02
4628
	end
4629
	aa21e.Scale = v3(1,1,1)
4630
	a21e.Transparency = 1
4631
	wait(1)
4632
	chatfunc("Kaioken!")
4633
	mouth.Texture = "rbxassetid://828773176"
4634
	wait(0.3)
4635
	mouth.Texture = "rbxassetid://932140764"
4636
	wait(0.3)
4637
	mouth.Texture = "rbxassetid://828773176"
4638
	wait(0.3)
4639
	mouth.Texture = "rbxassetid://932140764"
4640
	wait(0.3)
4641
	mouth.Texture = "rbxassetid://828773176"
4642
	wait(0.3)
4643
	mouth.Texture = "rbxassetid://932140764"
4644
	wait(0.3)
4645
          GroundShake2 = true
4646
	transform5 = false
4647
	transform3 = false
4648
	transform2 = true
4649
	ssjbauraburst:Play()
4650
	GroundWave5()
4651
	GroundWave6()
4652
	GroundWave7()
4653
	GroundWave8()
4654
	GroundWave9()
4655
	GroundWave10()
4656
	ad.Position = RootPart.Position - v3(0,3,0)
4657
	aad.Transparency = 0
4658
	newaura2.ImageTransparency = 0
4659
	wait(0.1)
4660
	
4661
	
4662
	newaura.ImageTransparency = 0
4663
	ssjbaura:Stop()
4664
	ssjbkaura:Play()
4665
	a21e.Transparency = 0
4666
	for i = 1,50 do
4667
	wait()
4668
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4669
	a21e.Transparency = a21e.Transparency + 0.02
4670
	end
4671
          GroundShake2 = false
4672
for i,v in pairs(workspace:GetChildren()) do
4673
		if v:IsA("Part") then
4674
			if v.Size.x > 150 then
4675
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
4676
			end
4677
		end
4678
	end
4679
	wait(0.1)
4680
	wait(1.4)
4681
	chatfunc("This Is My Trump Card")
4682
	rock2 = false
4683
	transform2 = false
4684
	
4685
	
4686
	
4687
	
4688
	-------------------------------------------------
4689
	canattack = true
4690
RootPart.Anchored = false
4691
	if canfly1 == true then
4692
	
4693
	idle = true
4694
	walk = true
4695
	canjump = true
4696
	end
4697
	if canfly1 == true then
4698
	canfly = true
4699
	end
4700
	for i = 1,20 do
4701
	wait()
4702
	aad.Transparency = aad.Transparency + 0.05
4703
	end
4704
	end
4705
	end
4706
	end
4707
	end
4708
	end)
4709
4710
4711
4712
mouse.KeyDown:connect(function(key)
4713
if key == "k" then
4714
	if ssjbkaio == true then
4715
	if canattack == true then
4716
	canattack = false
4717
	if canfly == true then
4718
	canfly = false
4719
	canfly1 = true
4720
	end
4721
4722
	RootPart.Anchored = true
4723
	idle = false
4724
	ssjb = true
4725
	ssjbkaio = false
4726
	ssjbkaiox10 = true
4727
	ssj1 = false
4728
	ssj2= false
4729
	ssj3 = false
4730
	walk = false
4731
	canjump = false
4732
	
4733
	ssjbmusic:Play()
4734
	
4735
	------------------------------------------------
4736
	transform3 = true
4737
	
4738
	wait(0.8)
4739
	
4740
	
4741
	a21e = new("Part",char)
4742
a21e.Name = "Beam"..num
4743
a21e.Locked = true
4744
a21e.Size = v3(1,1,1)
4745
a21e.CanCollide = false
4746
a21e.Position = v3(999,999,999)
4747
a21e.BrickColor = bc("Cyan")
4748
a21e.Material = "Neon"
4749
a21e.Transparency = 1
4750
aa21e = new("SpecialMesh",a21e)
4751
a21e.Anchored = true
4752
a21e.Position = RootPart.Position
4753
aa21e.MeshType = "Sphere"
4754
aa21e.Scale = v3(1,1,1)
4755
	
4756
	
4757
	
4758
	
4759
	
4760
	
4761
	ssjbkaioken1:Play()
4762
	coroutine.wrap(function()
4763
		repeat
4764
			wait()
4765
		newaurabase2.Size = UDim2.new(math.random(30,35),0,math.random(60,75),0)
4766
		until Hair7.Color == Color3.fromRGB(210, 211, 223)
4767
		
4768
		
4769
		
4770
	end)()
4771
	rock = true
4772
	redlight = Instance.new("PointLight",LowerTorso)
4773
	redlight.Color = Color3.new(255,0,0)
4774
	redlight.Brightness = math.huge
4775
	GroundShake = true
4776
         
4777
	mouth.Texture = "rbxassetid://828773176"
4778
	wait(9)
4779
	GroundWave5()
4780
	GroundWave6()
4781
	GroundWave7()
4782
	GroundWave8()
4783
	GroundWave9()
4784
	GroundWave10()
4785
	ad = new("Part",char)
4786
ad.Name = "NewPart"
4787
ad.Size = v3(30,0.1,30)	
4788
ad.CanCollide = false
4789
ad.Anchored = true
4790
ad.Position = RootPart.Position - v3(0,2,0)
4791
ad.BrickColor = bc("bright Blue")
4792
ad.Material = "Neon"
4793
ad.Transparency = 1
4794
aad = new("Decal",ad)
4795
4796
aad.Face = "Top"
4797
aad.Transparency = 1
4798
		aad.Transparency = 0
4799
		aad.Texture = "http://www.roblox.com/asset/?id=108186785"
4800
	wait(11)
4801
	
4802
	redlight:Destroy()
4803
	
4804
	chatfunc("Times 10!")
4805
	mouth.Texture = "rbxassetid://828773176"
4806
	wait(0.3)
4807
	mouth.Texture = "rbxassetid://932140764"
4808
	wait(0.3)
4809
	mouth.Texture = "rbxassetid://828773176"
4810
	wait(0.3)
4811
	mouth.Texture = "rbxassetid://932140764"
4812
	wait(0.2)
4813
	mouth.Texture = "rbxassetid://828773176"
4814
	wait(0.2)
4815
	mouth.Texture = "rbxassetid://932140764"
4816
	wait(0.2)
4817
	mouth.Texture = "rbxassetid://828773176"
4818
	wait(1.4)
4819
	rock3 = true
4820
	rock = false
4821
	GroundShake2 = true 
4822
	
4823
	ssjbauraburst:Play()
4824
	GroundWave5()
4825
	GroundWave6()
4826
	GroundWave7()
4827
	GroundWave8()
4828
	GroundWave9()
4829
	GroundWave10()
4830
	
4831
	aad.Transparency = 0
4832
	newaura2.ImageTransparency = 0
4833
	
4834
	p1.Transparency = 0.5
4835
	p2.Transparency = 0.5
4836
	p3.Transparency = 0.5
4837
	p4.Transparency = 0.5
4838
	p5.Transparency = 0.5
4839
	p6.Transparency = 0.5
4840
	p7.Transparency = 0.5
4841
	p8.Transparency = 0.5
4842
	p9.Transparency = 0.5
4843
	p10.Transparency = 0.5
4844
	p11.Transparency = 0.5
4845
	p12.Transparency = 0.5
4846
	p13.Transparency = 0.5
4847
	p14.Transparency = 0.5
4848
	p15.Transparency = 0.5
4849
	newaura.ImageTransparency = 0
4850
	ssjbaura:Stop()
4851
	ssjbkaura:Play()
4852
	a21e.Transparency = 0
4853
	Hair7.Color = Color3.fromRGB(210, 211, 223)
4854
	
4855
	Mesh.MeshId = "rbxassetid://430344159"
4856
	Mesh.Scale = v3(6.3,6.3,6.3)
4857
	char.Head.face.Texture= "http://www.roblox.com/asset/?id=975967879"
4858
	Weld.C0 = CFrame.new(-.25,1.2,.34)
4859
	for i = 1,50 do
4860
	wait()
4861
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4862
	a21e.Transparency = a21e.Transparency + 0.02
4863
	end
4864
	ssjbkaioken1:Stop()
4865
	mouth.Texture = "rbxassetid://932140764"
4866
	wait()
4867
	GroundShake = false
4868
	wait()
4869
	
4870
	wait()
4871
          GroundShake2 = false
4872
for i,v in pairs(workspace:GetChildren()) do
4873
		if v:IsA("Part") then
4874
			if v.Size.x > 150 then
4875
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
4876
			end
4877
		end
4878
	end
4879
          wait(2)
4880
	
4881
	
4882
	
4883
	
4884
	rock3 = false
4885
	-------------------------------------------------
4886
	transform3 = false
4887
	chatfunc("I Can't Maintain This Form For Long")
4888
	canattack = true
4889
RootPart.Anchored = false
4890
	if canfly1 == true then
4891
	
4892
	idle = true
4893
	walk = true
4894
	canjump = true
4895
	end
4896
	if canfly1 == true then
4897
	canfly = true
4898
	end
4899
	for i = 1,20 do
4900
	wait()
4901
	aad.Transparency = aad.Transparency + 0.05
4902
	end
4903
	end
4904
	end
4905
	end
4906
	end)
4907
4908
4909
4910
4911
mouse.KeyDown:connect(function(key)
4912
if key == "u" then
4913
	if fuse == false or potara == false then
4914
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false then
4915
	if canattack == true then
4916
	canattack = false
4917
	if canfly == true then
4918
	canfly = false
4919
	canfly1 = true
4920
	end
4921
	newaura.Position = UDim2.new(-0.57,0,-0.28,0)
4922
	newaurabase.Size = UDim2.new(10,0,20,0)
4923
newaurabase.AlwaysOnTop = false
4924
newaurabase.ExtentsOffset = v3(0,0,-2)
4925
RootPart.Anchored = true
4926
	
4927
	idle = false
4928
	ssjb = false
4929
	ssjg = true
4930
	ssj1 = false
4931
	ssj2= false
4932
	ssj3 = false
4933
	walk = false
4934
	canjump = false
4935
	
4936
	ssjgmusic:Play()
4937
	
4938
	------------------------------------------------
4939
	transform1 = true
4940
	
4941
	wait(0.8)
4942
	Hair7.Color = Color3.fromRGB(255,16,88)
4943
	GroundShake = true
4944
	char.Head.face.Texture= "rbxassetid://900680867"
4945
	
4946
	
4947
	a21e = new("Part",char)
4948
a21e.Name = "Beam"..num
4949
a21e.Locked = true
4950
a21e.Size = v3(1,1,1)
4951
a21e.CanCollide = false
4952
a21e.Position = v3(999,999,999)
4953
a21e.BrickColor = bc("Really red")
4954
a21e.Material = "Neon"
4955
a21e.Transparency = 0
4956
aa21e = new("SpecialMesh",a21e)
4957
a21e.Anchored = true
4958
a21e.Position = RootPart.Position
4959
aa21e.MeshType = "Sphere"
4960
aa21e.Scale = v3(1,1,1)
4961
	
4962
	transform1 = false
4963
	transform2 = true
4964
	ssjbauraburst:Play()
4965
	GroundWave5()
4966
	GroundWave6()
4967
	GroundWave7()
4968
	GroundWave8()
4969
	GroundWave9()
4970
	GroundWave10()
4971
	ad.Position = RootPart.Position - v3(0,3,0)
4972
	aad.Transparency = 0
4973
	
4974
	
4975
	
4976
	newaura.ImageTransparency = 0
4977
	ssjgaura:Play()
4978
	for i = 1,50 do
4979
	wait()
4980
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
4981
	a21e.Transparency = a21e.Transparency + 0.02
4982
	end
4983
	GroundShake = false
4984
	for i,v in pairs(workspace:GetChildren()) do
4985
		if v:IsA("Part") then
4986
			if v.Size.x > 150 then
4987
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
4988
			end
4989
		end
4990
	end
4991
	wait(0.1)
4992
	wait(1.4)
4993
	transform2 = false
4994
	
4995
	
4996
	
4997
	
4998
	-------------------------------------------------
4999
	canattack = true
5000
RootPart.Anchored = false
5001
	if canfly1 == true then
5002
	
5003
	idle = true
5004
	walk = true
5005
	canjump = true
5006
	end
5007
	if canfly1 == true then
5008
	canfly = true
5009
	end
5010
	for i = 1,20 do
5011
	wait()
5012
	aad.Transparency = aad.Transparency + 0.05
5013
	end
5014
	end
5015
	end
5016
	end
5017
	end
5018
	end)
5019
5020
mouse.KeyDown:connect(function(key)
5021
if key == "l" then
5022
	if fuse == false and potara == false then
5023
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
5024
	if great == false then
5025
	if canattack == true then
5026
	canattack = false
5027
	if canfly == true then
5028
	canfly = false
5029
	canfly1 = true
5030
	end
5031
	
5032
5033
		transform3 = true
5034
	idle = false
5035
	ssjb = false
5036
	ssjg = true
5037
	ssj1 = false
5038
	ssj2= false
5039
	ssj3 = false
5040
	walk = false
5041
	ssjg = false
5042
	great = true
5043
	canjump = false
5044
	
5045
	
5046
	ape = Instance.new("Part",char)
5047
	ape.Transparency = 1
5048
	weldape = Instance.new("Weld",ape)
5049
	weldape.Part0 = Head
5050
	weldape.Part1 = ape
5051
	weldape.C0 = CFrame.new(0,5,-9)*CFrame.Angles(0,math.rad(180),0)
5052
	meshape = Instance.new("SpecialMesh",ape)
5053
	meshape.MeshId = "rbxassetid://553201144"
5054
	meshape.Scale = v3(0.04,0.04,0.04)
5055
	
5056
Ape1:Play()
5057
wait(2)
5058
5059
Ape2:Play()
5060
5061
wait(3)
5062
Ape3:Play()
5063
wait(10)
5064
headcolor = Head.BrickColor
5065
wait(0.1)
5066
Head.BrickColor = bc("New Yeller")
5067
Hair7.Transparency = 1
5068
p1.Transparency = 0
5069
	p2.Transparency = 0
5070
	p3.Transparency = 0
5071
	p4.Transparency = 0
5072
	p5.Transparency = 0
5073
	p6.Transparency = 0
5074
	p7.Transparency = 0
5075
	p8.Transparency =0
5076
	p9.Transparency = 0
5077
	p10.Transparency = 0
5078
	p11.Transparency = 0
5079
	p12.Transparency = 0
5080
	p13.Transparency =0
5081
	p14.Transparency = 0
5082
	
5083
	p1.BrickColor = bc("New Yeller")
5084
	p2.BrickColor = bc("New Yeller")
5085
	p3.BrickColor = bc("New Yeller")
5086
	p4.BrickColor = bc("New Yeller")
5087
	p5.BrickColor = bc("New Yeller")
5088
	p6.BrickColor = bc("Cool yellow")
5089
	p7.BrickColor = bc("Cool yellow")
5090
	p8.BrickColor = bc("Cool yellow")
5091
	p9.BrickColor = bc("Cool yellow")
5092
	p10.BrickColor = bc("New Yeller")
5093
	p11.BrickColor = bc("New Yeller")
5094
	p12.BrickColor = bc("New Yeller")
5095
	p13.BrickColor = bc("New Yeller")
5096
	p14.BrickColor = bc("New Yeller")
5097
5098
transform3 = false
5099
transform4 = true
5100
	for i = 1,10 do
5101
		wait()
5102
		hum.BodyDepthScale.Value = hum.BodyDepthScale.Value + 2
5103
hum.BodyHeightScale.Value = hum.BodyHeightScale.Value + 2
5104
hum.BodyWidthScale.Value = hum.BodyWidthScale.Value + 2
5105
hum.HeadScale.Value = hum.HeadScale.Value + 2
5106
	end
5107
	lboob = Instance.new("Part",char)
5108
lboobmesh = Instance.new("SpecialMesh",lboob)
5109
lboobweld = Instance.new("Weld",lboob)
5110
lboobweld.Part0 = UpperTorso
5111
lboobweld.Part1 = lboob
5112
lboobweld.C0 = CFrame.new(0.4,7,-5)
5113
lboobmesh.MeshType = "Sphere"
5114
lboobmesh.Scale = Vector3.new(0.2*50,0.4*50,0.2*50)
5115
rboob = Instance.new("Part",char)
5116
rboobmesh = Instance.new("SpecialMesh",rboob)
5117
rboobweld = Instance.new("Weld",rboob)
5118
rboobweld.Part0 = char.UpperTorso
5119
rboobweld.Part1 = rboob
5120
rboobweld.C0 = CFrame.new(-0.4,7,-5)
5121
rboobmesh.MeshType = "Sphere"
5122
rboobmesh.Scale = Vector3.new(0.2*50,0.4*50,0.2*50)
5123
rlboob = Instance.new("Part",char)
5124
rlboobmesh = Instance.new("SpecialMesh",rlboob)
5125
rlboobweld = Instance.new("Weld",rlboob)
5126
rlboobweld.Part0 = char.UpperTorso
5127
rlboobweld.Part1 = rlboob
5128
rlboobweld.C0 = CFrame.new(0,-1,-2)
5129
rlboobmesh.MeshType = "Sphere"
5130
rlboobmesh.Scale = Vector3.new(0.2*50,1*50,0.2*50)
5131
lboob.BrickColor = bc("New Yeller")
5132
rboob.BrickColor = bc("New Yeller")
5133
rlboob.BrickColor = bc("New Yeller")
5134
	ape.Transparency = 0
5135
	ape.BrickColor = bc("New Yeller")
5136
	p15.BrickColor = bc("Really black")
5137
	p15.Transparency =0
5138
	a21e = new("Part",char)
5139
a21e.Name = "Beam"..num
5140
a21e.Locked = true
5141
a21e.Size = v3(1,1,1)
5142
a21e.CanCollide = false
5143
a21e.Position = v3(999,999,999)
5144
a21e.BrickColor = bc("Really red")
5145
a21e.Material = "Neon"
5146
a21e.Transparency = 0
5147
aa21e = new("SpecialMesh",a21e)
5148
a21e.Anchored = true
5149
a21e.Position = RootPart.Position
5150
aa21e.MeshType = "Sphere"
5151
aa21e.Scale = v3(50,50,50)
5152
	
5153
	
5154
	ApeGrowl:Play()
5155
	GroundWave5()
5156
	GroundWave6()
5157
	GroundWave7()
5158
	GroundWave8()
5159
	GroundWave9()
5160
	GroundWave10()
5161
	
5162
	
5163
	
5164
	
5165
	
5166
	for i = 1,50 do
5167
	wait()
5168
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
5169
	a21e.Transparency = a21e.Transparency + 0.02
5170
	end
5171
	
5172
	for i,v in pairs(workspace:GetChildren()) do
5173
		if v:IsA("Part") then
5174
			if v.Size.x > 150 then
5175
				v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0))
5176
			end
5177
		end
5178
	end
5179
	wait(0.1)
5180
	wait(1.4)
5181
	transform4 = false
5182
	for i = 1,20 do
5183
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
5184
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
5185
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
5186
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
5187
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
5188
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5189
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
5190
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5191
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
5192
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
5193
end
5194
	
5195
	
5196
	
5197
	-------------------------------------------------
5198
	
5199
5200
	if canfly1 == true then
5201
	
5202
	
5203
	walk = true
5204
	
5205
	end
5206
	if canfly1 == true then
5207
	canfly = true
5208
	end
5209
	for i = 1,20 do
5210
	wait()
5211
	aad.Transparency = aad.Transparency + 0.05
5212
	end
5213
	end
5214
	else
5215
		ape:Destroy()
5216
		
5217
p15.BrickColor = bc("New Yeller")
5218
		Head.BrickColor = bc("New Yeller")
5219
	
5220
transform5 = true
5221
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=258281249"
5222
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=258281716"
5223
5224
--504772831
5225
Head.BrickColor = headcolor
5226
lboob:Destroy()
5227
		rboob:Destroy()
5228
		rlboob:Destroy()
5229
		a21e = new("Part",char)
5230
a21e.Name = "Beam"..num
5231
a21e.Locked = true
5232
a21e.Size = v3(1,1,1)
5233
a21e.CanCollide = false
5234
a21e.Position = v3(999,999,999)
5235
a21e.BrickColor = bc("New Yeller")
5236
a21e.Material = "Neon"
5237
a21e.Transparency = 0
5238
aa21e = new("SpecialMesh",a21e)
5239
a21e.Anchored = true
5240
a21e.Position = RootPart.Position
5241
aa21e.MeshType = "Sphere"
5242
aa21e.Scale = v3(200,200,200)
5243
5244
	
5245
	
5246
	
5247
		for i = 1,100 do
5248
		wait()
5249
		hum.BodyDepthScale.Value = hum.BodyDepthScale.Value - .2
5250
hum.BodyHeightScale.Value = hum.BodyHeightScale.Value - .2
5251
hum.BodyWidthScale.Value = hum.BodyWidthScale.Value - .2
5252
hum.HeadScale.Value = hum.HeadScale.Value - .2
5253
aa21e.Scale = aa21e.Scale + v3(1,1,1)
5254
	
5255
		end
5256
	wait(0.5)
5257
		mouth.Transparency = 1
5258
nose.Transparency = 1
5259
Hair7.Color = Color3.fromRGB(0,0,0)
5260
	Mesh.MeshId = "http://www.roblox.com/asset/?id=504772831"
5261
Mesh.Scale = Vector3.new(0.23,0.23,0.23)
5262
Weld.C0 = CFrame.new(0.25, 0.4, 0.5)*CFrame.Angles(0,math.rad(180),0)
5263
	char.Head.face.Texture= "http://www.roblox.com/asset/?id=869609457"
5264
Hair7.Transparency = 0
5265
		
5266
		p1.Transparency = 1
5267
	p2.Transparency = 1
5268
	p3.Transparency = 1
5269
	p4.Transparency = 1
5270
	p5.Transparency = 1
5271
	p6.Transparency = 1
5272
	p7.Transparency = 1
5273
	p8.Transparency =1
5274
	p9.Transparency = 1
5275
	p10.Transparency = 1
5276
	p11.Transparency = 1
5277
	p12.Transparency = 1
5278
	p13.Transparency =1
5279
	p14.Transparency = 1
5280
	p15.Transparency = 1
5281
	great = false
5282
	ape5 = Instance.new("Part",char)
5283
	ape5.Transparency = 0
5284
	weldape5 = Instance.new("Weld",ape5)
5285
	weldape5.Part0 = LowerTorso
5286
	weldape5.Part1 = ape5
5287
	ape5.BrickColor = bc("Crimson")
5288
	weldape5.C0 = CFrame.new(0.4,1,2)*CFrame.Angles(0,math.rad(90),math.rad(0))
5289
	meshape5 = Instance.new("SpecialMesh",ape5)
5290
	meshape5.MeshId = "rbxassetid://547956749"
5291
	meshape5.Scale = v3(0.025,0.025,0.025)
5292
	ssj4 = true
5293
	
5294
		
5295
		wait(0.5)
5296
		
5297
		a21e:Destroy()
5298
		wait()
5299
	
5300
		a21e = new("Part",char)
5301
a21e.Name = "Beam"..num
5302
a21e.Locked = true
5303
a21e.Size = v3(1,1,1)
5304
a21e.CanCollide = false
5305
a21e.Position = v3(999,999,999)
5306
a21e.BrickColor = bc("New Yeller")
5307
a21e.Material = "Neon"
5308
a21e.Transparency = 0
5309
aa21e = new("SpecialMesh",a21e)
5310
a21e.Anchored = true
5311
a21e.Position = RootPart.Position
5312
aa21e.MeshType = "Sphere"
5313
aa21e.Scale = v3(50,50,50)
5314
5315
5316
5317
	
5318
	
5319
	aa21e.Scale = v3(10,10,10)
5320
	a21e.Transparency = 0
5321
	newaura.ImageTransparency = 0
5322
	GroundWave5()
5323
	GroundWave6()
5324
	GroundWave7()
5325
	GroundWave8()
5326
	GroundWave9()
5327
	GroundWave10()
5328
	ssjauraburst:Play()
5329
	ssjaura:Play()
5330
	for i = 1,50 do
5331
	wait()
5332
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
5333
	a21e.Transparency = a21e.Transparency + 0.02
5334
	end
5335
	
5336
	transform5 = false
5337
	idle = true
5338
	canattack = true
5339
	end
5340
	end
5341
	end
5342
	end
5343
	end)
5344
5345
5346
5347
5348
5349
5350
newaurabase = Instance.new("BillboardGui",LowerTorso)
5351
newaurabase.Size = UDim2.new(20,0,20,0)
5352
newaurabase.AlwaysOnTop = false
5353
newaura = Instance.new("ImageLabel",newaurabase)
5354
newaura.BackgroundTransparency = 1
5355
newaurabase.ExtentsOffset = v3(0,0,3)
5356
newaura.ImageTransparency = 1
5357
newaura.ImageColor3 = Color3.fromRGB(255, 227, 10)
5358
newaura.Size = UDim2.new(2,0,1,0)
5359
newaura.Position = UDim2.new(-0.5,0,-0.2,0)
5360
newaurabase2 = Instance.new("BillboardGui",LowerTorso)
5361
newaurabase2.Size = UDim2.new(20,0,40,0)
5362
newaurabase2.ExtentsOffset = v3(0,0,-3)
5363
newaurabase2.AlwaysOnTop = false
5364
newaura2 = Instance.new("ImageLabel",newaurabase2)
5365
newaura2.BackgroundTransparency = 1
5366
newaura2.ImageTransparency = 1
5367
newaura2.ImageColor3 = Color3.fromRGB(255, 0,0)
5368
newaura2.Size = UDim2.new(2,0,1,0)
5369
newaura2.Position = UDim2.new(-0.5,0,-0.4,0)
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
char = game.Players.LocalPlayer.Character
5385
char.Archivable = true
5386
clone1 = char:Clone()
5387
 
5388
clone1["Sound Folder"]:Destroy()
5389
clone1.Name = "Vegeta"
5390
clone1.Parent = char
5391
5392
 LeftUpperArm1 = clone1.LeftUpperArm
5393
 LeftShoulder1 = clone1.LeftUpperArm.LeftShoulder
5394
 LeftLowerArm1 = clone1.LeftLowerArm
5395
 LeftElbow1 = clone1.LeftLowerArm.LeftElbow
5396
--------------------------------------------------------
5397
 LeftUpperLeg1 = clone1.LeftUpperLeg
5398
 LeftHip1 = clone1.LeftUpperLeg.LeftHip
5399
 LeftLowerLeg1 = clone1.LeftLowerLeg
5400
 LeftKnee1 = clone1.LeftLowerLeg.LeftKnee
5401
----------------------------------------------------------
5402
 RightUpperArm1 = clone1.RightUpperArm
5403
 RightShoulder1 = clone1.RightUpperArm.RightShoulder
5404
 RightLowerArm1 = clone1.RightLowerArm
5405
RightElbow1 = clone1.RightLowerArm.RightElbow
5406
----------------------------------------------------------
5407
 RightUpperLeg1 = clone1.RightUpperLeg
5408
 RightHip1 = clone1.RightUpperLeg.RightHip
5409
 RightLowerLeg1 = clone1.RightLowerLeg
5410
 RightKnee1 = clone1.RightLowerLeg.RightKnee
5411
----------------------------------------------------------
5412
 UpperTorso1 = clone1.UpperTorso
5413
 LowerTorso1 = clone1.LowerTorso
5414
 Root1 = clone1.LowerTorso.Root
5415
 RootPart1 = clone1.HumanoidRootPart
5416
 LeftHand1 = clone1.LeftHand
5417
 RightHand1 = clone1.RightHand
5418
 LeftFoot1 = clone1.LeftFoot
5419
RightFoot1 = clone1.RightFoot
5420
--------------------------------------------
5421
Head1 = clone1.Head
5422
 Neck1 = clone1.Head.Neck
5423
5424
5425
RootPart1.CFrame = CFrame.new(999,999,999)
5426
RootPart1.Anchored = true
5427
function RenderStepped3()
5428
	if spiritballenergy == true then
5429
	wait(math.random(0.1,0.5))
5430
		ay = new("Part",char)
5431
ay.Name = "NewPart2"
5432
ay.Size = v3(0.3,0.3,0.3)
5433
ay.CanCollide = false
5434
ay.Material = "Neon"
5435
	
5436
ay.BrickColor = bc("Cyan")
5437
5438
meshk = Instance.new("SpecialMesh",ay)
5439
meshk.MeshType = "Sphere"
5440
		
5441
ay.Position = v3(999,999,999)
5442
ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-12,RootPart.Position.z+math.random(-15,15))
5443
	ys = Instance.new("BodyVelocity",ay)
5444
ys.Name = "GO1"
5445
ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
5446
5447
ys.Velocity = v3(0,6,0)
5448
	game.Debris:AddItem(ay,4)
5449
end
5450
if spirit1 == true then
5451
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1) --LeftUpperArm
5452
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1)--RightUpperArm
5453
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
5454
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5455
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5456
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5457
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5458
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5459
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5460
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5461
end
5462
if spirit2 == true then
5463
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1) --LeftUpperArm
5464
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1)--RightUpperArm
5465
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5466
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5467
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftUpperLeg
5468
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg
5469
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5470
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5471
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--Torso
5472
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5473
end
5474
	if beam1 == true then
5475
	beamgo = beamgo + 2
5476
	beamgo1 = beamgo1 + 4
5477
	
5478
	a1.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo
5479
5480
	aa1.Scale = v3(1,math.random(1,1.2),math.random(1,1.2))
5481
	a3.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo * 2
5482
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjbkaio == false and ssjbkaiox10 == false then
5483
a1.Size = v3(beamgo1,3,3)
5484
aa2.Scale = v3(100,math.random(50,70),math.random(50,70))
5485
aa3.Scale = v3(150,math.random(50,70),math.random(50,70))
5486
5487
	
5488
	end
5489
	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
5490
	a1.Size = v3(beamgo1,3.5,3.5)
5491
	aa2.Scale = v3(110,math.random(60,80),math.random(60,80))
5492
	aa3.Scale = v3(160,math.random(60,80),math.random(60,80))
5493
	end
5494
	if ssj1 == false and ssj2 == true and ssj3 == false and ssjb == false and ssjbkaio == false and ssjbkaiox10 == false then
5495
	a1.Size = v3(beamgo1,4,4)
5496
	aa2.Scale = v3(120,math.random(70,90),math.random(70,90))
5497
	aa3.Scale = v3(170,math.random(70,90),math.random(70,90))
5498
	end
5499
	if ssj3 == true then
5500
	a1.Size = v3(beamgo1,4.5,4.5)
5501
	aa2.Scale = v3(130,math.random(80,100),math.random(80,100))
5502
	aa3.Scale = v3(180,math.random(80,100),math.random(80,100))
5503
	end
5504
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == false and ssjbkaiox10 == false and potara == false then
5505
	a1.Size = v3(beamgo1,5,5)
5506
	aa2.Scale = v3(140,math.random(90,110),math.random(90,110))
5507
	aa3.Scale = v3(190,math.random(90,110),math.random(90,110))
5508
	end
5509
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == true and ssjbkaiox10 == false then
5510
	a1.Size = v3(beamgo1,6,6)
5511
	aa2.Scale = v3(155,math.random(105,125),math.random(105,125))
5512
	aa3.Scale = v3(205,math.random(105,125),math.random(105,125))
5513
	end
5514
	if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == false and ssjbkaiox10 == true then
5515
	a1.Size = v3(beamgo1,15,15)
5516
	aa2.Scale = v3(220,math.random(185,220),math.random(185,220))
5517
	aa3.Scale = v3(280,math.random(185,220),math.random(185,220))
5518
	end
5519
	if ssjg == true then
5520
	a1.Size = v3(beamgo1,6,6)
5521
	aa2.Scale = v3(150,math.random(100,120),math.random(100,120))
5522
	aa3.Scale = v3(200,math.random(100,120),math.random(100,120))
5523
	end
5524
	if ssj4 == true and fuse == true then
5525
		a1.Size = v3(beamgo1,75,75)
5526
	end
5527
	if ssj4 == false and fuse == true then
5528
		a1.Size = v3(beamgo1,50,50)
5529
	
5530
	end
5531
	if potara == true then
5532
		a1.Size = v3(beamgo1,math.random(25,35),math.random(25,35))
5533
	end
5534
	if ssj4 == true and fuse == false then
5535
		a1.Size = v3(beamgo1,4,4)
5536
	aa2.Scale = v3(120,math.random(70,90),math.random(70,90))
5537
	aa3.Scale = v3(170,math.random(70,90),math.random(70,90))
5538
	end
5539
	a2.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) - RootPart.CFrame.lookVector * 1
5540
	end
5541
if final1 == true then
5542
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(-90)),.1) --LeftUpperArm
5543
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(90)),.1)--RightUpperArm
5544
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5545
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5546
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5547
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5548
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5549
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5550
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5551
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5552
end
5553
if final2 == true then
5554
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(30)),.1) --LeftUpperArm
5555
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-30)),.1)--RightUpperArm
5556
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5557
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5558
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5559
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5560
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5561
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5562
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5563
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5564
end
5565
	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
5566
	hum.HipHeight = 1.35
5567
	idle5 = false
5568
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
5569
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
5570
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
5571
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
5572
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
5573
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5574
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
5575
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5576
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
5577
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
5578
end
5579
	if potara1 == true then
5580
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm
5581
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(110),rad(50),rad(0)),.1)--RightUpperArm
5582
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5583
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.1)--RightLowerArm
5584
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5585
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5586
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5587
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5588
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5589
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5590
end
5591
if potara2 == true then
5592
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1) --LeftUpperArm
5593
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperArm
5594
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftLowerArm
5595
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightLowerArm
5596
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1)--LeftUpperLeg
5597
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperLeg
5598
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
5599
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg
5600
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(90),rad(0)),.1)--Torso
5601
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Head
5602
end
5603
if potara3 == true then
5604
	LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(110),rad(-50),rad(0)),.1) --LeftUpperArm
5605
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
5606
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.1)--LeftLowerArm
5607
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5608
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5609
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5610
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5611
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5612
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5613
	Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5614
end
5615
if potara4 == true then
5616
	LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1) --LeftUpperArm
5617
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperArm
5618
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftLowerArm
5619
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightLowerArm
5620
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1)--LeftUpperLeg
5621
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperLeg
5622
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg
5623
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg
5624
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-90),rad(0)),.1)--Torso
5625
	Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Head
5626
end
5627
	if hum.MoveDirection.x == 0 and fuse == true or hum.MoveDirection.x == 0 and potara == true then
5628
		if idle7 == true then
5629
	idle5 = true
5630
	
5631
5632
		else
5633
			idle5 = false
5634
			hum.HipHeight = 1.35
5635
		end
5636
end
5637
	if idle5 == true and idle6 == true then
5638
		idle6 = false
5639
		hum.HipHeight = 2
5640
			idle2 = true
5641
			for i = 1,50 do
5642
				wait()
5643
			hum.HipHeight = hum.HipHeight + 0.01
5644
			end
5645
			idle2 = false
5646
			
5647
			idle3 = true
5648
			for i = 1,50 do
5649
				wait()
5650
				hum.HipHeight = hum.HipHeight - 0.01
5651
			end
5652
			idle3 = false
5653
			idle6 = true
5654
	end
5655
	if noidle == true then
5656
		LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
5657
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
5658
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
5659
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
5660
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
5661
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5662
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
5663
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5664
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
5665
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
5666
	end
5667
	if noidle1 == true then
5668
		LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm
5669
	RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm
5670
	LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
5671
	RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
5672
	LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg
5673
	RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5674
	LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg
5675
	RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
5676
	Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
5677
	Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
5678
	end
5679
if idle2 == true then
5680
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.01) --LeftUpperArm
5681
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.01)--RightUpperArm
5682
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.01)--LeftLowerArm
5683
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.01)--RightLowerArm
5684
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.01)--LeftUpperLeg
5685
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--RightUpperLeg
5686
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-60),rad(0),rad(0)),.01)--LeftLowerLeg
5687
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--RightUpperLeg
5688
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-5),rad(0),rad(0)),.01)--Torso
5689
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--Head
5690
end
5691
if idle3 == true then
5692
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.01) --LeftUpperArm
5693
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.01)--RightUpperArm
5694
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.01)--LeftLowerArm
5695
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.01)--RightLowerArm
5696
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.01)--LeftUpperLeg
5697
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.01)--RightUpperLeg
5698
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.01)--LeftLowerLeg
5699
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.01)--RightUpperLeg
5700
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-4),rad(0),rad(0)),.01)--Torso
5701
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(2),rad(0),rad(0)),.01)--Head
5702
end
5703
	if fuse1 == true then
5704
	 LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(20),rad(20),rad(90)),.1) --LeftUpperArm
5705
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(90)),.1)--RightUpperArm
5706
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5707
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5708
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5709
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5710
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5711
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5712
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5713
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5714
end
5715
5716
5717
if fuse2 == true then
5718
	 LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(260)),.1) --LeftUpperArm
5719
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(260)),.1)--RightUpperArm
5720
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5721
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5722
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5723
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5724
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5725
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5726
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5727
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5728
5729
end
5730
if fuse3 == true then
5731
	 LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(20),rad(20),rad(90)),.5) --LeftUpperArm
5732
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(90)),.5)--RightUpperArm
5733
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm
5734
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm
5735
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg
5736
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(80),rad(0),rad(-60)),.5)--RightUpperLeg
5737
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg
5738
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--RightUpperLeg
5739
    Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso
5740
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head
5741
5742
end
5743
if fuse4 == true then
5744
	 LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(330)),.5) --LeftUpperArm
5745
    RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(200)),.5)--RightUpperArm
5746
    LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-110)),.5)--LeftLowerArm
5747
    RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm
5748
    LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(80),rad(-30),rad(-80)),.5)--LeftUpperLeg
5749
    RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-40)),.5)--RightUpperLeg
5750
    LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.5)--LeftLowerLeg
5751
    RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
5752
    Root.C0 = Root.C0:lerp(CFrame.new(0,-0.5,0)*CFrame.Angles(rad(0),rad(0),rad(50)),.5)--Torso
5753
    Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(40)),.5)--Head
5754
5755
end
5756
if fuse5 == true then
5757
	 LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-90)),.1) --LeftUpperArm
5758
    RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(-90)),.1)--RightUpperArm
5759
    LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5760
    RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5761
    LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5762
    RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5763
    LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5764
    RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5765
    Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5766
    Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5767
end
5768
5769
5770
if fuse6 == true then
5771
	 LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(20),rad(20),rad(-260)),.1) --LeftUpperArm
5772
    RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(-260)),.1)--RightUpperArm
5773
    LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5774
    RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5775
    LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
5776
    RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5777
    LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
5778
    RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5779
    Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5780
    Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5781
5782
end
5783
if fuse7 == true then
5784
	 LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-90)),.5) --LeftUpperArm
5785
    RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(-90)),.5)--RightUpperArm
5786
    LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm
5787
    RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm
5788
    LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(80),rad(0),rad(60)),.5)--LeftUpperLeg
5789
    RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
5790
    LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--LeftLowerLeg
5791
    RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
5792
    Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso
5793
    Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head
5794
5795
end
5796
if fuse8 == true then
5797
	 LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-200)),.5) --LeftUpperArm
5798
    RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(-330)),.5)--RightUpperArm
5799
    LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm
5800
    RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(110)),.5)--RightLowerArm
5801
    LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(40)),.5)--LeftUpperLeg
5802
    RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(80),rad(30),rad(80)),.5)--RightUpperLeg
5803
    LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg
5804
    RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.5)--RightUpperLeg
5805
    Root1.C0 = Root1.C0:lerp(CFrame.new(0,-0.5,0)*CFrame.Angles(rad(0),rad(0),rad(-50)),.5)--Torso
5806
    Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-40)),.5)--Head
5807
5808
end
5809
if bigkamehameha1 == true then
5810
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(0),rad(30)),.1) --LeftUpperArm
5811
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(60),rad(0),rad(-30)),.1)--RightUpperArm
5812
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm
5813
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm
5814
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.1)--LeftUpperLeg
5815
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5816
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-80),rad(0),rad(0)),.1)--LeftLowerLeg
5817
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5818
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
5819
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5820
end
5821
if bigkamehameha2 == true then
5822
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(85),rad(0),rad(30)),.1) --LeftUpperArm
5823
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(85),rad(0),rad(-30)),.1)--RightUpperArm
5824
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
5825
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
5826
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftUpperLeg
5827
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5828
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-80),rad(0),rad(0)),.1)--LeftLowerLeg
5829
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
5830
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-5),rad(0),rad(0)),.1)--Torso
5831
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
5832
end
5833
end
5834
ape51 = Instance.new("Part",clone1)
5835
	ape51.Transparency = 0
5836
	weldape5 = Instance.new("Weld",ape51)
5837
	weldape5.Part0 = LowerTorso1
5838
	weldape5.Part1 = ape51
5839
	ape51.Color = Color3.fromRGB(79,0,0)
5840
	weldape5.C0 = CFrame.new(0.4,1,2)*CFrame.Angles(0,math.rad(90),math.rad(0))
5841
	meshape5 = Instance.new("SpecialMesh",ape51)
5842
	meshape5.MeshId = "rbxassetid://547956749"
5843
	meshape5.Scale = v3(0.025,0.025,0.025)
5844
game:GetService("RunService").RenderStepped:connect(RenderStepped3)
5845
5846
player.Chatted:connect(function(msg)
5847
      if msg == "Fuse" and ssj4 == true then
5848
	clone1.Shirt.ShirtTemplate = "rbxassetid://919206310"
5849
clone1.Pants.PantsTemplate = "rbxassetid://919206462"
5850
clone1.Head.Weld.C0 = CFrame.new(0.27,0.5,.6)*cfa(0,rad(180),0)
5851
clone1.Hair.Mesh.MeshId = "rbxassetid://558303331"
5852
clone1.Hair.Mesh.Scale = v3(0.048,0.048,0.048)
5853
5854
ape51.Transparency = 0
5855
	idle = false
5856
	walk = false 
5857
	canjump = false
5858
linkpart = Instance.new("Part",char)
5859
linkpart.Position = v3(999,999,999)
5860
linkpart.Transparency = 1
5861
linkpart.CanCollide = false
5862
linkpart.Anchored = true
5863
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
5864
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10
5865
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10
5866
	RootPart1.Anchored = true
5867
		RootPart.Anchored = true
5868
	RootPart1 = clone1.HumanoidRootPart
5869
	com1 = 10
5870
	
5871
noidle = true
5872
wait(2)
5873
noidle = false
5874
	
5875
	fuse1 = true
5876
	fuse5 = true
5877
	
5878
	wait(0.5)
5879
	fuse1 = false
5880
	fuse5 = false
5881
	coroutine.wrap(function()
5882
		for i = 1,40 do
5883
			if fuse == false then
5884
			wait()
5885
			com1 = com1 - 0.19
5886
			
5887
			RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
5888
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
5889
           
5890
		end
5891
		end
5892
	end)()
5893
	chatfunc("Fuuuu")
5894
	chatfunc1("Fuuuu")
5895
	fuse2 = true
5896
	fuse6 = true
5897
	wait(0.5)
5898
	fuse2 = false
5899
	fuse6 = false
5900
	chatfunc("Shon")
5901
	chatfunc1("Shon")
5902
	fuse3 = true
5903
	fuse7 = true
5904
	wait(0.5)
5905
	fuse3 = false
5906
	fuse7 = false
5907
	fuse4 = true
5908
	chatfunc("Ha")
5909
	chatfunc1("Ha")
5910
	fuse8 = true
5911
	
5912
	wait(0.5)
5913
		a21e = new("Part",char)
5914
a21e.Name = "Beam"..num
5915
a21e.Locked = true
5916
a21e.Size = v3(1,1,1)
5917
a21e.CanCollide = false
5918
a21e.Position = v3(999,999,999)
5919
a21e.BrickColor = bc("White")
5920
a21e.Material = "Neon"
5921
a21e.Transparency = 0
5922
aa21e = new("SpecialMesh",a21e)
5923
a21e.Anchored = true
5924
a21e.Position = RootPart.Position
5925
aa21e.MeshType = "Sphere"
5926
aa21e.Scale = v3(1,1,1)
5927
5928
5929
	
5930
	
5931
	fuse = true
5932
	
5933
	fuse4 = false
5934
	fuse8 = false
5935
	Hair7.BrickColor = BrickColor.new("Really red")
5936
Mesh.MeshId = "rbxassetid://560196103"
5937
	Mesh.Scale = Vector3.new(5.8,5.8,5.8)
5938
	Weld.C0 = CFrame.new(-0.28, 0, 0.25)
5939
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=919205601"
5940
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=919205734"
5941
	
5942
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
5943
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
5944
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
5945
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
5946
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
5947
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
5948
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
5949
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
5950
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
5951
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
5952
	hum.HipHeight = 1.35
5953
	char.Head.face.Texture= "rbxassetid://903201228"
5954
	RootPart.Anchored = false
5955
	idle5 = true
5956
	idle7 = true
5957
	hum.HipHeight = 2
5958
ssjauraburst:Play()
5959
RootPart1.CFrame = CFrame.new(999,999,999)
5960
RootPart1.Anchored = true
5961
GroundWave5()
5962
GroundWave6()
5963
GroundWave7()
5964
GroundWave8()
5965
GroundWave9()
5966
GroundWave10()
5967
for i = 1,50 do
5968
	wait()
5969
	aa21e.Scale = aa21e.Scale + v3(1,1,1)
5970
	a21e.Transparency = a21e.Transparency + 0.02
5971
end
5972
walk = false
5973
end
5974
   if msg == "Fuse" and ssj4 == false and ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
5975
	clone1.Shirt.ShirtTemplate = "rbxassetid://914325463"
5976
	ape51.Transparency = 1
5977
clone1.Pants.PantsTemplate = "rbxassetid://914325779"
5978
clone1.Head.Weld.C0 = CFrame.new(-.2,1,.5)*cfa(0,rad(0),0)
5979
clone1.Hair.Mesh.MeshId = "rbxassetid://560180459"
5980
clone1.Hair.Mesh.Scale = v3(7,7,7)
5981
5982
	idle = false
5983
	walk = false 
5984
	ssj1 = true
5985
	canjump = false
5986
linkpart = Instance.new("Part",char)
5987
linkpart.Position = v3(999,999,999)
5988
linkpart.Transparency = 1
5989
linkpart.CanCollide = false
5990
linkpart.Anchored = true
5991
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
5992
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10
5993
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10
5994
	RootPart1.Anchored = true
5995
		RootPart.Anchored = true
5996
	RootPart1 = clone1.HumanoidRootPart
5997
	com1 = 10
5998
	noidle = true
5999
wait(2)
6000
noidle = false
6001
	
6002
	fuse1 = true
6003
	fuse5 = true
6004
	
6005
	wait(0.5)
6006
	fuse1 = false
6007
	fuse5 = false
6008
	coroutine.wrap(function()
6009
		for i = 1,40 do
6010
			if fuse == false then
6011
			wait()
6012
			com1 = com1 - 0.19
6013
			
6014
			RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
6015
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
6016
           
6017
		end
6018
		end
6019
	end)()
6020
	chatfunc("Fuuuu")
6021
	chatfunc1("Fuuuu")
6022
	fuse2 = true
6023
	fuse6 = true
6024
	wait(0.5)
6025
	fuse2 = false
6026
	fuse6 = false
6027
	chatfunc("Shon")
6028
	chatfunc1("Shon")
6029
	fuse3 = true
6030
	fuse7 = true
6031
	wait(0.5)
6032
	fuse3 = false
6033
	fuse7 = false
6034
	fuse4 = true
6035
	chatfunc("Ha")
6036
	chatfunc1("Ha")
6037
	fuse8 = true
6038
	wait(0.5)
6039
		a21e = new("Part",char)
6040
a21e.Name = "Beam"..num
6041
a21e.Locked = true
6042
a21e.Size = v3(1,1,1)
6043
a21e.CanCollide = false
6044
a21e.Position = v3(999,999,999)
6045
a21e.BrickColor = bc("White")
6046
a21e.Material = "Neon"
6047
a21e.Transparency = 0
6048
aa21e = new("SpecialMesh",a21e)
6049
a21e.Anchored = true
6050
a21e.Position = RootPart.Position
6051
aa21e.MeshType = "Sphere"
6052
aa21e.Scale = v3(1,1,1)
6053
6054
6055
	
6056
	fuse = true
6057
	
6058
	fuse4 = false
6059
	fuse8 = false
6060
	
6061
	
6062
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
6063
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
6064
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
6065
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
6066
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
6067
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
6068
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
6069
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
6070
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
6071
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
6072
	hum.HipHeight = 1.35
6073
	
6074
	RootPart.Anchored = false
6075
	idle5 = true
6076
	idle7 = true
6077
	Mesh.MeshId = "rbxassetid://720406482"
6078
	newaura.ImageTransparency = 0
6079
	Mesh.Scale = Vector3.new(7.2,7.2,7.2)
6080
	Weld.C0 = CFrame.new(0.2, .8, 0.55)*cfa(0,math.rad(180),0)
6081
		Hair7.Color = Color3.fromRGB(255,227,10)
6082
		char.Head.face.Texture= "rbxassetid://765493484"
6083
		ssjaura:Play()
6084
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=914324509"
6085
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=914324638"
6086
	hum.HipHeight = 2
6087
ssjauraburst:Play()
6088
wait(0.1)
6089
RootPart1.CFrame = CFrame.new(999,999,999)
6090
RootPart1.Anchored = true
6091
GroundWave5()
6092
GroundWave6()
6093
GroundWave7()
6094
GroundWave8()
6095
GroundWave9()
6096
GroundWave10()
6097
for i = 1,50 do
6098
	wait()
6099
	aa21e.Scale = aa21e.Scale + v3(1,1,1)
6100
	a21e.Transparency = a21e.Transparency + 0.02
6101
end
6102
walk = false
6103
end
6104
  if msg == "Potara" and ssj4 == false and ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then
6105
	clone1.Shirt.ShirtTemplate = "rbxassetid://914325463"
6106
clone1.Pants.PantsTemplate = "rbxassetid://914325779"
6107
	ape51.Transparency = 1
6108
	
6109
clone1.Head.Weld.C0 = CFrame.new(-.2,1,.5)*cfa(0,rad(0),0)
6110
clone1.Hair.Mesh.MeshId = "rbxassetid://560180459"
6111
clone1.Hair.Mesh.Scale = v3(7,7,7)
6112
	idle = false
6113
	walk = false 
6114
	canjump = false
6115
linkpart = Instance.new("Part",char)
6116
linkpart.Position = v3(999,999,999)
6117
linkpart.Transparency = 1
6118
linkpart.CanCollide = false
6119
linkpart.Anchored = true
6120
linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector
6121
RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10
6122
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10
6123
	RootPart1.Anchored = true
6124
		RootPart.Anchored = true
6125
	RootPart1 = clone1.HumanoidRootPart
6126
	com1 = 10
6127
	
6128
6129
	
6130
	potara1 = true
6131
	potara3 = true
6132
	wait(1)
6133
	potara1 = false
6134
	potara3 = false
6135
	noidle = true
6136
	noidle1 = true
6137
	ee = Instance.new("Part",char)
6138
ee.Size = Vector3.new(0.2,0.2,0.2)
6139
ee.Position = Vector3.new(9999999,9999999,9999999)
6140
ee.Shape = "Ball"
6141
ee.BrickColor = BrickColor.new("New Yeller")
6142
ee1 = Instance.new("Part",char)
6143
ee1.Size = Vector3.new(0.18,0.18,0.18)
6144
ee1.Position = Vector3.new(999999,999999,999999)
6145
ee1.Shape = "Ball"
6146
ee1.BrickColor = BrickColor.new("Mid gray") 
6147
ee2 = Instance.new("Part",char)
6148
ee2.Size = Vector3.new(0.06,0.06,0.06)
6149
ee2.Shape = "Ball"
6150
ee2.BrickColor = BrickColor.new("Mid gray")
6151
ee2.Position = Vector3.new(99999,99999,99999)
6152
ee3 = Instance.new("Part",char)
6153
ee3.Size = Vector3.new(0.06,0.06,0.06)
6154
ee3.Shape = "Ball"
6155
ee3.BrickColor = BrickColor.new("Mid gray")
6156
ee3.Position = Vector3.new(9999,9999,9999)
6157
ee4 = Instance.new("Part",char)
6158
ee4.Size = Vector3.new(0.1,0.1,0.1)
6159
ee4.Shape = "Ball"
6160
ee4.BrickColor = BrickColor.new("Mid gray")
6161
ee4.Position = Vector3.new(999,999,999)
6162
eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6163
eew.Part0 = game.Players.LocalPlayer.Character.Head
6164
eew.Part1 = ee
6165
eew.C0 = CFrame.new(0.68,-0.22,0)
6166
eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6167
eew1.Part0 = ee
6168
eew1.Part1 = ee1
6169
eew1.C0 = CFrame.new(0,0.02,0)
6170
eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6171
eew2.Part0 = game.Players.LocalPlayer.Character.Head
6172
eew2.Part1 = ee2
6173
eew2.C0 = CFrame.new(0.67,-0.1,0)
6174
eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6175
eew3.Part0 = game.Players.LocalPlayer.Character.Head
6176
eew3.Part1 = ee3
6177
eew3.C0 = CFrame.new(0.66,-0.05,0)
6178
eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6179
eew4.Part0 = game.Players.LocalPlayer.Character.Head
6180
eew4.Part1 = ee4
6181
eew4.C0 = CFrame.new(0.64,-0.01,0)
6182
-----------------------------------------------------------------------
6183
eed = Instance.new("Part",char)
6184
eed.Size = Vector3.new(0.2,0.2,0.2)
6185
eed.Position = Vector3.new(9999999,9999999,9999999)
6186
eed.Shape = "Ball"
6187
eed.BrickColor = BrickColor.new("New Yeller")
6188
ee1d = Instance.new("Part",char)
6189
ee1d.Size = Vector3.new(0.18,0.18,0.18)
6190
ee1d.Position = Vector3.new(999999,999999,999999)
6191
ee1d.Shape = "Ball"
6192
ee1d.BrickColor = BrickColor.new("Mid gray") 
6193
ee2d = Instance.new("Part",char)
6194
ee2d.Size = Vector3.new(0.06,0.06,0.06)
6195
ee2d.Shape = "Ball"
6196
ee2d.BrickColor = BrickColor.new("Mid gray")
6197
ee2d.Position = Vector3.new(99999,99999,99999)
6198
ee3d = Instance.new("Part",char)
6199
ee3d.Size = Vector3.new(0.06,0.06,0.06)
6200
ee3d.Shape = "Ball"
6201
ee3d.BrickColor = BrickColor.new("Mid gray")
6202
ee3d.Position = Vector3.new(9999,9999,9999)
6203
ee4d = Instance.new("Part",char)
6204
ee4d.Size = Vector3.new(0.1,0.1,0.1)
6205
ee4d.Shape = "Ball"
6206
ee4d.BrickColor = BrickColor.new("Mid gray")
6207
ee4d.Position = Vector3.new(999,999,999)
6208
eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6209
eew.Part0 = clone1.Head
6210
eew.Part1 = eed
6211
eew.C0 = CFrame.new(-0.68,-0.22,0)
6212
eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6213
eew1.Part0 = ee
6214
eew1.Part1 = ee1d
6215
eew1.C0 = CFrame.new(0,0.02,0)
6216
eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6217
eew2.Part0 = clone1.Head
6218
eew2.Part1 = ee2d
6219
eew2.C0 = CFrame.new(-0.67,-0.1,0)
6220
eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6221
eew3.Part0 = clone1.Head
6222
eew3.Part1 = ee3d
6223
eew3.C0 = CFrame.new(-0.66,-0.05,0)
6224
eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6225
eew4.Part0 = clone1.Head
6226
eew4.Part1 = ee4d
6227
eew4.C0 = CFrame.new(-0.64,-0.01,0)
6228
	wait(0.5)
6229
	noidle = false
6230
	noidle1 = false
6231
	potara2 = true
6232
	potara4 = true
6233
	for i = 1,20 do
6234
			wait()
6235
			com1 = com1 - 0.5
6236
			
6237
			RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1
6238
RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1
6239
           
6240
	end
6241
	
6242
	potara = true
6243
	eec = Instance.new("Part",char)
6244
eec.Size = Vector3.new(0.2,0.2,0.2)
6245
eec.Position = Vector3.new(9999999,9999999,9999999)
6246
eec.Shape = "Ball"
6247
eec.BrickColor = BrickColor.new("New Yeller")
6248
ee1c = Instance.new("Part",char)
6249
ee1c.Size = Vector3.new(0.18,0.18,0.18)
6250
ee1c.Position = Vector3.new(999999,999999,999999)
6251
ee1c.Shape = "Ball"
6252
ee1c.BrickColor = BrickColor.new("Mid gray") 
6253
ee2c = Instance.new("Part",char)
6254
ee2c.Size = Vector3.new(0.06,0.06,0.06)
6255
ee2c.Shape = "Ball"
6256
ee2c.BrickColor = BrickColor.new("Mid gray")
6257
ee2c.Position = Vector3.new(99999,99999,99999)
6258
ee3c = Instance.new("Part",char)
6259
ee3c.Size = Vector3.new(0.06,0.06,0.06)
6260
ee3c.Shape = "Ball"
6261
ee3c.BrickColor = BrickColor.new("Mid gray")
6262
ee3c.Position = Vector3.new(9999,9999,9999)
6263
ee4c = Instance.new("Part",char)
6264
ee4c.Size = Vector3.new(0.1,0.1,0.1)
6265
ee4c.Shape = "Ball"
6266
ee4c.BrickColor = BrickColor.new("Mid gray")
6267
ee4c.Position = Vector3.new(999,999,999)
6268
eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6269
eew.Part0 = game.Players.LocalPlayer.Character.Head
6270
eew.Part1 = eec
6271
eew.C0 = CFrame.new(-0.68,-0.22,0)
6272
eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6273
eew1.Part0 = ee
6274
eew1.Part1 = ee1c
6275
eew1.C0 = CFrame.new(0,0.02,0)
6276
eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6277
eew2.Part0 = game.Players.LocalPlayer.Character.Head
6278
eew2.Part1 = ee2c
6279
eew2.C0 = CFrame.new(-0.67,-0.1,0)
6280
eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6281
eew3.Part0 = game.Players.LocalPlayer.Character.Head
6282
eew3.Part1 = ee3c
6283
eew3.C0 = CFrame.new(-0.66,-0.05,0)
6284
eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
6285
eew4.Part0 = game.Players.LocalPlayer.Character.Head
6286
eew4.Part1 = ee4c
6287
eew4.C0 = CFrame.new(-0.64,-0.01,0)
6288
		a21e = new("Part",char)
6289
a21e.Name = "Beam"..num
6290
a21e.Locked = true
6291
a21e.Size = v3(1,1,1)
6292
a21e.CanCollide = false
6293
a21e.Position = v3(999,999,999)
6294
a21e.BrickColor = bc("White")
6295
a21e.Material = "Neon"
6296
a21e.Transparency = 0
6297
aa21e = new("SpecialMesh",a21e)
6298
a21e.Anchored = true
6299
a21e.Position = RootPart.Position
6300
aa21e.MeshType = "Sphere"
6301
aa21e.Scale = v3(1,1,1)
6302
Mesh.MeshId = "rbxassetid://560152258"
6303
Hair7.Color = Color3.fromRGB(26,0,0)
6304
	Mesh.Scale = Vector3.new(6.9,6.9,6.9)
6305
	Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0)
6306
	char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=914326777"
6307
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=914326994"
6308
6309
6310
	
6311
	
6312
	
6313
	
6314
	potara2 = false
6315
	potara4 = false
6316
	
6317
	
6318
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm
6319
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm
6320
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm
6321
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm
6322
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg
6323
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
6324
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg
6325
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg
6326
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso
6327
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head
6328
	hum.HipHeight = 1.35
6329
	
6330
	RootPart.Anchored = false
6331
	idle5 = true
6332
	idle7 = true
6333
	
6334
6335
	hum.HipHeight = 2
6336
ssjauraburst:Play()
6337
RootPart1.CFrame = CFrame.new(999,999,999)
6338
RootPart1.Anchored = true
6339
GroundWave5()
6340
GroundWave6()
6341
GroundWave7()
6342
GroundWave8()
6343
GroundWave9()
6344
GroundWave10()
6345
for i = 1,50 do
6346
	wait()
6347
	aa21e.Scale = aa21e.Scale + v3(1,1,1)
6348
	a21e.Transparency = a21e.Transparency + 0.02
6349
end
6350
walk = false
6351
end
6352
    end)
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
p1 = Instance.new("Part",char)
6364
p1.Size = v3(2,1.6,1)
6365
p1.Transparency = 1
6366
p1.CanCollide = false
6367
p1.Position = v3(999,999,999)
6368
p1.BrickColor = bc("Bright red")
6369
p1mesh = Instance.new("SpecialMesh",p1)
6370
p1mesh.MeshType = "FileMesh"
6371
p1mesh.Scale = v3(1.01,1.01,1.01)
6372
p1mesh.MeshId = "rbxassetid://532220007"
6373
p1weld = Instance.new("Weld",p1)
6374
p1weld.Part0 = UpperTorso
6375
p1weld.Part1 = p1
6376
-------------------------------------------------------------
6377
p2 = Instance.new("Part",char)
6378
p2.Size = v3(2,1.6,1)
6379
p2.Transparency = 1
6380
p2.CanCollide = false
6381
p2.Position = v3(999,999,999)
6382
p2.BrickColor = bc("Bright red")
6383
p2mesh = Instance.new("SpecialMesh",p2)
6384
p2mesh.MeshType = "FileMesh"
6385
p2mesh.Scale = v3(1.01,1.01,1.01)
6386
p2mesh.MeshId = "http://www.roblox.com/asset/?id=532220036"
6387
p2weld = Instance.new("Weld",p2)
6388
p2weld.Part0 = LowerTorso
6389
p2weld.Part1 = p2
6390
-------------------------------------------------------------
6391
p3 = Instance.new("Part",char)
6392
p3.Size = v3(2,1.6,1)
6393
p3.Transparency = 1
6394
p3.CanCollide = false
6395
p3.Position = v3(999,999,999)
6396
p3.BrickColor = bc("Bright red")
6397
p3mesh = Instance.new("SpecialMesh",p3)
6398
p3mesh.MeshType = "FileMesh"
6399
p3mesh.Scale = v3(1.01,1.01,1.01)
6400
p3mesh.MeshId = "http://www.roblox.com/asset/?id=532219996"
6401
p3weld = Instance.new("Weld",p3)
6402
p3weld.Part0 = LeftUpperArm
6403
p3weld.Part1 = p3
6404
-------------------------------------------------------------
6405
p4 = Instance.new("Part",char)
6406
p4.Size = v3(2,1.6,1)
6407
p4.Transparency = 1
6408
p4.CanCollide = false
6409
p4.Position = v3(999,999,999)
6410
p4.BrickColor = bc("Bright red")
6411
p4mesh = Instance.new("SpecialMesh",p4)
6412
p4mesh.MeshType = "FileMesh"
6413
p4mesh.Scale = v3(1.01,1.01,1.01)
6414
p4mesh.MeshId = "http://www.roblox.com/asset/?id=532220017"
6415
p4weld = Instance.new("Weld",p4)
6416
p4weld.Part0 = LeftLowerLeg
6417
p4weld.Part1 = p4
6418
-------------------------------------------------------------
6419
p5 = Instance.new("Part",char)
6420
p5.Size = v3(2,1.6,1)
6421
p5.Transparency = 1
6422
p5.CanCollide = false
6423
p5.Position = v3(999,999,999)
6424
p5.BrickColor = bc("Bright red")
6425
p5mesh = Instance.new("SpecialMesh",p5)
6426
p5mesh.MeshType = "FileMesh"
6427
p5mesh.Scale = v3(1.01,1.01,1.01)
6428
p5mesh.MeshId = "http://www.roblox.com/asset/?id=532219991"
6429
p5weld = Instance.new("Weld",p5)
6430
p5weld.Part0 = LeftLowerArm
6431
p5weld.Part1 = p5
6432
-------------------------------------------------------------
6433
p6 = Instance.new("Part",char)
6434
p6.Size = v3(2,1.6,1)
6435
p6.Transparency = 1
6436
p6.CanCollide = false
6437
p6.Position = v3(999,999,999)
6438
p6.BrickColor = bc("Bright red")
6439
p6mesh = Instance.new("SpecialMesh",p6)
6440
p6mesh.MeshType = "FileMesh"
6441
p6mesh.Scale = v3(1.01,1.01,1.01)
6442
p6mesh.MeshId = "http://www.roblox.com/asset/?id=532219986"
6443
p6weld = Instance.new("Weld",p6)
6444
p6weld.Part0 = LeftHand
6445
p6weld.Part1 = p6
6446
-------------------------------------------------------------
6447
p7 = Instance.new("Part",char)
6448
p7.Size = v3(2,1.6,1)
6449
p7.Transparency =1
6450
p7.CanCollide = false
6451
p7.Position = v3(999,999,999)
6452
p7.BrickColor = bc("Bright red")
6453
p7mesh = Instance.new("SpecialMesh",p7)
6454
p7mesh.MeshType = "FileMesh"
6455
p7mesh.Scale = v3(1.01,1.01,1.01)
6456
p7mesh.MeshId = "http://www.roblox.com/asset/?id=532220012"
6457
p7weld = Instance.new("Weld",p7)
6458
p7weld.Part0 = LeftFoot
6459
p7weld.Part1 = p7
6460
-------------------------------------------------------------
6461
p8 = Instance.new("Part",char)
6462
p8.Size = v3(2,1.6,1)
6463
p8.Transparency = 1
6464
p8.CanCollide = false
6465
p8.Position = v3(999,999,999)
6466
p8.BrickColor = bc("Bright red")
6467
p8mesh = Instance.new("SpecialMesh",p8)
6468
p8mesh.MeshType = "FileMesh"
6469
p8mesh.Scale = v3(1.01,1.01,1.01)
6470
p8mesh.MeshId = "http://www.roblox.com/asset/?id=532220020"
6471
p8weld = Instance.new("Weld",p8)
6472
p8weld.Part0 = RightFoot
6473
p8weld.Part1 = p8
6474
-------------------------------------------------------------
6475
p9 = Instance.new("Part",char)
6476
p9.Size = v3(2,1.6,1)
6477
p9.Transparency = 1
6478
p9.CanCollide = false
6479
p9.Position = v3(999,999,999)
6480
p9.BrickColor = bc("Bright red")
6481
p9mesh = Instance.new("SpecialMesh",p9)
6482
p9mesh.MeshType = "FileMesh"
6483
p9mesh.Scale = v3(1.01,1.01,1.01)
6484
p9mesh.MeshId = "http://www.roblox.com/asset/?id=532219997"
6485
p9weld = Instance.new("Weld",p9)
6486
p9weld.Part0 = RightHand
6487
p9weld.Part1 = p9
6488
-------------------------------------------------------------
6489
p10 = Instance.new("Part",char)
6490
p10.Size = v3(2,1.6,1)
6491
p10.Transparency = 1
6492
p10.CanCollide = false
6493
p10.Position = v3(999,999,999)
6494
p10.BrickColor = bc("Bright red")
6495
p10mesh = Instance.new("SpecialMesh",p10)
6496
p10mesh.MeshType = "FileMesh"
6497
p10mesh.Scale = v3(1.01,1.01,1.01)
6498
p10mesh.MeshId = "http://www.roblox.com/asset/?id=532219999"
6499
p10weld = Instance.new("Weld",p10)
6500
p10weld.Part0 = RightLowerArm
6501
p10weld.Part1 = p10
6502
-------------------------------------------------------------
6503
p11 = Instance.new("Part",char)
6504
p11.Size = v3(2,1.6,1)
6505
p11.Transparency = 1
6506
p11.CanCollide = false
6507
p11.Position = v3(999,999,999)
6508
p11.BrickColor = bc("Bright red")
6509
p11mesh = Instance.new("SpecialMesh",p11)
6510
p11mesh.MeshType = "FileMesh"
6511
p11mesh.Scale = v3(1.01,1.01,1.01)
6512
p11mesh.MeshId = "http://www.roblox.com/asset/?id=532220027"
6513
p11weld = Instance.new("Weld",p11)
6514
p11weld.Part0 = RightLowerLeg
6515
p11weld.Part1 = p11
6516
-------------------------------------------------------------
6517
p12 = Instance.new("Part",char)
6518
p12.Size = v3(2,1.6,1)
6519
p12.Transparency =1
6520
p12.CanCollide = false
6521
p12.Position = v3(999,999,999)
6522
p12.BrickColor = bc("Bright red")
6523
p12mesh = Instance.new("SpecialMesh",p12)
6524
p12mesh.MeshType = "FileMesh"
6525
p12mesh.Scale = v3(1.01,1.01,1.01)
6526
p12mesh.MeshId = "http://www.roblox.com/asset/?id=532220004"
6527
p12weld = Instance.new("Weld",p12)
6528
p12weld.Part0 = RightUpperArm
6529
p12weld.Part1 = p12
6530
-------------------------------------------------------------
6531
p13 = Instance.new("Part",char)
6532
p13.Size = v3(2,1.6,1)
6533
p13.Transparency = 1
6534
p13.CanCollide = false
6535
p13.Position = v3(999,999,999)
6536
p13.BrickColor = bc("Bright red")
6537
p13mesh = Instance.new("SpecialMesh",p13)
6538
p13mesh.MeshType = "FileMesh"
6539
p13mesh.Scale = v3(1.01,1.01,1.01)
6540
p13mesh.MeshId = "http://www.roblox.com/asset/?id=532220031"
6541
p13weld = Instance.new("Weld",p13)
6542
p13weld.Part0 = RightUpperLeg
6543
p13weld.Part1 = p13
6544
-------------------------------------------------------------
6545
p14 = Instance.new("Part",char)
6546
p14.Size = v3(2,1,1)
6547
p14.Transparency = 1
6548
p14.CanCollide = false
6549
p14.Position = v3(999,999,999)
6550
p14.BrickColor = bc("Bright red")
6551
p14mesh = Instance.new("SpecialMesh",p14)
6552
p14mesh.MeshType = "FileMesh"
6553
p14mesh.Scale = v3(1.01,1.01,1.01)
6554
p14mesh.MeshId = "http://www.roblox.com/asset/?id=532220018"
6555
p14weld = Instance.new("Weld",p14)
6556
p14weld.Part0 = LeftUpperLeg
6557
p14weld.Part1 = p14
6558
p15 = Instance.new("Part",char)
6559
p15.Size = v3(2,1,1)
6560
p15.Transparency = 1
6561
p15.CanCollide = false
6562
p15.Position = v3(999,999,999)
6563
p15.BrickColor = bc("Bright red")
6564
p15mesh = Instance.new("SpecialMesh",p15)
6565
p15mesh.MeshType = "Head"
6566
p15mesh.Scale = v3(1.26,1.26,1.26)
6567
p15weld = Instance.new("Weld",p15)
6568
p15weld.Part0 = Head
6569
p15weld.Part1 = p15
6570
6571
mouse.KeyDown:connect(function(key)
6572
	if key == "z" and ki < 101 then
6573
		idle = false
6574
		idle7 = false
6575
		hum.HipHeight = 1.35
6576
		walk = false
6577
		canjump = false
6578
		transform1 = true
6579
		wait(0.2)
6580
		size = newaurabase.Size
6581
		size2 = newaurabase2.Size
6582
		wait(0.1)
6583
		KiCharge.TimePosition = 0.7
6584
		
6585
		wait(0.1)
6586
		KiCharge:Play()
6587
		
6588
		if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false and ssj4 == false then
6589
			newaura.ImageTransparency = 0
6590
			newaura.ImageColor3 = Color3.fromRGB(255,255,255)
6591
			newaurabase.Size = UDim2.new(20,0,20,0)
6592
		elseif ssjg == true then
6593
	newaurabase.Size = UDim2.new(12,0,25,0)
6594
	elseif ssj1 == true or ssj2 == true or ssj3 == true then
6595
	newaurabase.Size = UDim2.new(40,0,40,0)
6596
	elseif ssjb == true then
6597
		newaurabase.Size = UDim2.new(20,0,30,0)
6598
		elseif ssjb == true and ssjbkaio == true then
6599
			newaurabase2.Size = UDim2.new(25,0,45,0)
6600
			elseif ssjb == true and ssjbkaiox10 == true then
6601
			newaurabase2.Size = UDim2.new(40,0,80,0)
6602
			elseif ssj4 == true then
6603
	newaurabase.Size = UDim2.new(40,0,40,0)
6604
		end
6605
		
6606
			newaura.ImageTransparency = 0
6607
		rock = true
6608
		transform1 = false
6609
		transform3 = true
6610
		kicharging = true
6611
			wait(2)
6612
		
6613
		repeat
6614
			if kicharging == true then
6615
			KiCharge.TimePosition = 2
6616
			
6617
		KiCharge:Play()
6618
		end
6619
		wait(2)
6620
		until kicharging == false
6621
	end
6622
end)
6623
mouse.KeyUp:connect(function(key)
6624
	if key == "z" then
6625
		
6626
		KiCharge:Stop()
6627
		kicharging = false
6628
		rock = false
6629
		rock3 = true
6630
		transform3 = false
6631
		transform1 = false
6632
		transform4 = true
6633
		if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false and ssj4 == false then
6634
			newaura.ImageTransparency = 1
6635
			newaura.ImageColor3 = Color3.fromRGB(255, 227, 10)
6636
		else
6637
			newaurabase.Size = size
6638
			newaurabase2.Size = size2
6639
		end
6640
		
6641
		a21e = new("Part",char)
6642
a21e.Name = "Beam"..num
6643
a21e.Locked = true
6644
a21e.Size = v3(1,1,1)
6645
a21e.CanCollide = false
6646
a21e.Position = v3(999,999,999)
6647
a21e.BrickColor = bc("White")
6648
a21e.Material = "Neon"
6649
a21e.Transparency = 0
6650
aa21e = new("SpecialMesh",a21e)
6651
a21e.Anchored = true
6652
a21e.Position = RootPart.Position
6653
aa21e.MeshType = "Sphere"
6654
aa21e.Scale = v3(1,1,1)
6655
6656
KiCharge2.TimePosition = 7.6
6657
wait(0.1)
6658
	KiCharge2:Play()
6659
	KiCharge:Stop()
6660
	GroundWave5()
6661
	GroundWave6()
6662
	GroundWave7()
6663
	GroundWave8()
6664
	GroundWave9()
6665
	GroundWave10()
6666
	for i = 1,25 do
6667
	wait()
6668
	aa21e.Scale = aa21e.Scale + v3(5,5,5)
6669
	a21e.Transparency = a21e.Transparency + 0.04
6670
	end
6671
	
6672
	wait(0.5)
6673
	
6674
	KiCharge2:Stop()
6675
	transform4 = false
6676
	if fuse == false or potara == false then
6677
		idle = true
6678
		walk = true
6679
		canjump = true
6680
	end
6681
	if fuse == true or potara == true then
6682
		idle7 = true
6683
	end
6684
	end
6685
end)
6686
6687
6688
6689
6690
6691
6692
6693
6694
hum.Name = "LolCantHurtMe"
6695
6696
6697
6698
6699
 
6700
6701
6702
6703
6704
function chatfunc1(text)
6705
local chat = coroutine.wrap(function()
6706
if clone1:FindFirstChild("TalkingBillBoard")~= nil then
6707
clone1:FindFirstChild("TalkingBillBoard"):destroy()
6708
end
6709
local naeeym2 = Instance.new("BillboardGui",clone1)
6710
naeeym2.Size = UDim2.new(0,100,0,40)
6711
naeeym2.StudsOffset = Vector3.new(0,3,0)
6712
naeeym2.Adornee = clone1.Head
6713
naeeym2.Name = "TalkingBillBoard"
6714
local tecks2 = Instance.new("TextLabel",naeeym2)
6715
tecks2.BackgroundTransparency = 1
6716
tecks2.BorderSizePixel = 0
6717
tecks2.Text = ""
6718
tecks2.Font = "Fantasy"
6719
tecks2.TextSize = 30
6720
tecks2.TextStrokeTransparency = 0
6721
tecks2.TextColor3 = Color3.new(0,0,0)
6722
tecks2.TextStrokeColor3 = Color3.new(0,0,255)
6723
tecks2.Size = UDim2.new(1,0,0.5,0)
6724
local tecks3 = Instance.new("TextLabel",naeeym2)
6725
tecks3.BackgroundTransparency = 1
6726
tecks3.BorderSizePixel = 0
6727
tecks3.Text = ""
6728
tecks3.Font = "Fantasy"
6729
tecks3.TextSize = 30
6730
tecks3.TextStrokeTransparency = 0
6731
tecks3.TextColor3 = Color3.new(0,0,0)
6732
tecks3.TextStrokeColor3 = Color3.new(255,255,255)
6733
tecks3.Size = UDim2.new(1,0,0.5,0)
6734
for i = 1,string.len(text),1 do
6735
6736
tecks2.Text = string.sub(text,1,i)
6737
tecks3.Text = string.sub(text,1,i)
6738
wait(0.01)
6739
end
6740
wait(2)
6741
for i = 1, 50 do
6742
6743
tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
6744
tecks2.Rotation = tecks2.Rotation - .8
6745
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
6746
tecks2.TextTransparency = tecks2.TextTransparency + .04
6747
tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
6748
tecks3.Rotation = tecks2.Rotation + .8
6749
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
6750
tecks3.TextTransparency = tecks2.TextTransparency + .04
6751
end
6752
naeeym2:Destroy()
6753
end)
6754
chat()
6755
6756
end
6757
6758
repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("LowerTorso") 
6759
local mouse = game.Players.LocalPlayer:GetMouse() 
6760
repeat wait() until mouse
6761
local plr = game.Players.LocalPlayer 
6762
local LowerTorso = plr.Character.LowerTorso 
6763
local flying = true
6764
local deb = true 
6765
local ctrl = {f = 0, b = 0, l = 0, r = 0} 
6766
local lastctrl = {f = 0, b = 0, l = 0, r = 0} 
6767
local maxspeed = 50 
6768
local speed = 0 
6769
function Fly() 
6770
local bg = Instance.new("BodyGyro", LowerTorso) 
6771
bg.P = 9e4 
6772
bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) 
6773
bg.cframe =LowerTorso.CFrame 
6774
local bv = Instance.new("BodyVelocity", LowerTorso) 
6775
bv.velocity = Vector3.new(0,0.1,0) 
6776
bv.maxForce = Vector3.new(9e9, 9e9, 9e9) 
6777
repeat wait() 
6778
hum.PlatformStand = true 
6779
if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then 
6780
speed = speed+.5+(speed/maxspeed) 
6781
if speed > maxspeed then 
6782
speed = maxspeed 
6783
end 
6784
elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then 
6785
speed = speed-1 
6786
if speed < 0 then 
6787
speed = 0 
6788
end 
6789
end 
6790
if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then 
6791
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 
6792
lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r} 
6793
elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then 
6794
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 
6795
else 
6796
bv.velocity = Vector3.new(0,0.1,0) 
6797
end 
6798
bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0) 
6799
until not flying 
6800
ctrl = {f = 0, b = 0, l = 0, r = 0} 
6801
lastctrl = {f = 0, b = 0, l = 0, r = 0} 
6802
speed = 0 
6803
bg:Destroy() 
6804
bv:Destroy() 
6805
hum.PlatformStand = false 
6806
end 
6807
mouse.KeyDown:connect(function(key) 
6808
if key:lower() == "f" then 
6809
if flying then flying = false
6810
	flying1 = false
6811
idle = true
6812
	walk = true
6813
	canjump = true
6814
else 
6815
	hum.Jump = true
6816
	wait(0.5)
6817
	flying1 = true
6818
flying = true
6819
-- return to idle if finishing an emote
6820
	if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
6821
	oldAnim = "idle"
6822
	end
6823
6824
	currentAnim = ""
6825
	currentAnimInstance = nil
6826
	if (currentAnimKeyframeHandler ~= nil) then
6827
	currentAnimKeyframeHandler:disconnect()
6828
	end
6829
6830
	if (currentAnimTrack ~= nil) then
6831
	currentAnimTrack:Stop()
6832
	currentAnimTrack:Destroy()
6833
	currentAnimTrack = nil
6834
	end
6835
6836
	-- clean up walk if there is one
6837
	if (runAnimKeyframeHandler ~= nil) then
6838
	runAnimKeyframeHandler:disconnect()
6839
	end
6840
	
6841
	if (runAnimTrack ~= nil) then
6842
	runAnimTrack:Stop()
6843
	runAnimTrack:Destroy()
6844
	runAnimTrack = nil
6845
	end
6846
Fly() 
6847
end 
6848
elseif key:lower() == "w" then 
6849
ctrl.f = 1 
6850
nill = false
6851
foward = true
6852
elseif key:lower() == "s" then 
6853
ctrl.b = -1 
6854
elseif key:lower() == "a" then 
6855
ctrl.l = -1 
6856
elseif key:lower() == "d" then 
6857
ctrl.r = 1 
6858
end 
6859
end) 
6860
mouse.KeyUp:connect(function(key) 
6861
if key:lower() == "w" then 
6862
ctrl.f = 0 
6863
nill = true
6864
foward = false
6865
elseif key:lower() == "s" then 
6866
ctrl.b = 0 
6867
elseif key:lower() == "a" then 
6868
ctrl.l = 0 
6869
elseif key:lower() == "d" then 
6870
ctrl.r = 0 
6871
end 
6872
end)
6873
Fly()
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
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
math.randomseed(tick())
6912
6913
function configureAnimationSet(name, fileList)
6914
	if (animTable[name] ~= nil) then
6915
	for _, connection in pairs(animTable[name].connections) do
6916
	connection:disconnect()
6917
	end
6918
	end
6919
	animTable[name] = {}
6920
	animTable[name].count = 0
6921
	animTable[name].totalWeight = 0	
6922
	animTable[name].connections = {}
6923
6924
	local allowCustomAnimations = true
6925
	local AllowDisableCustomAnimsUserFlag = true
6926
6927
	local success, msg = pcall(function()
6928
	AllowDisableCustomAnimsUserFlag = UserSettings():IsUserFeatureEnabled("UserAllowDisableCustomAnims")
6929
	end)
6930
6931
	if (AllowDisableCustomAnimsUserFlag) then
6932
	local ps = game:GetService("StarterPlayer"):FindFirstChild("PlayerSettings")
6933
	if (ps ~= nil) then
6934
	allowCustomAnimations = not require(ps).UseDefaultAnimations
6935
	end
6936
	end
6937
6938
	-- check for config values
6939
	local config = script:FindFirstChild(name)
6940
	if (allowCustomAnimations and config ~= nil) then
6941
	table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
6942
	table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
6943
	local idx = 1
6944
	for _, childPart in pairs(config:GetChildren()) do
6945
	if (childPart:IsA("Animation")) then
6946
	table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
6947
	animTable[name][idx] = {}
6948
	animTable[name][idx].anim = childPart
6949
	local weightObject = childPart:FindFirstChild("Weight")
6950
	if (weightObject == nil) then
6951
	animTable[name][idx].weight = 1
6952
	else
6953
	animTable[name][idx].weight = weightObject.Value
6954
	end
6955
	animTable[name].count = animTable[name].count + 1
6956
	animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
6957
	idx = idx + 1
6958
	end
6959
	end
6960
	end
6961
6962
	-- fallback to defaults
6963
	if (animTable[name].count <= 0) then
6964
	for idx, anim in pairs(fileList) do
6965
	animTable[name][idx] = {}
6966
	animTable[name][idx].anim = Instance.new("Animation")
6967
	animTable[name][idx].anim.Name = name
6968
	animTable[name][idx].anim.AnimationId = anim.id
6969
	animTable[name][idx].weight = anim.weight
6970
	animTable[name].count = animTable[name].count + 1
6971
	animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
6972
--	print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
6973
	end
6974
	end
6975
end
6976
6977
-- Setup animation objects
6978
function scriptChildModified(child)
6979
	local fileList = animNames[child.Name]
6980
	if (fileList ~= nil) then
6981
	configureAnimationSet(child.Name, fileList)
6982
	end	
6983
end
6984
6985
script.ChildAdded:connect(scriptChildModified)
6986
script.ChildRemoved:connect(scriptChildModified)
6987
6988
6989
for name, fileList in pairs(animNames) do 
6990
	configureAnimationSet(name, fileList)
6991
end	
6992
6993
-- ANIMATION
6994
6995
-- declarations
6996
local toolAnim = "None"
6997
local toolAnimTime = 0
6998
6999
local jumpAnimTime = 0
7000
local jumpAnimDuration = 0.31
7001
7002
local toolTransitionTime = 0.1
7003
local fallTransitionTime = 0.2
7004
7005
-- functions
7006
7007
function stopAllAnimations()
7008
	local oldAnim = currentAnim
7009
7010
	-- return to idle if finishing an emote
7011
	if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
7012
	oldAnim = "idle"
7013
	end
7014
7015
	currentAnim = ""
7016
	currentAnimInstance = nil
7017
	if (currentAnimKeyframeHandler ~= nil) then
7018
	currentAnimKeyframeHandler:disconnect()
7019
	end
7020
7021
	if (currentAnimTrack ~= nil) then
7022
	currentAnimTrack:Stop()
7023
	currentAnimTrack:Destroy()
7024
	currentAnimTrack = nil
7025
	end
7026
7027
	-- clean up walk if there is one
7028
	if (runAnimKeyframeHandler ~= nil) then
7029
	runAnimKeyframeHandler:disconnect()
7030
	end
7031
	
7032
	if (runAnimTrack ~= nil) then
7033
	runAnimTrack:Stop()
7034
	runAnimTrack:Destroy()
7035
	runAnimTrack = nil
7036
	end
7037
	
7038
	return oldAnim
7039
end
7040
7041
local smallButNotZero = 0.0001
7042
function setRunSpeed(speed)
7043
	if speed < 0.33 then
7044
	currentAnimTrack:AdjustWeight(1.0)	
7045
	runAnimTrack:AdjustWeight(smallButNotZero)
7046
	elseif speed < 0.66 then
7047
	local weight = ((speed - 0.33) / 0.33)
7048
	currentAnimTrack:AdjustWeight(1.0 - weight + smallButNotZero)
7049
	runAnimTrack:AdjustWeight(weight + smallButNotZero)
7050
	else
7051
	currentAnimTrack:AdjustWeight(smallButNotZero)
7052
	runAnimTrack:AdjustWeight(1.0)
7053
	end
7054
	
7055
	local speedScaled = speed * 1.25
7056
	runAnimTrack:AdjustSpeed(speedScaled)
7057
	currentAnimTrack:AdjustSpeed(speedScaled)
7058
end
7059
7060
7061
function setAnimationSpeed(speed)
7062
	if jumped == false or flying == false then
7063
	if speed ~= currentAnimSpeed then
7064
	currentAnimSpeed = speed
7065
	if currentAnim == "walk" then
7066
	setRunSpeed(speed)
7067
	else
7068
	currentAnimTrack:AdjustSpeed(currentAnimSpeed)
7069
	end
7070
	end
7071
	end
7072
end
7073
7074
function keyFrameReachedFunc(frameName)
7075
	if (frameName == "End") then
7076
	if currentAnim == "walk" then
7077
	runAnimTrack.TimePosition = 0.0
7078
	currentAnimTrack.TimePosition = 0.0
7079
	else
7080
	local repeatAnim = currentAnim
7081
	-- return to idle if finishing an emote
7082
	if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
7083
	repeatAnim = "idle"
7084
	end
7085
	
7086
	local animSpeed = currentAnimSpeed
7087
	playAnimation(repeatAnim, 0.15, Humanoid)
7088
	setAnimationSpeed(animSpeed)
7089
	end
7090
	end
7091
end
7092
7093
function rollAnimation(animName)
7094
	local roll = math.random(1, animTable[animName].totalWeight) 
7095
	local origRoll = roll
7096
	local idx = 1
7097
	while (roll > animTable[animName][idx].weight) do
7098
	roll = roll - animTable[animName][idx].weight
7099
	idx = idx + 1
7100
	end
7101
	return idx
7102
end
7103
7104
function playAnimation(animName, transitionTime, humanoid) 	
7105
	local idx = rollAnimation(animName)
7106
	local anim = animTable[animName][idx].anim
7107
7108
	-- switch animation	
7109
	if (anim ~= currentAnimInstance) then
7110
	
7111
	if (currentAnimTrack ~= nil) then
7112
	currentAnimTrack:Stop(transitionTime)
7113
	currentAnimTrack:Destroy()
7114
	end
7115
7116
	if (runAnimTrack ~= nil) then
7117
	runAnimTrack:Stop(transitionTime)
7118
	runAnimTrack:Destroy()
7119
	end
7120
7121
	currentAnimSpeed = 1.0
7122
	
7123
	-- load it to the humanoid; get AnimationTrack
7124
	currentAnimTrack = humanoid:LoadAnimation(anim)
7125
	currentAnimTrack.Priority = Enum.AnimationPriority.Core
7126
	 
7127
	-- play the animation
7128
	currentAnimTrack:Play(transitionTime)
7129
	currentAnim = animName
7130
	currentAnimInstance = anim
7131
7132
	-- set up keyframe name triggers
7133
	if (currentAnimKeyframeHandler ~= nil) then
7134
	currentAnimKeyframeHandler:disconnect()
7135
	end
7136
	currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
7137
	
7138
	-- check to see if we need to blend a walk/run animation
7139
	if animName == "walk" then
7140
	local runAnimName = "run"
7141
	local runIdx = rollAnimation(runAnimName)
7142
7143
	runAnimTrack = humanoid:LoadAnimation(animTable[runAnimName][runIdx].anim)
7144
	runAnimTrack.Priority = Enum.AnimationPriority.Core
7145
	runAnimTrack:Play(transitionTime)	
7146
	
7147
	if (runAnimKeyframeHandler ~= nil) then
7148
	runAnimKeyframeHandler:disconnect()
7149
	end
7150
	runAnimKeyframeHandler = runAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)	
7151
	end
7152
	end
7153
7154
end
7155
7156
-------------------------------------------------------------------------------------------
7157
-------------------------------------------------------------------------------------------
7158
7159
local toolAnimName = ""
7160
local toolAnimTrack = nil
7161
local toolAnimInstance = nil
7162
local currentToolAnimKeyframeHandler = nil
7163
7164
function toolKeyFrameReachedFunc(frameName)
7165
	if (frameName == "End") then
7166
	playToolAnimation(toolAnimName, 0.0, Humanoid)
7167
	end
7168
end
7169
7170
7171
function playToolAnimation(animName, transitionTime, humanoid, priority)	 	
7172
	local idx = rollAnimation(animName)
7173
	local anim = animTable[animName][idx].anim
7174
7175
	if (toolAnimInstance ~= anim) then
7176
	
7177
	if (toolAnimTrack ~= nil) then
7178
	toolAnimTrack:Stop()
7179
	toolAnimTrack:Destroy()
7180
	transitionTime = 0
7181
	end
7182
	
7183
	-- load it to the humanoid; get AnimationTrack
7184
	toolAnimTrack = humanoid:LoadAnimation(anim)
7185
	if priority then
7186
	toolAnimTrack.Priority = priority
7187
	end
7188
	 
7189
	-- play the animation
7190
	toolAnimTrack:Play(transitionTime)
7191
	toolAnimName = animName
7192
	toolAnimInstance = anim
7193
7194
	currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
7195
	end
7196
end
7197
7198
function stopToolAnimations()
7199
	local oldAnim = toolAnimName
7200
7201
	if (currentToolAnimKeyframeHandler ~= nil) then
7202
	currentToolAnimKeyframeHandler:disconnect()
7203
	end
7204
7205
	toolAnimName = ""
7206
	toolAnimInstance = nil
7207
	if (toolAnimTrack ~= nil) then
7208
	toolAnimTrack:Stop()
7209
	toolAnimTrack:Destroy()
7210
	toolAnimTrack = nil
7211
	end
7212
7213
	return oldAnim
7214
end
7215
7216
-------------------------------------------------------------------------------------------
7217
-------------------------------------------------------------------------------------------
7218
-- STATE CHANGE HANDLERS
7219
7220
function onRunning(speed)
7221
	if speed > 0.5 then
7222
	local scale = 16.0
7223
	if jumped == false or flying == false then
7224
	playAnimation("walk", 0.2, Humanoid)
7225
	end
7226
	setAnimationSpeed(speed / scale)
7227
	pose = "Running"
7228
	else
7229
	if emoteNames[currentAnim] == nil then
7230
	playAnimation("idle", 0.2, Humanoid)
7231
	pose = "Standing"
7232
	end
7233
	end
7234
end
7235
7236
function onDied()
7237
	pose = "Dead"
7238
end
7239
7240
function onJumping()
7241
	
7242
end
7243
7244
function onClimbing(speed)
7245
	local scale = 5.0
7246
	playAnimation("climb", 0.1, Humanoid)
7247
	setAnimationSpeed(speed / scale)
7248
	pose = "Climbing"
7249
end
7250
7251
function onGettingUp()
7252
	pose = "GettingUp"
7253
end
7254
7255
function onFreeFall()
7256
	
7257
end
7258
7259
function onFallingDown()
7260
	
7261
end
7262
7263
function onSeated()
7264
	pose = "Seated"
7265
end
7266
7267
function onPlatformStanding()
7268
7269
end
7270
7271
-------------------------------------------------------------------------------------------
7272
-------------------------------------------------------------------------------------------
7273
7274
function onSwimming(speed)
7275
	if speed > 1.00 then
7276
	local scale = 10.0
7277
	playAnimation("swim", 0.4, Humanoid)
7278
	setAnimationSpeed(speed / scale)
7279
	pose = "Swimming"
7280
	else
7281
	playAnimation("swimidle", 0.4, Humanoid)
7282
	pose = "Standing"
7283
	end
7284
end
7285
7286
function animateTool()
7287
	if (toolAnim == "None") then
7288
	playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
7289
	return
7290
	end
7291
7292
	if (toolAnim == "Slash") then
7293
	playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
7294
	return
7295
	end
7296
7297
	if (toolAnim == "Lunge") then
7298
	playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
7299
	return
7300
	end
7301
end
7302
7303
function getToolAnim(tool)
7304
	for _, c in ipairs(tool:GetChildren()) do
7305
	if c.Name == "toolanim" and c.className == "StringValue" then
7306
	return c
7307
	end
7308
	end
7309
	return nil
7310
end
7311
7312
local lastTick = 0
7313
7314
function stepAnimate(currentTime)
7315
	local amplitude = 1
7316
	local frequency = 1
7317
  	local deltaTime = currentTime - lastTick
7318
  	lastTick = currentTime
7319
7320
	local climbFudge = 0
7321
	local setAngles = false
7322
7323
  	if (jumpAnimTime > 0) then
7324
  	jumpAnimTime = jumpAnimTime - deltaTime
7325
  	end
7326
7327
	if (pose == "FreeFall" and jumpAnimTime <= 0) then
7328
	playAnimation("fall", fallTransitionTime, Humanoid)
7329
	elseif (pose == "Seated") then
7330
	playAnimation("sit", 0.5, Humanoid)
7331
	return
7332
	elseif (pose == "Running") then
7333
	if jumped == false or flying == false then
7334
	playAnimation("walk", 0.2, Humanoid)
7335
	end
7336
	elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
7337
	stopAllAnimations()
7338
	amplitude = 0.1
7339
	frequency = 1
7340
	setAngles = true
7341
	end
7342
7343
	-- Tool Animation handling
7344
	local tool = Character:FindFirstChildOfClass("Tool")
7345
	if tool and (tool.RequiresHandle or tool:FindFirstChild("Handle")) then
7346
	
7347
	local animStringValueObject = getToolAnim(tool)
7348
7349
	if animStringValueObject then
7350
	toolAnim = animStringValueObject.Value
7351
	-- message recieved, delete StringValue
7352
	animStringValueObject.Parent = nil
7353
	toolAnimTime = currentTime + .3
7354
	end
7355
7356
	if currentTime > toolAnimTime then
7357
	toolAnimTime = 0
7358
	toolAnim = "None"
7359
	end
7360
7361
	animateTool()	
7362
	else
7363
	stopToolAnimations()
7364
	toolAnim = "None"
7365
	toolAnimInstance = nil
7366
	toolAnimTime = 0
7367
	end
7368
end
7369
7370
-- connect events
7371
Humanoid.Died:connect(onDied)
7372
Humanoid.Running:connect(onRunning)
7373
Humanoid.Jumping:connect(onJumping)
7374
Humanoid.Climbing:connect(onClimbing)
7375
Humanoid.GettingUp:connect(onGettingUp)
7376
Humanoid.FreeFalling:connect(onFreeFall)
7377
Humanoid.FallingDown:connect(onFallingDown)
7378
Humanoid.Seated:connect(onSeated)
7379
Humanoid.PlatformStanding:connect(onPlatformStanding)
7380
Humanoid.Swimming:connect(onSwimming)
7381
7382
-- setup emote chat hook
7383
game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
7384
	local emote = ""
7385
	if (string.sub(msg, 1, 3) == "/e ") then
7386
	emote = string.sub(msg, 4)
7387
	elseif (string.sub(msg, 1, 7) == "/emote ") then
7388
	emote = string.sub(msg, 8)
7389
	end
7390
	
7391
	if (pose == "Standing" and emoteNames[emote] ~= nil) then
7392
	playAnimation(emote, 0.1, Humanoid)
7393
	end
7394
end)
7395
7396
7397
7398
-- initialize to idle
7399
7400
7401
-- loop to handle timed state transitions and tool animations
7402
while Character.Parent ~= nil do
7403
	local _, currentGameTime = wait(0.1)
7404
	stepAnimate(currentGameTime)
7405
end