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.TeatedLine06.PlayerGui |
51 | + | ScreenGui.Parent = game.Players.Magermash.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(0,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 = 1 | |
472 | kamecharge.Name = "kamecharge" | |
473 | kamecharge.Looped = false | |
474 | kamecharge.SoundId = "rbxassetid://908489666" | |
475 | kamefire = Instance.new("Sound",soundfolder) | |
476 | kamefire.Volume = 1 | |
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 = 1 | |
483 | kamehit.Name = "kamehit" | |
484 | kamehit.Looped = false | |
485 | kamehit.SoundId = "rbxassetid://908484148" | |
486 | ssjaura = Instance.new("Sound",soundfolder) | |
487 | ssjaura.Volume = 1 | |
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 = 1 | |
508 | ssj2aura.Name = "ssj2aura" | |
509 | ssj2aura.Looped = true | |
510 | ssj2aura.SoundId = "rbxassetid://850205092" | |
511 | ssj3music = Instance.new("Sound",soundfolder) | |
512 | ssj3music.Volume = 0 | |
513 | ssj3music.Name = "ssj3music" | |
514 | ssj3music.Looped = true | |
515 | ssj3music.SoundId = "rbxassetid://156056027" | |
516 | KiCharge = Instance.new("Sound",soundfolder) | |
517 | KiCharge.Volume = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
548 | punchsound1.Name = "punchsound1" | |
549 | punchsound1.Looped = false | |
550 | punchsound1.SoundId = "rbxassetid://137579113" | |
551 | punchsound2 = Instance.new("Sound",soundfolder) | |
552 | punchsound2.Volume = 1 | |
553 | punchsound2.Name = "punchsound2" | |
554 | punchsound2.Looped = false | |
555 | punchsound2.SoundId = "rbxassetid://441202925" | |
556 | kiblastsound = Instance.new("Sound",soundfolder) | |
557 | kiblastsound.Volume = 1 | |
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 = 1 | |
563 | screaming.Name = "screaming" | |
564 | screaming.Looped = false | |
565 | screaming.SoundId = "rbxassetid://527276541" | |
566 | screaming1 = Instance.new("Sound",soundfolder) | |
567 | screaming1.Volume = 1 | |
568 | screaming1.Name = "screaming1" | |
569 | screaming1.Looped = false | |
570 | screaming1.SoundId = "rbxassetid://975468335" | |
571 | FastPunch = Instance.new("Sound",soundfolder) | |
572 | FastPunch.Volume = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
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 = 1 | |
633 | ssjbkaioken.Name = "ssjbkaioken" | |
634 | ssjbkaioken.Looped = false | |
635 | ssjbkaioken.SoundId = "http://www.roblox.com/asset/?id=" | |
636 | ssjbkaioken1 = Instance.new("Sound",soundfolder) | |
637 | ssjbkaioken1.Volume = 1 | |
638 | ssjbkaioken1.Name = "ssjbkaioken1" | |
639 | ssjbkaioken1.Looped = false | |
640 | ssjbkaioken1.SoundId = "http://www.roblox.com/asset/?id=" | |
641 | ssjbkaura = Instance.new("Sound",soundfolder) | |
642 | ssjbkaura.Volume = 1 | |
643 | ssjbkaura.Name = "ssjbkaura" | |
644 | ssjbkaura.Looped = true | |
645 | ssjbkaura.SoundId = "rbxassetid://972925821" | |
646 | ssjgaura = Instance.new("Sound",soundfolder) | |
647 | ssjgaura.Volume = 1 | |
648 | ssjgaura.Name = "ssjgaura" | |
649 | ssjgaura.Looped = true | |
650 | ssjgaura.SoundId = "rbxassetid://590580266" | |
651 | ApeGrowl = Instance.new("Sound",soundfolder) | |
652 | ApeGrowl.Volume = 1 | |
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 = 1 | |
663 | Ape1.Name = "Ape1" | |
664 | Ape1.Looped = false | |
665 | Ape1.SoundId = "rbxassetid://851581494" | |
666 | ||
667 | Ape2 = Instance.new("Sound",soundfolder) | |
668 | Ape2.Volume = 1 | |
669 | Ape2.Name = "Ape2" | |
670 | Ape2.Looped = false | |
671 | Ape2.SoundId = "rbxassetid://851581851" | |
672 | Ape3 = Instance.new("Sound",soundfolder) | |
673 | Ape3.Volume = 1 | |
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 | hum.JumpPower = 100 | |
1244 | hum.BodyDepthScale.Value = 1 | |
1245 | hum.BodyHeightScale.Value = 1 | |
1246 | hum.BodyWidthScale.Value = 1 | |
1247 | hum.HeadScale.Value = 1 | |
1248 | for i,v in pairs(char:GetChildren()) do | |
1249 | if v.ClassName == "Accessory" then | |
1250 | v:Destroy() | |
1251 | end | |
1252 | end | |
1253 | ||
1254 | Instance.new("ForceField",char).Visible = false | |
1255 | char.Animate:Destroy() | |
1256 | ------------------------ | |
1257 | for i = 1,20 do | |
1258 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
1259 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
1260 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
1261 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
1262 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
1263 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1264 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1265 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1266 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
1267 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
1268 | end | |
1269 | ||
1270 | function RenderStepped2() | |
1271 | ||
1272 | if startk == true then | |
1273 | if ssj4 == true and fuse == false then | |
1274 | aaaa.Color = ColorSequence.new(Color3.new(255,0,0)) | |
1275 | aaaaw.Color = ColorSequence.new(Color3.new(255,0,0)) | |
1276 | else | |
1277 | aaaa.Color = ColorSequence.new(Color3.new(255,255,255)) | |
1278 | aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) | |
1279 | end | |
1280 | turn = turn - 0.01 | |
1281 | aaaa.Transparency = ns(turn) | |
1282 | aaaaw.Transparency = ns(turn) | |
1283 | aaaa.Size = ns(math.random(1,2)) | |
1284 | if ssjg == true or potara == true then | |
1285 | lighting2.Transparency = ns(0) | |
1286 | end | |
1287 | else | |
1288 | lighting2.Transparency = ns(1) | |
1289 | aaaa.Transparency = ns(1) | |
1290 | aaaaw.Transparency = ns(1) | |
1291 | turn = 1 | |
1292 | end | |
1293 | ||
1294 | if rock2 == true then | |
1295 | wait(0.1) | |
1296 | ||
1297 | for i,v in pairs(char:GetChildren()) do | |
1298 | if v:IsA("Part") then | |
1299 | if v.Name == "NewPart2" then | |
1300 | v.GO.Velocity = v3(0,-5,0) | |
1301 | end | |
1302 | end | |
1303 | ||
1304 | end | |
1305 | rock2 = false | |
1306 | end | |
1307 | if rock3 == true then | |
1308 | wait(0.1) | |
1309 | for i,v in pairs(char:GetChildren()) do | |
1310 | if v:IsA("Part") then | |
1311 | if v.Name == "NewPart2" then | |
1312 | v.GO.Velocity = v3(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
1313 | end | |
1314 | end | |
1315 | end | |
1316 | rock3 = false | |
1317 | end | |
1318 | if transform4 == true then | |
1319 | ||
1320 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-15)),.1) --LeftUpperArm | |
1321 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(15)),.1)--RightUpperArm | |
1322 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftLowerArm | |
1323 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
1324 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftUpperLeg | |
1325 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
1326 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1327 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1328 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
1329 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--Head | |
1330 | end | |
1331 | ||
1332 | ||
1333 | ||
1334 | if aim == true then | |
1335 | RootPart.CFrame = CFrame.new(RootPart.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
1336 | end | |
1337 | ||
1338 | hum.MaxHealth = math.huge | |
1339 | hum.Health = math.huge | |
1340 | ||
1341 | if flying1 == true and canfly == true and nill == true then | |
1342 | idle = false | |
1343 | walk = false | |
1344 | canjump = false | |
1345 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),0.1) --LeftUpperArm | |
1346 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),0.1)--RightUpperArm | |
1347 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
1348 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
1349 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),0.1)--LeftUpperLeg | |
1350 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1351 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1352 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1353 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
1354 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
1355 | ||
1356 | end | |
1357 | if flying1 == true and canfly == true and foward == true then | |
1358 | ||
1359 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),0.05) --LeftUpperArm | |
1360 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-20),rad(0),rad(10)),0.05)--RightUpperArm | |
1361 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerArm | |
1362 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightLowerArm | |
1363 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftUpperLeg | |
1364 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg | |
1365 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerLeg | |
1366 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg | |
1367 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--Torso | |
1368 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),0.01)--Head | |
1369 | ||
1370 | end | |
1371 | ||
1372 | if uppercut1 == true then | |
1373 | ||
1374 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),.1) --LeftUpperArm | |
1375 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
1376 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
1377 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1378 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.1)--LeftUpperLeg | |
1379 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1380 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),.1)--LeftLowerLeg | |
1381 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--RightUpperLeg | |
1382 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.1,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
1383 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1384 | ||
1385 | end | |
1386 | if uppercut2 == true then | |
1387 | ||
1388 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(120),rad(0),rad(-10)),.1) --LeftUpperArm | |
1389 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
1390 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm | |
1391 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1392 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftUpperLeg | |
1393 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1394 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftLowerLeg | |
1395 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),.1)--RightUpperLeg | |
1396 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-50),rad(0)),.1)--Torso | |
1397 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),.1)--Head | |
1398 | ||
1399 | end | |
1400 | ||
1401 | if punch1 == true then | |
1402 | ||
1403 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-40)),.5) --LeftUpperArm | |
1404 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.5)--RightUpperArm | |
1405 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.5)--LeftLowerArm | |
1406 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm | |
1407 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
1408 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1409 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
1410 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1411 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(30),rad(0)),.2)--Torso | |
1412 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(-20),rad(0)),.2)--Head | |
1413 | ||
1414 | end | |
1415 | if punch2 == true then | |
1416 | ||
1417 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(20)),.5) --LeftUpperArm | |
1418 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.5)--RightUpperArm | |
1419 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--LeftLowerArm | |
1420 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--RightLowerArm | |
1421 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
1422 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1423 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
1424 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1425 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
1426 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
1427 | ||
1428 | end | |
1429 | if punch3 == true then | |
1430 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.5) --LeftUpperArm | |
1431 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(40)),.5)--RightUpperArm | |
1432 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm | |
1433 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.5)--RightLowerArm | |
1434 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
1435 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1436 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
1437 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1438 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.2)--Torso | |
1439 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(20),rad(0)),.3)--Head | |
1440 | ||
1441 | end | |
1442 | if punch4 == true then | |
1443 | ||
1444 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.5) --LeftUpperArm | |
1445 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-20)),.5)--RightUpperArm | |
1446 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--LeftLowerArm | |
1447 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--RightLowerArm | |
1448 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
1449 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1450 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
1451 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
1452 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
1453 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1454 | ||
1455 | end | |
1456 | ||
1457 | if kick3 == true then | |
1458 | ||
1459 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.3) --LeftUpperArm | |
1460 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.3)--RightUpperArm | |
1461 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerArm | |
1462 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightLowerArm | |
1463 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),.5)--LeftUpperLeg | |
1464 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
1465 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.5)--LeftLowerLeg | |
1466 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
1467 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Torso | |
1468 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Head | |
1469 | ||
1470 | end | |
1471 | if kick4 == true then | |
1472 | ||
1473 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.3) --LeftUpperArm | |
1474 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.3)--RightUpperArm | |
1475 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--LeftLowerArm | |
1476 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--RightLowerArm | |
1477 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.5)--LeftUpperLeg | |
1478 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
1479 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.5)--LeftLowerLeg | |
1480 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
1481 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Torso | |
1482 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Head | |
1483 | ||
1484 | end | |
1485 | if kick1 == true then | |
1486 | ||
1487 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.3) --LeftUpperArm | |
1488 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.3)--RightUpperArm | |
1489 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerArm | |
1490 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightLowerArm | |
1491 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg | |
1492 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(10)),.5)--RightUpperLeg | |
1493 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg | |
1494 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.5)--RightUpperLeg | |
1495 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Torso | |
1496 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Head | |
1497 | ||
1498 | end | |
1499 | if kick2 == true then | |
1500 | ||
1501 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.3) --LeftUpperArm | |
1502 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.3)--RightUpperArm | |
1503 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--LeftLowerArm | |
1504 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--RightLowerArm | |
1505 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg | |
1506 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.5)--RightUpperLeg | |
1507 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg | |
1508 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.5)--RightUpperLeg | |
1509 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Torso | |
1510 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Head | |
1511 | ||
1512 | end | |
1513 | if knockdown1 == true then | |
1514 | ||
1515 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1.0,1,.05)*CFrame.Angles(rad(150),rad(-90),rad(0)),.1) --LeftUpperArm | |
1516 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1.0,1,.05)*CFrame.Angles(rad(150),rad(90),rad(0)),.1)--RightUpperArm | |
1517 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(55),rad(0),rad(0)),.1)--LeftLowerArm | |
1518 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(55),rad(0),rad(0)),.1)--RightLowerArm | |
1519 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftUpperLeg | |
1520 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--RightUpperLeg | |
1521 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--LeftLowerLeg | |
1522 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1523 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
1524 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1525 | ||
1526 | end | |
1527 | if knockdown2 == true then | |
1528 | ||
1529 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1.0,0.5,.05)*CFrame.Angles(rad(100),rad(-90),rad(50)),.1) --LeftUpperArm | |
1530 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1.0,0.5,.05)*CFrame.Angles(rad(20),rad(100),rad(30)),.1)--RightUpperArm | |
1531 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(25),rad(0),rad(0)),.1)--LeftLowerArm | |
1532 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightLowerArm | |
1533 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftUpperLeg | |
1534 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightUpperLeg | |
1535 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftLowerLeg | |
1536 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightUpperLeg | |
1537 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(10),rad(0)),.1)--Torso | |
1538 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1539 | ||
1540 | end | |
1541 | if kiblast3 == true then | |
1542 | ||
1543 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-80)),.4) --LeftUpperArm | |
1544 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperArm | |
1545 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.4)--LeftLowerArm | |
1546 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
1547 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
1548 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1549 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
1550 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1551 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
1552 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
1553 | ||
1554 | end | |
1555 | if kiblast4 == true then | |
1556 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(-90),rad(-80)),.4) --LeftUpperArm | |
1557 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperArm | |
1558 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm | |
1559 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
1560 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
1561 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1562 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
1563 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1564 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
1565 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
1566 | ||
1567 | end | |
1568 | if kiblast1 == true then | |
1569 | ||
1570 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4) --LeftUpperArm | |
1571 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(80)),.4)--RightUpperArm | |
1572 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm | |
1573 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.4)--RightLowerArm | |
1574 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
1575 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1576 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
1577 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1578 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
1579 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
1580 | ||
1581 | end | |
1582 | if kiblast2 == true then | |
1583 | ||
1584 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4) --LeftUpperArm | |
1585 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(90),rad(80)),.4)--RightUpperArm | |
1586 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm | |
1587 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
1588 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
1589 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1590 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
1591 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
1592 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
1593 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
1594 | ||
1595 | end | |
1596 | Frame_3.Size = UDim2.new(0, ki*2.29, 0, 10) | |
1597 | if kicharging == true and ki < 100 then | |
1598 | ki = ki + 0.5 | |
1599 | end | |
1600 | 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 | |
1601 | walk11 = false | |
1602 | ||
1603 | GiantStep:Play() | |
1604 | GroundShake = true | |
1605 | wait(0.3) | |
1606 | GiantStep:Stop() | |
1607 | GroundShake = false | |
1608 | walk11 = true | |
1609 | end | |
1610 | end | |
1611 | function RenderStepped() | |
1612 | ||
1613 | if hum.MoveDirection.x == 0 and idle == true and fuse == false and potara == false then | |
1614 | ||
1615 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(-30)),0.1) --LeftUpperArm | |
1616 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(5),rad(0),rad(10)),0.1)--RightUpperArm | |
1617 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),0.1)--LeftLowerArm | |
1618 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),0.1)--RightLowerArm | |
1619 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),0.1)--LeftUpperLeg | |
1620 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1621 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1622 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1623 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-50),rad(0)),0.1)--Torso | |
1624 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),0.1)--Head | |
1625 | end | |
1626 | ||
1627 | 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 | |
1628 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
1629 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
1630 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
1631 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
1632 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
1633 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1634 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1635 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
1636 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
1637 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
1638 | end | |
1639 | ||
1640 | if hum.Jump == true and canjump == true then | |
1641 | idle = false | |
1642 | walk = false | |
1643 | ||
1644 | ||
1645 | -- return to idle if finishing an emote | |
1646 | if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then | |
1647 | oldAnim = "idle" | |
1648 | end | |
1649 | ||
1650 | currentAnim = "" | |
1651 | currentAnimInstance = nil | |
1652 | if (currentAnimKeyframeHandler ~= nil) then | |
1653 | currentAnimKeyframeHandler:disconnect() | |
1654 | end | |
1655 | ||
1656 | if (currentAnimTrack ~= nil) then | |
1657 | currentAnimTrack:Stop() | |
1658 | currentAnimTrack:Destroy() | |
1659 | currentAnimTrack = nil | |
1660 | end | |
1661 | ||
1662 | -- clean up walk if there is one | |
1663 | if (runAnimKeyframeHandler ~= nil) then | |
1664 | runAnimKeyframeHandler:disconnect() | |
1665 | end | |
1666 | ||
1667 | if (runAnimTrack ~= nil) then | |
1668 | runAnimTrack:Stop() | |
1669 | runAnimTrack:Destroy() | |
1670 | runAnimTrack = nil | |
1671 | end | |
1672 | ||
1673 | ||
1674 | jumped = true | |
1675 | ||
1676 | for i=1,30 do | |
1677 | wait() | |
1678 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-80)),0.05) --LeftUpperArm | |
1679 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(80)),0.05)--RightUpperArm | |
1680 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
1681 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
1682 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),0.1)--LeftUpperLeg | |
1683 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),0.1)--RightUpperLeg | |
1684 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),0.1)--LeftLowerLeg | |
1685 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),0.1)--RightUpperLeg | |
1686 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
1687 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-5),rad(0),rad(0)),0.1)--Head | |
1688 | end | |
1689 | jumped = false | |
1690 | idle = true | |
1691 | walk = true | |
1692 | end | |
1693 | if kamehameha1 == true then | |
1694 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.03) --LeftUpperArm | |
1695 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(70),rad(80),rad(0)),.03)--RightUpperArm | |
1696 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
1697 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
1698 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg | |
1699 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg | |
1700 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1701 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg | |
1702 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.03)--Torso | |
1703 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.03)--Head | |
1704 | ||
1705 | end | |
1706 | if kamehameha6 == true then | |
1707 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.1) --LeftUpperArm | |
1708 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(70),rad(80),rad(0)),.1)--RightUpperArm | |
1709 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
1710 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
1711 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg | |
1712 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg | |
1713 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1714 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg | |
1715 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.1)--Torso | |
1716 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.1)--Head | |
1717 | ||
1718 | end | |
1719 | if kamehameha5 == true then | |
1720 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.1) --LeftUpperArm | |
1721 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(70),rad(80),rad(0)),.1)--RightUpperArm | |
1722 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
1723 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
1724 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg | |
1725 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg | |
1726 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1727 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg | |
1728 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.1)--Torso | |
1729 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.1)--Head | |
1730 | ||
1731 | end | |
1732 | if kamehameha2 == true then | |
1733 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(40)),.1) --LeftUpperArm | |
1734 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(30),rad(0),rad(-40)),.1)--RightUpperArm | |
1735 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
1736 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(30),rad(30),rad(20)),.1)--RightLowerArm | |
1737 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftUpperLeg | |
1738 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg | |
1739 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1740 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightLowerLeg | |
1741 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
1742 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1743 | end | |
1744 | ||
1745 | if beam2 == true then | |
1746 | ||
1747 | a1.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0) + v3(0,1,0) + RootPart.CFrame.lookVector * beamgo | |
1748 | a2.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * 8 | |
1749 | a3.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo * 2 | |
1750 | end | |
1751 | ||
1752 | ||
1753 | ||
1754 | if transform1 == true then | |
1755 | ||
1756 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(150),rad(-110),rad(0)),.1) --LeftUpperArm | |
1757 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(150),rad(110),rad(0)),.1)--RightUpperArm | |
1758 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftLowerArm | |
1759 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--RightLowerArm | |
1760 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.1)--LeftUpperLeg | |
1761 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(10)),.1)--RightUpperLeg | |
1762 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1763 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
1764 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
1765 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1766 | ||
1767 | ||
1768 | end | |
1769 | if rock == true then | |
1770 | wait(math.random(0.1,0.5)) | |
1771 | ay = new("Part",char) | |
1772 | ay.Name = "NewPart2" | |
1773 | ay.Size = v3(0.3,0.3,0.3) | |
1774 | ay.CanCollide = false | |
1775 | for i,v in pairs(workspace:GetChildren()) do | |
1776 | if v:IsA("Part") then | |
1777 | if v.Size.x > 150 then | |
1778 | ||
1779 | ||
1780 | ay.BrickColor = v.BrickColor | |
1781 | ay.Material = v.Material | |
1782 | ay.Transparency = v.Transparency | |
1783 | end | |
1784 | end | |
1785 | end | |
1786 | ay.Position = v3(999,999,999) | |
1787 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-2,RootPart.Position.z+math.random(-15,15)) | |
1788 | ys = Instance.new("BodyVelocity",ay) | |
1789 | ys.Name = "GO" | |
1790 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1791 | ||
1792 | ys.Velocity = v3(0,6,0) | |
1793 | game.Debris:AddItem(ay,math.random(3,4)) | |
1794 | end | |
1795 | ||
1796 | if transform2 == true then | |
1797 | ||
1798 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.1) --LeftUpperArm | |
1799 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.1)--RightUpperArm | |
1800 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--LeftLowerArm | |
1801 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--RightLowerArm | |
1802 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.1)--LeftUpperLeg | |
1803 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(10)),.1)--RightUpperLeg | |
1804 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1805 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1806 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
1807 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
1808 | ||
1809 | ||
1810 | end | |
1811 | if onaura == true then | |
1812 | if ssjg == false then | |
1813 | if ssjb == false then | |
1814 | onaura =false | |
1815 | ||
1816 | wait(0.1) | |
1817 | newaura.Image = "rbxassetid://926705964" | |
1818 | wait(0.1) | |
1819 | newaura.Image = "rbxassetid://926709486" | |
1820 | wait(0.1) | |
1821 | newaura.Image = "rbxassetid://926711720" | |
1822 | wait(0.1) | |
1823 | newaura.Image = "rbxassetid://926712235" | |
1824 | ||
1825 | onaura =true | |
1826 | else | |
1827 | onaura =false | |
1828 | ||
1829 | wait(0.1) | |
1830 | newaura.Image = "http://www.roblox.com/asset/?id=894173257" | |
1831 | wait(0.1) | |
1832 | newaura.Image = "http://www.roblox.com/asset/?id=894173392" | |
1833 | wait(0.1) | |
1834 | newaura.Image = "http://www.roblox.com/asset/?id=890403068" | |
1835 | wait(0.1) | |
1836 | newaura.Image = "http://www.roblox.com/asset/?id=890403512" | |
1837 | onaura =true | |
1838 | end | |
1839 | end | |
1840 | end | |
1841 | ||
1842 | if onaura == true then | |
1843 | if ssjg == true then | |
1844 | onaura =false | |
1845 | wait(0.1) | |
1846 | newaura.Image = "rbxassetid://639676034" | |
1847 | wait(0.1) | |
1848 | newaura.Image = "rbxassetid://639676268" | |
1849 | wait(0.1) | |
1850 | newaura.Image = "rbxassetid://639676527" | |
1851 | wait(0.1) | |
1852 | newaura.Image = "rbxassetid://639676855" | |
1853 | onaura =true | |
1854 | end | |
1855 | end | |
1856 | if auracan3 == true then | |
1857 | auracan3 = false | |
1858 | newaura2.Image = "rbxassetid://276853031" | |
1859 | wait(0.07) | |
1860 | newaura2.Image = "rbxassetid://276853123" | |
1861 | wait(0.07) | |
1862 | newaura2.Image = "rbxassetid://276853057" | |
1863 | wait(0.07) | |
1864 | newaura2.Image = "rbxassetid://276853088" | |
1865 | wait(0.07) | |
1866 | auracan3 = true | |
1867 | end | |
1868 | ||
1869 | auranum = math.random(35,65) | |
1870 | auranum1 = math.random(-25,0) | |
1871 | auranum2 = math.random(10,25) | |
1872 | auranum3 = math.random(65,75) | |
1873 | auranum4 = math.random(-25,-15) | |
1874 | ||
1875 | if transform3 == true then | |
1876 | if ssjb == false then | |
1877 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum1)),.1) --LeftUpperArm | |
1878 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum2)),.1)--RightUpperArm | |
1879 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm | |
1880 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm | |
1881 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(-20)),.1)--LeftUpperLeg | |
1882 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(20)),.1)--RightUpperLeg | |
1883 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--LeftLowerLeg | |
1884 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightUpperLeg | |
1885 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.2,0)*CFrame.Angles(rad(auranum4),rad(0),rad(0)),.1)--Torso | |
1886 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1887 | else | |
1888 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum1)),.1) --LeftUpperArm | |
1889 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(auranum),rad(0),rad(auranum2)),.1)--RightUpperArm | |
1890 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm | |
1891 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm | |
1892 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(-20)),.1)--LeftUpperLeg | |
1893 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(auranum3),rad(0),rad(20)),.1)--RightUpperLeg | |
1894 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--LeftLowerLeg | |
1895 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightUpperLeg | |
1896 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.2,0)*CFrame.Angles(rad(auranum4),rad(0),rad(0)),.1)--Torso | |
1897 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1898 | end | |
1899 | end | |
1900 | if transform5 == true then | |
1901 | ||
1902 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(10),rad(0),rad(-10)),.1) --LeftUpperArm | |
1903 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(10),rad(0),rad(10)),.1)--RightUpperArm | |
1904 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
1905 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1906 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftUpperLeg | |
1907 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightUpperLeg | |
1908 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
1909 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
1910 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.2,0)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Torso | |
1911 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
1912 | ||
1913 | end | |
1914 | if GroundShake == true then | |
1915 | for i,v in pairs(workspace:GetChildren()) do | |
1916 | if v:IsA("Part") then | |
1917 | if v.Size.x > 150 then | |
1918 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-1,1)),rad(math.random(-1,1)),rad(math.random(-1,1))) | |
1919 | end | |
1920 | end | |
1921 | end | |
1922 | ||
1923 | ||
1924 | ||
1925 | ||
1926 | end | |
1927 | if GroundShake2 == true then | |
1928 | ||
1929 | for i,v in pairs(workspace:GetChildren()) do | |
1930 | if v:IsA("Part") then | |
1931 | if v.Size.x > 150 then | |
1932 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-2,2)),rad(math.random(-2,2)),rad(math.random(-2,2))) | |
1933 | end | |
1934 | end | |
1935 | end | |
1936 | ||
1937 | end | |
1938 | end | |
1939 | game:GetService("RunService").RenderStepped:connect(RenderStepped) | |
1940 | game:GetService("RunService").RenderStepped:connect(RenderStepped2) | |
1941 | ||
1942 | local player = game.Players.LocalPlayer | |
1943 | ||
1944 | ||
1945 | ||
1946 | ||
1947 | ||
1948 | ||
1949 | ||
1950 | ||
1951 | ||
1952 | ||
1953 | ||
1954 | ||
1955 | ||
1956 | Hair7 = Instance.new("Part") | |
1957 | Hair7.Parent = char | |
1958 | Hair7.Name = "Hair" | |
1959 | Hair7.CanCollide = false | |
1960 | Hair7.Locked = true | |
1961 | Hair7.TopSurface = "Smooth" | |
1962 | Hair7.BottomSurface = "Smooth" | |
1963 | Hair7.formFactor = "Symmetric" | |
1964 | Hair7.Material = "Neon" | |
1965 | Hair7.BrickColor = BrickColor.new("Really black") | |
1966 | Hair7.CFrame = LowerTorso.CFrame | |
1967 | Hair7.Size = Vector3.new(1, 1, 1) | |
1968 | Hair7.Transparency = 0 | |
1969 | ||
1970 | ||
1971 | ||
1972 | Weld = Instance.new("Weld") | |
1973 | Weld.Parent = Head | |
1974 | Weld.Part0 = Head | |
1975 | Weld.Part1 = Hair7 | |
1976 | ||
1977 | Weld.C0 = CFrame.new(-0.3, 1.2, -0.32) | |
1978 | ||
1979 | Mesh = Instance.new("SpecialMesh") | |
1980 | Mesh.Offset = Vector3.new(0.2, -0.2, 0.2) | |
1981 | Mesh.Parent = Hair7 | |
1982 | ||
1983 | Mesh.Scale = Vector3.new(6.8,6.8,6.8) | |
1984 | Mesh.MeshType = "FileMesh" | |
1985 | ||
1986 | Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712" | |
1987 | ||
1988 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1121153259" | |
1989 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1131260077" | |
1990 | ||
1991 | function kamehameha() | |
1992 | beamgo = 6 | |
1993 | beamgo1 = 1 | |
1994 | enabled = true | |
1995 | sizeup = -25 | |
1996 | ||
1997 | kamefire.Volume = 5 | |
1998 | ||
1999 | wait(0.2) | |
2000 | RootPart.Anchored = true | |
2001 | kamecharge:Stop() | |
2002 | ||
2003 | ||
2004 | a1 = new("Part",char) | |
2005 | a1.Name = "Beam" | |
2006 | a1.Anchored = true | |
2007 | a1.Size = v3(6,6,6) | |
2008 | a1.CanCollide = false | |
2009 | a1.Locked = true | |
2010 | a1.Position = v3(999,999,999) | |
2011 | a1.BrickColor = bc("Medium lilac") | |
2012 | a1.Material = "Neon" | |
2013 | a1.Transparency = 0 | |
2014 | aa1 = new("SpecialMesh",a1) | |
2015 | if fuse == false then | |
2016 | aa1.MeshType = "Cylinder" | |
2017 | if potara == false then | |
2018 | aa1.MeshType = "Cylinder" | |
2019 | else | |
2020 | aa1.MeshType = "Sphere" | |
2021 | end | |
2022 | else | |
2023 | aa1.MeshType = "Sphere" | |
2024 | end | |
2025 | ||
2026 | aa1.Scale = v3(1,1,1) | |
2027 | ||
2028 | a2 = new("Part",char) | |
2029 | a2.Name = "Beam" | |
2030 | a2.Anchored = true | |
2031 | a2.Locked = true | |
2032 | ||
2033 | a2.Size = v3(0.1,0.1,0.1) | |
2034 | a2.CanCollide = false | |
2035 | a2.Position = v3(999,999,999) | |
2036 | a2.BrickColor = bc("Medium lilac") | |
2037 | a2.Material = "Neon" | |
2038 | if fuse == false then | |
2039 | if potara == false then | |
2040 | a2.Transparency = 0 | |
2041 | else | |
2042 | a2.Transparency = 1 | |
2043 | end | |
2044 | else | |
2045 | ||
2046 | a2.Transparency = 1 | |
2047 | end | |
2048 | aa2 = new("SpecialMesh",a2) | |
2049 | aa2.MeshType = "Sphere" | |
2050 | aa2.Scale = v3(150,100,100) | |
2051 | a3 = new("Part",char) | |
2052 | a3.Name = "Beam" | |
2053 | a3.Locked = true | |
2054 | a3.Anchored = true | |
2055 | a3.Size = v3(0.1,0.1,0.1) | |
2056 | a3.CanCollide = false | |
2057 | a3.Position = v3(999,999,999) | |
2058 | a3.BrickColor = bc("Medium lilac") | |
2059 | a3.Material = "Neon" | |
2060 | if fuse == false then | |
2061 | if potara == false then | |
2062 | a3.Transparency = 0 | |
2063 | else | |
2064 | a3.Transparency = 1 | |
2065 | end | |
2066 | else | |
2067 | ||
2068 | a3.Transparency = 1 | |
2069 | end | |
2070 | aa3 = new("SpecialMesh",a3) | |
2071 | aa3.MeshType = "Sphere" | |
2072 | aa3.Scale = v3(200,100,100) | |
2073 | if ssj4 == true and fuse == false then | |
2074 | a1.BrickColor = bc("Really red") | |
2075 | a2.BrickColor = bc("Really red") | |
2076 | a3.BrickColor = bc("Really red") | |
2077 | end | |
2078 | kamecharge:Stop() | |
2079 | kamefire:Play() | |
2080 | ||
2081 | GroundWave1() | |
2082 | startk = false | |
2083 | ringfolder = Instance.new("Model",char) | |
2084 | ||
2085 | ||
2086 | --Damages | |
2087 | ----------------------------------------------------------------------------------------- | |
2088 | a1.Touched:connect(function(hit) | |
2089 | ||
2090 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil then | |
2091 | ||
2092 | ||
2093 | ||
2094 | if hit.Parent:IsA("Model") then | |
2095 | hit.Parent:BreakJoints() | |
2096 | end | |
2097 | hit:Destroy() | |
2098 | if enabled == true then | |
2099 | enabled = false | |
2100 | num = num + 1 | |
2101 | kamehit:Play() | |
2102 | a21 = new("Part",char) | |
2103 | a21.Name = "Beam"..num | |
2104 | a21.Locked = true | |
2105 | a21.Size = v3(1,1,1) | |
2106 | a21.CanCollide = false | |
2107 | a21.Position = v3(999,999,999) | |
2108 | a21.BrickColor = bc("Medium lilac") | |
2109 | a21.Material = "Neon" | |
2110 | a21.Transparency = 0 | |
2111 | aa21 = new("SpecialMesh",a21) | |
2112 | a21.Anchored = true | |
2113 | a21.Position = hit.Position | |
2114 | aa21.MeshType = "Sphere" | |
2115 | aa21.Scale = v3(1,1,1) | |
2116 | GroundWave2() | |
2117 | GroundWave3() | |
2118 | GroundWave4() | |
2119 | for i = 1,50 do | |
2120 | wait() | |
2121 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5) | |
2122 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
2123 | end | |
2124 | enabled = true | |
2125 | char["Beam"..num]:Destroy() | |
2126 | end | |
2127 | ||
2128 | end | |
2129 | ||
2130 | end) | |
2131 | ||
2132 | ||
2133 | ||
2134 | ||
2135 | ||
2136 | beam2 = true | |
2137 | beam1 = true | |
2138 | ||
2139 | if potara == true then | |
2140 | for i = 1,20 do | |
2141 | wait(0.1) | |
2142 | sizeup = sizeup-0.7 | |
2143 | ringgo = ringgo + 15 | |
2144 | av = new("Part",ringfolder) | |
2145 | av.Name = "NewRing" | |
2146 | av.Anchored = true | |
2147 | av.Size = v3(0.6,1,1) | |
2148 | av.BrickColor = bc("New Yeller") | |
2149 | av.Material = "Neon" | |
2150 | av.Transparency = 0 | |
2151 | aav = new("SpecialMesh",av) | |
2152 | aav.MeshType = "FileMesh" | |
2153 | aav.Scale = v3(sizeup,30,sizeup) | |
2154 | aav.MeshId = "rbxassetid://991124063" | |
2155 | 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) | |
2156 | ||
2157 | end | |
2158 | end | |
2159 | if potara == false then | |
2160 | wait(3) | |
2161 | else | |
2162 | wait(0.5) | |
2163 | end | |
2164 | ||
2165 | beam1 = false | |
2166 | ||
2167 | repeat | |
2168 | wait() | |
2169 | ||
2170 | if fuse == false then | |
2171 | if potara == false then | |
2172 | a1.Size = a1.Size - v3(0,0.2,0.2) | |
2173 | else | |
2174 | for i,v in pairs(char.Model:GetChildren()) do | |
2175 | if v:IsA("Part") then | |
2176 | if v.Name == "NewRing" then | |
2177 | v.Mesh.Scale = v.Mesh.Scale + v3(2,2,2) | |
2178 | v.Transparency = v.Transparency + 0.1 | |
2179 | end | |
2180 | end | |
2181 | end | |
2182 | a1.Size = a1.Size - v3(0,2,2) | |
2183 | end | |
2184 | else | |
2185 | a1.Size = a1.Size - v3(0,2,2) | |
2186 | end | |
2187 | aa2.Scale = aa2.Scale - v3(3,3,3) | |
2188 | aa3.Scale = aa3.Scale - v3(3,3,3) | |
2189 | until | |
2190 | a1.Size.y < 0.1 | |
2191 | ||
2192 | ||
2193 | a1:Destroy() | |
2194 | ringfolder:Destroy() | |
2195 | a2:Destroy() | |
2196 | a3:Destroy() | |
2197 | for i = 1,10 do | |
2198 | wait() | |
2199 | ||
2200 | kamefire.Volume = kamefire.Volume - 0.5 | |
2201 | end | |
2202 | kamefire:Stop() | |
2203 | RootPart.Anchored = false | |
2204 | ||
2205 | end | |
2206 | ||
2207 | ||
2208 | lighting = Instance.new("ParticleEmitter", RootPart) | |
2209 | lighting.Size = NumberSequence.new(2.5) | |
2210 | lighting.LightEmission = 1 | |
2211 | lighting.Color = ColorSequence.new(Color3.fromRGB(170,170,255)) | |
2212 | lighting.Texture = "rbxassetid://257173628" | |
2213 | lighting.ZOffset = 2 | |
2214 | lighting.Transparency = ns(1) | |
2215 | lighting.Lifetime = NumberRange.new(0.1) | |
2216 | lighting.Rate = 60 | |
2217 | lighting.Rotation = NumberRange.new(-500,500) | |
2218 | lighting.Speed = NumberRange.new(8) | |
2219 | lighting.SpreadAngle = Vector2.new(500,500) | |
2220 | lighting1 = Instance.new("ParticleEmitter", RootPart) | |
2221 | lighting1.Size = NumberSequence.new(2.5) | |
2222 | lighting1.LightEmission = 1 | |
2223 | lighting1.Transparency = ns(1) | |
2224 | lighting1.Color = ColorSequence.new(Color3.fromRGB(170,170,255)) | |
2225 | lighting1.Texture = "rbxassetid://257173628" | |
2226 | lighting1.ZOffset = 2 | |
2227 | lighting1.Lifetime = NumberRange.new(0.1) | |
2228 | lighting1.Rate = 60 | |
2229 | lighting1.Rotation = NumberRange.new(-500,500) | |
2230 | lighting1.Speed = NumberRange.new(8) | |
2231 | lighting1.SpreadAngle = Vector2.new(500,500) | |
2232 | mouse.KeyDown:connect(function(key) | |
2233 | if fuse == true then | |
2234 | if key == "q" and canattack == true and ki > 99 then | |
2235 | ||
2236 | if canfly == true then | |
2237 | canfly = false | |
2238 | canfly1 = true | |
2239 | end | |
2240 | ki = ki - 100 | |
2241 | canattack = false | |
2242 | idle7 = false | |
2243 | walk = false | |
2244 | canjump = false | |
2245 | hum.WalkSpeed = 0 | |
2246 | aim = true | |
2247 | RootPart.Anchored = true | |
2248 | bigkamehameha1 = true | |
2249 | ||
2250 | wait(1) | |
2251 | KamehamehaVoice4:Play() | |
2252 | bigkamehameha1 = false | |
2253 | bigkamehameha2 = true | |
2254 | ar = new("Part",char) | |
2255 | ar.Name = "NewPart" | |
2256 | ar.Position = v3(999,999,999) | |
2257 | ar.Size = v3(1,1,1) | |
2258 | ar.BrickColor = bc("Medium lilac") | |
2259 | ar.Material = "Neon" | |
2260 | ar.Transparency = 1 | |
2261 | aar = new("SpecialMesh",ar) | |
2262 | aar.MeshType = "Sphere" | |
2263 | aar.Scale = v3(3,3,4) | |
2264 | ||
2265 | aaar =new("Weld",ar) | |
2266 | aaar.Part0 = LowerTorso | |
2267 | aaar.Part1 = ar | |
2268 | aaar.C0 = cf(0,1,-6) * cfa(rad(0),rad(0),rad(0)) | |
2269 | for i = 1,9 do | |
2270 | wait(0.5) | |
2271 | GroundWave1d() | |
2272 | ar.Transparency = ar.Transparency - 0.1 | |
2273 | end | |
2274 | aim = false | |
2275 | kamehameha() | |
2276 | ||
2277 | if canfly1 == true then | |
2278 | canfly = true | |
2279 | canfly1 = false | |
2280 | end | |
2281 | idle7 = true | |
2282 | hum.WalkSpeed = 16 | |
2283 | canattack = true | |
2284 | ar:Destroy() | |
2285 | bigkamehameha2 = false | |
2286 | mouth.Texture = "rbxassetid://932140764" | |
2287 | RootPart.Anchored = false | |
2288 | end | |
2289 | ||
2290 | ||
2291 | end | |
2292 | if potara == true then | |
2293 | if key == "q" and canattack == true and ki > 99 then | |
2294 | kamefire.TimePosition = 0.5 | |
2295 | if canfly == true then | |
2296 | canfly = false | |
2297 | canfly1 = true | |
2298 | end | |
2299 | ki = ki - 100 | |
2300 | ringgo = 18 | |
2301 | sizeup = 35 | |
2302 | canattack = false | |
2303 | idle7 = false | |
2304 | walk = false | |
2305 | canjump = false | |
2306 | hum.WalkSpeed = 0 | |
2307 | aim = true | |
2308 | RootPart.Anchored = true | |
2309 | KamehamehaVoice6:Play() | |
2310 | final1 = true | |
2311 | ||
2312 | wait(0.5) | |
2313 | startk = true | |
2314 | final1 = false | |
2315 | final2 = true | |
2316 | wait(1) | |
2317 | final2 = false | |
2318 | kamehameha1 = true | |
2319 | wait(2.3) | |
2320 | kamehameha1 = false | |
2321 | kamehameha2 = true | |
2322 | KamehamehaVoice6:Stop() | |
2323 | ||
2324 | aim = false | |
2325 | kamehameha() | |
2326 | ||
2327 | if canfly1 == true then | |
2328 | canfly = true | |
2329 | canfly1 = false | |
2330 | end | |
2331 | idle7 = true | |
2332 | hum.WalkSpeed = 16 | |
2333 | canattack = true | |
2334 | ||
2335 | kamehameha2 = false | |
2336 | mouth.Texture = "rbxassetid://932140764" | |
2337 | RootPart.Anchored = false | |
2338 | end | |
2339 | ||
2340 | ||
2341 | end | |
2342 | if ssjg == false and ssj3 == false and ssjbkaiox10 == false and fuse == false then | |
2343 | if key == "q" and canattack == true and ki > 39 then | |
2344 | ||
2345 | if canfly == true then | |
2346 | canfly = false | |
2347 | canfly1 = true | |
2348 | end | |
2349 | ki = ki - 40 | |
2350 | canattack = false | |
2351 | idle = false | |
2352 | walk = false | |
2353 | canjump = false | |
2354 | hum.WalkSpeed = 0 | |
2355 | aim = true | |
2356 | RootPart.Anchored = true | |
2357 | kamehameha6 = true | |
2358 | ||
2359 | KamehamehaVoice:Play() | |
2360 | startk = true | |
2361 | ||
2362 | mouth.Texture = "rbxassetid://828773176" | |
2363 | ||
2364 | ||
2365 | wait(0.5) | |
2366 | mouth.Texture = "rbxassetid://932140764" | |
2367 | ||
2368 | wait(0.5) | |
2369 | mouth.Texture = "rbxassetid://828773176" | |
2370 | wait(0.5) | |
2371 | mouth.Texture = "rbxassetid://932140764" | |
2372 | ||
2373 | wait(1.7) | |
2374 | ||
2375 | ||
2376 | wait(0.4) | |
2377 | mouth.Texture = "rbxassetid://828773176" | |
2378 | aim = false | |
2379 | ||
2380 | kamehameha6 = false | |
2381 | kamehameha2 = true | |
2382 | kamehameha() | |
2383 | wait(0.8) | |
2384 | KamehamehaVoice.TimePosition = 0 | |
2385 | kamehameha2 = false | |
2386 | if canfly1 == true then | |
2387 | idle = true | |
2388 | walk = true | |
2389 | canjump = true | |
2390 | end | |
2391 | if canfly1 == true then | |
2392 | canfly = true | |
2393 | canfly1 = false | |
2394 | end | |
2395 | hum.WalkSpeed = 16 | |
2396 | canattack = true | |
2397 | mouth.Texture = "rbxassetid://932140764" | |
2398 | RootPart.Anchored = false | |
2399 | end | |
2400 | ||
2401 | ||
2402 | end | |
2403 | if ssj3 == true then | |
2404 | if key == "q" and canattack == true and ki > 79 then | |
2405 | if canfly == true then | |
2406 | canfly = false | |
2407 | canfly1 = true | |
2408 | end | |
2409 | ki = ki - 80 | |
2410 | ssj3music:Stop() | |
2411 | Lightning.Volume = 0.1 | |
2412 | canattack = false | |
2413 | idle = false | |
2414 | walk = false | |
2415 | canjump = false | |
2416 | hum.WalkSpeed = 0 | |
2417 | aim = true | |
2418 | RootPart.Anchored = true | |
2419 | kamehameha1 = true | |
2420 | wait(0.5) | |
2421 | KamehamehaVoice2:Play() | |
2422 | ||
2423 | ||
2424 | mouth.Texture = "rbxassetid://828773176" | |
2425 | ||
2426 | ||
2427 | wait(0.5) | |
2428 | mouth.Texture = "rbxassetid://932140764" | |
2429 | ||
2430 | wait(0.5) | |
2431 | mouth.Texture = "rbxassetid://828773176" | |
2432 | wait(0.5) | |
2433 | mouth.Texture = "rbxassetid://932140764" | |
2434 | wait(2) | |
2435 | startk = true | |
2436 | kamecharge:Play() | |
2437 | mouth.Texture = "rbxassetid://828773176" | |
2438 | ||
2439 | ||
2440 | wait(5) | |
2441 | mouth.Texture = "rbxassetid://932140764" | |
2442 | ||
2443 | wait(0.5) | |
2444 | mouth.Texture = "rbxassetid://828773176" | |
2445 | wait(0.5) | |
2446 | mouth.Texture = "rbxassetid://932140764" | |
2447 | KamehamehaVoice:Pause() | |
2448 | wait(2) | |
2449 | KamehamehaVoice.TimePosition = 3.5 | |
2450 | KamehamehaVoice:Play() | |
2451 | ||
2452 | wait(0.4) | |
2453 | mouth.Texture = "rbxassetid://828773176" | |
2454 | aim = false | |
2455 | ||
2456 | kamehameha1 = false | |
2457 | kamehameha2 = true | |
2458 | kamehameha() | |
2459 | wait(0.8) | |
2460 | KamehamehaVoice.TimePosition = 0 | |
2461 | kamehameha2 = false | |
2462 | if canfly1 == true then | |
2463 | idle = true | |
2464 | walk = true | |
2465 | canjump = true | |
2466 | end | |
2467 | if canfly1 == true then | |
2468 | canfly = true | |
2469 | canfly1 = false | |
2470 | end | |
2471 | hum.WalkSpeed = 16 | |
2472 | canattack = true | |
2473 | ssj3music:Play() | |
2474 | mouth.Texture = "rbxassetid://932140764" | |
2475 | RootPart.Anchored = false | |
2476 | end | |
2477 | ||
2478 | ||
2479 | end | |
2480 | if ssjbkaiox10 == true then | |
2481 | if key == "q" and canattack == true and ki > 99 then | |
2482 | if canfly == true then | |
2483 | canfly = false | |
2484 | canfly1 = true | |
2485 | end | |
2486 | ki = ki- 100 | |
2487 | ||
2488 | canattack = false | |
2489 | idle = false | |
2490 | walk = false | |
2491 | canjump = false | |
2492 | hum.WalkSpeed = 0 | |
2493 | aim = true | |
2494 | RootPart.Anchored = true | |
2495 | kamehameha6 = true | |
2496 | wait(0.5) | |
2497 | KamehamehaVoice3:Play() | |
2498 | ||
2499 | ||
2500 | mouth.Texture = "rbxassetid://828773176" | |
2501 | ||
2502 | ||
2503 | wait(0.5) | |
2504 | mouth.Texture = "rbxassetid://932140764" | |
2505 | ||
2506 | wait(0.5) | |
2507 | mouth.Texture = "rbxassetid://828773176" | |
2508 | wait(0.5) | |
2509 | mouth.Texture = "rbxassetid://932140764" | |
2510 | wait(0.1) | |
2511 | startk = true | |
2512 | kamecharge:Play() | |
2513 | mouth.Texture = "rbxassetid://828773176" | |
2514 | ||
2515 | ||
2516 | wait(3.5) | |
2517 | mouth.Texture = "rbxassetid://932140764" | |
2518 | ||
2519 | wait(0.5) | |
2520 | mouth.Texture = "rbxassetid://828773176" | |
2521 | wait(0.5) | |
2522 | mouth.Texture = "rbxassetid://932140764" | |
2523 | KamehamehaVoice:Pause() | |
2524 | wait(2) | |
2525 | KamehamehaVoice.TimePosition = 3.5 | |
2526 | KamehamehaVoice:Play() | |
2527 | ||
2528 | wait(0.4) | |
2529 | mouth.Texture = "rbxassetid://828773176" | |
2530 | aim = false | |
2531 | ||
2532 | kamehameha6 = false | |
2533 | kamehameha2 = true | |
2534 | GroundShake = true | |
2535 | kamehameha() | |
2536 | GroundShake = false | |
2537 | wait(0.8) | |
2538 | KamehamehaVoice.TimePosition = 0 | |
2539 | kamehameha2 = false | |
2540 | if canfly1 == true then | |
2541 | idle = true | |
2542 | walk = true | |
2543 | canjump = true | |
2544 | end | |
2545 | if canfly1 == true then | |
2546 | canfly = true | |
2547 | canfly1 = false | |
2548 | end | |
2549 | hum.WalkSpeed = 16 | |
2550 | canattack = true | |
2551 | ssj3music:Play() | |
2552 | mouth.Texture = "rbxassetid://932140764" | |
2553 | RootPart.Anchored = false | |
2554 | end | |
2555 | ||
2556 | ||
2557 | end | |
2558 | if ssjg == true then | |
2559 | if key == "q" and canattack == true and ki > 99 then | |
2560 | if canfly == true then | |
2561 | canfly = false | |
2562 | canfly1 = true | |
2563 | end | |
2564 | ki = ki - 100 | |
2565 | ssjgmusic:Stop() | |
2566 | canattack = false | |
2567 | idle = false | |
2568 | walk = false | |
2569 | canjump = false | |
2570 | hum.WalkSpeed = 0 | |
2571 | aim = true | |
2572 | RootPart.Anchored = true | |
2573 | kamehameha1 = true | |
2574 | wait(0.5) | |
2575 | KamehamehaVoice1:Play() | |
2576 | ||
2577 | ||
2578 | mouth.Texture = "rbxassetid://828773176" | |
2579 | ||
2580 | ||
2581 | wait(0.1) | |
2582 | mouth.Texture = "rbxassetid://932140764" | |
2583 | ||
2584 | wait(0.5) | |
2585 | mouth.Texture = "rbxassetid://828773176" | |
2586 | wait(0.7) | |
2587 | mouth.Texture = "rbxassetid://932140764" | |
2588 | wait(0.3) | |
2589 | startk = true | |
2590 | ||
2591 | mouth.Texture = "rbxassetid://828773176" | |
2592 | ||
2593 | ||
2594 | wait(18.5) | |
2595 | mouth.Texture = "rbxassetid://932140764" | |
2596 | ||
2597 | wait(0.5) | |
2598 | mouth.Texture = "rbxassetid://828773176" | |
2599 | wait(0.5) | |
2600 | mouth.Texture = "rbxassetid://932140764" | |
2601 | ||
2602 | ||
2603 | wait(0.4) | |
2604 | mouth.Texture = "rbxassetid://828773176" | |
2605 | aim = false | |
2606 | ||
2607 | kamehameha1 = false | |
2608 | kamehameha2 = true | |
2609 | GroundShake = true | |
2610 | kamehameha() | |
2611 | GroundShake = false | |
2612 | wait(0.8) | |
2613 | KamehamehaVoice.TimePosition = 0 | |
2614 | kamehameha2 = false | |
2615 | if canfly1 == true then | |
2616 | idle = true | |
2617 | walk = true | |
2618 | canjump = true | |
2619 | end | |
2620 | if canfly1 == true then | |
2621 | canfly = true | |
2622 | canfly1 = false | |
2623 | end | |
2624 | hum.WalkSpeed = 16 | |
2625 | canattack = true | |
2626 | mouth.Texture = "rbxassetid://932140764" | |
2627 | RootPart.Anchored = false | |
2628 | end | |
2629 | ||
2630 | end | |
2631 | ||
2632 | end) | |
2633 | ----------------------------------------------------------------------------------------------------------------------------------- | |
2634 | ||
2635 | ad = new("Part",char) | |
2636 | ad.Name = "NewPart" | |
2637 | ad.Size = v3(10,0.1,10) | |
2638 | ad.CanCollide = false | |
2639 | ad.Anchored = true | |
2640 | ad.Position = RootPart.Position - v3(0,3,0) | |
2641 | ad.BrickColor = bc("bright Blue") | |
2642 | ad.Material = "Neon" | |
2643 | ad.Transparency = 1 | |
2644 | aad = new("Decal",ad) | |
2645 | aad.Texture = "rbxassetid://110711859" | |
2646 | aad.Face = "Top" | |
2647 | aad.Transparency = 1 | |
2648 | ||
2649 | mouse.KeyDown:connect(function(key) | |
2650 | if key == "t" then | |
2651 | if ssj1 == false then | |
2652 | if canattack == true then | |
2653 | canattack = false | |
2654 | if canfly == true then | |
2655 | canfly = false | |
2656 | canfly1 = true | |
2657 | end | |
2658 | RootPart.Anchored = true | |
2659 | ||
2660 | idle = false | |
2661 | walk = false | |
2662 | canjump = false | |
2663 | ssj1 = true | |
2664 | ssj2 = false | |
2665 | ssj3 = false | |
2666 | ssjmusic:Play() | |
2667 | ||
2668 | ------------------------------------------------ | |
2669 | transform1 = true | |
2670 | ||
2671 | wait(0.8) | |
2672 | ||
2673 | if potara == false then | |
2674 | Hair7.Color = Color3.fromRGB(255,246,123) | |
2675 | Mesh.MeshId = "rbxassetid://430344159" | |
2676 | Mesh.Scale = v3(6.3,6.3,6.3) | |
2677 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=976088530" | |
2678 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
2679 | else | |
2680 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=976088530" | |
2681 | Hair7.Color = Color3.fromRGB(255,246,123) | |
2682 | Mesh.MeshId = "rbxassetid://560152258" | |
2683 | Mesh.Scale = Vector3.new(6.9,6.9,6.9) | |
2684 | Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0) | |
2685 | end | |
2686 | ||
2687 | ||
2688 | ||
2689 | a21e = new("Part",char) | |
2690 | a21e.Name = "Beam"..num | |
2691 | a21e.Locked = true | |
2692 | a21e.Size = v3(1,1,1) | |
2693 | a21e.CanCollide = false | |
2694 | a21e.Position = v3(999,999,999) | |
2695 | a21e.BrickColor = bc("New Yeller") | |
2696 | a21e.Material = "Neon" | |
2697 | a21e.Transparency = 0 | |
2698 | aa21e = new("SpecialMesh",a21e) | |
2699 | a21e.Anchored = true | |
2700 | a21e.Position = RootPart.Position | |
2701 | aa21e.MeshType = "Sphere" | |
2702 | aa21e.Scale = v3(1,1,1) | |
2703 | ||
2704 | transform1 = false | |
2705 | transform2 = true | |
2706 | ssjauraburst:Play() | |
2707 | GroundWave5() | |
2708 | GroundWave6() | |
2709 | GroundWave7() | |
2710 | GroundWave8() | |
2711 | GroundWave9() | |
2712 | GroundWave10() | |
2713 | ad.Position = RootPart.Position - v3(0,3,0) | |
2714 | aad.Transparency = 0 | |
2715 | ||
2716 | ||
2717 | ||
2718 | newaura.ImageTransparency = 0 | |
2719 | ssjaura:Play() | |
2720 | for i = 1,25 do | |
2721 | wait() | |
2722 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
2723 | a21e.Transparency = a21e.Transparency + 0.04 | |
2724 | end | |
2725 | wait(0.1) | |
2726 | ||
2727 | transform2 = false | |
2728 | ||
2729 | ||
2730 | ||
2731 | ||
2732 | ------------------------------------------------- | |
2733 | canattack = true | |
2734 | RootPart.Anchored = false | |
2735 | if canfly1 == true then | |
2736 | ||
2737 | idle = true | |
2738 | walk = true | |
2739 | canjump = true | |
2740 | end | |
2741 | if canfly1 == true then | |
2742 | canfly = true | |
2743 | end | |
2744 | for i = 1,20 do | |
2745 | wait() | |
2746 | aad.Transparency = aad.Transparency + 0.05 | |
2747 | end | |
2748 | end | |
2749 | else | |
2750 | if fuse == false or potara == false then | |
2751 | if ssj1 == true then | |
2752 | if canattack == true then | |
2753 | canattack = false | |
2754 | if canfly == true then | |
2755 | canfly = false | |
2756 | canfly1 = true | |
2757 | end | |
2758 | RootPart.Anchored = true | |
2759 | idle = false | |
2760 | ssj2 = true | |
2761 | walk = false | |
2762 | canjump = false | |
2763 | ssj1 = true | |
2764 | ssjmusic:Stop() | |
2765 | ssj2music:Play() | |
2766 | g1q = Instance.new("Part",char) | |
2767 | g1q.Name = "Smoke" | |
2768 | g1q.CanCollide = false | |
2769 | g1q.Position = RootPart.Position - v3(-8,3,0) | |
2770 | g1q.Size = v3(0.1,0.1,0.1) | |
2771 | g1q.Anchored = true | |
2772 | g1a = Instance.new("Part",char) | |
2773 | g1a.Name = "Smoke" | |
2774 | g1a.CanCollide = false | |
2775 | g1a.Position = RootPart.Position + v3(8,80,0) | |
2776 | g1a.Size = v3(0.1,0.1,0.1) | |
2777 | g1a.Anchored = true | |
2778 | g1q1 = Instance.new("Part",char) | |
2779 | g1q1.Name = "Smoke" | |
2780 | g1q1.CanCollide = false | |
2781 | g1q1.Position = RootPart.Position - v3(-5,3,7) | |
2782 | g1q1.Size = v3(0.1,0.1,0.1) | |
2783 | g1q1.Anchored = true | |
2784 | g1a1 = Instance.new("Part",char) | |
2785 | g1a1.Name = "Smoke" | |
2786 | g1a1.CanCollide = false | |
2787 | g1a1.Position = RootPart.Position + v3(5,80,-7) | |
2788 | g1a1.Size = v3(0.1,0.1,0.1) | |
2789 | g1a1.Anchored = true | |
2790 | g1q2 = Instance.new("Part",char) | |
2791 | g1q2.Name = "Smoke" | |
2792 | g1q2.CanCollide = false | |
2793 | g1q2.Position = RootPart.Position - v3(12,3,-6) | |
2794 | g1q2.Size = v3(0.1,0.1,0.1) | |
2795 | g1q2.Anchored = true | |
2796 | g1a2 = Instance.new("Part",char) | |
2797 | g1a2.Name = "Smoke" | |
2798 | g1a2.CanCollide = false | |
2799 | g1a2.Position = RootPart.Position + v3(-12,80,6) | |
2800 | g1a2.Size = v3(0.1,0.1,0.1) | |
2801 | g1a2.Anchored = true | |
2802 | ------------------------------------------------ | |
2803 | transform3 = true | |
2804 | screaming1:Play() | |
2805 | mouth.Texture = "rbxassetid://828773176" | |
2806 | wait(1) | |
2807 | lighting1.Transparency = ns(0) | |
2808 | ssj2aura:Play() | |
2809 | transform3 = false | |
2810 | transform1 = true | |
2811 | wait(0.8) | |
2812 | GroundShake = true | |
2813 | ||
2814 | char.Head.face.Texture= "rbxassetid://765493484" | |
2815 | Mesh.MeshId = "rbxassetid://560718478" | |
2816 | Mesh.Scale = v3(6.3,6.3,6.3) | |
2817 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
2818 | Hair7.Color = Color3.fromRGB(255,227,10) | |
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 | screaming:Play() | |
3005 | coroutine.wrap(function() | |
3006 | for i = 1,5 do | |
3007 | wait(math.random(1,2)) | |
3008 | game.Lighting.Ambient = Color3.new(999,999,999) | |
3009 | ||
3010 | wait(0.0001) | |
3011 | game.Lighting.Ambient = Color3.new(0,0,0) | |
3012 | wait(0.0001) | |
3013 | game.Lighting.Ambient = Color3.new(999,999,999) | |
3014 | wait(0.0001) | |
3015 | Lightning:Play() | |
3016 | block = Instance.new("Part",char) | |
3017 | block.Anchored = true | |
3018 | block.Transparency = 1 | |
3019 | block.Position = RootPart.Position + v3(math.random(-10,10),-1,math.random(-10,10)) | |
3020 | block.CanCollide = false | |
3021 | block2 = Instance.new("Part",char) | |
3022 | block2.Anchored = true | |
3023 | block2.Position = block.Position + v3(0,200,0) | |
3024 | block2.CanCollide = false | |
3025 | block2.Transparency = 1 | |
3026 | ||
3027 | ||
3028 | ||
3029 | ||
3030 | Lightning1(block.Position,block2.Position,0.2,10,workspace) | |
3031 | game.Lighting.Ambient = Color3.new(0,0,0) | |
3032 | end | |
3033 | end)() | |
3034 | ||
3035 | wait(8) | |
3036 | GroundShake2 = true | |
3037 | char.Head.face.Texture= "rbxassetid://897514186" | |
3038 | ||
3039 | lighting.Transparency = ns(0) | |
3040 | KiCharge:Stop() | |
3041 | ||
3042 | ||
3043 | Weld.C0 = CFrame.new(0.3, -1, 1.45) * CFrame.Angles(0,rad(180),0) | |
3044 | Mesh.MeshId = "http://www.roblox.com/asset/?id=431511681" | |
3045 | Mesh.Scale = Vector3.new(0.0055,0.005,0.0055) | |
3046 | ||
3047 | a21e = new("Part",char) | |
3048 | a21e.Name = "Beam"..num | |
3049 | a21e.Locked = true | |
3050 | a21e.Size = v3(1,1,1) | |
3051 | a21e.CanCollide = false | |
3052 | a21e.Position = v3(999,999,999) | |
3053 | a21e.BrickColor = bc("New Yeller") | |
3054 | a21e.Material = "Neon" | |
3055 | a21e.Transparency = 0 | |
3056 | aa21e = new("SpecialMesh",a21e) | |
3057 | a21e.Anchored = true | |
3058 | a21e.Position = RootPart.Position | |
3059 | aa21e.MeshType = "Sphere" | |
3060 | aa21e.Scale = v3(1,1,1) | |
3061 | ||
3062 | ||
3063 | ssjauraburst:Play() | |
3064 | GroundWave5() | |
3065 | GroundWave6() | |
3066 | GroundWave7() | |
3067 | GroundWave8() | |
3068 | GroundWave9() | |
3069 | GroundWave10() | |
3070 | ad.Position = RootPart.Position - v3(0,3,0) | |
3071 | aad.Transparency = 0 | |
3072 | rock = false | |
3073 | rock3 = true | |
3074 | ||
3075 | newaura.ImageTransparency = 0 | |
3076 | ssjaura:Play() | |
3077 | for i = 1,50 do | |
3078 | wait() | |
3079 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3080 | a21e.Transparency = a21e.Transparency + 0.02 | |
3081 | end | |
3082 | GroundShake = false | |
3083 | wait(0.1) | |
3084 | ||
3085 | ||
3086 | ||
3087 | ||
3088 | GroundShake2 = false | |
3089 | for i,v in pairs(workspace:GetChildren()) do | |
3090 | if v:IsA("Part") then | |
3091 | if v.Size.x > 150 then | |
3092 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
3093 | end | |
3094 | end | |
3095 | end | |
3096 | ||
3097 | wait(0.9) | |
3098 | transform3 = false | |
3099 | mouth.Texture = "rbxassetid://932140764" | |
3100 | ||
3101 | ||
3102 | ||
3103 | ------------------------------------------------- | |
3104 | canattack = true | |
3105 | rock3 = false | |
3106 | RootPart.Anchored = false | |
3107 | if canfly1 == true then | |
3108 | idle = true | |
3109 | walk = true | |
3110 | canjump = true | |
3111 | end | |
3112 | if canfly1 == true then | |
3113 | canfly = true | |
3114 | canfly1 = false | |
3115 | end | |
3116 | for i = 1,20 do | |
3117 | wait() | |
3118 | aad.Transparency = aad.Transparency + 0.05 | |
3119 | end | |
3120 | end | |
3121 | end | |
3122 | end | |
3123 | end | |
3124 | end) | |
3125 | ||
3126 | mouse.KeyDown:connect(function(key) | |
3127 | if key == "x" then | |
3128 | if canattack == true then | |
3129 | 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 | |
3130 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1121153259" | |
3131 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1131260077" | |
3132 | if ssj4 == true then | |
3133 | ape5.Transparency = 1 | |
3134 | end | |
3135 | ssj4 = false | |
3136 | fuse = false | |
3137 | idle7 = false | |
3138 | idle = true | |
3139 | mouth.Transparency = 0 | |
3140 | nose.Transparency = 0 | |
3141 | Hair7.BrickColor = BrickColor.new("Really black") | |
3142 | Mesh.Scale = Vector3.new(7.1,7.1,7.1) | |
3143 | Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712" | |
3144 | Weld.C0 = CFrame.new(-0.3, 1.2, -0.32) | |
3145 | newaurabase.Size = UDim2.new(20,0,20,0) | |
3146 | newaura.Position = UDim2.new(-0.5,0,-0.2,0) | |
3147 | newaurabase.AlwaysOnTop = false | |
3148 | newaura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
3149 | newaurabase.ExtentsOffset = Vector3.new(0,0,3) | |
3150 | char.Head.face.Texture= "rbxassetid://765423946" | |
3151 | ||
3152 | lighting.Transparency = ns(1) | |
3153 | lighting1.Transparency = ns(1) | |
3154 | newaura.ImageTransparency = 1 | |
3155 | ssj1 = false | |
3156 | ssj2 = false | |
3157 | ssjg = false | |
3158 | p1.Transparency = 1 | |
3159 | p2.Transparency = 1 | |
3160 | p3.Transparency = 1 | |
3161 | p4.Transparency = 1 | |
3162 | p5.Transparency = 1 | |
3163 | p6.Transparency = 1 | |
3164 | p7.Transparency = 1 | |
3165 | p8.Transparency =1 | |
3166 | p9.Transparency = 1 | |
3167 | p10.Transparency = 1 | |
3168 | p11.Transparency = 1 | |
3169 | p12.Transparency = 1 | |
3170 | p13.Transparency =1 | |
3171 | p14.Transparency = 1 | |
3172 | p15.Transparency =1 | |
3173 | newaura2.ImageTransparency = 1 | |
3174 | ssjb = false | |
3175 | ssjbkaio = false | |
3176 | ssjbkaiox10 = false | |
3177 | a21e.Locked = true | |
3178 | a21e.Size = v3(1,1,1) | |
3179 | a21e.CanCollide = false | |
3180 | a21e.Position = v3(999,999,999) | |
3181 | a21e.BrickColor = bc("White") | |
3182 | a21e.Material = "Neon" | |
3183 | a21e.Transparency = 0 | |
3184 | aa21e = new("SpecialMesh",a21e) | |
3185 | a21e.Anchored = true | |
3186 | a21e.Position = RootPart.Position | |
3187 | aa21e.MeshType = "Sphere" | |
3188 | aa21e.Scale = v3(1,1,1) | |
3189 | ssjaura:Stop() | |
3190 | ssj2aura:Stop() | |
3191 | ||
3192 | ssj3 = false | |
3193 | ssjaura:Stop() | |
3194 | ssjbaura:Stop() | |
3195 | ssjbkaura:Stop() | |
3196 | ssjgmusic:Stop() | |
3197 | ssjgaura:Stop() | |
3198 | ssjbmusic:Stop() | |
3199 | ssj2aura:Stop() | |
3200 | ssjmusic:Stop() | |
3201 | ssj2music:Stop() | |
3202 | ssj3music:Stop() | |
3203 | PowerDown:Play() | |
3204 | for i = 1,50 do | |
3205 | wait() | |
3206 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3207 | a21e.Transparency = a21e.Transparency + 0.02 | |
3208 | end | |
3209 | end | |
3210 | if fuse == true and ssj4 == true then | |
3211 | fuse = false | |
3212 | idle7 = false | |
3213 | idle5 = false | |
3214 | noidle = true | |
3215 | ssjb = false | |
3216 | ssj1= false | |
3217 | walk = true | |
3218 | canjump = true | |
3219 | linkpart = Instance.new("Part",char) | |
3220 | linkpart.Position = v3(999,999,999) | |
3221 | linkpart.Transparency = 1 | |
3222 | linkpart.CanCollide = false | |
3223 | linkpart.Anchored = true | |
3224 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
3225 | RootPart1.Anchored = true | |
3226 | RootPart.Anchored = true | |
3227 | RootPart1 = clone1.HumanoidRootPart | |
3228 | com1 = 1 | |
3229 | Hair7.Color = Color3.fromRGB(0,0,0) | |
3230 | Mesh.MeshId = "http://www.roblox.com/asset/?id=504772831" | |
3231 | Mesh.Scale = Vector3.new(0.23,0.23,0.23) | |
3232 | Weld.C0 = CFrame.new(0.25, 0.4, 0.5)*CFrame.Angles(0,math.rad(180),0) | |
3233 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=869609457" | |
3234 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=258281249" | |
3235 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=258281716" | |
3236 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
3237 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
3238 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
3239 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
3240 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
3241 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3242 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
3243 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3244 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
3245 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
3246 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
3247 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
3248 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
3249 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
3250 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
3251 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3252 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
3253 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3254 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
3255 | Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
3256 | for i = 1,50 do | |
3257 | wait() | |
3258 | com1 = com1 + 0.1 | |
3259 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
3260 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
3261 | end | |
3262 | noidle = false | |
3263 | idle = true | |
3264 | RootPart1.CFrame = CFrame.new(999,999,999) | |
3265 | RootPart1.Anchored = true | |
3266 | RootPart.Anchored = false | |
3267 | hum.HipHeight = 1.35 | |
3268 | end | |
3269 | if fuse == true and ssj4 == false or potara == true then | |
3270 | fuse = false | |
3271 | idle7 = false | |
3272 | ssjb = false | |
3273 | ssj2 = false | |
3274 | ssj3 = false | |
3275 | ssj4 = false | |
3276 | ssjaura:Stop() | |
3277 | newaurabase.Size = UDim2.new(20,0,20,0) | |
3278 | newaura.Position = UDim2.new(-0.5,0,-0.2,0) | |
3279 | newaurabase.AlwaysOnTop = false | |
3280 | newaura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
3281 | newaurabase.ExtentsOffset = Vector3.new(0,0,3) | |
3282 | ssjg = false | |
3283 | idle5 = false | |
3284 | noidle = true | |
3285 | walk = true | |
3286 | ssj1 = false | |
3287 | newaura.ImageTransparency = 1 | |
3288 | char.Head.face.Texture= "rbxassetid://765423946" | |
3289 | Hair7.BrickColor = bc("Really black") | |
3290 | ssjaura:Stop() | |
3291 | canjump = true | |
3292 | if potara == true then | |
3293 | ||
3294 | ee1d:Destroy() | |
3295 | ee2d:Destroy() | |
3296 | ee3d:Destroy() | |
3297 | ee4d:Destroy() | |
3298 | eec:Destroy() | |
3299 | ee1c:Destroy() | |
3300 | ee2c:Destroy() | |
3301 | ee3c:Destroy() | |
3302 | ee4c:Destroy() | |
3303 | end | |
3304 | linkpart = Instance.new("Part",char) | |
3305 | linkpart.Position = v3(999,999,999) | |
3306 | linkpart.Transparency = 1 | |
3307 | linkpart.CanCollide = false | |
3308 | linkpart.Anchored = true | |
3309 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
3310 | RootPart1.Anchored = true | |
3311 | RootPart.Anchored = true | |
3312 | RootPart1 = clone1.HumanoidRootPart | |
3313 | com1 = 1 | |
3314 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=363968007" | |
3315 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=363966829" | |
3316 | Weld.C0 = CFrame.new(-0.3, 1.2, -0.32) | |
3317 | Mesh.Scale = Vector3.new(6.8,6.8,6.8) | |
3318 | Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712" | |
3319 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
3320 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
3321 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
3322 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
3323 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
3324 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3325 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
3326 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3327 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
3328 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
3329 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
3330 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
3331 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
3332 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
3333 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
3334 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3335 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
3336 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
3337 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
3338 | Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
3339 | a21e.Locked = true | |
3340 | a21e.Size = v3(1,1,1) | |
3341 | a21e.CanCollide = false | |
3342 | a21e.Position = v3(999,999,999) | |
3343 | a21e.BrickColor = bc("White") | |
3344 | a21e.Material = "Neon" | |
3345 | a21e.Transparency = 0 | |
3346 | aa21e = new("SpecialMesh",a21e) | |
3347 | a21e.Anchored = true | |
3348 | a21e.Position = RootPart.Position | |
3349 | aa21e.MeshType = "Sphere" | |
3350 | aa21e.Scale = v3(1,1,1) | |
3351 | ssjbaura:Stop() | |
3352 | PowerDown:Play() | |
3353 | coroutine.wrap(function() | |
3354 | for i = 1,50 do | |
3355 | wait() | |
3356 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3357 | a21e.Transparency = a21e.Transparency + 0.02 | |
3358 | end | |
3359 | end)() | |
3360 | for i = 1,50 do | |
3361 | wait() | |
3362 | com1 = com1 + 0.1 | |
3363 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
3364 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
3365 | end | |
3366 | noidle = false | |
3367 | idle = true | |
3368 | if potara == true then | |
3369 | ee:Destroy() | |
3370 | ee1:Destroy() | |
3371 | ee2:Destroy() | |
3372 | ee3:Destroy() | |
3373 | ee4:Destroy() | |
3374 | eed:Destroy() | |
3375 | end | |
3376 | potara = false | |
3377 | RootPart1.CFrame = CFrame.new(999,999,999) | |
3378 | RootPart1.Anchored = true | |
3379 | RootPart.Anchored = false | |
3380 | hum.HipHeight = 1.35 | |
3381 | end | |
3382 | end | |
3383 | end | |
3384 | end) | |
3385 | mouse.KeyDown:connect(function(key) | |
3386 | if key == "c" then | |
3387 | if canattack == true then | |
3388 | if ssj1 == true or ssj2 == true or ssj3 == true then | |
3389 | lighting.Transparency = ns(1) | |
3390 | lighting1.Transparency = ns(1) | |
3391 | newaura.ImageTransparency = 1 | |
3392 | a21e.Name = "Beam"..num | |
3393 | a21e.Locked = true | |
3394 | a21e.Size = v3(1,1,1) | |
3395 | a21e.CanCollide = false | |
3396 | a21e.Position = v3(999,999,999) | |
3397 | a21e.BrickColor = bc("New Yeller") | |
3398 | a21e.Material = "Neon" | |
3399 | a21e.Transparency = 0 | |
3400 | aa21e = new("SpecialMesh",a21e) | |
3401 | a21e.Anchored = true | |
3402 | a21e.Position = RootPart.Position | |
3403 | aa21e.MeshType = "Sphere" | |
3404 | aa21e.Scale = v3(1,1,1) | |
3405 | ssjaura:Stop() | |
3406 | ssj2aura:Stop() | |
3407 | AuraOff:Play() | |
3408 | for i = 1,50 do | |
3409 | wait() | |
3410 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3411 | a21e.Transparency = a21e.Transparency + 0.02 | |
3412 | end | |
3413 | end | |
3414 | if ssjb == true then | |
3415 | ssjbaura:Stop() | |
3416 | ||
3417 | newaura.ImageTransparency = 1 | |
3418 | a21e.Name = "Beam"..num | |
3419 | a21e.Locked = true | |
3420 | a21e.Size = v3(1,1,1) | |
3421 | a21e.CanCollide = false | |
3422 | a21e.Position = v3(999,999,999) | |
3423 | a21e.BrickColor = bc("Toothpaste") | |
3424 | a21e.Material = "Neon" | |
3425 | a21e.Transparency = 0 | |
3426 | aa21e = new("SpecialMesh",a21e) | |
3427 | a21e.Anchored = true | |
3428 | a21e.Position = RootPart.Position | |
3429 | aa21e.MeshType = "Sphere" | |
3430 | aa21e.Scale = v3(1,1,1) | |
3431 | AuraOff:Play() | |
3432 | for i = 1,50 do | |
3433 | wait() | |
3434 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3435 | a21e.Transparency = a21e.Transparency + 0.02 | |
3436 | end | |
3437 | end | |
3438 | if ssj4 == true then | |
3439 | ssjaura:Stop() | |
3440 | ||
3441 | newaura.ImageTransparency = 1 | |
3442 | a21e.Name = "Beam"..num | |
3443 | a21e.Locked = true | |
3444 | a21e.Size = v3(1,1,1) | |
3445 | a21e.CanCollide = false | |
3446 | a21e.Position = v3(999,999,999) | |
3447 | a21e.BrickColor = bc("New Yeller") | |
3448 | a21e.Material = "Neon" | |
3449 | a21e.Transparency = 0 | |
3450 | aa21e = new("SpecialMesh",a21e) | |
3451 | a21e.Anchored = true | |
3452 | a21e.Position = RootPart.Position | |
3453 | aa21e.MeshType = "Sphere" | |
3454 | aa21e.Scale = v3(1,1,1) | |
3455 | AuraOff:Play() | |
3456 | for i = 1,50 do | |
3457 | wait() | |
3458 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3459 | a21e.Transparency = a21e.Transparency + 0.02 | |
3460 | end | |
3461 | end | |
3462 | if ssjg == true then | |
3463 | ssjgaura:Stop() | |
3464 | ||
3465 | newaura.ImageTransparency = 1 | |
3466 | a21e.Name = "Beam"..num | |
3467 | a21e.Locked = true | |
3468 | a21e.Size = v3(1,1,1) | |
3469 | a21e.CanCollide = false | |
3470 | a21e.Position = v3(999,999,999) | |
3471 | a21e.BrickColor = bc("Really red") | |
3472 | a21e.Material = "Neon" | |
3473 | a21e.Transparency = 0 | |
3474 | aa21e = new("SpecialMesh",a21e) | |
3475 | a21e.Anchored = true | |
3476 | a21e.Position = RootPart.Position | |
3477 | aa21e.MeshType = "Sphere" | |
3478 | aa21e.Scale = v3(1,1,1) | |
3479 | AuraOff:Play() | |
3480 | for i = 1,50 do | |
3481 | wait() | |
3482 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
3483 | a21e.Transparency = a21e.Transparency + 0.02 | |
3484 | end | |
3485 | end | |
3486 | end | |
3487 | end | |
3488 | end) | |
3489 | ||
3490 | ||
3491 | ||
3492 | ||
3493 | mouse.KeyDown:connect(function(key) | |
3494 | if key == "h" then | |
3495 | if canattack == true and flying1 == false and punched1 == true then | |
3496 | ||
3497 | idle = false | |
3498 | walk = false | |
3499 | canjump = false | |
3500 | canattack = false | |
3501 | punch1 = true | |
3502 | punched1 = false | |
3503 | punched2 = true | |
3504 | af1 = new("Part",char) | |
3505 | af1.Name = "NewPart" | |
3506 | af1.Size = v3(1,1,1) | |
3507 | af1.Position = v3(999,999,999) | |
3508 | af1.Material = "Neon" | |
3509 | af1.Transparency = 1 | |
3510 | ||
3511 | aaaf1 =new("Weld",af1) | |
3512 | aaaf1.Part0 = RootPart | |
3513 | aaaf1.Part1 = af1 | |
3514 | aaaf1.C0 = cf(0,0,-2) * cfa(rad(0),rad(0),rad(0)) | |
3515 | wait(0.1) | |
3516 | punch1 = false | |
3517 | punch2 = true | |
3518 | wait(0.2) | |
3519 | ||
3520 | af1.Touched:connect(function(hit) | |
3521 | if hit.Parent:FindFirstChild("Head") then | |
3522 | grab = true | |
3523 | go11 = 2.3 | |
3524 | af1:Destroy() | |
3525 | punchsound1:Play() | |
3526 | hit1 = true | |
3527 | hit.Parent:findFirstChild("Head").Anchored = true | |
3528 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3529 | ||
3530 | ||
3531 | if v:IsA("Humanoid") then | |
3532 | v.Health = v.Health - 10 | |
3533 | if v.Health > 100 then | |
3534 | v.Health = 100 | |
3535 | v.MaxHealth = 100 | |
3536 | end | |
3537 | end | |
3538 | end | |
3539 | hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 2.3 | |
3540 | punch2 = false | |
3541 | ||
3542 | ||
3543 | idle = false | |
3544 | walk = false | |
3545 | canjump = false | |
3546 | canattack = false | |
3547 | punch3 = true | |
3548 | punched1 = false | |
3549 | punched2 = false | |
3550 | punched3 = true | |
3551 | af1 = new("Part",char) | |
3552 | af1.Name = "NewPart" | |
3553 | af1.Size = v3(1,1,1) | |
3554 | af1.Position = v3(999,999,999) | |
3555 | af1.Material = "Neon" | |
3556 | af1.Transparency = 1 | |
3557 | ||
3558 | aaaf1 =new("Weld",af1) | |
3559 | aaaf1.Part0 = LeftHand | |
3560 | aaaf1.Part1 = af1 | |
3561 | aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0)) | |
3562 | ||
3563 | wait(0.1) | |
3564 | punch3 = false | |
3565 | punch4 = true | |
3566 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3567 | ||
3568 | ||
3569 | if v:IsA("Humanoid") then | |
3570 | v.Health = v.Health - 10 | |
3571 | if v.Health > 100 then | |
3572 | v.Health = 100 | |
3573 | v.MaxHealth = 100 | |
3574 | end | |
3575 | end | |
3576 | end | |
3577 | punchsound1:Play() | |
3578 | wait(0.2) | |
3579 | if hit1 == false then | |
3580 | af1:Destroy() | |
3581 | hit1 = false | |
3582 | end | |
3583 | punch4 = false | |
3584 | ||
3585 | ||
3586 | idle = false | |
3587 | walk = false | |
3588 | canjump = false | |
3589 | canattack = false | |
3590 | uppercut1 = true | |
3591 | punched1 = false | |
3592 | punched2 = false | |
3593 | punched3 = false | |
3594 | punched4 = true | |
3595 | wait(0.3) | |
3596 | uppercut1 = false | |
3597 | uppercut2 = true | |
3598 | af1 = new("Part",char) | |
3599 | af1.Name = "NewPart" | |
3600 | af1.Size = v3(1,1,1) | |
3601 | af1.Position = v3(999,999,999) | |
3602 | af1.Material = "Neon" | |
3603 | af1.Transparency = 1 | |
3604 | ||
3605 | aaaf1 =new("Weld",af1) | |
3606 | aaaf1.Part0 = LeftHand | |
3607 | aaaf1.Part1 = af1 | |
3608 | aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0)) | |
3609 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3610 | ||
3611 | ||
3612 | if v:IsA("Humanoid") then | |
3613 | v.Health = v.Health - 10 | |
3614 | if v.Health > 100 then | |
3615 | v.Health = 100 | |
3616 | v.MaxHealth = 100 | |
3617 | end | |
3618 | end | |
3619 | end | |
3620 | punchsound1:Play() | |
3621 | for i = 1,10 do | |
3622 | wait() | |
3623 | up = up + 1 | |
3624 | 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) | |
3625 | end | |
3626 | hit.Parent:findFirstChild("Head").Anchored = true | |
3627 | ||
3628 | ||
3629 | ||
3630 | ||
3631 | wait(0.3) | |
3632 | uppercut2 = false | |
3633 | ||
3634 | RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3 | |
3635 | RootPart.Anchored = true | |
3636 | idle = false | |
3637 | walk = false | |
3638 | canjump = false | |
3639 | canattack = false | |
3640 | knockdown1 = true | |
3641 | punched1 = true | |
3642 | punched2 = false | |
3643 | punched3 = false | |
3644 | punched4 = false | |
3645 | wait(0.3) | |
3646 | knockdown1 = false | |
3647 | knockdown2 = true | |
3648 | StrongPunch:Play() | |
3649 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3650 | ||
3651 | ||
3652 | if v:IsA("Humanoid") then | |
3653 | v.Health = v.Health - 10 | |
3654 | if v.Health > 100 then | |
3655 | v.Health = 100 | |
3656 | v.MaxHealth = 100 | |
3657 | end | |
3658 | end | |
3659 | end | |
3660 | GroundWave11() | |
3661 | punchsound2:Play() | |
3662 | up = 0 | |
3663 | for i = 1,10 do | |
3664 | wait() | |
3665 | up = up + 1 | |
3666 | 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) | |
3667 | end | |
3668 | wait(0.2) | |
3669 | knockdown2 = false | |
3670 | hit.Parent:findFirstChild("Head").Anchored = true | |
3671 | RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3 | |
3672 | FastPunch:Play() | |
3673 | for i = 1,3 do | |
3674 | punch1 = true | |
3675 | wait(0.01) | |
3676 | punch1 = false | |
3677 | ||
3678 | punch2 = true | |
3679 | wait(0.01) | |
3680 | punch2 = false | |
3681 | GroundWave1() | |
3682 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3683 | ||
3684 | ||
3685 | if v:IsA("Humanoid") then | |
3686 | v.Health = v.Health - 1 | |
3687 | if v.Health > 100 then | |
3688 | v.Health = 100 | |
3689 | v.MaxHealth = 100 | |
3690 | end | |
3691 | end | |
3692 | ||
3693 | end | |
3694 | punchsound1:Play() | |
3695 | punch3 = true | |
3696 | wait(0.01) | |
3697 | punch3 = false | |
3698 | ||
3699 | punch4 = true | |
3700 | wait(0.01) | |
3701 | punch4 = false | |
3702 | ||
3703 | ||
3704 | kick1 = true | |
3705 | wait(0.01) | |
3706 | kick1 = false | |
3707 | ||
3708 | kick2 = true | |
3709 | wait(0.01) | |
3710 | kick2 = false | |
3711 | GroundWave111() | |
3712 | ||
3713 | punchsound1:Play() | |
3714 | kick3 = true | |
3715 | wait(0.01) | |
3716 | kick3 = false | |
3717 | ||
3718 | kick4 = true | |
3719 | wait(0.01) | |
3720 | kick4 = false | |
3721 | ||
3722 | punchsound1:Play() | |
3723 | end | |
3724 | punch1 = true | |
3725 | wait(0.5) | |
3726 | punch1 = false | |
3727 | GroundWave1() | |
3728 | punch2 = true | |
3729 | wait(0.01) | |
3730 | ||
3731 | punchsound2:Play() | |
3732 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3733 | ||
3734 | ||
3735 | if v:IsA("Humanoid") then | |
3736 | v.Health = v.Health - 10 | |
3737 | if v.Health > 100 then | |
3738 | v.Health = 100 | |
3739 | v.MaxHealth = 100 | |
3740 | end | |
3741 | end | |
3742 | end | |
3743 | coroutine.wrap(function() | |
3744 | for i = 1,40 do | |
3745 | wait() | |
3746 | go11 = go11+ 2 | |
3747 | ||
3748 | hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * go11 | |
3749 | ||
3750 | end | |
3751 | ||
3752 | end)() | |
3753 | ||
3754 | ||
3755 | ||
3756 | RootPart.Anchored = true | |
3757 | punch2 = false | |
3758 | kamehameha5 = true | |
3759 | ||
3760 | startk = true | |
3761 | kamecharge:Play() | |
3762 | wait(0.5) | |
3763 | ||
3764 | ||
3765 | kamehameha5 = false | |
3766 | kamehameha2 = true | |
3767 | hit.Parent:findFirstChild("Head").Anchored = false | |
3768 | kamehameha() | |
3769 | wait(0.8) | |
3770 | kamehameha2 = false | |
3771 | RootPart.Anchored = false | |
3772 | idle = true | |
3773 | walk = true | |
3774 | canjump = true | |
3775 | canattack = true | |
3776 | ||
3777 | go11 = 2.3 | |
3778 | up = 0 | |
3779 | idle = true | |
3780 | walk = true | |
3781 | canjump = true | |
3782 | canattack = true | |
3783 | ||
3784 | ||
3785 | ||
3786 | if hit1 == false then | |
3787 | af1:Destroy() | |
3788 | hit1 = false | |
3789 | end | |
3790 | idle = true | |
3791 | walk = true | |
3792 | canjump = true | |
3793 | canattack = true | |
3794 | ||
3795 | ||
3796 | idle = true | |
3797 | ||
3798 | walk = true | |
3799 | canjump = true | |
3800 | canattack = true | |
3801 | end | |
3802 | ||
3803 | end) | |
3804 | end | |
3805 | end | |
3806 | end) | |
3807 | ||
3808 | ||
3809 | mouse.KeyDown:connect(function(key) | |
3810 | if key == "r" then | |
3811 | if canattack == true and kiblastdone == false then | |
3812 | idle = false | |
3813 | walk = false | |
3814 | kiblastdone = true | |
3815 | canattack = false | |
3816 | canjump = false | |
3817 | kiblast1 = true | |
3818 | wait(0.2) | |
3819 | kiblast1 = false | |
3820 | kiblast2 = true | |
3821 | kiblastsound:Play() | |
3822 | ay = new("Part",char) | |
3823 | ay.Name = "NewPart" | |
3824 | ay.Size = v3(1,1,1) | |
3825 | ay.CanCollide = false | |
3826 | ay.BrickColor = bc("Medium lilac") | |
3827 | ay.Material = "Neon" | |
3828 | ay.Transparency = 0 | |
3829 | aay = new("SpecialMesh",ay) | |
3830 | aay.MeshType = "Sphere" | |
3831 | aay.Scale = v3(1,1,1) | |
3832 | ay.Position = v3(999,999,999) | |
3833 | ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3 | |
3834 | ys = Instance.new("BodyVelocity",ay) | |
3835 | ||
3836 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
3837 | ||
3838 | ys.Velocity = RootPart.CFrame.lookVector * 60 | |
3839 | ay.Touched:connect(function(hit) | |
3840 | if hit then | |
3841 | ||
3842 | ||
3843 | ||
3844 | ||
3845 | ||
3846 | ||
3847 | kamehit:Play() | |
3848 | for i = 1,10 do | |
3849 | wait() | |
3850 | aay.Scale = aay.Scale + v3(1,1,1) | |
3851 | ay.Transparency = ay.Transparency + 0.1 | |
3852 | end | |
3853 | ay:Destroy() | |
3854 | ||
3855 | end | |
3856 | if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then | |
3857 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3858 | ||
3859 | ||
3860 | if v:IsA("Humanoid") then | |
3861 | v.Health = v.Health - 5 | |
3862 | if v.Health > 100 then | |
3863 | v.Health = 100 | |
3864 | v.MaxHealth = 100 | |
3865 | end | |
3866 | end | |
3867 | end | |
3868 | end | |
3869 | ||
3870 | end) | |
3871 | ||
3872 | game.Debris:AddItem(ay,3) | |
3873 | wait(0.2) | |
3874 | kiblast2= false | |
3875 | idle = true | |
3876 | walk = true | |
3877 | canjump = true | |
3878 | canattack = true | |
3879 | ||
3880 | end | |
3881 | end | |
3882 | end) | |
3883 | ||
3884 | mouse.KeyDown:connect(function(key) | |
3885 | if key == "r" then | |
3886 | if canattack == true and kiblastdone == true then | |
3887 | idle = false | |
3888 | walk = false | |
3889 | kiblastdone = false | |
3890 | canattack = false | |
3891 | canjump = false | |
3892 | kiblast3 = true | |
3893 | wait(0.2) | |
3894 | kiblast3 = false | |
3895 | kiblast4 = true | |
3896 | kiblastsound:Play() | |
3897 | ay = new("Part",char) | |
3898 | ay.Name = "NewPart" | |
3899 | ay.Size = v3(1,1,1) | |
3900 | ay.CanCollide = false | |
3901 | ay.BrickColor = bc("Medium lilac") | |
3902 | ay.Material = "Neon" | |
3903 | ay.Transparency = 0 | |
3904 | aay = new("SpecialMesh",ay) | |
3905 | aay.MeshType = "Sphere" | |
3906 | aay.Scale = v3(1,1,1) | |
3907 | ay.Position = v3(999,999,999) | |
3908 | ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3 | |
3909 | ys = Instance.new("BodyVelocity",ay) | |
3910 | ||
3911 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
3912 | ||
3913 | ys.Velocity = RootPart.CFrame.lookVector * 60 | |
3914 | ay.Touched:connect(function(hit) | |
3915 | if hit then | |
3916 | ||
3917 | ||
3918 | ||
3919 | ||
3920 | ||
3921 | ||
3922 | kamehit:Play() | |
3923 | for i = 1,10 do | |
3924 | wait() | |
3925 | aay.Scale = aay.Scale + v3(1,1,1) | |
3926 | ay.Transparency = ay.Transparency + 0.1 | |
3927 | end | |
3928 | ay:Destroy() | |
3929 | ||
3930 | end | |
3931 | if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then | |
3932 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3933 | ||
3934 | ||
3935 | if v:IsA("Humanoid") then | |
3936 | v.Health = v.Health - 5 | |
3937 | if v.Health > 100 then | |
3938 | v.Health = 100 | |
3939 | v.MaxHealth = 100 | |
3940 | end | |
3941 | end | |
3942 | end | |
3943 | end | |
3944 | ||
3945 | end) | |
3946 | ||
3947 | game.Debris:AddItem(ay,3) | |
3948 | wait(0.2) | |
3949 | kiblast4= false | |
3950 | idle = true | |
3951 | walk = true | |
3952 | canjump = true | |
3953 | canattack = true | |
3954 | ||
3955 | end | |
3956 | end | |
3957 | end) | |
3958 | ||
3959 | mouse.KeyDown:connect(function(key) | |
3960 | if key == "g" then | |
3961 | if canattack == true and flying1 == false and punched1 == true then | |
3962 | ||
3963 | idle = false | |
3964 | walk = false | |
3965 | canjump = false | |
3966 | canattack = false | |
3967 | punch1 = true | |
3968 | punched1 = false | |
3969 | punched2 = true | |
3970 | af1 = new("Part",char) | |
3971 | af1.Name = "NewPart" | |
3972 | af1.Size = v3(1,1,1) | |
3973 | af1.Position = v3(999,999,999) | |
3974 | af1.Material = "Neon" | |
3975 | af1.Transparency = 1 | |
3976 | ||
3977 | aaaf1 =new("Weld",af1) | |
3978 | aaaf1.Part0 = RootPart | |
3979 | aaaf1.Part1 = af1 | |
3980 | aaaf1.C0 = cf(0,0,-2) * cfa(rad(0),rad(0),rad(0)) | |
3981 | wait(0.1) | |
3982 | punch1 = false | |
3983 | punch2 = true | |
3984 | wait(0.2) | |
3985 | ||
3986 | af1.Touched:connect(function(hit) | |
3987 | if hit.Parent:FindFirstChild("Head") then | |
3988 | grab = true | |
3989 | go11 = 2.3 | |
3990 | af1:Destroy() | |
3991 | punchsound1:Play() | |
3992 | hit1 = true | |
3993 | hit.Parent:findFirstChild("Head").Anchored = true | |
3994 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3995 | ||
3996 | ||
3997 | if v:IsA("Humanoid") then | |
3998 | v.Health = v.Health - 10 | |
3999 | if v.Health > 100 then | |
4000 | v.Health = 100 | |
4001 | v.MaxHealth = 100 | |
4002 | end | |
4003 | end | |
4004 | end | |
4005 | hit.Parent:findFirstChild("Head").CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 2.3 | |
4006 | punch2 = false | |
4007 | ||
4008 | ||
4009 | idle = false | |
4010 | walk = false | |
4011 | canjump = false | |
4012 | canattack = false | |
4013 | punch3 = true | |
4014 | punched1 = false | |
4015 | punched2 = false | |
4016 | punched3 = true | |
4017 | af1 = new("Part",char) | |
4018 | af1.Name = "NewPart" | |
4019 | af1.Size = v3(1,1,1) | |
4020 | af1.Position = v3(999,999,999) | |
4021 | af1.Material = "Neon" | |
4022 | af1.Transparency = 1 | |
4023 | ||
4024 | aaaf1 =new("Weld",af1) | |
4025 | aaaf1.Part0 = LeftHand | |
4026 | aaaf1.Part1 = af1 | |
4027 | aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0)) | |
4028 | ||
4029 | wait(0.1) | |
4030 | punch3 = false | |
4031 | punch4 = true | |
4032 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4033 | ||
4034 | ||
4035 | if v:IsA("Humanoid") then | |
4036 | v.Health = v.Health - 10 | |
4037 | if v.Health > 100 then | |
4038 | v.Health = 100 | |
4039 | v.MaxHealth = 100 | |
4040 | end | |
4041 | end | |
4042 | end | |
4043 | punchsound1:Play() | |
4044 | wait(0.2) | |
4045 | if hit1 == false then | |
4046 | af1:Destroy() | |
4047 | hit1 = false | |
4048 | end | |
4049 | punch4 = false | |
4050 | ||
4051 | ||
4052 | idle = false | |
4053 | walk = false | |
4054 | canjump = false | |
4055 | canattack = false | |
4056 | uppercut1 = true | |
4057 | punched1 = false | |
4058 | punched2 = false | |
4059 | punched3 = false | |
4060 | punched4 = true | |
4061 | wait(0.3) | |
4062 | uppercut1 = false | |
4063 | uppercut2 = true | |
4064 | af1 = new("Part",char) | |
4065 | af1.Name = "NewPart" | |
4066 | af1.Size = v3(1,1,1) | |
4067 | af1.Position = v3(999,999,999) | |
4068 | af1.Material = "Neon" | |
4069 | af1.Transparency = 1 | |
4070 | ||
4071 | aaaf1 =new("Weld",af1) | |
4072 | aaaf1.Part0 = LeftHand | |
4073 | aaaf1.Part1 = af1 | |
4074 | aaaf1.C0 = cf(0,0,0) * cfa(rad(0),rad(0),rad(0)) | |
4075 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4076 | ||
4077 | ||
4078 | if v:IsA("Humanoid") then | |
4079 | v.Health = v.Health - 10 | |
4080 | if v.Health > 100 then | |
4081 | v.Health = 100 | |
4082 | v.MaxHealth = 100 | |
4083 | end | |
4084 | end | |
4085 | end | |
4086 | punchsound1:Play() | |
4087 | for i = 1,10 do | |
4088 | wait() | |
4089 | up = up + 1 | |
4090 | 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) | |
4091 | end | |
4092 | hit.Parent:findFirstChild("Head").Anchored = true | |
4093 | ||
4094 | ||
4095 | ||
4096 | ||
4097 | wait(0.3) | |
4098 | uppercut2 = false | |
4099 | ||
4100 | RootPart.CFrame = hit.Parent:findFirstChild("Head").CFrame - hit.Parent:findFirstChild("Head").CFrame.lookVector * 2.3 | |
4101 | RootPart.Anchored = true | |
4102 | idle = false | |
4103 | walk = false | |
4104 | canjump = false | |
4105 | canattack = false | |
4106 | knockdown1 = true | |
4107 | punched1 = true | |
4108 | punched2 = false | |
4109 | punched3 = false | |
4110 | punched4 = false | |
4111 | wait(0.3) | |
4112 | knockdown1 = false | |
4113 | knockdown2 = true | |
4114 | StrongPunch:Play() | |
4115 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4116 | ||
4117 | ||
4118 | if v:IsA("Humanoid") then | |
4119 | v.Health = v.Health - 10 | |
4120 | if v.Health > 100 then | |
4121 | v.Health = 100 | |
4122 | v.MaxHealth = 100 | |
4123 | end | |
4124 | end | |
4125 | end | |
4126 | GroundWave11() | |
4127 | punchsound2:Play() | |
4128 | up = 0 | |
4129 | for i = 1,10 do | |
4130 | wait() | |
4131 | up = up + 1 | |
4132 | 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) | |
4133 | end | |
4134 | wait(0.2) | |
4135 | knockdown2 = false | |
4136 | hit.Parent:findFirstChild("Head").Anchored = true | |
4137 | ||
4138 | 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)) | |
4139 | Instance.new("Smoke",hit.Parent:findFirstChild("Head")).Color = Color3.fromRGB(79,91,79) | |
4140 | coroutine.wrap(function() | |
4141 | ||
4142 | for i= 1,8 do | |
4143 | ||
4144 | FastPunch:Play() | |
4145 | wait(0.4) | |
4146 | end | |
4147 | end)() | |
4148 | coroutine.wrap(function() | |
4149 | wait(0.5) | |
4150 | ay1 = new("Part",char) | |
4151 | ay1.Name = "NewPart" | |
4152 | ay1.Size = v3(1,1,1) | |
4153 | ay1.CanCollide = false | |
4154 | ay1.BrickColor = bc("Cyan") | |
4155 | ay1.Material = "Neon" | |
4156 | ay1.Transparency = 0 | |
4157 | aay1 = new("SpecialMesh",ay1) | |
4158 | aay1.MeshType = "Sphere" | |
4159 | aay1.Scale = v3(3,3,3) | |
4160 | ay1.Anchored = true | |
4161 | ay1.Position = hit.Parent:findFirstChild("Head").Position | |
4162 | for i = 1,5 do | |
4163 | wait() | |
4164 | for i = 1,10 do | |
4165 | wait() | |
4166 | aay1.Scale = aay1.Scale + v3(2,2,2) | |
4167 | end | |
4168 | local HandCF = ay1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
4169 | Colors = {"White", "White"} | |
4170 | local wave11111 = Instance.new("Part", char) | |
4171 | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
4172 | wave11111.Anchored = true | |
4173 | wave11111.Name = "Wave" | |
4174 | wave11111.CanCollide = false | |
4175 | wave11111.Locked = true | |
4176 | wave11111.Size = Vector3.new(1, 1, 1) | |
4177 | wave11111.TopSurface = "Smooth" | |
4178 | wave11111.BottomSurface = "Smooth" | |
4179 | wave11111.Transparency = 0.35 | |
4180 | wave11111.CFrame = HandCF | |
4181 | wm31111 = Instance.new("SpecialMesh", wave11111) | |
4182 | wm31111.MeshId = "rbxassetid://3270017" | |
4183 | ||
4184 | coroutine.wrap(function() | |
4185 | for i = 1, 30, 1 do | |
4186 | wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
4187 | wave11111.Size = wm31111.Scale | |
4188 | wave11111.CFrame = HandCF | |
4189 | wave11111.Transparency = i/30 | |
4190 | wait() | |
4191 | end | |
4192 | wait() | |
4193 | wave11111:Destroy() | |
4194 | end)() | |
4195 | for i = 1,10 do | |
4196 | wait() | |
4197 | aay1.Scale = aay1.Scale - v3(2,2,2) | |
4198 | end | |
4199 | local HandCF = ay1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
4200 | Colors = {"White", "White"} | |
4201 | local wave11111 = Instance.new("Part", char) | |
4202 | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
4203 | wave11111.Anchored = true | |
4204 | wave11111.Name = "Wave" | |
4205 | wave11111.CanCollide = false | |
4206 | wave11111.Locked = true | |
4207 | wave11111.Size = Vector3.new(1, 1, 1) | |
4208 | wave11111.TopSurface = "Smooth" | |
4209 | wave11111.BottomSurface = "Smooth" | |
4210 | wave11111.Transparency = 0.35 | |
4211 | wave11111.CFrame = HandCF | |
4212 | wm31111 = Instance.new("SpecialMesh", wave11111) | |
4213 | wm31111.MeshId = "rbxassetid://3270017" | |
4214 | coroutine.wrap(function() | |
4215 | for i = 1, 30, 1 do | |
4216 | wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
4217 | wave11111.Size = wm31111.Scale | |
4218 | wave11111.CFrame = HandCF | |
4219 | wave11111.Transparency = i/30 | |
4220 | wait() | |
4221 | end | |
4222 | wait() | |
4223 | wave11111:Destroy() | |
4224 | end)() | |
4225 | end | |
4226 | ay1:Destroy() | |
4227 | end)() | |
4228 | coroutine.wrap(function() | |
4229 | wait(0.5) | |
4230 | for i= 1,32 do | |
4231 | wait(0.1) | |
4232 | kiblastsound:Play() | |
4233 | kamehit:Play() | |
4234 | ||
4235 | end | |
4236 | end)() | |
4237 | ||
4238 | for i = 1,20 do | |
4239 | wait() | |
4240 | kiblast1 = true | |
4241 | wait() | |
4242 | kiblast1 = false | |
4243 | kiblast2 = true | |
4244 | ||
4245 | ay = new("Part",char) | |
4246 | ay.Name = "NewPart" | |
4247 | ay.Size = v3(1,1,1) | |
4248 | ay.CanCollide = false | |
4249 | ay.BrickColor = bc("Cyan") | |
4250 | ay.Material = "Neon" | |
4251 | ay.Transparency = 0 | |
4252 | aay = new("SpecialMesh",ay) | |
4253 | aay.MeshType = "Sphere" | |
4254 | aay.Scale = v3(2,2,2) | |
4255 | ay.Position = v3(999,999,999) | |
4256 | ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3 | |
4257 | ys = Instance.new("BodyVelocity",ay) | |
4258 | ||
4259 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4260 | ||
4261 | ys.Velocity = RootPart.CFrame.lookVector * 80 | |
4262 | ay.Touched:connect(function(hit) | |
4263 | if hit ~= ay then | |
4264 | ||
4265 | ||
4266 | ||
4267 | ||
4268 | ||
4269 | ||
4270 | ||
4271 | ||
4272 | ||
4273 | end | |
4274 | if hit.Parent:FindFirstChild("Head") ~= nil or hit.Parent.Parent:FindFirstChild("Head") ~= nil then | |
4275 | ||
4276 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4277 | ||
4278 | ||
4279 | if v:IsA("Humanoid") then | |
4280 | v.Health = v.Health - 0.4 | |
4281 | if v.Health > 100 then | |
4282 | v.Health = 100 | |
4283 | v.MaxHealth = 100 | |
4284 | end | |
4285 | end | |
4286 | end | |
4287 | end | |
4288 | ||
4289 | end) | |
4290 | ||
4291 | game.Debris:AddItem(ay,3) | |
4292 | wait() | |
4293 | kiblast2= false | |
4294 | ||
4295 | ||
4296 | ||
4297 | ||
4298 | ||
4299 | kiblast3 = true | |
4300 | wait() | |
4301 | kiblast3 = false | |
4302 | kiblast4 = true | |
4303 | ||
4304 | ay = new("Part",char) | |
4305 | ay.Name = "NewPart" | |
4306 | ay.Size = v3(1,1,1) | |
4307 | ay.CanCollide = false | |
4308 | ay.BrickColor = bc("Cyan") | |
4309 | ay.Material = "Neon" | |
4310 | ay.Transparency = 0 | |
4311 | aay = new("SpecialMesh",ay) | |
4312 | aay.MeshType = "Sphere" | |
4313 | aay.Scale = v3(2,2,2) | |
4314 | ay.Position = v3(999,999,999) | |
4315 | ay.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 3 | |
4316 | ys = Instance.new("BodyVelocity",ay) | |
4317 | ||
4318 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4319 | ||
4320 | ys.Velocity = RootPart.CFrame.lookVector * 80 | |
4321 | ay.Touched:connect(function(hit) | |
4322 | if hit ~= ay then | |
4323 | ||
4324 | ||
4325 | ||
4326 | ||
4327 | ||
4328 | ||
4329 | ||
4330 | ||
4331 | end | |
4332 | if hit.Parent:FindFirstChild("Head") ~= nil and hit.Parent:FindFirstChild("NewPart") == nil then | |
4333 | ||
4334 | ||
4335 | for i,v in pairs(hit.Parent:GetChildren()) do | |
4336 | ||
4337 | ||
4338 | ||
4339 | if v:IsA("Humanoid") then | |
4340 | v.Health = v.Health - 0.4 | |
4341 | if v.Health > 100 then | |
4342 | v.Health = 100 | |
4343 | v.MaxHealth = 100 | |
4344 | end | |
4345 | end | |
4346 | end | |
4347 | end | |
4348 | ||
4349 | end) | |
4350 | ||
4351 | game.Debris:AddItem(ay,3) | |
4352 | wait() | |
4353 | kiblast4= false | |
4354 | end | |
4355 | ||
4356 | ||
4357 | ||
4358 | ||
4359 | wait(2) | |
4360 | idle = true | |
4361 | walk = true | |
4362 | canjump = true | |
4363 | canattack = true | |
4364 | ||
4365 | hit.Parent:findFirstChild("Head").Anchored = false | |
4366 | idle = true | |
4367 | go11 = 2.3 | |
4368 | walk = true | |
4369 | up = 0 | |
4370 | canjump = true | |
4371 | canattack = true | |
4372 | RootPart.Anchored = false | |
4373 | end | |
4374 | ||
4375 | end) | |
4376 | end | |
4377 | end | |
4378 | end) | |
4379 | ||
4380 | ||
4381 | ||
4382 | ||
4383 | ||
4384 | ||
4385 | ||
4386 | ||
4387 | ||
4388 | ||
4389 | ||
4390 | ||
4391 | ||
4392 | ||
4393 | mouse.KeyDown:connect(function(key) | |
4394 | if key == "y" then | |
4395 | if fuse == false then | |
4396 | if ssj1 == false and ssj2 == false and ssj3 == false then | |
4397 | if canattack == true then | |
4398 | canattack = false | |
4399 | if canfly == true then | |
4400 | canfly = false | |
4401 | canfly1 = true | |
4402 | end | |
4403 | newaura.Position = UDim2.new(-0.475,0,-0.25,0) | |
4404 | RootPart.Anchored = true | |
4405 | newaurabase.Size = UDim2.new(15,0,25,0) | |
4406 | newaurabase.AlwaysOnTop = false | |
4407 | newaura.ImageColor3 = Color3.fromRGB(255, 255, 255) | |
4408 | newaurabase.ExtentsOffset = Vector3.new(0,0,-2) | |
4409 | idle = false | |
4410 | ssjb = true | |
4411 | ssj1 = false | |
4412 | ssj2= false | |
4413 | ssj3 = false | |
4414 | walk = false | |
4415 | canjump = false | |
4416 | ||
4417 | ssjbmusic:Play() | |
4418 | g1q = Instance.new("Part",char) | |
4419 | g1q.Name = "Smoke" | |
4420 | g1q.CanCollide = false | |
4421 | g1q.Position = RootPart.Position - v3(-8,3,0) | |
4422 | g1q.Size = v3(0.1,0.1,0.1) | |
4423 | g1q.Anchored = true | |
4424 | g1a = Instance.new("Part",char) | |
4425 | g1a.Name = "Smoke" | |
4426 | g1a.CanCollide = false | |
4427 | g1a.Position = RootPart.Position + v3(8,80,0) | |
4428 | g1a.Size = v3(0.1,0.1,0.1) | |
4429 | g1a.Anchored = true | |
4430 | g1q1 = Instance.new("Part",char) | |
4431 | g1q1.Name = "Smoke" | |
4432 | g1q1.CanCollide = false | |
4433 | g1q1.Position = RootPart.Position - v3(-5,3,7) | |
4434 | g1q1.Size = v3(0.1,0.1,0.1) | |
4435 | g1q1.Anchored = true | |
4436 | g1a1 = Instance.new("Part",char) | |
4437 | g1a1.Name = "Smoke" | |
4438 | g1a1.CanCollide = false | |
4439 | g1a1.Position = RootPart.Position + v3(5,80,-7) | |
4440 | g1a1.Size = v3(0.1,0.1,0.1) | |
4441 | g1a1.Anchored = true | |
4442 | g1q2 = Instance.new("Part",char) | |
4443 | g1q2.Name = "Smoke" | |
4444 | g1q2.CanCollide = false | |
4445 | g1q2.Position = RootPart.Position - v3(12,3,-6) | |
4446 | g1q2.Size = v3(0.1,0.1,0.1) | |
4447 | g1q2.Anchored = true | |
4448 | g1a2 = Instance.new("Part",char) | |
4449 | g1a2.Name = "Smoke" | |
4450 | g1a2.CanCollide = false | |
4451 | g1a2.Position = RootPart.Position + v3(-12,80,6) | |
4452 | g1a2.Size = v3(0.1,0.1,0.1) | |
4453 | g1a2.Anchored = true | |
4454 | ------------------------------------------------ | |
4455 | transform1 = true | |
4456 | ||
4457 | wait(0.8) | |
4458 | if potara == false then | |
4459 | Hair7.Color = Color3.fromRGB(21,221,239) | |
4460 | Mesh.MeshId = "rbxassetid://430344159" | |
4461 | Mesh.Scale = v3(6.3,6.3,6.3) | |
4462 | char.Head.face.Texture= "rbxassetid://959519291" | |
4463 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
4464 | else | |
4465 | char.Head.face.Texture= "rbxassetid://959519291" | |
4466 | Hair7.Color = Color3.fromRGB(21,221,239) | |
4467 | Mesh.MeshId = "rbxassetid://560152258" | |
4468 | Mesh.Scale = Vector3.new(6.9,6.9,6.9) | |
4469 | Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0) | |
4470 | end | |
4471 | a21e = new("Part",char) | |
4472 | a21e.Name = "Beam"..num | |
4473 | a21e.Locked = true | |
4474 | a21e.Size = v3(1,1,1) | |
4475 | a21e.CanCollide = false | |
4476 | a21e.Position = v3(999,999,999) | |
4477 | a21e.BrickColor = bc("Cyan") | |
4478 | a21e.Material = "Neon" | |
4479 | a21e.Transparency = 0 | |
4480 | aa21e = new("SpecialMesh",a21e) | |
4481 | a21e.Anchored = true | |
4482 | a21e.Position = RootPart.Position | |
4483 | aa21e.MeshType = "Sphere" | |
4484 | aa21e.Scale = v3(1,1,1) | |
4485 | ||
4486 | transform1 = false | |
4487 | transform2 = true | |
4488 | ssjbauraburst:Play() | |
4489 | GroundWave5() | |
4490 | GroundWave6() | |
4491 | GroundWave7() | |
4492 | GroundWave8() | |
4493 | GroundWave9() | |
4494 | GroundWave10() | |
4495 | ad.Position = RootPart.Position - v3(0,3,0) | |
4496 | aad.Transparency = 0 | |
4497 | ||
4498 | ||
4499 | ||
4500 | newaura.ImageTransparency = 0 | |
4501 | ssjbaura:Play() | |
4502 | for i = 1,50 do | |
4503 | wait() | |
4504 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
4505 | a21e.Transparency = a21e.Transparency + 0.02 | |
4506 | end | |
4507 | wait(0.1) | |
4508 | wait(1.4) | |
4509 | transform2 = false | |
4510 | ||
4511 | ||
4512 | ||
4513 | ||
4514 | ------------------------------------------------- | |
4515 | canattack = true | |
4516 | RootPart.Anchored = false | |
4517 | if canfly1 == true then | |
4518 | ||
4519 | idle = true | |
4520 | walk = true | |
4521 | canjump = true | |
4522 | end | |
4523 | if canfly1 == true then | |
4524 | canfly = true | |
4525 | end | |
4526 | for i = 1,20 do | |
4527 | wait() | |
4528 | aad.Transparency = aad.Transparency + 0.05 | |
4529 | end | |
4530 | end | |
4531 | end | |
4532 | end | |
4533 | end | |
4534 | end) | |
4535 | ||
4536 | ||
4537 | ||
4538 | mouse.KeyDown:connect(function(key) | |
4539 | if key == "6" then | |
4540 | if potara == false then | |
4541 | if ssjb == false then | |
4542 | if canattack == true then | |
4543 | canattack = false | |
4544 | if canfly == true then | |
4545 | canfly = false | |
4546 | canfly1 = true | |
4547 | end | |
4548 | ||
4549 | ||
4550 | idle = false | |
4551 | ssjb = true | |
4552 | ssjbkaio = true | |
4553 | ssj1 = false | |
4554 | ssj2= false | |
4555 | ssj3 = false | |
4556 | walk = false | |
4557 | canjump = false | |
4558 | ||
4559 | ssjbmusic:Play() | |
4560 | ||
4561 | ------------------------------------------------ | |
4562 | transform3 = true | |
4563 | ||
4564 | wait(0.8) | |
4565 | Hair7.Color = Color3.fromRGB(17,17,17) | |
4566 | Mesh.MeshId = "rbxassetid://1125231485" | |
4567 | Mesh.Scale = v3(6.3,6.3,6.3) | |
4568 | char.Head.face.Texture= "rbxassetid://986775808" | |
4569 | Weld.C0 = CFrame.new(0.2, 1.2, 0.2) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) | |
4570 | ||
4571 | a21e = new("Part",char) | |
4572 | a21e.Name = "Beam"..num | |
4573 | a21e.Locked = true | |
4574 | a21e.Size = v3(1,1,1) | |
4575 | a21e.CanCollide = false | |
4576 | a21e.Position = v3(999,999,999) | |
4577 | a21e.BrickColor = bc("Cyan") | |
4578 | a21e.Material = "Neon" | |
4579 | a21e.Transparency = 1 | |
4580 | aa21e = new("SpecialMesh",a21e) | |
4581 | a21e.Anchored = true | |
4582 | a21e.Position = RootPart.Position | |
4583 | aa21e.MeshType = "Sphere" | |
4584 | aa21e.Scale = v3(1,1,1) | |
4585 | ||
4586 | ||
4587 | ||
4588 | ||
4589 | ||
4590 | smokey = Instance.new("Smoke",RootPart) | |
4591 | smokey.Color = Color3.new(0,255,255) | |
4592 | smokey.Opacity = 1 | |
4593 | smokey.Size = 2 | |
4594 | ssjbkaioken.TimePosition = 1.5 | |
4595 | ssjbkaioken:Play() | |
4596 | wait(0.2) | |
4597 | coroutine.wrap(function() | |
4598 | repeat | |
4599 | wait() | |
4600 | newaurabase.Size = UDim2.new(math.random(15,17),0,math.random(25,30),0) | |
4601 | until newaura.ImageTransparency == 1 | |
4602 | local pie22 = Instance.new("ParticleEmitter") | |
4603 | pie22.Parent = LeftUpperArm | |
4604 | pie22.Color = ColorSequence.new(BrickColor.new("White").Color) | |
4605 | pie22.LightEmission = 1 | |
4606 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
4607 | pie22.Texture = "http://www.roblox.com/asset/?id=1207853932" | |
4608 | pie22.Transparency = NumberSequence.new(0.7) | |
4609 | pie22.EmissionDirection = "Top" | |
4610 | pie22.Enabled = true | |
4611 | pie22.Lifetime = NumberRange.new(1) | |
4612 | pie22.Rotation = NumberRange.new(-420, 425) | |
4613 | pie22.Rate = 400 | |
4614 | pie22.Speed = NumberRange.new(1) | |
4615 | pie22.LockedToPart = false | |
4616 | pie22.VelocitySpread = 2 | |
4617 | local pie222 = Instance.new("ParticleEmitter") | |
4618 | pie222.Parent = RightUpperArm | |
4619 | pie222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
4620 | pie222.LightEmission = 1 | |
4621 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4622 | pie222.Texture = "http://www.roblox.com/asset/?id=1207853932" | |
4623 | pie222.Transparency = NumberSequence.new(0.7) | |
4624 | pie222.EmissionDirection = "Top" | |
4625 | pie222.Enabled = true | |
4626 | pie222.Lifetime = NumberRange.new(1) | |
4627 | pie222.Rotation = NumberRange.new(-420, 425) | |
4628 | pie222.Rate = 400 | |
4629 | pie222.Speed = NumberRange.new(1) | |
4630 | pie222.LockedToPart = false | |
4631 | pie222.VelocitySpread = 2 | |
4632 | local pie2222 = Instance.new("ParticleEmitter") | |
4633 | pie2222.Parent = LeftLowerLeg | |
4634 | pie2222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
4635 | pie2222.LightEmission = 1 | |
4636 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4637 | pie2222.Texture = "http://www.roblox.com/asset/?id=1207853932" | |
4638 | pie2222.Transparency = NumberSequence.new(0.7) | |
4639 | pie2222.EmissionDirection = "Top" | |
4640 | pie2222.Enabled = true | |
4641 | pie2222.Lifetime = NumberRange.new(1) | |
4642 | pie2222.Rotation = NumberRange.new(-420, 425) | |
4643 | pie2222.Rate = 400 | |
4644 | pie2222.Speed = NumberRange.new(1) | |
4645 | pie2222.LockedToPart = false | |
4646 | pie2222.VelocitySpread = 2 | |
4647 | local pie22222 = Instance.new("ParticleEmitter") | |
4648 | pie22222.Parent = RightLowerLeg | |
4649 | pie22222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
4650 | pie22222.LightEmission = 1 | |
4651 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4652 | pie22222.Texture = "http://www.roblox.com/asset/?id=1207853932" | |
4653 | pie22222.Transparency = NumberSequence.new(0.7) | |
4654 | pie22222.EmissionDirection = "Top" | |
4655 | pie22222.Enabled = true | |
4656 | pie22222.Lifetime = NumberRange.new(1) | |
4657 | pie22222.Rotation = NumberRange.new(-420, 425) | |
4658 | pie22222.Rate = 400 | |
4659 | pie22222.Speed = NumberRange.new(1) | |
4660 | pie22222.LockedToPart = false | |
4661 | pie22222.VelocitySpread = 2 | |
4662 | local pie2242 = Instance.new("ParticleEmitter") | |
4663 | pie2242.Parent = UpperTorso | |
4664 | pie2242.Color = ColorSequence.new(BrickColor.new("White").Color) | |
4665 | pie2242.LightEmission = 1 | |
4666 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
4667 | pie2242.Texture = "http://www.roblox.com/asset/?id=1207853932" | |
4668 | pie2242.Transparency = NumberSequence.new(0.7) | |
4669 | pie2242.EmissionDirection = "Top" | |
4670 | pie2242.Enabled = true | |
4671 | pie2242.Lifetime = NumberRange.new(1) | |
4672 | pie2242.Rotation = NumberRange.new(-420, 425) | |
4673 | pie2242.Rate = 400 | |
4674 | pie2242.Speed = NumberRange.new(1) | |
4675 | pie2242.LockedToPart = false | |
4676 | pie2242.VelocitySpread = 2 | |
4677 | ||
4678 | local tra = Instance.new('ParticleEmitter') | |
4679 | tra.Parent = UpperTorso | |
4680 | tra.LightEmission = 1 | |
4681 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
4682 | tra.Rate = 15 | |
4683 | tra.Rotation = NumberRange.new(-5, 5) | |
4684 | tra.Lifetime = NumberRange.new(1.5, 2) | |
4685 | tra.Size = NumberSequence.new(0.098,0) | |
4686 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
4687 | tra.Speed = NumberRange.new(0.5) | |
4688 | tra.VelocitySpread = 360 | |
4689 | tra.VelocityInheritance = 0.5 | |
4690 | tra.ZOffset = 2 | |
4691 | local tra = Instance.new('ParticleEmitter') | |
4692 | tra.Parent = LeftUpperArm | |
4693 | tra.LightEmission = 1 | |
4694 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
4695 | tra.Rate = 15 | |
4696 | tra.Rotation = NumberRange.new(-5, 5) | |
4697 | tra.Lifetime = NumberRange.new(1.5, 2) | |
4698 | tra.Size = NumberSequence.new(0.098,0) | |
4699 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
4700 | tra.Speed = NumberRange.new(0.5) | |
4701 | tra.VelocitySpread = 360 | |
4702 | tra.VelocityInheritance = 0.5 | |
4703 | tra.ZOffset = 2 | |
4704 | local tra = Instance.new('ParticleEmitter') | |
4705 | tra.Parent = RightUpperArm | |
4706 | tra.LightEmission = 1 | |
4707 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
4708 | tra.Rate = 15 | |
4709 | tra.Rotation = NumberRange.new(-5, 5) | |
4710 | tra.Lifetime = NumberRange.new(1.5, 2) | |
4711 | tra.Size = NumberSequence.new(0.098,0) | |
4712 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
4713 | tra.Speed = NumberRange.new(0.5) | |
4714 | tra.VelocitySpread = 360 | |
4715 | tra.VelocityInheritance = 0.5 | |
4716 | tra.ZOffset = 2 | |
4717 | local tra = Instance.new('ParticleEmitter') | |
4718 | tra.Parent = LeftLowerLeg | |
4719 | tra.LightEmission = 1 | |
4720 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
4721 | tra.Rate = 15 | |
4722 | tra.Rotation = NumberRange.new(-5, 5) | |
4723 | tra.Lifetime = NumberRange.new(1.5, 2) | |
4724 | tra.Size = NumberSequence.new(0.098,0) | |
4725 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
4726 | tra.Speed = NumberRange.new(0.5) | |
4727 | tra.VelocitySpread = 360 | |
4728 | tra.VelocityInheritance = 0.5 | |
4729 | tra.ZOffset = 2 | |
4730 | local tra = Instance.new('ParticleEmitter') | |
4731 | tra.Parent = RightLowerLeg | |
4732 | tra.LightEmission = 1 | |
4733 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
4734 | tra.Rate = 15 | |
4735 | tra.Rotation = NumberRange.new(-5, 5) | |
4736 | tra.Lifetime = NumberRange.new(1.5, 2) | |
4737 | tra.Size = NumberSequence.new(0.098,0) | |
4738 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
4739 | tra.Speed = NumberRange.new(0.5) | |
4740 | tra.VelocitySpread = 360 | |
4741 | tra.VelocityInheritance = 0.5 | |
4742 | tra.ZOffset = 2 | |
4743 | ||
4744 | ||
4745 | ||
4746 | ||
4747 | end)() | |
4748 | rock = true | |
4749 | redlight = Instance.new("PointLight",LowerTorso) | |
4750 | redlight.Color = Color3.new(175, 221, 255) | |
4751 | redlight.Brightness = math.huge | |
4752 | mouth.Texture = "rbxassetid://" | |
4753 | GroundShake = true | |
4754 | RootPart.Anchored = true | |
4755 | ||
4756 | wait(10) | |
4757 | ||
4758 | wait(7) | |
4759 | rock2 = true | |
4760 | rock = false | |
4761 | smokey:Destroy() | |
4762 | ssjbaura:Stop() | |
4763 | ssjbmusic:Stop() | |
4764 | transform3 = false | |
4765 | transform2 = false | |
4766 | transform5 = true | |
4767 | redlight:Destroy() | |
4768 | ||
4769 | mouth.Texture = "rbxassetid://932140764" | |
4770 | newaura.ImageTransparency = 1 | |
4771 | GroundShake = false | |
4772 | ||
4773 | a21e.Transparency = 0 | |
4774 | for i = 1,50 do | |
4775 | wait() | |
4776 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
4777 | a21e.Transparency = a21e.Transparency + 0.02 | |
4778 | end | |
4779 | aa21e.Scale = v3(1,1,1) | |
4780 | a21e.Transparency = 1 | |
4781 | wait(1) | |
4782 | chatfunc("Ultra Instinct") | |
4783 | mouth.Texture = "rbxassetid://828773176" | |
4784 | wait(0.3) | |
4785 | mouth.Texture = "rbxassetid://932140764" | |
4786 | wait(0.3) | |
4787 | mouth.Texture = "rbxassetid://828773176" | |
4788 | wait(0.3) | |
4789 | mouth.Texture = "rbxassetid://932140764" | |
4790 | wait(0.3) | |
4791 | mouth.Texture = "rbxassetid://828773176" | |
4792 | wait(0.3) | |
4793 | mouth.Texture = "rbxassetid://932140764" | |
4794 | wait(0.3) | |
4795 | GroundShake2 = true | |
4796 | transform5 = false | |
4797 | transform3 = false | |
4798 | transform2 = true | |
4799 | ssjbauraburst:Play() | |
4800 | GroundWave5() | |
4801 | GroundWave6() | |
4802 | GroundWave7() | |
4803 | GroundWave8() | |
4804 | GroundWave9() | |
4805 | GroundWave10() | |
4806 | ad.Position = RootPart.Position - v3(0,3,0) | |
4807 | aad.Transparency = 0 | |
4808 | newaura2.ImageTransparency = 1 | |
4809 | wait(0.1) | |
4810 | ||
4811 | ||
4812 | newaura.ImageTransparency = 1 | |
4813 | ssjbaura:Stop() | |
4814 | ssjbkaura:Play() | |
4815 | a21e.Transparency = 0 | |
4816 | for i = 1,50 do | |
4817 | wait() | |
4818 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
4819 | a21e.Transparency = a21e.Transparency + 0.02 | |
4820 | end | |
4821 | GroundShake2 = false | |
4822 | for i,v in pairs(workspace:GetChildren()) do | |
4823 | if v:IsA("Part") then | |
4824 | if v.Size.x > 150 then | |
4825 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
4826 | end | |
4827 | end | |
4828 | end | |
4829 | wait(0.1) | |
4830 | wait(1.4) | |
4831 | chatfunc("I Can Move Without Thinking") | |
4832 | rock2 = false | |
4833 | transform2 = false | |
4834 | ||
4835 | ||
4836 | ||
4837 | ||
4838 | ------------------------------------------------- | |
4839 | canattack = true | |
4840 | RootPart.Anchored = false | |
4841 | if canfly1 == true then | |
4842 | ||
4843 | idle = true | |
4844 | walk = true | |
4845 | canjump = true | |
4846 | end | |
4847 | if canfly1 == true then | |
4848 | canfly = true | |
4849 | end | |
4850 | for i = 1,20 do | |
4851 | wait() | |
4852 | aad.Transparency = aad.Transparency + 0.05 | |
4853 | end | |
4854 | end | |
4855 | end | |
4856 | end | |
4857 | end | |
4858 | end) | |
4859 | ||
4860 | ||
4861 | ||
4862 | ||
4863 | ||
4864 | mouse.KeyDown:connect(function(key) | |
4865 | if key == "k" then | |
4866 | if potara == false then | |
4867 | if ssjb == true then | |
4868 | if canattack == true then | |
4869 | canattack = false | |
4870 | if canfly == true then | |
4871 | canfly = false | |
4872 | canfly1 = true | |
4873 | end | |
4874 | ||
4875 | ||
4876 | idle = false | |
4877 | ssjb = true | |
4878 | ssjbkaio = true | |
4879 | ssj1 = false | |
4880 | ssj2= false | |
4881 | ssj3 = false | |
4882 | walk = false | |
4883 | canjump = false | |
4884 | ||
4885 | ssjbmusic:Play() | |
4886 | ||
4887 | ------------------------------------------------ | |
4888 | transform3 = true | |
4889 | ||
4890 | wait(0.8) | |
4891 | Hair7.Color = Color3.fromRGB(21,221,239) | |
4892 | Mesh.MeshId = "rbxassetid://430344159" | |
4893 | Mesh.Scale = v3(6.3,6.3,6.3) | |
4894 | char.Head.face.Texture= "rbxassetid://959519291" | |
4895 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
4896 | ||
4897 | a21e = new("Part",char) | |
4898 | a21e.Name = "Beam"..num | |
4899 | a21e.Locked = true | |
4900 | a21e.Size = v3(1,1,1) | |
4901 | a21e.CanCollide = false | |
4902 | a21e.Position = v3(999,999,999) | |
4903 | a21e.BrickColor = bc("Cyan") | |
4904 | a21e.Material = "Neon" | |
4905 | a21e.Transparency = 1 | |
4906 | aa21e = new("SpecialMesh",a21e) | |
4907 | a21e.Anchored = true | |
4908 | a21e.Position = RootPart.Position | |
4909 | aa21e.MeshType = "Sphere" | |
4910 | aa21e.Scale = v3(1,1,1) | |
4911 | ||
4912 | ||
4913 | ||
4914 | ||
4915 | ||
4916 | smokey = Instance.new("Smoke",RootPart) | |
4917 | smokey.Color = Color3.new(255,0,0) | |
4918 | smokey.Opacity = 1 | |
4919 | smokey.Size = 2 | |
4920 | ssjbkaioken.TimePosition = 1.5 | |
4921 | ssjbkaioken:Play() | |
4922 | wait(0.2) | |
4923 | coroutine.wrap(function() | |
4924 | repeat | |
4925 | wait() | |
4926 | newaurabase.Size = UDim2.new(math.random(15,17),0,math.random(25,30),0) | |
4927 | until newaura.ImageTransparency == 1 | |
4928 | ||
4929 | ||
4930 | ||
4931 | end)() | |
4932 | rock = true | |
4933 | redlight = Instance.new("PointLight",LowerTorso) | |
4934 | redlight.Color = Color3.new(255,0,0) | |
4935 | redlight.Brightness = math.huge | |
4936 | mouth.Texture = "rbxassetid://828773176" | |
4937 | GroundShake = true | |
4938 | RootPart.Anchored = true | |
4939 | ||
4940 | wait(10) | |
4941 | ||
4942 | wait(7) | |
4943 | rock2 = true | |
4944 | rock = false | |
4945 | smokey:Destroy() | |
4946 | ssjbaura:Stop() | |
4947 | ssjbmusic:Stop() | |
4948 | transform3 = false | |
4949 | transform2 = false | |
4950 | transform5 = true | |
4951 | redlight:Destroy() | |
4952 | ||
4953 | mouth.Texture = "rbxassetid://932140764" | |
4954 | newaura.ImageTransparency = 1 | |
4955 | GroundShake = false | |
4956 | ||
4957 | a21e.Transparency = 0 | |
4958 | for i = 1,50 do | |
4959 | wait() | |
4960 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
4961 | a21e.Transparency = a21e.Transparency + 0.02 | |
4962 | end | |
4963 | aa21e.Scale = v3(1,1,1) | |
4964 | a21e.Transparency = 1 | |
4965 | wait(1) | |
4966 | chatfunc("Kaioken!") | |
4967 | mouth.Texture = "rbxassetid://828773176" | |
4968 | wait(0.3) | |
4969 | mouth.Texture = "rbxassetid://932140764" | |
4970 | wait(0.3) | |
4971 | mouth.Texture = "rbxassetid://828773176" | |
4972 | wait(0.3) | |
4973 | mouth.Texture = "rbxassetid://932140764" | |
4974 | wait(0.3) | |
4975 | mouth.Texture = "rbxassetid://828773176" | |
4976 | wait(0.3) | |
4977 | mouth.Texture = "rbxassetid://932140764" | |
4978 | wait(0.3) | |
4979 | GroundShake2 = true | |
4980 | transform5 = false | |
4981 | transform3 = false | |
4982 | transform2 = true | |
4983 | ssjbauraburst:Play() | |
4984 | GroundWave5() | |
4985 | GroundWave6() | |
4986 | GroundWave7() | |
4987 | GroundWave8() | |
4988 | GroundWave9() | |
4989 | GroundWave10() | |
4990 | ad.Position = RootPart.Position - v3(0,3,0) | |
4991 | aad.Transparency = 0 | |
4992 | newaura2.ImageTransparency = 0 | |
4993 | wait(0.1) | |
4994 | ||
4995 | ||
4996 | newaura.ImageTransparency = 0 | |
4997 | ssjbaura:Stop() | |
4998 | ssjbkaura:Play() | |
4999 | a21e.Transparency = 0 | |
5000 | for i = 1,50 do | |
5001 | wait() | |
5002 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
5003 | a21e.Transparency = a21e.Transparency + 0.02 | |
5004 | end | |
5005 | GroundShake2 = false | |
5006 | for i,v in pairs(workspace:GetChildren()) do | |
5007 | if v:IsA("Part") then | |
5008 | if v.Size.x > 150 then | |
5009 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
5010 | end | |
5011 | end | |
5012 | end | |
5013 | wait(0.1) | |
5014 | wait(1.4) | |
5015 | chatfunc("This Is My Trump Card") | |
5016 | rock2 = false | |
5017 | transform2 = false | |
5018 | ||
5019 | ||
5020 | ||
5021 | ||
5022 | ------------------------------------------------- | |
5023 | canattack = true | |
5024 | RootPart.Anchored = false | |
5025 | if canfly1 == true then | |
5026 | ||
5027 | idle = true | |
5028 | walk = true | |
5029 | canjump = true | |
5030 | end | |
5031 | if canfly1 == true then | |
5032 | canfly = true | |
5033 | end | |
5034 | for i = 1,20 do | |
5035 | wait() | |
5036 | aad.Transparency = aad.Transparency + 0.05 | |
5037 | end | |
5038 | end | |
5039 | end | |
5040 | end | |
5041 | end | |
5042 | end) | |
5043 | ||
5044 | ||
5045 | ||
5046 | mouse.KeyDown:connect(function(key) | |
5047 | if key == "k" then | |
5048 | if ssjbkaio == true then | |
5049 | if canattack == true then | |
5050 | canattack = false | |
5051 | if canfly == true then | |
5052 | canfly = false | |
5053 | canfly1 = true | |
5054 | end | |
5055 | ||
5056 | RootPart.Anchored = true | |
5057 | idle = false | |
5058 | ssjb = true | |
5059 | ssjbkaio = false | |
5060 | ssjbkaiox10 = true | |
5061 | ssj1 = false | |
5062 | ssj2= false | |
5063 | ssj3 = false | |
5064 | walk = false | |
5065 | canjump = false | |
5066 | ||
5067 | ssjbmusic:Play() | |
5068 | ||
5069 | ------------------------------------------------ | |
5070 | transform3 = true | |
5071 | ||
5072 | wait(0.8) | |
5073 | ||
5074 | ||
5075 | a21e = new("Part",char) | |
5076 | a21e.Name = "Beam"..num | |
5077 | a21e.Locked = true | |
5078 | a21e.Size = v3(1,1,1) | |
5079 | a21e.CanCollide = false | |
5080 | a21e.Position = v3(999,999,999) | |
5081 | a21e.BrickColor = bc("Cyan") | |
5082 | a21e.Material = "Neon" | |
5083 | a21e.Transparency = 1 | |
5084 | aa21e = new("SpecialMesh",a21e) | |
5085 | a21e.Anchored = true | |
5086 | a21e.Position = RootPart.Position | |
5087 | aa21e.MeshType = "Sphere" | |
5088 | aa21e.Scale = v3(1,1,1) | |
5089 | ||
5090 | ||
5091 | ||
5092 | ||
5093 | ||
5094 | ||
5095 | ssjbkaioken1:Play() | |
5096 | coroutine.wrap(function() | |
5097 | repeat | |
5098 | wait() | |
5099 | newaurabase2.Size = UDim2.new(math.random(30,35),0,math.random(60,75),0) | |
5100 | until Hair7.Color == Color3.fromRGB(210, 211, 223) | |
5101 | ||
5102 | ||
5103 | ||
5104 | end)() | |
5105 | rock = true | |
5106 | redlight = Instance.new("PointLight",LowerTorso) | |
5107 | redlight.Color = Color3.new(255,0,0) | |
5108 | redlight.Brightness = math.huge | |
5109 | GroundShake = true | |
5110 | ||
5111 | mouth.Texture = "rbxassetid://828773176" | |
5112 | wait(9) | |
5113 | GroundWave5() | |
5114 | GroundWave6() | |
5115 | GroundWave7() | |
5116 | GroundWave8() | |
5117 | GroundWave9() | |
5118 | GroundWave10() | |
5119 | ad = new("Part",char) | |
5120 | ad.Name = "NewPart" | |
5121 | ad.Size = v3(30,0.1,30) | |
5122 | ad.CanCollide = false | |
5123 | ad.Anchored = true | |
5124 | ad.Position = RootPart.Position - v3(0,2,0) | |
5125 | ad.BrickColor = bc("bright Blue") | |
5126 | ad.Material = "Neon" | |
5127 | ad.Transparency = 1 | |
5128 | aad = new("Decal",ad) | |
5129 | ||
5130 | aad.Face = "Top" | |
5131 | aad.Transparency = 1 | |
5132 | aad.Transparency = 0 | |
5133 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
5134 | wait(11) | |
5135 | ||
5136 | redlight:Destroy() | |
5137 | ||
5138 | chatfunc("Times 10!") | |
5139 | mouth.Texture = "rbxassetid://828773176" | |
5140 | wait(0.3) | |
5141 | mouth.Texture = "rbxassetid://932140764" | |
5142 | wait(0.3) | |
5143 | mouth.Texture = "rbxassetid://828773176" | |
5144 | wait(0.3) | |
5145 | mouth.Texture = "rbxassetid://932140764" | |
5146 | wait(0.2) | |
5147 | mouth.Texture = "rbxassetid://828773176" | |
5148 | wait(0.2) | |
5149 | mouth.Texture = "rbxassetid://932140764" | |
5150 | wait(0.2) | |
5151 | mouth.Texture = "rbxassetid://828773176" | |
5152 | wait(1.4) | |
5153 | rock3 = true | |
5154 | rock = false | |
5155 | GroundShake2 = true | |
5156 | ||
5157 | ssjbauraburst:Play() | |
5158 | GroundWave5() | |
5159 | GroundWave6() | |
5160 | GroundWave7() | |
5161 | GroundWave8() | |
5162 | GroundWave9() | |
5163 | GroundWave10() | |
5164 | ||
5165 | aad.Transparency = 0 | |
5166 | newaura2.ImageTransparency = 0 | |
5167 | ||
5168 | p1.Transparency = 0.5 | |
5169 | p2.Transparency = 0.5 | |
5170 | p3.Transparency = 0.5 | |
5171 | p4.Transparency = 0.5 | |
5172 | p5.Transparency = 0.5 | |
5173 | p6.Transparency = 0.5 | |
5174 | p7.Transparency = 0.5 | |
5175 | p8.Transparency = 0.5 | |
5176 | p9.Transparency = 0.5 | |
5177 | p10.Transparency = 0.5 | |
5178 | p11.Transparency = 0.5 | |
5179 | p12.Transparency = 0.5 | |
5180 | p13.Transparency = 0.5 | |
5181 | p14.Transparency = 0.5 | |
5182 | p15.Transparency = 0.5 | |
5183 | newaura.ImageTransparency = 0 | |
5184 | ssjbaura:Stop() | |
5185 | ssjbkaura:Play() | |
5186 | a21e.Transparency = 0 | |
5187 | Hair7.Color = Color3.fromRGB(210, 211, 223) | |
5188 | ||
5189 | Mesh.MeshId = "rbxassetid://430344159" | |
5190 | Mesh.Scale = v3(6.3,6.3,6.3) | |
5191 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=975967879" | |
5192 | Weld.C0 = CFrame.new(-.25,1.2,.34) | |
5193 | for i = 1,50 do | |
5194 | wait() | |
5195 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
5196 | a21e.Transparency = a21e.Transparency + 0.02 | |
5197 | end | |
5198 | ssjbkaioken1:Stop() | |
5199 | mouth.Texture = "rbxassetid://932140764" | |
5200 | wait() | |
5201 | GroundShake = false | |
5202 | wait() | |
5203 | ||
5204 | wait() | |
5205 | GroundShake2 = false | |
5206 | for i,v in pairs(workspace:GetChildren()) do | |
5207 | if v:IsA("Part") then | |
5208 | if v.Size.x > 150 then | |
5209 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
5210 | end | |
5211 | end | |
5212 | end | |
5213 | wait(2) | |
5214 | ||
5215 | ||
5216 | ||
5217 | ||
5218 | rock3 = false | |
5219 | ------------------------------------------------- | |
5220 | transform3 = false | |
5221 | chatfunc("I Can't Maintain This Form For Long") | |
5222 | canattack = true | |
5223 | RootPart.Anchored = false | |
5224 | if canfly1 == true then | |
5225 | ||
5226 | idle = true | |
5227 | walk = true | |
5228 | canjump = true | |
5229 | end | |
5230 | if canfly1 == true then | |
5231 | canfly = true | |
5232 | end | |
5233 | for i = 1,20 do | |
5234 | wait() | |
5235 | aad.Transparency = aad.Transparency + 0.05 | |
5236 | end | |
5237 | end | |
5238 | end | |
5239 | end | |
5240 | end) | |
5241 | ||
5242 | ||
5243 | ||
5244 | ||
5245 | mouse.KeyDown:connect(function(key) | |
5246 | if key == "u" then | |
5247 | if fuse == false or potara == false then | |
5248 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false then | |
5249 | if canattack == true then | |
5250 | canattack = false | |
5251 | if canfly == true then | |
5252 | canfly = false | |
5253 | canfly1 = true | |
5254 | end | |
5255 | newaura.Position = UDim2.new(-0.57,0,-0.28,0) | |
5256 | newaurabase.Size = UDim2.new(10,0,20,0) | |
5257 | newaurabase.AlwaysOnTop = false | |
5258 | newaurabase.ExtentsOffset = v3(0,0,-2) | |
5259 | RootPart.Anchored = true | |
5260 | ||
5261 | idle = false | |
5262 | ssjb = false | |
5263 | ssjg = true | |
5264 | ssj1 = false | |
5265 | ssj2= false | |
5266 | ssj3 = false | |
5267 | walk = false | |
5268 | canjump = false | |
5269 | ||
5270 | ssjgmusic:Play() | |
5271 | ||
5272 | ------------------------------------------------ | |
5273 | transform1 = true | |
5274 | ||
5275 | wait(0.8) | |
5276 | Hair7.Color = Color3.fromRGB(255,16,88) | |
5277 | GroundShake = true | |
5278 | char.Head.face.Texture= "rbxassetid://900680867" | |
5279 | ||
5280 | ||
5281 | a21e = new("Part",char) | |
5282 | a21e.Name = "Beam"..num | |
5283 | a21e.Locked = true | |
5284 | a21e.Size = v3(1,1,1) | |
5285 | a21e.CanCollide = false | |
5286 | a21e.Position = v3(999,999,999) | |
5287 | a21e.BrickColor = bc("Really red") | |
5288 | a21e.Material = "Neon" | |
5289 | a21e.Transparency = 0 | |
5290 | aa21e = new("SpecialMesh",a21e) | |
5291 | a21e.Anchored = true | |
5292 | a21e.Position = RootPart.Position | |
5293 | aa21e.MeshType = "Sphere" | |
5294 | aa21e.Scale = v3(1,1,1) | |
5295 | ||
5296 | transform1 = false | |
5297 | transform2 = true | |
5298 | ssjbauraburst:Play() | |
5299 | GroundWave5() | |
5300 | GroundWave6() | |
5301 | GroundWave7() | |
5302 | GroundWave8() | |
5303 | GroundWave9() | |
5304 | GroundWave10() | |
5305 | ad.Position = RootPart.Position - v3(0,3,0) | |
5306 | aad.Transparency = 0 | |
5307 | ||
5308 | ||
5309 | ||
5310 | newaura.ImageTransparency = 0 | |
5311 | ssjgaura:Play() | |
5312 | for i = 1,50 do | |
5313 | wait() | |
5314 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
5315 | a21e.Transparency = a21e.Transparency + 0.02 | |
5316 | end | |
5317 | GroundShake = false | |
5318 | for i,v in pairs(workspace:GetChildren()) do | |
5319 | if v:IsA("Part") then | |
5320 | if v.Size.x > 150 then | |
5321 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
5322 | end | |
5323 | end | |
5324 | end | |
5325 | wait(0.1) | |
5326 | wait(1.4) | |
5327 | transform2 = false | |
5328 | ||
5329 | ||
5330 | ||
5331 | ||
5332 | ------------------------------------------------- | |
5333 | canattack = true | |
5334 | RootPart.Anchored = false | |
5335 | if canfly1 == true then | |
5336 | ||
5337 | idle = true | |
5338 | walk = true | |
5339 | canjump = true | |
5340 | end | |
5341 | if canfly1 == true then | |
5342 | canfly = true | |
5343 | end | |
5344 | for i = 1,20 do | |
5345 | wait() | |
5346 | aad.Transparency = aad.Transparency + 0.05 | |
5347 | end | |
5348 | end | |
5349 | end | |
5350 | end | |
5351 | end | |
5352 | end) | |
5353 | ||
5354 | mouse.KeyDown:connect(function(key) | |
5355 | if key == "l" then | |
5356 | if fuse == false and potara == false then | |
5357 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
5358 | if great == false then | |
5359 | if canattack == true then | |
5360 | canattack = false | |
5361 | if canfly == true then | |
5362 | canfly = false | |
5363 | canfly1 = true | |
5364 | end | |
5365 | ||
5366 | ||
5367 | transform3 = true | |
5368 | idle = false | |
5369 | ssjb = false | |
5370 | ssjg = true | |
5371 | ssj1 = false | |
5372 | ssj2= false | |
5373 | ssj3 = false | |
5374 | walk = false | |
5375 | ssjg = false | |
5376 | great = true | |
5377 | canjump = false | |
5378 | ||
5379 | ||
5380 | ape = Instance.new("Part",char) | |
5381 | ape.Transparency = 1 | |
5382 | weldape = Instance.new("Weld",ape) | |
5383 | weldape.Part0 = Head | |
5384 | weldape.Part1 = ape | |
5385 | weldape.C0 = CFrame.new(0,5,-9)*CFrame.Angles(0,math.rad(180),0) | |
5386 | meshape = Instance.new("SpecialMesh",ape) | |
5387 | meshape.MeshId = "rbxassetid://553201144" | |
5388 | meshape.Scale = v3(0.04,0.04,0.04) | |
5389 | ||
5390 | Ape1:Play() | |
5391 | wait(2) | |
5392 | ||
5393 | Ape2:Play() | |
5394 | ||
5395 | wait(3) | |
5396 | Ape3:Play() | |
5397 | wait(10) | |
5398 | headcolor = Head.BrickColor | |
5399 | wait(0.1) | |
5400 | Head.BrickColor = bc("New Yeller") | |
5401 | Hair7.Transparency = 1 | |
5402 | p1.Transparency = 0 | |
5403 | p2.Transparency = 0 | |
5404 | p3.Transparency = 0 | |
5405 | p4.Transparency = 0 | |
5406 | p5.Transparency = 0 | |
5407 | p6.Transparency = 0 | |
5408 | p7.Transparency = 0 | |
5409 | p8.Transparency =0 | |
5410 | p9.Transparency = 0 | |
5411 | p10.Transparency = 0 | |
5412 | p11.Transparency = 0 | |
5413 | p12.Transparency = 0 | |
5414 | p13.Transparency =0 | |
5415 | p14.Transparency = 0 | |
5416 | ||
5417 | p1.BrickColor = bc("New Yeller") | |
5418 | p2.BrickColor = bc("New Yeller") | |
5419 | p3.BrickColor = bc("New Yeller") | |
5420 | p4.BrickColor = bc("New Yeller") | |
5421 | p5.BrickColor = bc("New Yeller") | |
5422 | p6.BrickColor = bc("Cool yellow") | |
5423 | p7.BrickColor = bc("Cool yellow") | |
5424 | p8.BrickColor = bc("Cool yellow") | |
5425 | p9.BrickColor = bc("Cool yellow") | |
5426 | p10.BrickColor = bc("New Yeller") | |
5427 | p11.BrickColor = bc("New Yeller") | |
5428 | p12.BrickColor = bc("New Yeller") | |
5429 | p13.BrickColor = bc("New Yeller") | |
5430 | p14.BrickColor = bc("New Yeller") | |
5431 | ||
5432 | transform3 = false | |
5433 | transform4 = true | |
5434 | for i = 1,10 do | |
5435 | wait() | |
5436 | hum.BodyDepthScale.Value = hum.BodyDepthScale.Value + 2 | |
5437 | hum.BodyHeightScale.Value = hum.BodyHeightScale.Value + 2 | |
5438 | hum.BodyWidthScale.Value = hum.BodyWidthScale.Value + 2 | |
5439 | hum.HeadScale.Value = hum.HeadScale.Value + 2 | |
5440 | end | |
5441 | lboob = Instance.new("Part",char) | |
5442 | lboobmesh = Instance.new("SpecialMesh",lboob) | |
5443 | lboobweld = Instance.new("Weld",lboob) | |
5444 | lboobweld.Part0 = UpperTorso | |
5445 | lboobweld.Part1 = lboob | |
5446 | lboobweld.C0 = CFrame.new(0.4,7,-5) | |
5447 | lboobmesh.MeshType = "Sphere" | |
5448 | lboobmesh.Scale = Vector3.new(0.2*50,0.4*50,0.2*50) | |
5449 | rboob = Instance.new("Part",char) | |
5450 | rboobmesh = Instance.new("SpecialMesh",rboob) | |
5451 | rboobweld = Instance.new("Weld",rboob) | |
5452 | rboobweld.Part0 = char.UpperTorso | |
5453 | rboobweld.Part1 = rboob | |
5454 | rboobweld.C0 = CFrame.new(-0.4,7,-5) | |
5455 | rboobmesh.MeshType = "Sphere" | |
5456 | rboobmesh.Scale = Vector3.new(0.2*50,0.4*50,0.2*50) | |
5457 | rlboob = Instance.new("Part",char) | |
5458 | rlboobmesh = Instance.new("SpecialMesh",rlboob) | |
5459 | rlboobweld = Instance.new("Weld",rlboob) | |
5460 | rlboobweld.Part0 = char.UpperTorso | |
5461 | rlboobweld.Part1 = rlboob | |
5462 | rlboobweld.C0 = CFrame.new(0,-1,-2) | |
5463 | rlboobmesh.MeshType = "Sphere" | |
5464 | rlboobmesh.Scale = Vector3.new(0.2*50,1*50,0.2*50) | |
5465 | lboob.BrickColor = bc("New Yeller") | |
5466 | rboob.BrickColor = bc("New Yeller") | |
5467 | rlboob.BrickColor = bc("New Yeller") | |
5468 | ape.Transparency = 0 | |
5469 | ape.BrickColor = bc("New Yeller") | |
5470 | p15.BrickColor = bc("Really black") | |
5471 | p15.Transparency =0 | |
5472 | a21e = new("Part",char) | |
5473 | a21e.Name = "Beam"..num | |
5474 | a21e.Locked = true | |
5475 | a21e.Size = v3(1,1,1) | |
5476 | a21e.CanCollide = false | |
5477 | a21e.Position = v3(999,999,999) | |
5478 | a21e.BrickColor = bc("Really red") | |
5479 | a21e.Material = "Neon" | |
5480 | a21e.Transparency = 0 | |
5481 | aa21e = new("SpecialMesh",a21e) | |
5482 | a21e.Anchored = true | |
5483 | a21e.Position = RootPart.Position | |
5484 | aa21e.MeshType = "Sphere" | |
5485 | aa21e.Scale = v3(50,50,50) | |
5486 | ||
5487 | ||
5488 | ApeGrowl:Play() | |
5489 | GroundWave5() | |
5490 | GroundWave6() | |
5491 | GroundWave7() | |
5492 | GroundWave8() | |
5493 | GroundWave9() | |
5494 | GroundWave10() | |
5495 | ||
5496 | ||
5497 | ||
5498 | ||
5499 | ||
5500 | for i = 1,50 do | |
5501 | wait() | |
5502 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
5503 | a21e.Transparency = a21e.Transparency + 0.02 | |
5504 | end | |
5505 | ||
5506 | for i,v in pairs(workspace:GetChildren()) do | |
5507 | if v:IsA("Part") then | |
5508 | if v.Size.x > 150 then | |
5509 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(0),rad(0),rad(0)) | |
5510 | end | |
5511 | end | |
5512 | end | |
5513 | wait(0.1) | |
5514 | wait(1.4) | |
5515 | transform4 = false | |
5516 | for i = 1,20 do | |
5517 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
5518 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
5519 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
5520 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
5521 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
5522 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5523 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
5524 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5525 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
5526 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
5527 | end | |
5528 | ||
5529 | ||
5530 | ||
5531 | ------------------------------------------------- | |
5532 | ||
5533 | ||
5534 | if canfly1 == true then | |
5535 | ||
5536 | ||
5537 | walk = true | |
5538 | ||
5539 | end | |
5540 | if canfly1 == true then | |
5541 | canfly = true | |
5542 | end | |
5543 | for i = 1,20 do | |
5544 | wait() | |
5545 | aad.Transparency = aad.Transparency + 0.05 | |
5546 | end | |
5547 | end | |
5548 | else | |
5549 | ape:Destroy() | |
5550 | ||
5551 | p15.BrickColor = bc("New Yeller") | |
5552 | Head.BrickColor = bc("New Yeller") | |
5553 | ||
5554 | transform5 = true | |
5555 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=258281249" | |
5556 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=258281716" | |
5557 | ||
5558 | --504772831 | |
5559 | Head.BrickColor = headcolor | |
5560 | lboob:Destroy() | |
5561 | rboob:Destroy() | |
5562 | rlboob:Destroy() | |
5563 | a21e = new("Part",char) | |
5564 | a21e.Name = "Beam"..num | |
5565 | a21e.Locked = true | |
5566 | a21e.Size = v3(1,1,1) | |
5567 | a21e.CanCollide = false | |
5568 | a21e.Position = v3(999,999,999) | |
5569 | a21e.BrickColor = bc("New Yeller") | |
5570 | a21e.Material = "Neon" | |
5571 | a21e.Transparency = 0 | |
5572 | aa21e = new("SpecialMesh",a21e) | |
5573 | a21e.Anchored = true | |
5574 | a21e.Position = RootPart.Position | |
5575 | aa21e.MeshType = "Sphere" | |
5576 | aa21e.Scale = v3(200,200,200) | |
5577 | ||
5578 | ||
5579 | ||
5580 | ||
5581 | for i = 1,100 do | |
5582 | wait() | |
5583 | hum.BodyDepthScale.Value = hum.BodyDepthScale.Value - .2 | |
5584 | hum.BodyHeightScale.Value = hum.BodyHeightScale.Value - .2 | |
5585 | hum.BodyWidthScale.Value = hum.BodyWidthScale.Value - .2 | |
5586 | hum.HeadScale.Value = hum.HeadScale.Value - .2 | |
5587 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
5588 | ||
5589 | end | |
5590 | wait(0.5) | |
5591 | mouth.Transparency = 1 | |
5592 | nose.Transparency = 1 | |
5593 | Hair7.Color = Color3.fromRGB(0,0,0) | |
5594 | Mesh.MeshId = "http://www.roblox.com/asset/?id=504772831" | |
5595 | Mesh.Scale = Vector3.new(0.23,0.23,0.23) | |
5596 | Weld.C0 = CFrame.new(0.25, 0.4, 0.5)*CFrame.Angles(0,math.rad(180),0) | |
5597 | char.Head.face.Texture= "http://www.roblox.com/asset/?id=869609457" | |
5598 | Hair7.Transparency = 0 | |
5599 | ||
5600 | p1.Transparency = 1 | |
5601 | p2.Transparency = 1 | |
5602 | p3.Transparency = 1 | |
5603 | p4.Transparency = 1 | |
5604 | p5.Transparency = 1 | |
5605 | p6.Transparency = 1 | |
5606 | p7.Transparency = 1 | |
5607 | p8.Transparency =1 | |
5608 | p9.Transparency = 1 | |
5609 | p10.Transparency = 1 | |
5610 | p11.Transparency = 1 | |
5611 | p12.Transparency = 1 | |
5612 | p13.Transparency =1 | |
5613 | p14.Transparency = 1 | |
5614 | p15.Transparency = 1 | |
5615 | great = false | |
5616 | ape5 = Instance.new("Part",char) | |
5617 | ape5.Transparency = 0 | |
5618 | weldape5 = Instance.new("Weld",ape5) | |
5619 | weldape5.Part0 = LowerTorso | |
5620 | weldape5.Part1 = ape5 | |
5621 | ape5.BrickColor = bc("Crimson") | |
5622 | weldape5.C0 = CFrame.new(0.4,1,2)*CFrame.Angles(0,math.rad(90),math.rad(0)) | |
5623 | meshape5 = Instance.new("SpecialMesh",ape5) | |
5624 | meshape5.MeshId = "rbxassetid://547956749" | |
5625 | meshape5.Scale = v3(0.025,0.025,0.025) | |
5626 | ssj4 = true | |
5627 | ||
5628 | ||
5629 | wait(0.5) | |
5630 | ||
5631 | a21e:Destroy() | |
5632 | wait() | |
5633 | ||
5634 | a21e = new("Part",char) | |
5635 | a21e.Name = "Beam"..num | |
5636 | a21e.Locked = true | |
5637 | a21e.Size = v3(1,1,1) | |
5638 | a21e.CanCollide = false | |
5639 | a21e.Position = v3(999,999,999) | |
5640 | a21e.BrickColor = bc("New Yeller") | |
5641 | a21e.Material = "Neon" | |
5642 | a21e.Transparency = 0 | |
5643 | aa21e = new("SpecialMesh",a21e) | |
5644 | a21e.Anchored = true | |
5645 | a21e.Position = RootPart.Position | |
5646 | aa21e.MeshType = "Sphere" | |
5647 | aa21e.Scale = v3(50,50,50) | |
5648 | ||
5649 | ||
5650 | ||
5651 | ||
5652 | ||
5653 | aa21e.Scale = v3(10,10,10) | |
5654 | a21e.Transparency = 0 | |
5655 | newaura.ImageTransparency = 0 | |
5656 | GroundWave5() | |
5657 | GroundWave6() | |
5658 | GroundWave7() | |
5659 | GroundWave8() | |
5660 | GroundWave9() | |
5661 | GroundWave10() | |
5662 | ssjauraburst:Play() | |
5663 | ssjaura:Play() | |
5664 | for i = 1,50 do | |
5665 | wait() | |
5666 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
5667 | a21e.Transparency = a21e.Transparency + 0.02 | |
5668 | end | |
5669 | ||
5670 | transform5 = false | |
5671 | idle = true | |
5672 | canattack = true | |
5673 | end | |
5674 | end | |
5675 | end | |
5676 | end | |
5677 | end) | |
5678 | ||
5679 | ||
5680 | ||
5681 | ||
5682 | ||
5683 | ||
5684 | newaurabase = Instance.new("BillboardGui",LowerTorso) | |
5685 | newaurabase.Size = UDim2.new(20,0,20,0) | |
5686 | newaurabase.AlwaysOnTop = false | |
5687 | newaura = Instance.new("ImageLabel",newaurabase) | |
5688 | newaura.BackgroundTransparency = 1 | |
5689 | newaurabase.ExtentsOffset = v3(0,0,3) | |
5690 | newaura.ImageTransparency = 1 | |
5691 | newaura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
5692 | newaura.Size = UDim2.new(2,0,1,0) | |
5693 | newaura.Position = UDim2.new(-0.5,0,-0.2,0) | |
5694 | newaurabase2 = Instance.new("BillboardGui",LowerTorso) | |
5695 | newaurabase2.Size = UDim2.new(20,0,40,0) | |
5696 | newaurabase2.ExtentsOffset = v3(0,0,-3) | |
5697 | newaurabase2.AlwaysOnTop = false | |
5698 | newaura2 = Instance.new("ImageLabel",newaurabase2) | |
5699 | newaura2.BackgroundTransparency = 1 | |
5700 | newaura2.ImageTransparency = 1 | |
5701 | newaura2.ImageColor3 = Color3.fromRGB(255, 0,0) | |
5702 | newaura2.Size = UDim2.new(2,0,1,0) | |
5703 | newaura2.Position = UDim2.new(-0.5,0,-0.4,0) | |
5704 | ||
5705 | ||
5706 | ||
5707 | ||
5708 | ||
5709 | ||
5710 | ||
5711 | ||
5712 | ||
5713 | ||
5714 | ||
5715 | ||
5716 | ||
5717 | ||
5718 | char = game.Players.LocalPlayer.Character | |
5719 | char.Archivable = true | |
5720 | clone1 = char:Clone() | |
5721 | ||
5722 | clone1["Sound Folder"]:Destroy() | |
5723 | clone1.Name = "Vegeta" | |
5724 | clone1.Parent = char | |
5725 | ||
5726 | LeftUpperArm1 = clone1.LeftUpperArm | |
5727 | LeftShoulder1 = clone1.LeftUpperArm.LeftShoulder | |
5728 | LeftLowerArm1 = clone1.LeftLowerArm | |
5729 | LeftElbow1 = clone1.LeftLowerArm.LeftElbow | |
5730 | -------------------------------------------------------- | |
5731 | LeftUpperLeg1 = clone1.LeftUpperLeg | |
5732 | LeftHip1 = clone1.LeftUpperLeg.LeftHip | |
5733 | LeftLowerLeg1 = clone1.LeftLowerLeg | |
5734 | LeftKnee1 = clone1.LeftLowerLeg.LeftKnee | |
5735 | ---------------------------------------------------------- | |
5736 | RightUpperArm1 = clone1.RightUpperArm | |
5737 | RightShoulder1 = clone1.RightUpperArm.RightShoulder | |
5738 | RightLowerArm1 = clone1.RightLowerArm | |
5739 | RightElbow1 = clone1.RightLowerArm.RightElbow | |
5740 | ---------------------------------------------------------- | |
5741 | RightUpperLeg1 = clone1.RightUpperLeg | |
5742 | RightHip1 = clone1.RightUpperLeg.RightHip | |
5743 | RightLowerLeg1 = clone1.RightLowerLeg | |
5744 | RightKnee1 = clone1.RightLowerLeg.RightKnee | |
5745 | ---------------------------------------------------------- | |
5746 | UpperTorso1 = clone1.UpperTorso | |
5747 | LowerTorso1 = clone1.LowerTorso | |
5748 | Root1 = clone1.LowerTorso.Root | |
5749 | RootPart1 = clone1.HumanoidRootPart | |
5750 | LeftHand1 = clone1.LeftHand | |
5751 | RightHand1 = clone1.RightHand | |
5752 | LeftFoot1 = clone1.LeftFoot | |
5753 | RightFoot1 = clone1.RightFoot | |
5754 | -------------------------------------------- | |
5755 | Head1 = clone1.Head | |
5756 | Neck1 = clone1.Head.Neck | |
5757 | ||
5758 | ||
5759 | RootPart1.CFrame = CFrame.new(999,999,999) | |
5760 | RootPart1.Anchored = true | |
5761 | function RenderStepped3() | |
5762 | if spiritballenergy == true then | |
5763 | wait(math.random(0.1,0.5)) | |
5764 | ay = new("Part",char) | |
5765 | ay.Name = "NewPart2" | |
5766 | ay.Size = v3(0.3,0.3,0.3) | |
5767 | ay.CanCollide = false | |
5768 | ay.Material = "Neon" | |
5769 | ||
5770 | ay.BrickColor = bc("Cyan") | |
5771 | ||
5772 | meshk = Instance.new("SpecialMesh",ay) | |
5773 | meshk.MeshType = "Sphere" | |
5774 | ||
5775 | ay.Position = v3(999,999,999) | |
5776 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-12,RootPart.Position.z+math.random(-15,15)) | |
5777 | ys = Instance.new("BodyVelocity",ay) | |
5778 | ys.Name = "GO1" | |
5779 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
5780 | ||
5781 | ys.Velocity = v3(0,6,0) | |
5782 | game.Debris:AddItem(ay,4) | |
5783 | end | |
5784 | if spirit1 == true then | |
5785 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1) --LeftUpperArm | |
5786 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1)--RightUpperArm | |
5787 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
5788 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5789 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5790 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5791 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5792 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5793 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5794 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5795 | end | |
5796 | if spirit2 == true then | |
5797 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1) --LeftUpperArm | |
5798 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1)--RightUpperArm | |
5799 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5800 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5801 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftUpperLeg | |
5802 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg | |
5803 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5804 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5805 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--Torso | |
5806 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5807 | end | |
5808 | if beam1 == true then | |
5809 | beamgo = beamgo + 2 | |
5810 | beamgo1 = beamgo1 + 4 | |
5811 | ||
5812 | a1.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo | |
5813 | ||
5814 | aa1.Scale = v3(1,math.random(1,1.2),math.random(1,1.2)) | |
5815 | a3.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + RootPart.CFrame.lookVector * beamgo * 2 | |
5816 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjbkaio == false and ssjbkaiox10 == false then | |
5817 | a1.Size = v3(beamgo1,3,3) | |
5818 | aa2.Scale = v3(100,math.random(50,70),math.random(50,70)) | |
5819 | aa3.Scale = v3(150,math.random(50,70),math.random(50,70)) | |
5820 | ||
5821 | ||
5822 | end | |
5823 | 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 | |
5824 | a1.Size = v3(beamgo1,3.5,3.5) | |
5825 | aa2.Scale = v3(110,math.random(60,80),math.random(60,80)) | |
5826 | aa3.Scale = v3(160,math.random(60,80),math.random(60,80)) | |
5827 | end | |
5828 | if ssj1 == false and ssj2 == true and ssj3 == false and ssjb == false and ssjbkaio == false and ssjbkaiox10 == false then | |
5829 | a1.Size = v3(beamgo1,4,4) | |
5830 | aa2.Scale = v3(120,math.random(70,90),math.random(70,90)) | |
5831 | aa3.Scale = v3(170,math.random(70,90),math.random(70,90)) | |
5832 | end | |
5833 | if ssj3 == true then | |
5834 | a1.Size = v3(beamgo1,4.5,4.5) | |
5835 | aa2.Scale = v3(130,math.random(80,100),math.random(80,100)) | |
5836 | aa3.Scale = v3(180,math.random(80,100),math.random(80,100)) | |
5837 | end | |
5838 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == false and ssjbkaiox10 == false and potara == false then | |
5839 | a1.Size = v3(beamgo1,5,5) | |
5840 | aa2.Scale = v3(140,math.random(90,110),math.random(90,110)) | |
5841 | aa3.Scale = v3(190,math.random(90,110),math.random(90,110)) | |
5842 | end | |
5843 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == true and ssjbkaiox10 == false then | |
5844 | a1.Size = v3(beamgo1,6,6) | |
5845 | aa2.Scale = v3(155,math.random(105,125),math.random(105,125)) | |
5846 | aa3.Scale = v3(205,math.random(105,125),math.random(105,125)) | |
5847 | end | |
5848 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == true and ssjbkaio == false and ssjbkaiox10 == true then | |
5849 | a1.Size = v3(beamgo1,15,15) | |
5850 | aa2.Scale = v3(220,math.random(185,220),math.random(185,220)) | |
5851 | aa3.Scale = v3(280,math.random(185,220),math.random(185,220)) | |
5852 | end | |
5853 | if ssjg == true then | |
5854 | a1.Size = v3(beamgo1,6,6) | |
5855 | aa2.Scale = v3(150,math.random(100,120),math.random(100,120)) | |
5856 | aa3.Scale = v3(200,math.random(100,120),math.random(100,120)) | |
5857 | end | |
5858 | if ssj4 == true and fuse == true then | |
5859 | a1.Size = v3(beamgo1,75,75) | |
5860 | end | |
5861 | if ssj4 == false and fuse == true then | |
5862 | a1.Size = v3(beamgo1,50,50) | |
5863 | ||
5864 | end | |
5865 | if potara == true then | |
5866 | a1.Size = v3(beamgo1,math.random(25,35),math.random(25,35)) | |
5867 | end | |
5868 | if ssj4 == true and fuse == false then | |
5869 | a1.Size = v3(beamgo1,4,4) | |
5870 | aa2.Scale = v3(120,math.random(70,90),math.random(70,90)) | |
5871 | aa3.Scale = v3(170,math.random(70,90),math.random(70,90)) | |
5872 | end | |
5873 | a2.CFrame = RootPart.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) - RootPart.CFrame.lookVector * 1 | |
5874 | end | |
5875 | if final1 == true then | |
5876 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(-90)),.1) --LeftUpperArm | |
5877 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(90)),.1)--RightUpperArm | |
5878 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5879 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5880 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5881 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5882 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5883 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5884 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5885 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5886 | end | |
5887 | if final2 == true then | |
5888 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(30)),.1) --LeftUpperArm | |
5889 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-30)),.1)--RightUpperArm | |
5890 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5891 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5892 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5893 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5894 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5895 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5896 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5897 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5898 | end | |
5899 | 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 | |
5900 | hum.HipHeight = 1.35 | |
5901 | idle5 = false | |
5902 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
5903 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
5904 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
5905 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
5906 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
5907 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5908 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
5909 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5910 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
5911 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
5912 | end | |
5913 | if potara1 == true then | |
5914 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm | |
5915 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(110),rad(50),rad(0)),.1)--RightUpperArm | |
5916 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
5917 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.1)--RightLowerArm | |
5918 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5919 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5920 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5921 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5922 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5923 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5924 | end | |
5925 | if potara2 == true then | |
5926 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1) --LeftUpperArm | |
5927 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperArm | |
5928 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftLowerArm | |
5929 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightLowerArm | |
5930 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1)--LeftUpperLeg | |
5931 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperLeg | |
5932 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
5933 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
5934 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(90),rad(0)),.1)--Torso | |
5935 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Head | |
5936 | end | |
5937 | if potara3 == true then | |
5938 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(110),rad(-50),rad(0)),.1) --LeftUpperArm | |
5939 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
5940 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.1)--LeftLowerArm | |
5941 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
5942 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
5943 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5944 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5945 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5946 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5947 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5948 | end | |
5949 | if potara4 == true then | |
5950 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1) --LeftUpperArm | |
5951 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperArm | |
5952 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--LeftLowerArm | |
5953 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--RightLowerArm | |
5954 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(-10)),.1)--LeftUpperLeg | |
5955 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(10)),.1)--RightUpperLeg | |
5956 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
5957 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
5958 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-90),rad(0)),.1)--Torso | |
5959 | Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Head | |
5960 | end | |
5961 | if hum.MoveDirection.x == 0 and fuse == true or hum.MoveDirection.x == 0 and potara == true then | |
5962 | if idle7 == true then | |
5963 | idle5 = true | |
5964 | ||
5965 | ||
5966 | else | |
5967 | idle5 = false | |
5968 | hum.HipHeight = 1.35 | |
5969 | end | |
5970 | end | |
5971 | if idle5 == true and idle6 == true then | |
5972 | idle6 = false | |
5973 | hum.HipHeight = 2 | |
5974 | idle2 = true | |
5975 | for i = 1,50 do | |
5976 | wait() | |
5977 | hum.HipHeight = hum.HipHeight + 0.01 | |
5978 | end | |
5979 | idle2 = false | |
5980 | ||
5981 | idle3 = true | |
5982 | for i = 1,50 do | |
5983 | wait() | |
5984 | hum.HipHeight = hum.HipHeight - 0.01 | |
5985 | end | |
5986 | idle3 = false | |
5987 | idle6 = true | |
5988 | end | |
5989 | if noidle == true then | |
5990 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
5991 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
5992 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
5993 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
5994 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
5995 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5996 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
5997 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5998 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
5999 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
6000 | end | |
6001 | if noidle1 == true then | |
6002 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) --LeftUpperArm | |
6003 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperArm | |
6004 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
6005 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
6006 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftUpperLeg | |
6007 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
6008 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerLeg | |
6009 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
6010 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
6011 | Neck1.C0 = Neck1.C0:lerp(CFrame.new( Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
6012 | end | |
6013 | if idle2 == true then | |
6014 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.01) --LeftUpperArm | |
6015 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.01)--RightUpperArm | |
6016 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.01)--LeftLowerArm | |
6017 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.01)--RightLowerArm | |
6018 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.01)--LeftUpperLeg | |
6019 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--RightUpperLeg | |
6020 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-60),rad(0),rad(0)),.01)--LeftLowerLeg | |
6021 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--RightUpperLeg | |
6022 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-5),rad(0),rad(0)),.01)--Torso | |
6023 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.01)--Head | |
6024 | end | |
6025 | if idle3 == true then | |
6026 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.01) --LeftUpperArm | |
6027 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10)),.01)--RightUpperArm | |
6028 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.01)--LeftLowerArm | |
6029 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.01)--RightLowerArm | |
6030 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.01)--LeftUpperLeg | |
6031 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.01)--RightUpperLeg | |
6032 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.01)--LeftLowerLeg | |
6033 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.01)--RightUpperLeg | |
6034 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-4),rad(0),rad(0)),.01)--Torso | |
6035 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(2),rad(0),rad(0)),.01)--Head | |
6036 | end | |
6037 | if fuse1 == true then | |
6038 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(20),rad(20),rad(90)),.1) --LeftUpperArm | |
6039 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(90)),.1)--RightUpperArm | |
6040 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
6041 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
6042 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
6043 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6044 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
6045 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6046 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
6047 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
6048 | end | |
6049 | ||
6050 | ||
6051 | if fuse2 == true then | |
6052 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(260)),.1) --LeftUpperArm | |
6053 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(260)),.1)--RightUpperArm | |
6054 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
6055 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
6056 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
6057 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6058 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
6059 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6060 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
6061 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
6062 | ||
6063 | end | |
6064 | if fuse3 == true then | |
6065 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(20),rad(20),rad(90)),.5) --LeftUpperArm | |
6066 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(90)),.5)--RightUpperArm | |
6067 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm | |
6068 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm | |
6069 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg | |
6070 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(80),rad(0),rad(-60)),.5)--RightUpperLeg | |
6071 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg | |
6072 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--RightUpperLeg | |
6073 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso | |
6074 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head | |
6075 | ||
6076 | end | |
6077 | if fuse4 == true then | |
6078 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(330)),.5) --LeftUpperArm | |
6079 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(200)),.5)--RightUpperArm | |
6080 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-110)),.5)--LeftLowerArm | |
6081 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm | |
6082 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(80),rad(-30),rad(-80)),.5)--LeftUpperLeg | |
6083 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-40)),.5)--RightUpperLeg | |
6084 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.5)--LeftLowerLeg | |
6085 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
6086 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.5,0)*CFrame.Angles(rad(0),rad(0),rad(50)),.5)--Torso | |
6087 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(40)),.5)--Head | |
6088 | ||
6089 | end | |
6090 | if fuse5 == true then | |
6091 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-90)),.1) --LeftUpperArm | |
6092 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(-90)),.1)--RightUpperArm | |
6093 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
6094 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
6095 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
6096 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6097 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
6098 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6099 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
6100 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
6101 | end | |
6102 | ||
6103 | ||
6104 | if fuse6 == true then | |
6105 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(20),rad(20),rad(-260)),.1) --LeftUpperArm | |
6106 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(-260)),.1)--RightUpperArm | |
6107 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
6108 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
6109 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
6110 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6111 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
6112 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6113 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
6114 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
6115 | ||
6116 | end | |
6117 | if fuse7 == true then | |
6118 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-90)),.5) --LeftUpperArm | |
6119 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(20),rad(-20),rad(-90)),.5)--RightUpperArm | |
6120 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm | |
6121 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightLowerArm | |
6122 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(80),rad(0),rad(60)),.5)--LeftUpperLeg | |
6123 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
6124 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--LeftLowerLeg | |
6125 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
6126 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso | |
6127 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head | |
6128 | ||
6129 | end | |
6130 | if fuse8 == true then | |
6131 | LeftShoulder1.C0 = LeftShoulder1.C0:lerp(CFrame.new(LeftShoulder1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-200)),.5) --LeftUpperArm | |
6132 | RightShoulder1.C0 = RightShoulder1.C0:lerp(CFrame.new(RightShoulder1.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(-330)),.5)--RightUpperArm | |
6133 | LeftElbow1.C0 = LeftElbow1.C0:lerp(CFrame.new(LeftElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerArm | |
6134 | RightElbow1.C0 = RightElbow1.C0:lerp(CFrame.new(RightElbow1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(110)),.5)--RightLowerArm | |
6135 | LeftHip1.C0 = LeftHip1.C0:lerp(CFrame.new(LeftHip1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(40)),.5)--LeftUpperLeg | |
6136 | RightHip1.C0 = RightHip1.C0:lerp(CFrame.new(RightHip1.C0.p)*CFrame.Angles(rad(80),rad(30),rad(80)),.5)--RightUpperLeg | |
6137 | LeftKnee1.C0 = LeftKnee1.C0:lerp(CFrame.new( LeftKnee1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg | |
6138 | RightKnee1.C0 = RightKnee1.C0:lerp(CFrame.new(RightKnee1.C0.p)*CFrame.Angles(rad(-70),rad(0),rad(0)),.5)--RightUpperLeg | |
6139 | Root1.C0 = Root1.C0:lerp(CFrame.new(0,-0.5,0)*CFrame.Angles(rad(0),rad(0),rad(-50)),.5)--Torso | |
6140 | Neck1.C0 = Neck1.C0:lerp(CFrame.new(Neck1.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-40)),.5)--Head | |
6141 | ||
6142 | end | |
6143 | if bigkamehameha1 == true then | |
6144 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(0),rad(30)),.1) --LeftUpperArm | |
6145 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(60),rad(0),rad(-30)),.1)--RightUpperArm | |
6146 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm | |
6147 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightLowerArm | |
6148 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(0),rad(0)),.1)--LeftUpperLeg | |
6149 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6150 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-80),rad(0),rad(0)),.1)--LeftLowerLeg | |
6151 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6152 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
6153 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
6154 | end | |
6155 | if bigkamehameha2 == true then | |
6156 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(85),rad(0),rad(30)),.1) --LeftUpperArm | |
6157 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(85),rad(0),rad(-30)),.1)--RightUpperArm | |
6158 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
6159 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
6160 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftUpperLeg | |
6161 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6162 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-80),rad(0),rad(0)),.1)--LeftLowerLeg | |
6163 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6164 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-5),rad(0),rad(0)),.1)--Torso | |
6165 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
6166 | end | |
6167 | end | |
6168 | ape51 = Instance.new("Part",clone1) | |
6169 | ape51.Transparency = 0 | |
6170 | weldape5 = Instance.new("Weld",ape51) | |
6171 | weldape5.Part0 = LowerTorso1 | |
6172 | weldape5.Part1 = ape51 | |
6173 | ape51.Color = Color3.fromRGB(79,0,0) | |
6174 | weldape5.C0 = CFrame.new(0.4,1,2)*CFrame.Angles(0,math.rad(90),math.rad(0)) | |
6175 | meshape5 = Instance.new("SpecialMesh",ape51) | |
6176 | meshape5.MeshId = "rbxassetid://547956749" | |
6177 | meshape5.Scale = v3(0.025,0.025,0.025) | |
6178 | game:GetService("RunService").RenderStepped:connect(RenderStepped3) | |
6179 | ||
6180 | player.Chatted:connect(function(msg) | |
6181 | if msg == "Fuse" and ssj4 == true then | |
6182 | clone1.Shirt.ShirtTemplate = "rbxassetid://919206310" | |
6183 | clone1.Pants.PantsTemplate = "rbxassetid://919206462" | |
6184 | clone1.Head.Weld.C0 = CFrame.new(0.27,0.5,.6)*cfa(0,rad(180),0) | |
6185 | clone1.Hair.Mesh.MeshId = "rbxassetid://558303331" | |
6186 | clone1.Hair.Mesh.Scale = v3(0.048,0.048,0.048) | |
6187 | ||
6188 | ape51.Transparency = 0 | |
6189 | idle = false | |
6190 | walk = false | |
6191 | canjump = false | |
6192 | linkpart = Instance.new("Part",char) | |
6193 | linkpart.Position = v3(999,999,999) | |
6194 | linkpart.Transparency = 1 | |
6195 | linkpart.CanCollide = false | |
6196 | linkpart.Anchored = true | |
6197 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
6198 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10 | |
6199 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10 | |
6200 | RootPart1.Anchored = true | |
6201 | RootPart.Anchored = true | |
6202 | RootPart1 = clone1.HumanoidRootPart | |
6203 | com1 = 10 | |
6204 | ||
6205 | noidle = true | |
6206 | wait(2) | |
6207 | noidle = false | |
6208 | ||
6209 | fuse1 = true | |
6210 | fuse5 = true | |
6211 | ||
6212 | wait(0.5) | |
6213 | fuse1 = false | |
6214 | fuse5 = false | |
6215 | coroutine.wrap(function() | |
6216 | for i = 1,40 do | |
6217 | if fuse == false then | |
6218 | wait() | |
6219 | com1 = com1 - 0.19 | |
6220 | ||
6221 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
6222 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
6223 | ||
6224 | end | |
6225 | end | |
6226 | end)() | |
6227 | chatfunc("Fuuuu") | |
6228 | chatfunc1("Fuuuu") | |
6229 | fuse2 = true | |
6230 | fuse6 = true | |
6231 | wait(0.5) | |
6232 | fuse2 = false | |
6233 | fuse6 = false | |
6234 | chatfunc("Shon") | |
6235 | chatfunc1("Shon") | |
6236 | fuse3 = true | |
6237 | fuse7 = true | |
6238 | wait(0.5) | |
6239 | fuse3 = false | |
6240 | fuse7 = false | |
6241 | fuse4 = true | |
6242 | chatfunc("Ha") | |
6243 | chatfunc1("Ha") | |
6244 | fuse8 = true | |
6245 | ||
6246 | wait(0.5) | |
6247 | a21e = new("Part",char) | |
6248 | a21e.Name = "Beam"..num | |
6249 | a21e.Locked = true | |
6250 | a21e.Size = v3(1,1,1) | |
6251 | a21e.CanCollide = false | |
6252 | a21e.Position = v3(999,999,999) | |
6253 | a21e.BrickColor = bc("White") | |
6254 | a21e.Material = "Neon" | |
6255 | a21e.Transparency = 0 | |
6256 | aa21e = new("SpecialMesh",a21e) | |
6257 | a21e.Anchored = true | |
6258 | a21e.Position = RootPart.Position | |
6259 | aa21e.MeshType = "Sphere" | |
6260 | aa21e.Scale = v3(1,1,1) | |
6261 | ||
6262 | ||
6263 | ||
6264 | ||
6265 | fuse = true | |
6266 | ||
6267 | fuse4 = false | |
6268 | fuse8 = false | |
6269 | Hair7.BrickColor = BrickColor.new("Really red") | |
6270 | Mesh.MeshId = "rbxassetid://560196103" | |
6271 | Mesh.Scale = Vector3.new(5.8,5.8,5.8) | |
6272 | Weld.C0 = CFrame.new(-0.28, 0, 0.25) | |
6273 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=919205601" | |
6274 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=919205734" | |
6275 | ||
6276 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
6277 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
6278 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
6279 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
6280 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
6281 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6282 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
6283 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6284 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
6285 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
6286 | hum.HipHeight = 1.35 | |
6287 | char.Head.face.Texture= "rbxassetid://903201228" | |
6288 | RootPart.Anchored = false | |
6289 | idle5 = true | |
6290 | idle7 = true | |
6291 | hum.HipHeight = 2 | |
6292 | ssjauraburst:Play() | |
6293 | RootPart1.CFrame = CFrame.new(999,999,999) | |
6294 | RootPart1.Anchored = true | |
6295 | GroundWave5() | |
6296 | GroundWave6() | |
6297 | GroundWave7() | |
6298 | GroundWave8() | |
6299 | GroundWave9() | |
6300 | GroundWave10() | |
6301 | for i = 1,50 do | |
6302 | wait() | |
6303 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
6304 | a21e.Transparency = a21e.Transparency + 0.02 | |
6305 | end | |
6306 | walk = false | |
6307 | end | |
6308 | if msg == "Fuse" and ssj4 == false and ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
6309 | clone1.Shirt.ShirtTemplate = "rbxassetid://914325463" | |
6310 | ape51.Transparency = 1 | |
6311 | clone1.Pants.PantsTemplate = "rbxassetid://914325779" | |
6312 | clone1.Head.Weld.C0 = CFrame.new(-.2,1,.5)*cfa(0,rad(0),0) | |
6313 | clone1.Hair.Mesh.MeshId = "rbxassetid://560180459" | |
6314 | clone1.Hair.Mesh.Scale = v3(7,7,7) | |
6315 | ||
6316 | idle = false | |
6317 | walk = false | |
6318 | ssj1 = true | |
6319 | canjump = false | |
6320 | linkpart = Instance.new("Part",char) | |
6321 | linkpart.Position = v3(999,999,999) | |
6322 | linkpart.Transparency = 1 | |
6323 | linkpart.CanCollide = false | |
6324 | linkpart.Anchored = true | |
6325 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
6326 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10 | |
6327 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10 | |
6328 | RootPart1.Anchored = true | |
6329 | RootPart.Anchored = true | |
6330 | RootPart1 = clone1.HumanoidRootPart | |
6331 | com1 = 10 | |
6332 | noidle = true | |
6333 | wait(2) | |
6334 | noidle = false | |
6335 | ||
6336 | fuse1 = true | |
6337 | fuse5 = true | |
6338 | ||
6339 | wait(0.5) | |
6340 | fuse1 = false | |
6341 | fuse5 = false | |
6342 | coroutine.wrap(function() | |
6343 | for i = 1,40 do | |
6344 | if fuse == false then | |
6345 | wait() | |
6346 | com1 = com1 - 0.19 | |
6347 | ||
6348 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
6349 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
6350 | ||
6351 | end | |
6352 | end | |
6353 | end)() | |
6354 | chatfunc("Fuuuu") | |
6355 | chatfunc1("Fuuuu") | |
6356 | fuse2 = true | |
6357 | fuse6 = true | |
6358 | wait(0.5) | |
6359 | fuse2 = false | |
6360 | fuse6 = false | |
6361 | chatfunc("Shon") | |
6362 | chatfunc1("Shon") | |
6363 | fuse3 = true | |
6364 | fuse7 = true | |
6365 | wait(0.5) | |
6366 | fuse3 = false | |
6367 | fuse7 = false | |
6368 | fuse4 = true | |
6369 | chatfunc("Ha") | |
6370 | chatfunc1("Ha") | |
6371 | fuse8 = true | |
6372 | wait(0.5) | |
6373 | a21e = new("Part",char) | |
6374 | a21e.Name = "Beam"..num | |
6375 | a21e.Locked = true | |
6376 | a21e.Size = v3(1,1,1) | |
6377 | a21e.CanCollide = false | |
6378 | a21e.Position = v3(999,999,999) | |
6379 | a21e.BrickColor = bc("White") | |
6380 | a21e.Material = "Neon" | |
6381 | a21e.Transparency = 0 | |
6382 | aa21e = new("SpecialMesh",a21e) | |
6383 | a21e.Anchored = true | |
6384 | a21e.Position = RootPart.Position | |
6385 | aa21e.MeshType = "Sphere" | |
6386 | aa21e.Scale = v3(1,1,1) | |
6387 | ||
6388 | ||
6389 | ||
6390 | fuse = true | |
6391 | ||
6392 | fuse4 = false | |
6393 | fuse8 = false | |
6394 | ||
6395 | ||
6396 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
6397 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
6398 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
6399 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
6400 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
6401 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6402 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
6403 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6404 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
6405 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
6406 | hum.HipHeight = 1.35 | |
6407 | ||
6408 | RootPart.Anchored = false | |
6409 | idle5 = true | |
6410 | idle7 = true | |
6411 | Mesh.MeshId = "rbxassetid://720406482" | |
6412 | newaura.ImageTransparency = 0 | |
6413 | Mesh.Scale = Vector3.new(7.2,7.2,7.2) | |
6414 | Weld.C0 = CFrame.new(0.2, .8, 0.55)*cfa(0,math.rad(180),0) | |
6415 | Hair7.Color = Color3.fromRGB(255,227,10) | |
6416 | char.Head.face.Texture= "rbxassetid://765493484" | |
6417 | ssjaura:Play() | |
6418 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=914324509" | |
6419 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=914324638" | |
6420 | hum.HipHeight = 2 | |
6421 | ssjauraburst:Play() | |
6422 | wait(0.1) | |
6423 | RootPart1.CFrame = CFrame.new(999,999,999) | |
6424 | RootPart1.Anchored = true | |
6425 | GroundWave5() | |
6426 | GroundWave6() | |
6427 | GroundWave7() | |
6428 | GroundWave8() | |
6429 | GroundWave9() | |
6430 | GroundWave10() | |
6431 | for i = 1,50 do | |
6432 | wait() | |
6433 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
6434 | a21e.Transparency = a21e.Transparency + 0.02 | |
6435 | end | |
6436 | walk = false | |
6437 | end | |
6438 | if msg == "Potara" and ssj4 == false and ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false then | |
6439 | clone1.Shirt.ShirtTemplate = "rbxassetid://914325463" | |
6440 | clone1.Pants.PantsTemplate = "rbxassetid://914325779" | |
6441 | ape51.Transparency = 1 | |
6442 | ||
6443 | clone1.Head.Weld.C0 = CFrame.new(-.2,1,.5)*cfa(0,rad(0),0) | |
6444 | clone1.Hair.Mesh.MeshId = "rbxassetid://560180459" | |
6445 | clone1.Hair.Mesh.Scale = v3(7,7,7) | |
6446 | idle = false | |
6447 | walk = false | |
6448 | canjump = false | |
6449 | linkpart = Instance.new("Part",char) | |
6450 | linkpart.Position = v3(999,999,999) | |
6451 | linkpart.Transparency = 1 | |
6452 | linkpart.CanCollide = false | |
6453 | linkpart.Anchored = true | |
6454 | linkpart.CFrame = RootPart.CFrame * cfa(0,rad(90),0) + RootPart.CFrame.lookVector | |
6455 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * 10 | |
6456 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * 10 | |
6457 | RootPart1.Anchored = true | |
6458 | RootPart.Anchored = true | |
6459 | RootPart1 = clone1.HumanoidRootPart | |
6460 | com1 = 10 | |
6461 | ||
6462 | ||
6463 | ||
6464 | potara1 = true | |
6465 | potara3 = true | |
6466 | wait(1) | |
6467 | potara1 = false | |
6468 | potara3 = false | |
6469 | noidle = true | |
6470 | noidle1 = true | |
6471 | ee = Instance.new("Part",char) | |
6472 | ee.Size = Vector3.new(0.2,0.2,0.2) | |
6473 | ee.Position = Vector3.new(9999999,9999999,9999999) | |
6474 | ee.Shape = "Ball" | |
6475 | ee.BrickColor = BrickColor.new("New Yeller") | |
6476 | ee1 = Instance.new("Part",char) | |
6477 | ee1.Size = Vector3.new(0.18,0.18,0.18) | |
6478 | ee1.Position = Vector3.new(999999,999999,999999) | |
6479 | ee1.Shape = "Ball" | |
6480 | ee1.BrickColor = BrickColor.new("Mid gray") | |
6481 | ee2 = Instance.new("Part",char) | |
6482 | ee2.Size = Vector3.new(0.06,0.06,0.06) | |
6483 | ee2.Shape = "Ball" | |
6484 | ee2.BrickColor = BrickColor.new("Mid gray") | |
6485 | ee2.Position = Vector3.new(99999,99999,99999) | |
6486 | ee3 = Instance.new("Part",char) | |
6487 | ee3.Size = Vector3.new(0.06,0.06,0.06) | |
6488 | ee3.Shape = "Ball" | |
6489 | ee3.BrickColor = BrickColor.new("Mid gray") | |
6490 | ee3.Position = Vector3.new(9999,9999,9999) | |
6491 | ee4 = Instance.new("Part",char) | |
6492 | ee4.Size = Vector3.new(0.1,0.1,0.1) | |
6493 | ee4.Shape = "Ball" | |
6494 | ee4.BrickColor = BrickColor.new("Mid gray") | |
6495 | ee4.Position = Vector3.new(999,999,999) | |
6496 | eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6497 | eew.Part0 = game.Players.LocalPlayer.Character.Head | |
6498 | eew.Part1 = ee | |
6499 | eew.C0 = CFrame.new(0.68,-0.22,0) | |
6500 | eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6501 | eew1.Part0 = ee | |
6502 | eew1.Part1 = ee1 | |
6503 | eew1.C0 = CFrame.new(0,0.02,0) | |
6504 | eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6505 | eew2.Part0 = game.Players.LocalPlayer.Character.Head | |
6506 | eew2.Part1 = ee2 | |
6507 | eew2.C0 = CFrame.new(0.67,-0.1,0) | |
6508 | eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6509 | eew3.Part0 = game.Players.LocalPlayer.Character.Head | |
6510 | eew3.Part1 = ee3 | |
6511 | eew3.C0 = CFrame.new(0.66,-0.05,0) | |
6512 | eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6513 | eew4.Part0 = game.Players.LocalPlayer.Character.Head | |
6514 | eew4.Part1 = ee4 | |
6515 | eew4.C0 = CFrame.new(0.64,-0.01,0) | |
6516 | ----------------------------------------------------------------------- | |
6517 | eed = Instance.new("Part",char) | |
6518 | eed.Size = Vector3.new(0.2,0.2,0.2) | |
6519 | eed.Position = Vector3.new(9999999,9999999,9999999) | |
6520 | eed.Shape = "Ball" | |
6521 | eed.BrickColor = BrickColor.new("New Yeller") | |
6522 | ee1d = Instance.new("Part",char) | |
6523 | ee1d.Size = Vector3.new(0.18,0.18,0.18) | |
6524 | ee1d.Position = Vector3.new(999999,999999,999999) | |
6525 | ee1d.Shape = "Ball" | |
6526 | ee1d.BrickColor = BrickColor.new("Mid gray") | |
6527 | ee2d = Instance.new("Part",char) | |
6528 | ee2d.Size = Vector3.new(0.06,0.06,0.06) | |
6529 | ee2d.Shape = "Ball" | |
6530 | ee2d.BrickColor = BrickColor.new("Mid gray") | |
6531 | ee2d.Position = Vector3.new(99999,99999,99999) | |
6532 | ee3d = Instance.new("Part",char) | |
6533 | ee3d.Size = Vector3.new(0.06,0.06,0.06) | |
6534 | ee3d.Shape = "Ball" | |
6535 | ee3d.BrickColor = BrickColor.new("Mid gray") | |
6536 | ee3d.Position = Vector3.new(9999,9999,9999) | |
6537 | ee4d = Instance.new("Part",char) | |
6538 | ee4d.Size = Vector3.new(0.1,0.1,0.1) | |
6539 | ee4d.Shape = "Ball" | |
6540 | ee4d.BrickColor = BrickColor.new("Mid gray") | |
6541 | ee4d.Position = Vector3.new(999,999,999) | |
6542 | eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6543 | eew.Part0 = clone1.Head | |
6544 | eew.Part1 = eed | |
6545 | eew.C0 = CFrame.new(-0.68,-0.22,0) | |
6546 | eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6547 | eew1.Part0 = ee | |
6548 | eew1.Part1 = ee1d | |
6549 | eew1.C0 = CFrame.new(0,0.02,0) | |
6550 | eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6551 | eew2.Part0 = clone1.Head | |
6552 | eew2.Part1 = ee2d | |
6553 | eew2.C0 = CFrame.new(-0.67,-0.1,0) | |
6554 | eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6555 | eew3.Part0 = clone1.Head | |
6556 | eew3.Part1 = ee3d | |
6557 | eew3.C0 = CFrame.new(-0.66,-0.05,0) | |
6558 | eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6559 | eew4.Part0 = clone1.Head | |
6560 | eew4.Part1 = ee4d | |
6561 | eew4.C0 = CFrame.new(-0.64,-0.01,0) | |
6562 | wait(0.5) | |
6563 | noidle = false | |
6564 | noidle1 = false | |
6565 | potara2 = true | |
6566 | potara4 = true | |
6567 | for i = 1,20 do | |
6568 | wait() | |
6569 | com1 = com1 - 0.5 | |
6570 | ||
6571 | RootPart1.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) + linkpart.CFrame.lookVector * com1 | |
6572 | RootPart.CFrame = linkpart.CFrame * cfa(0,rad(-90),0) - linkpart.CFrame.lookVector * com1 | |
6573 | ||
6574 | end | |
6575 | ||
6576 | potara = true | |
6577 | eec = Instance.new("Part",char) | |
6578 | eec.Size = Vector3.new(0.2,0.2,0.2) | |
6579 | eec.Position = Vector3.new(9999999,9999999,9999999) | |
6580 | eec.Shape = "Ball" | |
6581 | eec.BrickColor = BrickColor.new("New Yeller") | |
6582 | ee1c = Instance.new("Part",char) | |
6583 | ee1c.Size = Vector3.new(0.18,0.18,0.18) | |
6584 | ee1c.Position = Vector3.new(999999,999999,999999) | |
6585 | ee1c.Shape = "Ball" | |
6586 | ee1c.BrickColor = BrickColor.new("Mid gray") | |
6587 | ee2c = Instance.new("Part",char) | |
6588 | ee2c.Size = Vector3.new(0.06,0.06,0.06) | |
6589 | ee2c.Shape = "Ball" | |
6590 | ee2c.BrickColor = BrickColor.new("Mid gray") | |
6591 | ee2c.Position = Vector3.new(99999,99999,99999) | |
6592 | ee3c = Instance.new("Part",char) | |
6593 | ee3c.Size = Vector3.new(0.06,0.06,0.06) | |
6594 | ee3c.Shape = "Ball" | |
6595 | ee3c.BrickColor = BrickColor.new("Mid gray") | |
6596 | ee3c.Position = Vector3.new(9999,9999,9999) | |
6597 | ee4c = Instance.new("Part",char) | |
6598 | ee4c.Size = Vector3.new(0.1,0.1,0.1) | |
6599 | ee4c.Shape = "Ball" | |
6600 | ee4c.BrickColor = BrickColor.new("Mid gray") | |
6601 | ee4c.Position = Vector3.new(999,999,999) | |
6602 | eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6603 | eew.Part0 = game.Players.LocalPlayer.Character.Head | |
6604 | eew.Part1 = eec | |
6605 | eew.C0 = CFrame.new(-0.68,-0.22,0) | |
6606 | eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6607 | eew1.Part0 = ee | |
6608 | eew1.Part1 = ee1c | |
6609 | eew1.C0 = CFrame.new(0,0.02,0) | |
6610 | eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6611 | eew2.Part0 = game.Players.LocalPlayer.Character.Head | |
6612 | eew2.Part1 = ee2c | |
6613 | eew2.C0 = CFrame.new(-0.67,-0.1,0) | |
6614 | eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6615 | eew3.Part0 = game.Players.LocalPlayer.Character.Head | |
6616 | eew3.Part1 = ee3c | |
6617 | eew3.C0 = CFrame.new(-0.66,-0.05,0) | |
6618 | eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
6619 | eew4.Part0 = game.Players.LocalPlayer.Character.Head | |
6620 | eew4.Part1 = ee4c | |
6621 | eew4.C0 = CFrame.new(-0.64,-0.01,0) | |
6622 | a21e = new("Part",char) | |
6623 | a21e.Name = "Beam"..num | |
6624 | a21e.Locked = true | |
6625 | a21e.Size = v3(1,1,1) | |
6626 | a21e.CanCollide = false | |
6627 | a21e.Position = v3(999,999,999) | |
6628 | a21e.BrickColor = bc("White") | |
6629 | a21e.Material = "Neon" | |
6630 | a21e.Transparency = 0 | |
6631 | aa21e = new("SpecialMesh",a21e) | |
6632 | a21e.Anchored = true | |
6633 | a21e.Position = RootPart.Position | |
6634 | aa21e.MeshType = "Sphere" | |
6635 | aa21e.Scale = v3(1,1,1) | |
6636 | Mesh.MeshId = "rbxassetid://560152258" | |
6637 | Hair7.Color = Color3.fromRGB(26,0,0) | |
6638 | Mesh.Scale = Vector3.new(6.9,6.9,6.9) | |
6639 | Weld.C0 = CFrame.new(-.211, 0.9, 0.262)*cfa(0,math.rad(0),0) | |
6640 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=914326777" | |
6641 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=914326994" | |
6642 | ||
6643 | ||
6644 | ||
6645 | ||
6646 | ||
6647 | ||
6648 | potara2 = false | |
6649 | potara4 = false | |
6650 | ||
6651 | ||
6652 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1) --LeftUpperArm | |
6653 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperArm | |
6654 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
6655 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightLowerArm | |
6656 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftUpperLeg | |
6657 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6658 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerLeg | |
6659 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--RightUpperLeg | |
6660 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Torso | |
6661 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
6662 | hum.HipHeight = 1.35 | |
6663 | ||
6664 | RootPart.Anchored = false | |
6665 | idle5 = true | |
6666 | idle7 = true | |
6667 | ||
6668 | ||
6669 | hum.HipHeight = 2 | |
6670 | ssjauraburst:Play() | |
6671 | RootPart1.CFrame = CFrame.new(999,999,999) | |
6672 | RootPart1.Anchored = true | |
6673 | GroundWave5() | |
6674 | GroundWave6() | |
6675 | GroundWave7() | |
6676 | GroundWave8() | |
6677 | GroundWave9() | |
6678 | GroundWave10() | |
6679 | for i = 1,50 do | |
6680 | wait() | |
6681 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
6682 | a21e.Transparency = a21e.Transparency + 0.02 | |
6683 | end | |
6684 | walk = false | |
6685 | end | |
6686 | end) | |
6687 | ||
6688 | ||
6689 | ||
6690 | ||
6691 | ||
6692 | ||
6693 | ||
6694 | ||
6695 | ||
6696 | ||
6697 | p1 = Instance.new("Part",char) | |
6698 | p1.Size = v3(2,1.6,1) | |
6699 | p1.Transparency = 1 | |
6700 | p1.CanCollide = false | |
6701 | p1.Position = v3(999,999,999) | |
6702 | p1.BrickColor = bc("Bright red") | |
6703 | p1mesh = Instance.new("SpecialMesh",p1) | |
6704 | p1mesh.MeshType = "FileMesh" | |
6705 | p1mesh.Scale = v3(1.01,1.01,1.01) | |
6706 | p1mesh.MeshId = "rbxassetid://532220007" | |
6707 | p1weld = Instance.new("Weld",p1) | |
6708 | p1weld.Part0 = UpperTorso | |
6709 | p1weld.Part1 = p1 | |
6710 | ------------------------------------------------------------- | |
6711 | p2 = Instance.new("Part",char) | |
6712 | p2.Size = v3(2,1.6,1) | |
6713 | p2.Transparency = 1 | |
6714 | p2.CanCollide = false | |
6715 | p2.Position = v3(999,999,999) | |
6716 | p2.BrickColor = bc("Bright red") | |
6717 | p2mesh = Instance.new("SpecialMesh",p2) | |
6718 | p2mesh.MeshType = "FileMesh" | |
6719 | p2mesh.Scale = v3(1.01,1.01,1.01) | |
6720 | p2mesh.MeshId = "http://www.roblox.com/asset/?id=532220036" | |
6721 | p2weld = Instance.new("Weld",p2) | |
6722 | p2weld.Part0 = LowerTorso | |
6723 | p2weld.Part1 = p2 | |
6724 | ------------------------------------------------------------- | |
6725 | p3 = Instance.new("Part",char) | |
6726 | p3.Size = v3(2,1.6,1) | |
6727 | p3.Transparency = 1 | |
6728 | p3.CanCollide = false | |
6729 | p3.Position = v3(999,999,999) | |
6730 | p3.BrickColor = bc("Bright red") | |
6731 | p3mesh = Instance.new("SpecialMesh",p3) | |
6732 | p3mesh.MeshType = "FileMesh" | |
6733 | p3mesh.Scale = v3(1.01,1.01,1.01) | |
6734 | p3mesh.MeshId = "http://www.roblox.com/asset/?id=532219996" | |
6735 | p3weld = Instance.new("Weld",p3) | |
6736 | p3weld.Part0 = LeftUpperArm | |
6737 | p3weld.Part1 = p3 | |
6738 | ------------------------------------------------------------- | |
6739 | p4 = Instance.new("Part",char) | |
6740 | p4.Size = v3(2,1.6,1) | |
6741 | p4.Transparency = 1 | |
6742 | p4.CanCollide = false | |
6743 | p4.Position = v3(999,999,999) | |
6744 | p4.BrickColor = bc("Bright red") | |
6745 | p4mesh = Instance.new("SpecialMesh",p4) | |
6746 | p4mesh.MeshType = "FileMesh" | |
6747 | p4mesh.Scale = v3(1.01,1.01,1.01) | |
6748 | p4mesh.MeshId = "http://www.roblox.com/asset/?id=532220017" | |
6749 | p4weld = Instance.new("Weld",p4) | |
6750 | p4weld.Part0 = LeftLowerLeg | |
6751 | p4weld.Part1 = p4 | |
6752 | ------------------------------------------------------------- | |
6753 | p5 = Instance.new("Part",char) | |
6754 | p5.Size = v3(2,1.6,1) | |
6755 | p5.Transparency = 1 | |
6756 | p5.CanCollide = false | |
6757 | p5.Position = v3(999,999,999) | |
6758 | p5.BrickColor = bc("Bright red") | |
6759 | p5mesh = Instance.new("SpecialMesh",p5) | |
6760 | p5mesh.MeshType = "FileMesh" | |
6761 | p5mesh.Scale = v3(1.01,1.01,1.01) | |
6762 | p5mesh.MeshId = "http://www.roblox.com/asset/?id=532219991" | |
6763 | p5weld = Instance.new("Weld",p5) | |
6764 | p5weld.Part0 = LeftLowerArm | |
6765 | p5weld.Part1 = p5 | |
6766 | ------------------------------------------------------------- | |
6767 | p6 = Instance.new("Part",char) | |
6768 | p6.Size = v3(2,1.6,1) | |
6769 | p6.Transparency = 1 | |
6770 | p6.CanCollide = false | |
6771 | p6.Position = v3(999,999,999) | |
6772 | p6.BrickColor = bc("Bright red") | |
6773 | p6mesh = Instance.new("SpecialMesh",p6) | |
6774 | p6mesh.MeshType = "FileMesh" | |
6775 | p6mesh.Scale = v3(1.01,1.01,1.01) | |
6776 | p6mesh.MeshId = "http://www.roblox.com/asset/?id=532219986" | |
6777 | p6weld = Instance.new("Weld",p6) | |
6778 | p6weld.Part0 = LeftHand | |
6779 | p6weld.Part1 = p6 | |
6780 | ------------------------------------------------------------- | |
6781 | p7 = Instance.new("Part",char) | |
6782 | p7.Size = v3(2,1.6,1) | |
6783 | p7.Transparency =1 | |
6784 | p7.CanCollide = false | |
6785 | p7.Position = v3(999,999,999) | |
6786 | p7.BrickColor = bc("Bright red") | |
6787 | p7mesh = Instance.new("SpecialMesh",p7) | |
6788 | p7mesh.MeshType = "FileMesh" | |
6789 | p7mesh.Scale = v3(1.01,1.01,1.01) | |
6790 | p7mesh.MeshId = "http://www.roblox.com/asset/?id=532220012" | |
6791 | p7weld = Instance.new("Weld",p7) | |
6792 | p7weld.Part0 = LeftFoot | |
6793 | p7weld.Part1 = p7 | |
6794 | ------------------------------------------------------------- | |
6795 | p8 = Instance.new("Part",char) | |
6796 | p8.Size = v3(2,1.6,1) | |
6797 | p8.Transparency = 1 | |
6798 | p8.CanCollide = false | |
6799 | p8.Position = v3(999,999,999) | |
6800 | p8.BrickColor = bc("Bright red") | |
6801 | p8mesh = Instance.new("SpecialMesh",p8) | |
6802 | p8mesh.MeshType = "FileMesh" | |
6803 | p8mesh.Scale = v3(1.01,1.01,1.01) | |
6804 | p8mesh.MeshId = "http://www.roblox.com/asset/?id=532220020" | |
6805 | p8weld = Instance.new("Weld",p8) | |
6806 | p8weld.Part0 = RightFoot | |
6807 | p8weld.Part1 = p8 | |
6808 | ------------------------------------------------------------- | |
6809 | p9 = Instance.new("Part",char) | |
6810 | p9.Size = v3(2,1.6,1) | |
6811 | p9.Transparency = 1 | |
6812 | p9.CanCollide = false | |
6813 | p9.Position = v3(999,999,999) | |
6814 | p9.BrickColor = bc("Bright red") | |
6815 | p9mesh = Instance.new("SpecialMesh",p9) | |
6816 | p9mesh.MeshType = "FileMesh" | |
6817 | p9mesh.Scale = v3(1.01,1.01,1.01) | |
6818 | p9mesh.MeshId = "http://www.roblox.com/asset/?id=532219997" | |
6819 | p9weld = Instance.new("Weld",p9) | |
6820 | p9weld.Part0 = RightHand | |
6821 | p9weld.Part1 = p9 | |
6822 | ------------------------------------------------------------- | |
6823 | p10 = Instance.new("Part",char) | |
6824 | p10.Size = v3(2,1.6,1) | |
6825 | p10.Transparency = 1 | |
6826 | p10.CanCollide = false | |
6827 | p10.Position = v3(999,999,999) | |
6828 | p10.BrickColor = bc("Bright red") | |
6829 | p10mesh = Instance.new("SpecialMesh",p10) | |
6830 | p10mesh.MeshType = "FileMesh" | |
6831 | p10mesh.Scale = v3(1.01,1.01,1.01) | |
6832 | p10mesh.MeshId = "http://www.roblox.com/asset/?id=532219999" | |
6833 | p10weld = Instance.new("Weld",p10) | |
6834 | p10weld.Part0 = RightLowerArm | |
6835 | p10weld.Part1 = p10 | |
6836 | ------------------------------------------------------------- | |
6837 | p11 = Instance.new("Part",char) | |
6838 | p11.Size = v3(2,1.6,1) | |
6839 | p11.Transparency = 1 | |
6840 | p11.CanCollide = false | |
6841 | p11.Position = v3(999,999,999) | |
6842 | p11.BrickColor = bc("Bright red") | |
6843 | p11mesh = Instance.new("SpecialMesh",p11) | |
6844 | p11mesh.MeshType = "FileMesh" | |
6845 | p11mesh.Scale = v3(1.01,1.01,1.01) | |
6846 | p11mesh.MeshId = "http://www.roblox.com/asset/?id=532220027" | |
6847 | p11weld = Instance.new("Weld",p11) | |
6848 | p11weld.Part0 = RightLowerLeg | |
6849 | p11weld.Part1 = p11 | |
6850 | ------------------------------------------------------------- | |
6851 | p12 = Instance.new("Part",char) | |
6852 | p12.Size = v3(2,1.6,1) | |
6853 | p12.Transparency =1 | |
6854 | p12.CanCollide = false | |
6855 | p12.Position = v3(999,999,999) | |
6856 | p12.BrickColor = bc("Bright red") | |
6857 | p12mesh = Instance.new("SpecialMesh",p12) | |
6858 | p12mesh.MeshType = "FileMesh" | |
6859 | p12mesh.Scale = v3(1.01,1.01,1.01) | |
6860 | p12mesh.MeshId = "http://www.roblox.com/asset/?id=532220004" | |
6861 | p12weld = Instance.new("Weld",p12) | |
6862 | p12weld.Part0 = RightUpperArm | |
6863 | p12weld.Part1 = p12 | |
6864 | ------------------------------------------------------------- | |
6865 | p13 = Instance.new("Part",char) | |
6866 | p13.Size = v3(2,1.6,1) | |
6867 | p13.Transparency = 1 | |
6868 | p13.CanCollide = false | |
6869 | p13.Position = v3(999,999,999) | |
6870 | p13.BrickColor = bc("Bright red") | |
6871 | p13mesh = Instance.new("SpecialMesh",p13) | |
6872 | p13mesh.MeshType = "FileMesh" | |
6873 | p13mesh.Scale = v3(1.01,1.01,1.01) | |
6874 | p13mesh.MeshId = "http://www.roblox.com/asset/?id=532220031" | |
6875 | p13weld = Instance.new("Weld",p13) | |
6876 | p13weld.Part0 = RightUpperLeg | |
6877 | p13weld.Part1 = p13 | |
6878 | ------------------------------------------------------------- | |
6879 | p14 = Instance.new("Part",char) | |
6880 | p14.Size = v3(2,1,1) | |
6881 | p14.Transparency = 1 | |
6882 | p14.CanCollide = false | |
6883 | p14.Position = v3(999,999,999) | |
6884 | p14.BrickColor = bc("Bright red") | |
6885 | p14mesh = Instance.new("SpecialMesh",p14) | |
6886 | p14mesh.MeshType = "FileMesh" | |
6887 | p14mesh.Scale = v3(1.01,1.01,1.01) | |
6888 | p14mesh.MeshId = "http://www.roblox.com/asset/?id=532220018" | |
6889 | p14weld = Instance.new("Weld",p14) | |
6890 | p14weld.Part0 = LeftUpperLeg | |
6891 | p14weld.Part1 = p14 | |
6892 | p15 = Instance.new("Part",char) | |
6893 | p15.Size = v3(2,1,1) | |
6894 | p15.Transparency = 1 | |
6895 | p15.CanCollide = false | |
6896 | p15.Position = v3(999,999,999) | |
6897 | p15.BrickColor = bc("Bright red") | |
6898 | p15mesh = Instance.new("SpecialMesh",p15) | |
6899 | p15mesh.MeshType = "Head" | |
6900 | p15mesh.Scale = v3(1.26,1.26,1.26) | |
6901 | p15weld = Instance.new("Weld",p15) | |
6902 | p15weld.Part0 = Head | |
6903 | p15weld.Part1 = p15 | |
6904 | ||
6905 | mouse.KeyDown:connect(function(key) | |
6906 | if key == "z" and ki < 101 then | |
6907 | idle = false | |
6908 | idle7 = false | |
6909 | hum.HipHeight = 1.35 | |
6910 | walk = false | |
6911 | canjump = false | |
6912 | transform1 = true | |
6913 | wait(0.2) | |
6914 | size = newaurabase.Size | |
6915 | size2 = newaurabase2.Size | |
6916 | wait(0.1) | |
6917 | KiCharge.TimePosition = 0.7 | |
6918 | ||
6919 | wait(0.1) | |
6920 | KiCharge:Play() | |
6921 | ||
6922 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false and ssj4 == false then | |
6923 | newaura.ImageTransparency = 0 | |
6924 | newaura.ImageColor3 = Color3.fromRGB(255,255,255) | |
6925 | newaurabase.Size = UDim2.new(20,0,20,0) | |
6926 | elseif ssjg == true then | |
6927 | newaurabase.Size = UDim2.new(12,0,25,0) | |
6928 | elseif ssj1 == true or ssj2 == true or ssj3 == true then | |
6929 | newaurabase.Size = UDim2.new(40,0,40,0) | |
6930 | elseif ssjb == true then | |
6931 | newaurabase.Size = UDim2.new(20,0,30,0) | |
6932 | elseif ssjb == true and ssjbkaio == true then | |
6933 | newaurabase2.Size = UDim2.new(25,0,45,0) | |
6934 | elseif ssjb == true and ssjbkaiox10 == true then | |
6935 | newaurabase2.Size = UDim2.new(40,0,80,0) | |
6936 | elseif ssj4 == true then | |
6937 | newaurabase.Size = UDim2.new(40,0,40,0) | |
6938 | end | |
6939 | ||
6940 | newaura.ImageTransparency = 0 | |
6941 | rock = true | |
6942 | transform1 = false | |
6943 | transform3 = true | |
6944 | kicharging = true | |
6945 | wait(2) | |
6946 | ||
6947 | repeat | |
6948 | if kicharging == true then | |
6949 | KiCharge.TimePosition = 2 | |
6950 | ||
6951 | KiCharge:Play() | |
6952 | end | |
6953 | wait(2) | |
6954 | until kicharging == false | |
6955 | end | |
6956 | end) | |
6957 | mouse.KeyUp:connect(function(key) | |
6958 | if key == "z" then | |
6959 | ||
6960 | KiCharge:Stop() | |
6961 | kicharging = false | |
6962 | rock = false | |
6963 | rock3 = true | |
6964 | transform3 = false | |
6965 | transform1 = false | |
6966 | transform4 = true | |
6967 | if ssj1 == false and ssj2 == false and ssj3 == false and ssjb == false and ssjg == false and ssj4 == false then | |
6968 | newaura.ImageTransparency = 1 | |
6969 | newaura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
6970 | else | |
6971 | newaurabase.Size = size | |
6972 | newaurabase2.Size = size2 | |
6973 | end | |
6974 | ||
6975 | a21e = new("Part",char) | |
6976 | a21e.Name = "Beam"..num | |
6977 | a21e.Locked = true | |
6978 | a21e.Size = v3(1,1,1) | |
6979 | a21e.CanCollide = false | |
6980 | a21e.Position = v3(999,999,999) | |
6981 | a21e.BrickColor = bc("White") | |
6982 | a21e.Material = "Neon" | |
6983 | a21e.Transparency = 0 | |
6984 | aa21e = new("SpecialMesh",a21e) | |
6985 | a21e.Anchored = true | |
6986 | a21e.Position = RootPart.Position | |
6987 | aa21e.MeshType = "Sphere" | |
6988 | aa21e.Scale = v3(1,1,1) | |
6989 | ||
6990 | KiCharge2.TimePosition = 7.6 | |
6991 | wait(0.1) | |
6992 | KiCharge2:Play() | |
6993 | KiCharge:Stop() | |
6994 | GroundWave5() | |
6995 | GroundWave6() | |
6996 | GroundWave7() | |
6997 | GroundWave8() | |
6998 | GroundWave9() | |
6999 | GroundWave10() | |
7000 | for i = 1,25 do | |
7001 | wait() | |
7002 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
7003 | a21e.Transparency = a21e.Transparency + 0.04 | |
7004 | end | |
7005 | ||
7006 | wait(0.5) | |
7007 | ||
7008 | KiCharge2:Stop() | |
7009 | transform4 = false | |
7010 | if fuse == false or potara == false then | |
7011 | idle = true | |
7012 | walk = true | |
7013 | canjump = true | |
7014 | end | |
7015 | if fuse == true or potara == true then | |
7016 | idle7 = true | |
7017 | end | |
7018 | end | |
7019 | end) | |
7020 | ||
7021 | ||
7022 | ||
7023 | ||
7024 | ||
7025 | ||
7026 | ||
7027 | ||
7028 | hum.Name = "LolCantHurtMe" | |
7029 | ||
7030 | ||
7031 | ||
7032 | ||
7033 | ||
7034 | ||
7035 | ||
7036 | ||
7037 | ||
7038 | function chatfunc1(text) | |
7039 | local chat = coroutine.wrap(function() | |
7040 | if clone1:FindFirstChild("TalkingBillBoard")~= nil then | |
7041 | clone1:FindFirstChild("TalkingBillBoard"):destroy() | |
7042 | end | |
7043 | local naeeym2 = Instance.new("BillboardGui",clone1) | |
7044 | naeeym2.Size = UDim2.new(0,100,0,40) | |
7045 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
7046 | naeeym2.Adornee = clone1.Head | |
7047 | naeeym2.Name = "TalkingBillBoard" | |
7048 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
7049 | tecks2.BackgroundTransparency = 1 | |
7050 | tecks2.BorderSizePixel = 0 | |
7051 | tecks2.Text = "" | |
7052 | tecks2.Font = "Fantasy" | |
7053 | tecks2.TextSize = 30 | |
7054 | tecks2.TextStrokeTransparency = 0 | |
7055 | tecks2.TextColor3 = Color3.new(0,0,0) | |
7056 | tecks2.TextStrokeColor3 = Color3.new(0,0,255) | |
7057 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
7058 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
7059 | tecks3.BackgroundTransparency = 1 | |
7060 | tecks3.BorderSizePixel = 0 | |
7061 | tecks3.Text = "" | |
7062 | tecks3.Font = "Fantasy" | |
7063 | tecks3.TextSize = 30 | |
7064 | tecks3.TextStrokeTransparency = 0 | |
7065 | tecks3.TextColor3 = Color3.new(0,0,0) | |
7066 | tecks3.TextStrokeColor3 = Color3.new(255,255,255) | |
7067 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
7068 | for i = 1,string.len(text),1 do | |
7069 | ||
7070 | tecks2.Text = string.sub(text,1,i) | |
7071 | tecks3.Text = string.sub(text,1,i) | |
7072 | wait(0.01) | |
7073 | end | |
7074 | wait(2) | |
7075 | for i = 1, 50 do | |
7076 | ||
7077 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
7078 | tecks2.Rotation = tecks2.Rotation - .8 | |
7079 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
7080 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
7081 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
7082 | tecks3.Rotation = tecks2.Rotation + .8 | |
7083 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
7084 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
7085 | end | |
7086 | naeeym2:Destroy() | |
7087 | end) | |
7088 | chat() | |
7089 | ||
7090 | end | |
7091 | ||
7092 | repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("LowerTorso") | |
7093 | local mouse = game.Players.LocalPlayer:GetMouse() | |
7094 | repeat wait() until mouse | |
7095 | local plr = game.Players.LocalPlayer | |
7096 | local LowerTorso = plr.Character.LowerTorso | |
7097 | local flying = true | |
7098 | local deb = true | |
7099 | local ctrl = {f = 0, b = 0, l = 0, r = 0} | |
7100 | local lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
7101 | local maxspeed = 50 | |
7102 | local speed = 0 | |
7103 | function Fly() | |
7104 | local bg = Instance.new("BodyGyro", LowerTorso) | |
7105 | bg.P = 9e4 | |
7106 | bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
7107 | bg.cframe =LowerTorso.CFrame | |
7108 | local bv = Instance.new("BodyVelocity", LowerTorso) | |
7109 | bv.velocity = Vector3.new(0,0.1,0) | |
7110 | bv.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
7111 | repeat wait() | |
7112 | hum.PlatformStand = true | |
7113 | if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then | |
7114 | speed = speed+.5+(speed/maxspeed) | |
7115 | if speed > maxspeed then | |
7116 | speed = maxspeed | |
7117 | end | |
7118 | elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then | |
7119 | speed = speed-1 | |
7120 | if speed < 0 then | |
7121 | speed = 0 | |
7122 | end | |
7123 | end | |
7124 | if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then | |
7125 | 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 | |
7126 | lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r} | |
7127 | elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then | |
7128 | 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 | |
7129 | else | |
7130 | bv.velocity = Vector3.new(0,0.1,0) | |
7131 | end | |
7132 | bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0) | |
7133 | until not flying | |
7134 | ctrl = {f = 0, b = 0, l = 0, r = 0} | |
7135 | lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
7136 | speed = 0 | |
7137 | bg:Destroy() | |
7138 | bv:Destroy() | |
7139 | hum.PlatformStand = false | |
7140 | end | |
7141 | mouse.KeyDown:connect(function(key) | |
7142 | if key:lower() == "f" then | |
7143 | if flying then flying = false | |
7144 | flying1 = false | |
7145 | idle = true | |
7146 | walk = true | |
7147 | canjump = true | |
7148 | else | |
7149 | hum.Jump = true | |
7150 | wait(0.5) | |
7151 | flying1 = true | |
7152 | flying = true | |
7153 | -- return to idle if finishing an emote | |
7154 | if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then | |
7155 | oldAnim = "idle" | |
7156 | end | |
7157 | ||
7158 | currentAnim = "" | |
7159 | currentAnimInstance = nil | |
7160 | if (currentAnimKeyframeHandler ~= nil) then | |
7161 | currentAnimKeyframeHandler:disconnect() | |
7162 | end | |
7163 | ||
7164 | if (currentAnimTrack ~= nil) then | |
7165 | currentAnimTrack:Stop() | |
7166 | currentAnimTrack:Destroy() | |
7167 | currentAnimTrack = nil | |
7168 | end | |
7169 | ||
7170 | -- clean up walk if there is one | |
7171 | if (runAnimKeyframeHandler ~= nil) then | |
7172 | runAnimKeyframeHandler:disconnect() | |
7173 | end | |
7174 | ||
7175 | if (runAnimTrack ~= nil) then | |
7176 | runAnimTrack:Stop() | |
7177 | runAnimTrack:Destroy() | |
7178 | runAnimTrack = nil | |
7179 | end | |
7180 | Fly() | |
7181 | end | |
7182 | elseif key:lower() == "w" then | |
7183 | ctrl.f = 1 | |
7184 | nill = false | |
7185 | foward = true | |
7186 | elseif key:lower() == "s" then | |
7187 | ctrl.b = -1 | |
7188 | elseif key:lower() == "a" then | |
7189 | ctrl.l = -1 | |
7190 | elseif key:lower() == "d" then | |
7191 | ctrl.r = 1 | |
7192 | end | |
7193 | end) | |
7194 | mouse.KeyUp:connect(function(key) | |
7195 | if key:lower() == "w" then | |
7196 | ctrl.f = 0 | |
7197 | nill = true | |
7198 | foward = false | |
7199 | elseif key:lower() == "s" then | |
7200 | ctrl.b = 0 | |
7201 | elseif key:lower() == "a" then | |
7202 | ctrl.l = 0 | |
7203 | elseif key:lower() == "d" then | |
7204 | ctrl.r = 0 | |
7205 | end | |
7206 | end) | |
7207 | Fly() | |
7208 | ||
7209 | ||
7210 | ||
7211 | ||
7212 | ||
7213 | ||
7214 | ||
7215 | ||
7216 | ||
7217 | ||
7218 | ||
7219 | ||
7220 | ||
7221 | ||
7222 | ||
7223 | ||
7224 | ||
7225 | ||
7226 | ||
7227 | ||
7228 | ||
7229 | ||
7230 | ||
7231 | ||
7232 | ||
7233 | ||
7234 | ||
7235 | ||
7236 | ||
7237 | ||
7238 | ||
7239 | ||
7240 | ||
7241 | ||
7242 | ||
7243 | ||
7244 | ------------------------------------------------------------------------------------------------------------------------------------------- | |
7245 | math.randomseed(tick()) | |
7246 | ||
7247 | function configureAnimationSet(name, fileList) | |
7248 | if (animTable[name] ~= nil) then | |
7249 | for _, connection in pairs(animTable[name].connections) do | |
7250 | connection:disconnect() | |
7251 | end | |
7252 | end | |
7253 | animTable[name] = {} | |
7254 | animTable[name].count = 0 | |
7255 | animTable[name].totalWeight = 0 | |
7256 | animTable[name].connections = {} | |
7257 | ||
7258 | local allowCustomAnimations = true | |
7259 | local AllowDisableCustomAnimsUserFlag = true | |
7260 | ||
7261 | local success, msg = pcall(function() | |
7262 | AllowDisableCustomAnimsUserFlag = UserSettings():IsUserFeatureEnabled("UserAllowDisableCustomAnims") | |
7263 | end) | |
7264 | ||
7265 | if (AllowDisableCustomAnimsUserFlag) then | |
7266 | local ps = game:GetService("StarterPlayer"):FindFirstChild("PlayerSettings") | |
7267 | if (ps ~= nil) then | |
7268 | allowCustomAnimations = not require(ps).UseDefaultAnimations | |
7269 | end | |
7270 | end | |
7271 | ||
7272 | -- check for config values | |
7273 | local config = script:FindFirstChild(name) | |
7274 | if (allowCustomAnimations and config ~= nil) then | |
7275 | table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end)) | |
7276 | table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end)) | |
7277 | local idx = 1 | |
7278 | for _, childPart in pairs(config:GetChildren()) do | |
7279 | if (childPart:IsA("Animation")) then | |
7280 | table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end)) | |
7281 | animTable[name][idx] = {} | |
7282 | animTable[name][idx].anim = childPart | |
7283 | local weightObject = childPart:FindFirstChild("Weight") | |
7284 | if (weightObject == nil) then | |
7285 | animTable[name][idx].weight = 1 | |
7286 | else | |
7287 | animTable[name][idx].weight = weightObject.Value | |
7288 | end | |
7289 | animTable[name].count = animTable[name].count + 1 | |
7290 | animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight | |
7291 | idx = idx + 1 | |
7292 | end | |
7293 | end | |
7294 | end | |
7295 | ||
7296 | -- fallback to defaults | |
7297 | if (animTable[name].count <= 0) then | |
7298 | for idx, anim in pairs(fileList) do | |
7299 | animTable[name][idx] = {} | |
7300 | animTable[name][idx].anim = Instance.new("Animation") | |
7301 | animTable[name][idx].anim.Name = name | |
7302 | animTable[name][idx].anim.AnimationId = anim.id | |
7303 | animTable[name][idx].weight = anim.weight | |
7304 | animTable[name].count = animTable[name].count + 1 | |
7305 | animTable[name].totalWeight = animTable[name].totalWeight + anim.weight | |
7306 | -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")") | |
7307 | end | |
7308 | end | |
7309 | end | |
7310 | ||
7311 | -- Setup animation objects | |
7312 | function scriptChildModified(child) | |
7313 | local fileList = animNames[child.Name] | |
7314 | if (fileList ~= nil) then | |
7315 | configureAnimationSet(child.Name, fileList) | |
7316 | end | |
7317 | end | |
7318 | ||
7319 | script.ChildAdded:connect(scriptChildModified) | |
7320 | script.ChildRemoved:connect(scriptChildModified) | |
7321 | ||
7322 | ||
7323 | for name, fileList in pairs(animNames) do | |
7324 | configureAnimationSet(name, fileList) | |
7325 | end | |
7326 | ||
7327 | -- ANIMATION | |
7328 | ||
7329 | -- declarations | |
7330 | local toolAnim = "None" | |
7331 | local toolAnimTime = 0 | |
7332 | ||
7333 | local jumpAnimTime = 0 | |
7334 | local jumpAnimDuration = 0.31 | |
7335 | ||
7336 | local toolTransitionTime = 0.1 | |
7337 | local fallTransitionTime = 0.2 | |
7338 | ||
7339 | -- functions | |
7340 | ||
7341 | function stopAllAnimations() | |
7342 | local oldAnim = currentAnim | |
7343 | ||
7344 | -- return to idle if finishing an emote | |
7345 | if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then | |
7346 | oldAnim = "idle" | |
7347 | end | |
7348 | ||
7349 | currentAnim = "" | |
7350 | currentAnimInstance = nil | |
7351 | if (currentAnimKeyframeHandler ~= nil) then | |
7352 | currentAnimKeyframeHandler:disconnect() | |
7353 | end | |
7354 | ||
7355 | if (currentAnimTrack ~= nil) then | |
7356 | currentAnimTrack:Stop() | |
7357 | currentAnimTrack:Destroy() | |
7358 | currentAnimTrack = nil | |
7359 | end | |
7360 | ||
7361 | -- clean up walk if there is one | |
7362 | if (runAnimKeyframeHandler ~= nil) then | |
7363 | runAnimKeyframeHandler:disconnect() | |
7364 | end | |
7365 | ||
7366 | if (runAnimTrack ~= nil) then | |
7367 | runAnimTrack:Stop() | |
7368 | runAnimTrack:Destroy() | |
7369 | runAnimTrack = nil | |
7370 | end | |
7371 | ||
7372 | return oldAnim | |
7373 | end | |
7374 | ||
7375 | local smallButNotZero = 0.0001 | |
7376 | function setRunSpeed(speed) | |
7377 | if speed < 0.33 then | |
7378 | currentAnimTrack:AdjustWeight(1.0) | |
7379 | runAnimTrack:AdjustWeight(smallButNotZero) | |
7380 | elseif speed < 0.66 then | |
7381 | local weight = ((speed - 0.33) / 0.33) | |
7382 | currentAnimTrack:AdjustWeight(1.0 - weight + smallButNotZero) | |
7383 | runAnimTrack:AdjustWeight(weight + smallButNotZero) | |
7384 | else | |
7385 | currentAnimTrack:AdjustWeight(smallButNotZero) | |
7386 | runAnimTrack:AdjustWeight(1.0) | |
7387 | end | |
7388 | ||
7389 | local speedScaled = speed * 1.25 | |
7390 | runAnimTrack:AdjustSpeed(speedScaled) | |
7391 | currentAnimTrack:AdjustSpeed(speedScaled) | |
7392 | end | |
7393 | ||
7394 | ||
7395 | function setAnimationSpeed(speed) | |
7396 | if jumped == false or flying == false then | |
7397 | if speed ~= currentAnimSpeed then | |
7398 | currentAnimSpeed = speed | |
7399 | if currentAnim == "walk" then | |
7400 | setRunSpeed(speed) | |
7401 | else | |
7402 | currentAnimTrack:AdjustSpeed(currentAnimSpeed) | |
7403 | end | |
7404 | end | |
7405 | end | |
7406 | end | |
7407 | ||
7408 | function keyFrameReachedFunc(frameName) | |
7409 | if (frameName == "End") then | |
7410 | if currentAnim == "walk" then | |
7411 | runAnimTrack.TimePosition = 0.0 | |
7412 | currentAnimTrack.TimePosition = 0.0 | |
7413 | else | |
7414 | local repeatAnim = currentAnim | |
7415 | -- return to idle if finishing an emote | |
7416 | if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then | |
7417 | repeatAnim = "idle" | |
7418 | end | |
7419 | ||
7420 | local animSpeed = currentAnimSpeed | |
7421 | playAnimation(repeatAnim, 0.15, Humanoid) | |
7422 | setAnimationSpeed(animSpeed) | |
7423 | end | |
7424 | end | |
7425 | end | |
7426 | ||
7427 | function rollAnimation(animName) | |
7428 | local roll = math.random(1, animTable[animName].totalWeight) | |
7429 | local origRoll = roll | |
7430 | local idx = 1 | |
7431 | while (roll > animTable[animName][idx].weight) do | |
7432 | roll = roll - animTable[animName][idx].weight | |
7433 | idx = idx + 1 | |
7434 | end | |
7435 | return idx | |
7436 | end | |
7437 | ||
7438 | function playAnimation(animName, transitionTime, humanoid) | |
7439 | local idx = rollAnimation(animName) | |
7440 | local anim = animTable[animName][idx].anim | |
7441 | ||
7442 | -- switch animation | |
7443 | if (anim ~= currentAnimInstance) then | |
7444 | ||
7445 | if (currentAnimTrack ~= nil) then | |
7446 | currentAnimTrack:Stop(transitionTime) | |
7447 | currentAnimTrack:Destroy() | |
7448 | end | |
7449 | ||
7450 | if (runAnimTrack ~= nil) then | |
7451 | runAnimTrack:Stop(transitionTime) | |
7452 | runAnimTrack:Destroy() | |
7453 | end | |
7454 | ||
7455 | currentAnimSpeed = 1.0 | |
7456 | ||
7457 | -- load it to the humanoid; get AnimationTrack | |
7458 | currentAnimTrack = humanoid:LoadAnimation(anim) | |
7459 | currentAnimTrack.Priority = Enum.AnimationPriority.Core | |
7460 | ||
7461 | -- play the animation | |
7462 | currentAnimTrack:Play(transitionTime) | |
7463 | currentAnim = animName | |
7464 | currentAnimInstance = anim | |
7465 | ||
7466 | -- set up keyframe name triggers | |
7467 | if (currentAnimKeyframeHandler ~= nil) then | |
7468 | currentAnimKeyframeHandler:disconnect() | |
7469 | end | |
7470 | currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc) | |
7471 | ||
7472 | -- check to see if we need to blend a walk/run animation | |
7473 | if animName == "walk" then | |
7474 | local runAnimName = "run" | |
7475 | local runIdx = rollAnimation(runAnimName) | |
7476 | ||
7477 | runAnimTrack = humanoid:LoadAnimation(animTable[runAnimName][runIdx].anim) | |
7478 | runAnimTrack.Priority = Enum.AnimationPriority.Core | |
7479 | runAnimTrack:Play(transitionTime) | |
7480 | ||
7481 | if (runAnimKeyframeHandler ~= nil) then | |
7482 | runAnimKeyframeHandler:disconnect() | |
7483 | end | |
7484 | runAnimKeyframeHandler = runAnimTrack.KeyframeReached:connect(keyFrameReachedFunc) | |
7485 | end | |
7486 | end | |
7487 | ||
7488 | end | |
7489 | ||
7490 | ------------------------------------------------------------------------------------------- | |
7491 | ------------------------------------------------------------------------------------------- | |
7492 | ||
7493 | local toolAnimName = "" | |
7494 | local toolAnimTrack = nil | |
7495 | local toolAnimInstance = nil | |
7496 | local currentToolAnimKeyframeHandler = nil | |
7497 | ||
7498 | function toolKeyFrameReachedFunc(frameName) | |
7499 | if (frameName == "End") then | |
7500 | playToolAnimation(toolAnimName, 0.0, Humanoid) | |
7501 | end | |
7502 | end | |
7503 | ||
7504 | ||
7505 | function playToolAnimation(animName, transitionTime, humanoid, priority) | |
7506 | local idx = rollAnimation(animName) | |
7507 | local anim = animTable[animName][idx].anim | |
7508 | ||
7509 | if (toolAnimInstance ~= anim) then | |
7510 | ||
7511 | if (toolAnimTrack ~= nil) then | |
7512 | toolAnimTrack:Stop() | |
7513 | toolAnimTrack:Destroy() | |
7514 | transitionTime = 0 | |
7515 | end | |
7516 | ||
7517 | -- load it to the humanoid; get AnimationTrack | |
7518 | toolAnimTrack = humanoid:LoadAnimation(anim) | |
7519 | if priority then | |
7520 | toolAnimTrack.Priority = priority | |
7521 | end | |
7522 | ||
7523 | -- play the animation | |
7524 | toolAnimTrack:Play(transitionTime) | |
7525 | toolAnimName = animName | |
7526 | toolAnimInstance = anim | |
7527 | ||
7528 | currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc) | |
7529 | end | |
7530 | end | |
7531 | ||
7532 | function stopToolAnimations() | |
7533 | local oldAnim = toolAnimName | |
7534 | ||
7535 | if (currentToolAnimKeyframeHandler ~= nil) then | |
7536 | currentToolAnimKeyframeHandler:disconnect() | |
7537 | end | |
7538 | ||
7539 | toolAnimName = "" | |
7540 | toolAnimInstance = nil | |
7541 | if (toolAnimTrack ~= nil) then | |
7542 | toolAnimTrack:Stop() | |
7543 | toolAnimTrack:Destroy() | |
7544 | toolAnimTrack = nil | |
7545 | end | |
7546 | ||
7547 | return oldAnim | |
7548 | end | |
7549 | ||
7550 | ------------------------------------------------------------------------------------------- | |
7551 | ------------------------------------------------------------------------------------------- | |
7552 | -- STATE CHANGE HANDLERS | |
7553 | ||
7554 | function onRunning(speed) | |
7555 | if speed > 0.5 then | |
7556 | local scale = 16.0 | |
7557 | if jumped == false or flying == false then | |
7558 | playAnimation("walk", 0.2, Humanoid) | |
7559 | end | |
7560 | setAnimationSpeed(speed / scale) | |
7561 | pose = "Running" | |
7562 | else | |
7563 | if emoteNames[currentAnim] == nil then | |
7564 | playAnimation("idle", 0.2, Humanoid) | |
7565 | pose = "Standing" | |
7566 | end | |
7567 | end | |
7568 | end | |
7569 | ||
7570 | function onDied() | |
7571 | pose = "Dead" | |
7572 | end | |
7573 | ||
7574 | function onJumping() | |
7575 | ||
7576 | end | |
7577 | ||
7578 | function onClimbing(speed) | |
7579 | local scale = 5.0 | |
7580 | playAnimation("climb", 0.1, Humanoid) | |
7581 | setAnimationSpeed(speed / scale) | |
7582 | pose = "Climbing" | |
7583 | end | |
7584 | ||
7585 | function onGettingUp() | |
7586 | pose = "GettingUp" | |
7587 | end | |
7588 | ||
7589 | function onFreeFall() | |
7590 | ||
7591 | end | |
7592 | ||
7593 | function onFallingDown() | |
7594 | ||
7595 | end | |
7596 | ||
7597 | function onSeated() | |
7598 | pose = "Seated" | |
7599 | end | |
7600 | ||
7601 | function onPlatformStanding() | |
7602 | ||
7603 | end | |
7604 | ||
7605 | ------------------------------------------------------------------------------------------- | |
7606 | ------------------------------------------------------------------------------------------- | |
7607 | ||
7608 | function onSwimming(speed) | |
7609 | if speed > 1.00 then | |
7610 | local scale = 10.0 | |
7611 | playAnimation("swim", 0.4, Humanoid) | |
7612 | setAnimationSpeed(speed / scale) | |
7613 | pose = "Swimming" | |
7614 | else | |
7615 | playAnimation("swimidle", 0.4, Humanoid) | |
7616 | pose = "Standing" | |
7617 | end | |
7618 | end | |
7619 | ||
7620 | function animateTool() | |
7621 | if (toolAnim == "None") then | |
7622 | playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle) | |
7623 | return | |
7624 | end | |
7625 | ||
7626 | if (toolAnim == "Slash") then | |
7627 | playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action) | |
7628 | return | |
7629 | end | |
7630 | ||
7631 | if (toolAnim == "Lunge") then | |
7632 | playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action) | |
7633 | return | |
7634 | end | |
7635 | end | |
7636 | ||
7637 | function getToolAnim(tool) | |
7638 | for _, c in ipairs(tool:GetChildren()) do | |
7639 | if c.Name == "toolanim" and c.className == "StringValue" then | |
7640 | return c | |
7641 | end | |
7642 | end | |
7643 | return nil | |
7644 | end | |
7645 | ||
7646 | local lastTick = 0 | |
7647 | ||
7648 | function stepAnimate(currentTime) | |
7649 | local amplitude = 1 | |
7650 | local frequency = 1 | |
7651 | local deltaTime = currentTime - lastTick | |
7652 | lastTick = currentTime | |
7653 | ||
7654 | local climbFudge = 0 | |
7655 | local setAngles = false | |
7656 | ||
7657 | if (jumpAnimTime > 0) then | |
7658 | jumpAnimTime = jumpAnimTime - deltaTime | |
7659 | end | |
7660 | ||
7661 | if (pose == "FreeFall" and jumpAnimTime <= 0) then | |
7662 | playAnimation("fall", fallTransitionTime, Humanoid) | |
7663 | elseif (pose == "Seated") then | |
7664 | playAnimation("sit", 0.5, Humanoid) | |
7665 | return | |
7666 | elseif (pose == "Running") then | |
7667 | if jumped == false or flying == false then | |
7668 | playAnimation("walk", 0.2, Humanoid) | |
7669 | end | |
7670 | elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then | |
7671 | stopAllAnimations() | |
7672 | amplitude = 0.1 | |
7673 | frequency = 1 | |
7674 | setAngles = true | |
7675 | end | |
7676 | ||
7677 | -- Tool Animation handling | |
7678 | local tool = Character:FindFirstChildOfClass("Tool") | |
7679 | if tool and (tool.RequiresHandle or tool:FindFirstChild("Handle")) then | |
7680 | ||
7681 | local animStringValueObject = getToolAnim(tool) | |
7682 | ||
7683 | if animStringValueObject then | |
7684 | toolAnim = animStringValueObject.Value | |
7685 | -- message recieved, delete StringValue | |
7686 | animStringValueObject.Parent = nil | |
7687 | toolAnimTime = currentTime + .3 | |
7688 | end | |
7689 | ||
7690 | if currentTime > toolAnimTime then | |
7691 | toolAnimTime = 0 | |
7692 | toolAnim = "None" | |
7693 | end | |
7694 | ||
7695 | animateTool() | |
7696 | else | |
7697 | stopToolAnimations() | |
7698 | toolAnim = "None" | |
7699 | toolAnimInstance = nil | |
7700 | toolAnimTime = 0 | |
7701 | end | |
7702 | end | |
7703 | ||
7704 | -- connect events | |
7705 | Humanoid.Died:connect(onDied) | |
7706 | Humanoid.Running:connect(onRunning) | |
7707 | Humanoid.Jumping:connect(onJumping) | |
7708 | Humanoid.Climbing:connect(onClimbing) | |
7709 | Humanoid.GettingUp:connect(onGettingUp) | |
7710 | Humanoid.FreeFalling:connect(onFreeFall) | |
7711 | Humanoid.FallingDown:connect(onFallingDown) | |
7712 | Humanoid.Seated:connect(onSeated) | |
7713 | Humanoid.PlatformStanding:connect(onPlatformStanding) | |
7714 | Humanoid.Swimming:connect(onSwimming) | |
7715 | ||
7716 | -- setup emote chat hook | |
7717 | game:GetService("Players").LocalPlayer.Chatted:connect(function(msg) | |
7718 | local emote = "" | |
7719 | if (string.sub(msg, 1, 3) == "/e ") then | |
7720 | emote = string.sub(msg, 4) | |
7721 | elseif (string.sub(msg, 1, 7) == "/emote ") then | |
7722 | emote = string.sub(msg, 8) | |
7723 | end | |
7724 | ||
7725 | if (pose == "Standing" and emoteNames[emote] ~= nil) then | |
7726 | playAnimation(emote, 0.1, Humanoid) | |
7727 | end | |
7728 | end) | |
7729 | ||
7730 | ||
7731 | ||
7732 | -- initialize to idle | |
7733 | ||
7734 | ||
7735 | -- loop to handle timed state transitions and tool animations | |
7736 | while Character.Parent ~= nil do | |
7737 | local _, currentGameTime = wait(0.1) | |
7738 | stepAnimate(currentGameTime) | |
7739 | end |