SHOW:
|
|
- or go back to the newest paste.
1 | - | -----------/XESTER THE CARD MASTER\\----------- |
1 | + | -----------/XESTER THE CARD MASTER [edited]\\----------- |
2 | --[[Movelist | |
3 | Q = The disappearing act. | |
4 | E = Full house | |
5 | R = Cardnado | |
6 | T = Teleport | |
7 | Y = Big card(Click to smash.) | |
8 | U = Black hole | |
9 | P = Card shield(Click to bounce people off, press p again to shred.) | |
10 | F = Transform(You can switch between modes any time.) | |
11 | -----------/SECOND FORM MOVES\----------- | |
12 | T = Laugh | |
13 | G = Fire ball | |
14 | H = Huge fire ball | |
15 | J = Dragon's breath(The longer you hold, the more insaner it gets.) | |
16 | K = Beam(The longer you hold down the key, the stronger it gets/longer it lasts.) | |
17 | ---------]] | |
18 | ||
19 | --"Now you see me 2" is a good movie, which is why i've made this.-- | |
20 | --oof | |
21 | --IF YOU'RE USING THIS IN A SB, BE SURE TO ALWAYS TYPE G/NL AFTER USING THIS SCRIPT!, IF YOU DON'T, IT'LL MESS UP!-- | |
22 | --DON'T YOU DARE REMOVE SB'S ROBLOX!!!-- | |
23 | --Do you hear those heavy footsteps? Hmmmm, what could it be?-- | |
24 | --Don't you guys just hate it when people come in sb just to be "overpowered"? Pisses me off.-- | |
25 | --If your character gets bugged, such as missing limbs, you can press . to fix yourself!-- | |
26 | ||
27 | ||
28 | --Look if this was logged cause I used it on VSB I'm sorry Supr, I know you won't be able to trust me again. | |
29 | --Creterisk | |
30 | ||
31 | wait(1/60) | |
32 | ||
33 | Player=game:GetService("Players").LocalPlayer | |
34 | Character=Player.Character | |
35 | Character.Humanoid.Name = "noneofurbusiness" | |
36 | hum = Character.noneofurbusiness | |
37 | LeftArm=Character["Left Arm"] | |
38 | LeftLeg=Character["Left Leg"] | |
39 | RightArm=Character["Right Arm"] | |
40 | RightLeg=Character["Right Leg"] | |
41 | Root=Character["HumanoidRootPart"] | |
42 | Head=Character["Head"] | |
43 | Torso=Character["Torso"] | |
44 | Neck=Torso["Neck"] | |
45 | walking = false | |
46 | jumping = false | |
47 | allowgrassy = false | |
48 | zxc = false | |
49 | matte = nil | |
50 | colori = nil | |
51 | bigball = false | |
52 | attacking = false | |
53 | laughing = false | |
54 | running = false | |
55 | downpress = false | |
56 | taim = nil | |
57 | change = 0 | |
58 | ws = 10 | |
59 | appi = false | |
60 | tauntdebounce = false | |
61 | position = nil | |
62 | staybooming = false | |
63 | MseGuide = true | |
64 | levitate = false | |
65 | firsttime5 = false | |
66 | notallowedtransform = false | |
67 | settime = 0 | |
68 | firsttime2 = false | |
69 | sine = 0 | |
70 | t = 0 | |
71 | combo1 = true | |
72 | dgs = 75 | |
73 | combo2 = false | |
74 | firsttime3 = false | |
75 | combo3 = false | |
76 | - | colortable = {"Really black","Really red"} |
76 | + | |
77 | colortable = {"White","Really Black"} | |
78 | colors = #colortable | |
79 | - | local aces = {1880203893,1881287656,1881287420,1881288034} |
79 | + | |
80 | local aces = {52658398,182077368,543521194,182077368} | |
81 | - | local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475} |
81 | + | |
82 | local laughs = {1368430534} | |
83 | laugh = #laughs | |
84 | mouse = Player:GetMouse() | |
85 | RunSrv = game:GetService("RunService") | |
86 | RenderStepped = game:GetService("RunService").RenderStepped | |
87 | removeuseless = game:GetService("Debris") | |
88 | damageall={} | |
89 | Repeater={} | |
90 | Repeater2={} | |
91 | magictable={} | |
92 | nonmeshRepeater={} | |
93 | nonmeshRepeater2={} | |
94 | dmgii={} | |
95 | DamageAll2={} | |
96 | SlowlyFade={} | |
97 | th1={} | |
98 | lolzor={} | |
99 | lolzor2={} | |
100 | th2={} | |
101 | keyYsize={} | |
102 | blocktrail={} | |
103 | keyYtransparency={} | |
104 | th3={} | |
105 | laughingtable={} | |
106 | Extreme={} | |
107 | ExtremeM={} | |
108 | ExtremeM2={} | |
109 | m3={} | |
110 | th4={} | |
111 | th5={} | |
112 | UpMover={} | |
113 | openshocktable={} | |
114 | LessSize={} | |
115 | ForwardMover={} | |
116 | FadeIn={} | |
117 | signtransparency={} | |
118 | signmover={} | |
119 | signrotator={} | |
120 | ||
121 | screenGui = Instance.new("ScreenGui") | |
122 | screenGui.Parent = script.Parent | |
123 | ||
124 | FireBall = Instance.new("Sound",LeftArm) | |
125 | FireBall.SoundId = "rbxassetid://842332424" | |
126 | FireBall.Volume = 5 | |
127 | FireBall.Pitch = 2.5 | |
128 | ||
129 | BigFireBall = Instance.new("Sound",LeftArm) | |
130 | BigFireBall.SoundId = "rbxassetid://842332424" | |
131 | BigFireBall.Volume = 8 | |
132 | BigFireBall.Pitch = 1.5 | |
133 | ||
134 | local HEADLERP = Instance.new("ManualWeld") | |
135 | HEADLERP.Parent = Head | |
136 | HEADLERP.Part0 = Head | |
137 | HEADLERP.Part1 = Head | |
138 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
139 | ||
140 | local TORSOLERP = Instance.new("ManualWeld") | |
141 | TORSOLERP.Parent = Root | |
142 | TORSOLERP.Part0 = Torso | |
143 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
144 | ||
145 | local ROOTLERP = Instance.new("ManualWeld") | |
146 | ROOTLERP.Parent = Root | |
147 | ROOTLERP.Part0 = Root | |
148 | ROOTLERP.Part1 = Torso | |
149 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
150 | ||
151 | local RIGHTARMLERP = Instance.new("ManualWeld") | |
152 | RIGHTARMLERP.Parent = RightArm | |
153 | RIGHTARMLERP.Part0 = RightArm | |
154 | RIGHTARMLERP.Part1 = Torso | |
155 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
156 | ||
157 | local LEFTARMLERP = Instance.new("ManualWeld") | |
158 | LEFTARMLERP.Parent = LeftArm | |
159 | LEFTARMLERP.Part0 = LeftArm | |
160 | LEFTARMLERP.Part1 = Torso | |
161 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
162 | ||
163 | local RIGHTLEGLERP = Instance.new("ManualWeld") | |
164 | RIGHTLEGLERP.Parent = RightLeg | |
165 | RIGHTLEGLERP.Part0 = RightLeg | |
166 | RIGHTLEGLERP.Part1 = Torso | |
167 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
168 | ||
169 | local LEFTLEGLERP = Instance.new("ManualWeld") | |
170 | LEFTLEGLERP.Parent = LeftLeg | |
171 | LEFTLEGLERP.Part0 = LeftLeg | |
172 | LEFTLEGLERP.Part1 = Torso | |
173 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
174 | ||
175 | local function weldBetween(a, b) | |
176 | local weld = Instance.new("ManualWeld", a) | |
177 | weld.Part0 = a | |
178 | weld.Part1 = b | |
179 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
180 | return weld | |
181 | end | |
182 | ||
183 | function makeblockytrail() | |
184 | coroutine.wrap(function() | |
185 | while true do | |
186 | for i,v in pairs(blocktrail) do | |
187 | smke = Instance.new("Part",v) | |
188 | smke.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
189 | smke.Material = "Neon" | |
190 | smke.Anchored = true | |
191 | smke.CanCollide = false | |
192 | removeuseless:AddItem(smke,2) | |
193 | end | |
194 | swait() | |
195 | end | |
196 | end)() | |
197 | end | |
198 | ||
199 | local function ci(x, c, y, n) | |
200 | so = Instance.new("Sound", x) | |
201 | so.SoundId = c | |
202 | so.Volume = y | |
203 | so.Looped = n | |
204 | end | |
205 | ||
206 | function ghost() | |
207 | fakeeyo2 = Instance.new("Part",Head) | |
208 | fakeeyo2.BrickColor = BrickColor.new("White") | |
209 | fakeeyo2.Material = "Neon" | |
210 | fakeeyo2.Shape = "Ball" | |
211 | fakeeyo2.Anchored = true | |
212 | fakeeyo2.CFrame = eyo2.CFrame | |
213 | fakeeyo2.CanCollide = false | |
214 | fakeeyo2.Size = Vector3.new(0.33, 0.33, 0.33) | |
215 | table.insert(ghosttable,fakeeyo2) | |
216 | removeuseless:AddItem(fakeeyo2,3) | |
217 | ||
218 | fakeeyo1 = Instance.new("Part",Head) | |
219 | fakeeyo1.BrickColor = BrickColor.new("White") | |
220 | fakeeyo1.Material = "Neon" | |
221 | fakeeyo1.Shape = "Ball" | |
222 | fakeeyo1.CanCollide = false | |
223 | fakeeyo1.Anchored = true | |
224 | fakeeyo1.CFrame = eyo1.CFrame | |
225 | fakeeyo1.Size = Vector3.new(0.33, 0.33, 0.33) | |
226 | table.insert(ghosttable,fakeeyo1) | |
227 | removeuseless:AddItem(fakeeyo1,3) | |
228 | ||
229 | fakemask = Instance.new("Part",Character) | |
230 | fakemask.Size = Vector3.new(1,1,1) | |
231 | fakemask.CFrame = mask.CFrame | |
232 | fakemask.Material = "Neon" | |
233 | fakemask.CanCollide = false | |
234 | fakemask.Anchored = true | |
235 | fakemask.BrickColor = BrickColor.new("White") | |
236 | fakemask.Transparency = .5 | |
237 | mfMask = Instance.new("SpecialMesh", fakemask) | |
238 | mfMask.MeshType = "FileMesh" | |
239 | - | mfMask.MeshId = 'http://www.roblox.com/asset/?id=5158270' |
239 | + | |
240 | mfMask.MeshId = 'http://www.roblox.com/asset/?id=130284724' | |
241 | table.insert(ghosttable,fakemask) | |
242 | removeuseless:AddItem(fakemask,3) | |
243 | ||
244 | ||
245 | fakejester = Instance.new("Part",Character) | |
246 | fakejester.Size = Vector3.new(2,2,2) | |
247 | fakejester.CFrame = jester.CFrame | |
248 | fakejester.CanCollide = false | |
249 | fakejester.Transparency = .5 | |
250 | fakejester.Anchored = true | |
251 | fakejester.BrickColor = BrickColor.new("White") | |
252 | fakejesterm = Instance.new("SpecialMesh", fakejester) | |
253 | fakejesterm.MeshType = "FileMesh" | |
254 | - | fakejesterm.MeshId = 'rbxassetid://1241662062' |
254 | + | |
255 | fakejesterm.MeshId = 'rbxassetid://0' | |
256 | table.insert(ghosttable,fakejester) | |
257 | removeuseless:AddItem(fakejester,3) | |
258 | ||
259 | ||
260 | fakehead = Instance.new("Part",Character) | |
261 | fakehead.Size = Vector3.new(1.01,1.01,1.01) | |
262 | fakehead.Anchored = true | |
263 | fakehead.CanCollide = false | |
264 | fakehead.Transparency = .5 | |
265 | fakehead.BrickColor = BrickColor.new("White") | |
266 | fakehead.Material = "Neon" | |
267 | fakehead.CFrame = Head.CFrame | |
268 | fakeheadmesh = Instance.new("SpecialMesh",fakehead) | |
269 | fakeheadmesh.MeshType = "Head" | |
270 | fakeheadmesh.Scale = Vector3.new(1.255,1.255,1.255) | |
271 | table.insert(ghosttable,fakehead) | |
272 | removeuseless:AddItem(fakehead,3) | |
273 | ||
274 | ||
275 | fakelarm = Instance.new("Part",Character) | |
276 | fakelarm.CFrame = LeftArm.CFrame | |
277 | fakelarm.Size = Vector3.new(1,2,1) | |
278 | fakelarm.CanCollide = false | |
279 | fakelarm.Transparency = .5 | |
280 | fakelarm.Material = "Neon" | |
281 | fakelarm.Anchored = true | |
282 | table.insert(ghosttable,fakelarm) | |
283 | removeuseless:AddItem(fakelarm,3) | |
284 | ||
285 | ||
286 | fakerarm = Instance.new("Part",Character) | |
287 | fakerarm.CFrame = RightArm.CFrame | |
288 | fakerarm.Size = Vector3.new(1,2,1) | |
289 | fakerarm.Transparency = .5 | |
290 | fakerarm.CanCollide = false | |
291 | fakerarm.Material = "Neon" | |
292 | fakerarm.Anchored = true | |
293 | table.insert(ghosttable,fakerarm) | |
294 | removeuseless:AddItem(fakerarm,3) | |
295 | ||
296 | ||
297 | fakelleg = Instance.new("Part",Character) | |
298 | fakelleg.CFrame = LeftLeg.CFrame | |
299 | fakelleg.Size = Vector3.new(1,2,1) | |
300 | fakelleg.Transparency = .5 | |
301 | fakelleg.CanCollide = false | |
302 | fakelleg.Material = "Neon" | |
303 | fakelleg.Anchored = true | |
304 | table.insert(ghosttable,fakelleg) | |
305 | removeuseless:AddItem(fakelleg,3) | |
306 | ||
307 | ||
308 | fakerleg = Instance.new("Part",Character) | |
309 | fakerleg.CFrame = RightLeg.CFrame | |
310 | fakerleg.Size = Vector3.new(1,2,1) | |
311 | fakerleg.Transparency = .5 | |
312 | fakerleg.CanCollide = false | |
313 | fakerleg.Material = "Neon" | |
314 | fakerleg.Anchored = true | |
315 | table.insert(ghosttable,fakerleg) | |
316 | removeuseless:AddItem(fakerleg,3) | |
317 | ||
318 | ||
319 | fakeTorso = Instance.new("Part",Character) | |
320 | fakeTorso.CFrame = Torso.CFrame | |
321 | fakeTorso.Size = Vector3.new(2,2,1) | |
322 | fakeTorso.Transparency = .5 | |
323 | fakeTorso.CanCollide = false | |
324 | fakeTorso.Material = "Neon" | |
325 | fakeTorso.Anchored = true | |
326 | table.insert(ghosttable,fakeTorso) | |
327 | removeuseless:AddItem(fakeTorso,3) | |
328 | end | |
329 | ||
330 | ghosttable={} | |
331 | coroutine.wrap(function() | |
332 | while true do | |
333 | for i,v in pairs(ghosttable) do | |
334 | v.Transparency = v.Transparency + 0.025 | |
335 | end | |
336 | wait() | |
337 | end | |
338 | end)() | |
339 | ||
340 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
341 | A = Instance.new("Attachment", PARENT) | |
342 | A.Position = POSITION1 | |
343 | A.Name = "A" | |
344 | B = Instance.new("Attachment", PARENT) | |
345 | B.Position = POSITION2 | |
346 | B.Name = "B" | |
347 | tr1 = Instance.new("Trail", PARENT) | |
348 | tr1.Attachment0 = A | |
349 | tr1.Attachment1 = B | |
350 | tr1.Enabled = true | |
351 | tr1.Lifetime = LIFETIME | |
352 | tr1.TextureMode = "Static" | |
353 | tr1.LightInfluence = 0 | |
354 | tr1.Color = COLOR | |
355 | tr1.Transparency = NumberSequence.new(0, 1) | |
356 | end | |
357 | ||
358 | function clean() | |
359 | damageall={} | |
360 | Repeater={} | |
361 | Repeater2={} | |
362 | nonmeshRepeater={} | |
363 | nonmeshRepeater2={} | |
364 | dmgii={} | |
365 | DamageAll2={} | |
366 | SlowlyFade={} | |
367 | th1={} | |
368 | th2={} | |
369 | th3={} | |
370 | Extreme={} | |
371 | ExtremeM={} | |
372 | ExtremeM2={} | |
373 | m3={} | |
374 | th4={} | |
375 | th5={} | |
376 | UpMover={} | |
377 | openshocktable={} | |
378 | LessSize={} | |
379 | ForwardMover={} | |
380 | FadeIn={} | |
381 | signtransparency={} | |
382 | signmover={} | |
383 | signrotator={} | |
384 | end | |
385 | ||
386 | coroutine.wrap(function() | |
387 | while wait() do | |
388 | hum.WalkSpeed = ws | |
389 | LeftArm.BrickColor = BrickColor.new("Really black") | |
390 | RightArm.BrickColor = BrickColor.new("Really black") | |
391 | Head.BrickColor = BrickColor.new("Really black") | |
392 | end | |
393 | end)() | |
394 | godmode = coroutine.wrap(function() | |
395 | for i,v in pairs(Character:GetChildren()) do | |
396 | if v:IsA("BasePart") and v ~= Root then | |
397 | v.Anchored = false | |
398 | end | |
399 | end | |
400 | while true do | |
401 | hum.MaxHealth = math.huge | |
402 | wait(0.0000001) | |
403 | hum.Health = math.huge | |
404 | wait() | |
405 | end | |
406 | end) | |
407 | godmode() | |
408 | ff = Instance.new("ForceField", Character) | |
409 | ff.Visible = false | |
410 | ||
411 | coroutine.wrap(function() | |
412 | for i,v in pairs(Character:GetChildren()) do | |
413 | if v.Name == "Animate" then v:Remove() | |
414 | end | |
415 | end | |
416 | end)() | |
417 | ||
418 | function damagealll(Radius,Position) | |
419 | local Returning = {} | |
420 | for _,v in pairs(workspace:GetChildren()) do | |
421 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then | |
422 | if v:FindFirstChild("Torso") then | |
423 | local Mag = (v.Torso.Position - Position).magnitude | |
424 | if Mag < Radius then | |
425 | table.insert(Returning,v) | |
426 | end | |
427 | elseif v:FindFirstChild("UpperTorso") then | |
428 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
429 | if Mag < Radius then | |
430 | table.insert(Returning,v) | |
431 | end | |
432 | end | |
433 | end | |
434 | end | |
435 | return Returning | |
436 | end | |
437 | ||
438 | ArtificialHB = Instance.new("BindableEvent", script) | |
439 | ArtificialHB.Name = "Heartbeat" | |
440 | script:WaitForChild("Heartbeat") | |
441 | ||
442 | frame = 1 / 60 | |
443 | tf = 0 | |
444 | allowframeloss = false | |
445 | tossremainder = false | |
446 | ||
447 | ||
448 | lastframe = tick() | |
449 | script.Heartbeat:Fire() | |
450 | ||
451 | ||
452 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
453 | tf = tf + s | |
454 | if tf >= frame then | |
455 | if allowframeloss then | |
456 | script.Heartbeat:Fire() | |
457 | lastframe = tick() | |
458 | else | |
459 | for i = 1, math.floor(tf / frame) do | |
460 | script.Heartbeat:Fire() | |
461 | end | |
462 | lastframe = tick() | |
463 | end | |
464 | if tossremainder then | |
465 | tf = 0 | |
466 | else | |
467 | tf = tf - frame * math.floor(tf / frame) | |
468 | end | |
469 | end | |
470 | end) | |
471 | ||
472 | function swait(num) | |
473 | if num == 0 or num == nil then | |
474 | game:service("RunService").Stepped:wait(0) | |
475 | else | |
476 | for i = 0, num do | |
477 | game:service("RunService").Stepped:wait(0) | |
478 | end | |
479 | end | |
480 | end | |
481 | ||
482 | doomtheme = Instance.new("Sound", Torso) | |
483 | doomtheme.Volume = 0 | |
484 | doomtheme.Name = "doomtheme" | |
485 | - | doomtheme.SoundId = "rbxassetid://1843358057" |
485 | + | |
486 | doomtheme.SoundId = "rbxassetid://2534785563" | |
487 | doomtheme:Play() | |
488 | ||
489 | Torso.ChildRemoved:connect(function(removed) | |
490 | if removed.Name == "doomtheme" then | |
491 | if levitate then | |
492 | doomtheme = Instance.new("Sound", Torso) | |
493 | doomtheme.Volume = 3 | |
494 | doomtheme.Name = "doomtheme" | |
495 | - | doomtheme.SoundId = "rbxassetid://1382488262" |
495 | + | |
496 | doomtheme.SoundId = "rbxassetid://2545086702" | |
497 | doomtheme:Play() | |
498 | else | |
499 | doomtheme = Instance.new("Sound", Torso) | |
500 | doomtheme.Volume = 3 | |
501 | doomtheme.Name = "doomtheme" | |
502 | - | doomtheme.SoundId = "rbxassetid://1843358057" |
502 | + | |
503 | doomtheme.SoundId = "rbxassetid://2545298782" | |
504 | doomtheme:Play() | |
505 | doomtheme.TimePosition = 20.7 | |
506 | end | |
507 | end | |
508 | end) | |
509 | ||
510 | for _,n in pairs(Character:GetChildren()) do | |
511 | if n:IsA("Accessory") then n:Remove() end | |
512 | end | |
513 | for _,x in pairs(Character:GetChildren()) do | |
514 | if x:IsA("Decal") then x:Remove() end | |
515 | end | |
516 | ||
517 | glow = Instance.new("Part",Head) | |
518 | glow.Size = Vector3.new(.488,.3,.1) | |
519 | glow.CanCollide = false | |
520 | glow.Material = "Neon" | |
521 | glow.Transparency = 1 | |
522 | glow.BrickColor = BrickColor.new("Really white") | |
523 | glowweld = weldBetween(glow,Head) | |
524 | glowweld.C0 = CFrame.new(0,.2,.565) | |
525 | ||
526 | leftlocation = Instance.new("Part",LeftArm) | |
527 | leftlocation.Size = Vector3.new(1,1,1) | |
528 | leftlocation.Transparency = 1 | |
529 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
530 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
531 | rightlocation = Instance.new("Part",RightArm) | |
532 | rightlocation.Size = Vector3.new(1,1,1) | |
533 | rightlocation.Transparency = 1 | |
534 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
535 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
536 | ||
537 | shirt = Instance.new("Shirt", Character) | |
538 | shirt.Name = "Shirt" | |
539 | pants = Instance.new("Pants", Character) | |
540 | - | Character.Shirt.ShirtTemplate = "rbxassetid://676428254"----lol |
540 | + | |
541 | - | Character.Pants.PantsTemplate = "rbxassetid://676428351" |
541 | + | |
542 | Character.Pants.PantsTemplate = "rbxassetid://10965875" | |
543 | ||
544 | fakehed = Instance.new("Part",Character) | |
545 | fakehed.Size = Vector3.new(1.01,1.01,1.01) | |
546 | fakehed.Anchored = false | |
547 | fakehed.CanCollide = false | |
548 | - | fakehed.BrickColor = BrickColor.new("Really black") |
548 | + | |
549 | fakehed.BrickColor = BrickColor.new("White") | |
550 | fakehed.Material = "Neon" | |
551 | fakehed.CFrame = Head.CFrame | |
552 | fakehedweld = weldBetween(fakehed,Head) | |
553 | fakehedmesh = Instance.new("SpecialMesh",fakehed) | |
554 | fakehedmesh.MeshType = "Head" | |
555 | fakehedmesh.Scale = Vector3.new(1.255,1.255,1.255) | |
556 | ||
557 | jester = Instance.new("Part",Character) | |
558 | jester.Size = Vector3.new(2,2,2) | |
559 | jester.CFrame = Head.CFrame | |
560 | jester.CanCollide = false | |
561 | jesterWeld = Instance.new("Weld",jester) | |
562 | jesterWeld.Part0 = jester | |
563 | jesterWeld.Part1 = Head | |
564 | jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0) | |
565 | mjester = Instance.new("SpecialMesh", jester) | |
566 | mjester.MeshType = "FileMesh" | |
567 | - | mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395' |
567 | + | |
568 | mjester.MeshId,mjester.TextureId = 'rbxassetid://0','rbxassetid://1241662395' | |
569 | ||
570 | mask = Instance.new("Part",Character) | |
571 | mask.Size = Vector3.new(1,1,1) | |
572 | mask.CFrame = Head.CFrame | |
573 | mask.CanCollide = false | |
574 | maskweld = weldBetween(mask,Head) | |
575 | maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0) | |
576 | mMask = Instance.new("SpecialMesh", mask) | |
577 | mMask.MeshType = "FileMesh" | |
578 | - | mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585' |
578 | + | |
579 | mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=130284724','http://www.roblox.com/asset/?id=0' | |
580 | ||
581 | eyo1 = Instance.new("Part",Head) | |
582 | eyo1.BrickColor = BrickColor.new("White") | |
583 | eyo1.Material = "Neon" | |
584 | eyo1.Shape = "Ball" | |
585 | eyo1.Name = "eyo1" | |
586 | eyo1.CanCollide = false | |
587 | eyo1.Size = Vector3.new(0.33, 0.33, 0.33) | |
588 | eyo1weld = weldBetween(eyo1,Head) | |
589 | eyo1weld.C0 = CFrame.new(.215,-.05,.52) | |
590 | ||
591 | light = Instance.new("PointLight", eyo1) | |
592 | light.Color = Color3.new(1,1,1) | |
593 | light.Range = 3 | |
594 | light.Brightness = 4 | |
595 | light.Enabled = true | |
596 | ||
597 | eyo2 = Instance.new("Part",Head) | |
598 | eyo2.BrickColor = BrickColor.new("White") | |
599 | eyo2.Material = "Neon" | |
600 | eyo2.Shape = "Ball" | |
601 | eyo2.Name = "eyo2" | |
602 | eyo2.CanCollide = false | |
603 | eyo2.Size = Vector3.new(0.33, 0.33, 0.33) | |
604 | eyo2weld = weldBetween(eyo2,Head) | |
605 | eyo2weld.C0 = CFrame.new(-.215,-.05,.52) | |
606 | ||
607 | light2 = Instance.new("PointLight", eyo2) | |
608 | light2.Color = Color3.new(1,1,1) | |
609 | light2.Range = 3 | |
610 | light2.Brightness = 4 | |
611 | light2.Enabled = true | |
612 | ||
613 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
614 | so = Instance.new("Sound") | |
615 | so.Parent = PARENT | |
616 | so.SoundId = "rbxassetid://"..ID | |
617 | so.Volume = VOL | |
618 | so.Looped = LOOP | |
619 | so:Play() | |
620 | removeuseless:AddItem(so,REMOVE) | |
621 | end | |
622 | ||
623 | ||
624 | mouse.KeyDown:connect(function(Press) | |
625 | Press=Press:lower() | |
626 | if Press=='r' then | |
627 | if levitate then return end | |
628 | if debounce then return end | |
629 | debounce = true | |
630 | attacking = true | |
631 | appi = true | |
632 | ws = 0 | |
633 | coroutine.wrap(function() | |
634 | while appi do | |
635 | wait() | |
636 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
637 | position = "Idle2" | |
638 | end | |
639 | end | |
640 | end)() | |
641 | coroutine.wrap(function() | |
642 | while appi do | |
643 | wait() | |
644 | settime = 0.05 | |
645 | sine = sine + change | |
646 | if position == "Idle2" and attacking == true and appi == true then | |
647 | change = .4 | |
648 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
649 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
650 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
651 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
652 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
653 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
654 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
655 | end | |
656 | end | |
657 | end)() | |
658 | for i = 1, 20 do | |
659 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
660 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
661 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
662 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5) | |
663 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3) | |
664 | swait() | |
665 | end | |
666 | SOUND(RightArm,342337569,6,false,1) | |
667 | coroutine.wrap(function() | |
668 | for i = 1, 9 do | |
669 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.1,1.6,-.1),.5) | |
670 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(15)),.3) | |
671 | swait() | |
672 | end | |
673 | for i = 1, 9 do | |
674 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5) | |
675 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3) | |
676 | swait() | |
677 | end | |
678 | end)() | |
679 | shockwave = Instance.new("Part",Torso) | |
680 | shockwave.Shape = "Ball" | |
681 | shockwave.Size = Vector3.new(1,1,1) | |
682 | shockwave.BrickColor = BrickColor.new("White") | |
683 | shockwave.Material = "Neon" | |
684 | shockwave.CFrame = Torso.CFrame | |
685 | shockwave.CanCollide = false | |
686 | shockwave.Anchored = true | |
687 | coroutine.wrap(function() | |
688 | for i = 1, 20 do | |
689 | shockwave.Size = shockwave.Size + Vector3.new(1.8,1.8,1.8) | |
690 | shockwave.Transparency = shockwave.Transparency + 0.05 | |
691 | wait() | |
692 | end | |
693 | end)() | |
694 | SOUND(Torso,1072606965,0,false,10) | |
695 | coroutine.wrap(function() | |
696 | for i = 1, 10 do | |
697 | so.Volume = so.Volume + 0.3 | |
698 | wait() | |
699 | end | |
700 | end)() | |
701 | for i = 1, 35 do | |
702 | local Hit = damagealll(22,Torso.Position) | |
703 | for _,v in pairs(Hit) do | |
704 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(17,35)) | |
705 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
706 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
707 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
708 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20 | |
709 | removeuseless:AddItem(vel,.1) | |
710 | end | |
711 | wave = Instance.new("Part", Torso) | |
712 | wave.Size = Vector3.new(1, 1, 1) | |
713 | wave.Transparency = 0 | |
714 | wave.BrickColor = BrickColor.new("White") | |
715 | wave.Anchored = true | |
716 | wave.CanCollide = false | |
717 | wave.CFrame = Root.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
718 | wavemesh = Instance.new("SpecialMesh", wave) | |
719 | wavemesh.MeshId = "rbxassetid://20329976" | |
720 | wavemesh.Scale = Vector3.new(1, 1, 1) | |
721 | table.insert(th2,wave) | |
722 | table.insert(SlowlyFade,wave) | |
723 | table.insert(th5,wavemesh) | |
724 | removeuseless:AddItem(wave,2) | |
725 | CardStorm = Instance.new("Part",Torso) | |
726 | CardStorm.Size = Vector3.new(.1,.1,.1) | |
727 | CardStorm.CFrame = Root.CFrame * CFrame.new(0,3.2,0) | |
728 | CardStorm.Anchored = true | |
729 | CardStormMesh = Instance.new("SpecialMesh", CardStorm) | |
730 | CardStormMesh.Scale = Vector3.new(1,1,1) | |
731 | - | CardStormMesh.TextureId = "rbxassetid://55364685" |
731 | + | |
732 | CardStormMesh.TextureId = "rbxassetid://2347553178" | |
733 | table.insert(SlowlyFade,CardStorm) | |
734 | table.insert(m3,CardStormMesh) | |
735 | table.insert(th1,CardStorm) | |
736 | removeuseless:AddItem(CardStorm,3) | |
737 | wait(.1) | |
738 | end | |
739 | coroutine.wrap(function() | |
740 | for i = 1, 10 do | |
741 | so.Volume = so.Volume - 0.3 | |
742 | wait() | |
743 | end | |
744 | end)() | |
745 | wait(1) | |
746 | ws = 10 | |
747 | clean() | |
748 | attacking = false | |
749 | debounce = false | |
750 | appi = false | |
751 | end | |
752 | end) | |
753 | ||
754 | mouse.KeyDown:connect(function(Press) | |
755 | Press=Press:lower() | |
756 | if Press=='e' then | |
757 | if levitate then return end | |
758 | if debounce then return end | |
759 | attacking = true | |
760 | debounce = true | |
761 | damagedebounce = false | |
762 | clickdisallowance = true | |
763 | clickdebounce = false | |
764 | notallowed = true | |
765 | appi = true | |
766 | ws = 0 | |
767 | coroutine.wrap(function() | |
768 | while appi do | |
769 | wait() | |
770 | if Root.Velocity.y > 1 and attacking == true then | |
771 | position = "Jump2" | |
772 | elseif Root.Velocity.y < -1 and attacking == true then | |
773 | position = "Falling2" | |
774 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
775 | position = "Idle2" | |
776 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
777 | position = "Walking2" | |
778 | end | |
779 | end | |
780 | end)() | |
781 | coroutine.wrap(function() | |
782 | while appi do | |
783 | wait() | |
784 | settime = 0.05 | |
785 | sine = sine + change | |
786 | if position == "Jump2" and attacking == true and appi == true then | |
787 | change = 1 | |
788 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
789 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
790 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
791 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
792 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4) | |
793 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
794 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
795 | elseif position == "Falling2" and attacking == true and appi == true then | |
796 | change = 1 | |
797 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
798 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
799 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
800 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
801 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
802 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2) | |
803 | elseif position == "Idle2" and attacking == true and appi == true then | |
804 | change = .4 | |
805 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
806 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
807 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
808 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
809 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
810 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
811 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
812 | elseif position == "Walking2" and attacking == true and appi == true then | |
813 | change = .8 | |
814 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
815 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
816 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
817 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
818 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.sin(25*math.sin(sine/8))),.3) | |
819 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.sin(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.sin(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.sin(25 * math.sin(sine/8))), 0.3) | |
820 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.sin(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.sin(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.sin(25 * math.sin(sine/8))), 0.3) | |
821 | end | |
822 | end | |
823 | end)() | |
824 | coroutine.wrap(function() | |
825 | for i = 1, 40 do | |
826 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0),.5) | |
827 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/6)),math.rad(7 * math.sin(sine/6)),math.rad(7*math.sin(sine/6))), 0.5) | |
828 | swait() | |
829 | end | |
830 | end)() | |
831 | haloh = Instance.new("Part", Torso) | |
832 | haloh.Size = Vector3.new(1,1,1) | |
833 | haloh.Anchored = false | |
834 | haloh.Transparency = 1 | |
835 | haloh.CanCollide = false | |
836 | halohweld = weldBetween(haloh,Torso) | |
837 | halohweld.C0 = CFrame.new(0,0,0) | |
838 | n = 0 | |
839 | x = 0 | |
840 | tab={} | |
841 | tab2={} | |
842 | SOUND(Torso,1882057730,6,false,2) | |
843 | for i = 1, 20 do | |
844 | n = n + 20 | |
845 | x = x + 5 | |
846 | halo = Instance.new("Part", Torso) | |
847 | halo.Size = Vector3.new(0.71, 0.07, 0.99) | |
848 | halo.Transparency = 1 | |
849 | halo.CanCollide = false | |
850 | halo.Material = "Neon" | |
851 | halo.BrickColor = BrickColor.new("White") | |
852 | halow = weldBetween(halo,haloh) | |
853 | halow.C0 = CFrame.new(-4,0,0) * CFrame.Angles(math.rad(90),math.rad(n),math.rad(0)) | |
854 | table.insert(FadeIn,halo) | |
855 | table.insert(tab,halow) | |
856 | table.insert(tab2,halo) | |
857 | wait() | |
858 | end | |
859 | ws = 10 | |
860 | clickdisallowance = false | |
861 | coroutine.wrap(function() | |
862 | g1 = Instance.new("BodyGyro", Root) | |
863 | g1.D = 175 | |
864 | g1.P = 20000 | |
865 | g1.MaxTorque = Vector3.new(0,9000,0) | |
866 | while notallowed do | |
867 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
868 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
869 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3) | |
870 | swait() | |
871 | end | |
872 | end)() | |
873 | coroutine.wrap(function() | |
874 | mouse.Button1Down:connect(function() | |
875 | if clickdisallowance then return end | |
876 | if clickdebounce then return end | |
877 | wait(.2) | |
878 | clickdebounce = true | |
879 | notallowed = false | |
880 | end) | |
881 | end)() | |
882 | while notallowed do | |
883 | for i,v in pairs(tab) do | |
884 | v.C0 = v.C0 * CFrame.Angles(math.rad(0),math.rad(0 + 1.2),math.rad(0)) | |
885 | end | |
886 | swait() | |
887 | end | |
888 | appi = false | |
889 | ws = 0 | |
890 | for i = 1, 15 do | |
891 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
892 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
893 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.3) | |
894 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3) | |
895 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3) | |
896 | swait() | |
897 | end | |
898 | for i,v in pairs(tab) do | |
899 | v:Remove() | |
900 | end | |
901 | for i,v in pairs(tab2) do | |
902 | removeuseless:AddItem(v,6) | |
903 | MAKETRAIL(v,Vector3.new(.1,0,0),Vector3.new(-.1,0,0),.8,ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color)) | |
904 | BodyGyro=Instance.new('BodyGyro',v) | |
905 | BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
906 | BodyGyro.P=2e4 | |
907 | removeuseless:AddItem(BodyGyro,.1) | |
908 | PB2 = Instance.new("BodyVelocity", v) | |
909 | PB2.MaxForce = Vector3.new(999999, 999999, 999999) | |
910 | v.CFrame = CFrame.new(v.Position,mouse.Hit.p) | |
911 | PB2.Velocity = v.CFrame.lookVector * 80 | |
912 | end | |
913 | SOUND(Torso,1499747506,3,false,1) | |
914 | for i,v in pairs(tab2) do | |
915 | v.Touched:connect(function(hit) | |
916 | if hit.Parent:IsA("Part") then | |
917 | elseif hit.Parent:IsA("SpecialMesh") then | |
918 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
919 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
920 | if damagedebounce == true then return end | |
921 | damagedebounce = true | |
922 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
923 | tor = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
924 | Slachtoffer:TakeDamage(math.random(17,35)) | |
925 | SOUND(tor,694703797,6,false,1) | |
926 | wait(.1) | |
927 | damagedebounce = false | |
928 | end | |
929 | end) | |
930 | end | |
931 | for i = 1, 20 do | |
932 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
933 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
934 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-25), math.rad(0)), 0.3) | |
935 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
936 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-15), math.rad(4)), 0.3) | |
937 | swait() | |
938 | end | |
939 | clean() | |
940 | g1:Remove() | |
941 | haloh:Remove() | |
942 | attacking = false | |
943 | debounce = false | |
944 | damagedebounce = false | |
945 | clickdebounce = false | |
946 | appi = false | |
947 | ws = 10 | |
948 | end | |
949 | end) | |
950 | ||
951 | mouse.KeyDown:connect(function(Press) | |
952 | Press=Press:lower() | |
953 | if Press=='y' then | |
954 | if levitate then return end | |
955 | if debounce then return end | |
956 | clickdisallowance = true | |
957 | clickdebounce = false | |
958 | debounce = true | |
959 | attacking = true | |
960 | appi = true | |
961 | ws = 0 | |
962 | coroutine.wrap(function() | |
963 | while appi do | |
964 | wait() | |
965 | if Root.Velocity.y > 1 and attacking == true then | |
966 | position = "Jump2" | |
967 | elseif Root.Velocity.y < -1 and attacking == true then | |
968 | position = "Falling2" | |
969 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
970 | position = "Idle2" | |
971 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
972 | position = "Walking2" | |
973 | end | |
974 | end | |
975 | end)() | |
976 | coroutine.wrap(function() | |
977 | while appi do | |
978 | wait() | |
979 | settime = 0.05 | |
980 | sine = sine + change | |
981 | if position == "Jump2" and attacking == true and appi == true then | |
982 | change = 1 | |
983 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
984 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
985 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
986 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
987 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4) | |
988 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
989 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
990 | elseif position == "Falling2" and attacking == true and appi == true then | |
991 | change = 1 | |
992 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
993 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
994 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
995 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
996 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
997 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
998 | elseif position == "Idle2" and attacking == true and appi == true then | |
999 | change = .4 | |
1000 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1001 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1002 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
1003 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
1004 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
1005 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1006 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1007 | elseif position == "Walking2" and attacking == true and appi == true then | |
1008 | change = .8 | |
1009 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1010 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1011 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
1012 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
1013 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3) | |
1014 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
1015 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
1016 | end | |
1017 | end | |
1018 | end)() | |
1019 | bigcard = Instance.new("Part",Torso) | |
1020 | bigcard.Material = "Neon" | |
1021 | bigcard.Transparency = 1 | |
1022 | bigcard.BrickColor = BrickColor.new("White") | |
1023 | bigcard.Size = Vector3.new(15.65, 23.84, 0.3) | |
1024 | bigcard.CFrame = Root.CFrame * CFrame.new(0,18,0) | |
1025 | bigcard.Anchored = true | |
1026 | SOUND(bigcard,236989198,6,false,1) | |
1027 | ace = aces[math.random(1,#aces)] | |
1028 | acer = Instance.new("Decal",bigcard) | |
1029 | acer.Texture = "rbxassetid://"..ace | |
1030 | acer.Transparency = 1 | |
1031 | acer.Face = "Front" | |
1032 | ace2 = acer:Clone() | |
1033 | ace2.Parent = bigcard | |
1034 | ace2.Face = "Back" | |
1035 | table.insert(FadeIn,acer) | |
1036 | table.insert(FadeIn,ace2) | |
1037 | table.insert(FadeIn,bigcard) | |
1038 | for i = 1, 30 do | |
1039 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5) | |
1040 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3) | |
1041 | swait() | |
1042 | end | |
1043 | ws = 10 | |
1044 | g1 = Instance.new("BodyGyro", Root) | |
1045 | g1.D = 175 | |
1046 | g1.P = 20000 | |
1047 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1048 | clickdisallowance = false | |
1049 | coroutine.wrap(function() | |
1050 | mouse.Button1Down:connect(function() | |
1051 | if clickdisallowance then return end | |
1052 | if clickdebounce then return end | |
1053 | wait(.2) | |
1054 | clickdebounce = true | |
1055 | end) | |
1056 | end)() | |
1057 | while not clickdebounce do | |
1058 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1059 | bigcard.CFrame = Root.CFrame * CFrame.new(0,18,0) | |
1060 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10 + 2 *math.sin(sine/12)),math.rad(10 - 2*math.sin(sine/12))),.3) | |
1061 | swait() | |
1062 | end | |
1063 | g1:Remove() | |
1064 | ws = 0 | |
1065 | for i = 1, 13 do | |
1066 | bigcard.CFrame = bigcard.CFrame:lerp(Root.CFrame * CFrame.new(0,18,3) * CFrame.Angles(math.rad(10),0,0),.3) | |
1067 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0.2) * CFrame.Angles(math.rad(160),math.rad(10),math.rad(10)),.3) | |
1068 | swait() | |
1069 | end | |
1070 | locationpart = Instance.new("Part",bigcard) | |
1071 | locationpart.Size = Vector3.new(1,1,1) | |
1072 | locationpart.Transparency = 1 | |
1073 | locationpart.CanCollide = false | |
1074 | locationpart.Anchored = true | |
1075 | locationpart.CFrame = Root.CFrame * CFrame.new(0,-3,-21) | |
1076 | shockwave = Instance.new("Part", Torso) | |
1077 | shockwave.Size = Vector3.new(1,1,1) | |
1078 | shockwave.CanCollide = false | |
1079 | shockwave.Anchored = true | |
1080 | shockwave.Transparency = 0 | |
1081 | shockwave.BrickColor = BrickColor.new("White") | |
1082 | shockwave.CFrame = CFrame.new(locationpart.Position) | |
1083 | shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
1084 | shockwavemesh.Scale = Vector3.new(5,2,5) | |
1085 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
1086 | removeuseless:AddItem(shockwave,4) | |
1087 | shockwave2 = Instance.new("Part", Torso) | |
1088 | shockwave2.Size = Vector3.new(1,1,1) | |
1089 | shockwave2.CanCollide = false | |
1090 | shockwave2.Anchored = true | |
1091 | shockwave2.Transparency = 0 | |
1092 | shockwave2.BrickColor = BrickColor.new("White") | |
1093 | shockwave2.CFrame = CFrame.new(locationpart.Position) | |
1094 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
1095 | shockwavemesh2.Scale = Vector3.new(5,2,5) | |
1096 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
1097 | removeuseless:AddItem(shockwave2,4) | |
1098 | shockwave3 = Instance.new("Part", Torso) | |
1099 | shockwave3.Size = Vector3.new(1,1,1) | |
1100 | shockwave3.CanCollide = false | |
1101 | shockwave3.Anchored = true | |
1102 | shockwave3.Transparency = 0 | |
1103 | shockwave3.BrickColor = BrickColor.new("White") | |
1104 | shockwave3.CFrame = CFrame.new(locationpart.Position) | |
1105 | shockwavemesh3 = Instance.new("SpecialMesh", shockwave3) | |
1106 | shockwavemesh3.Scale = Vector3.new(5,2,5) | |
1107 | shockwavemesh3.MeshId = "rbxassetid://20329976" | |
1108 | removeuseless:AddItem(shockwave3,4) | |
1109 | shockwave4 = Instance.new("Part", Torso) | |
1110 | shockwave4.Size = Vector3.new(1,1,1) | |
1111 | shockwave4.CanCollide = false | |
1112 | shockwave4.Anchored = true | |
1113 | shockwave4.Transparency = 0 | |
1114 | shockwave4.BrickColor = BrickColor.new("White") | |
1115 | shockwave4.CFrame = CFrame.new(locationpart.Position) | |
1116 | shockwavemesh4 = Instance.new("SpecialMesh", shockwave4) | |
1117 | shockwavemesh4.Scale = Vector3.new(5,2,5) | |
1118 | shockwavemesh4.MeshId = "rbxassetid://20329976" | |
1119 | removeuseless:AddItem(shockwave4,4) | |
1120 | Hit = damagealll(20,locationpart.Position) | |
1121 | for _,v in pairs(Hit) do | |
1122 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(55,85)) | |
1123 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1124 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1125 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1126 | vel.velocity = CFrame.new(locationpart.Position,torso.Position).lookVector*110 | |
1127 | removeuseless:AddItem(vel,.1) | |
1128 | end | |
1129 | coroutine.wrap(function() | |
1130 | for i = 1, 90 do | |
1131 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+12),0) | |
1132 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(1.5,.1,1.5) | |
1133 | shockwave.Transparency = shockwave.Transparency + 0.025 | |
1134 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+6),0) | |
1135 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1.25,.25,1.25) | |
1136 | shockwave2.Transparency = shockwave2.Transparency + 0.04 | |
1137 | shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(0,math.rad(0+12),0) | |
1138 | shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(.75,.75,.75) | |
1139 | shockwave3.Transparency = shockwave3.Transparency + 0.035 | |
1140 | shockwave4.CFrame = shockwave3.CFrame * CFrame.Angles(0,math.rad(0+5),0) | |
1141 | shockwavemesh4.Scale = shockwavemesh3.Scale + Vector3.new(2.5,.5,2.5) | |
1142 | shockwave4.Transparency = shockwave3.Transparency + 0.03 | |
1143 | swait() | |
1144 | end | |
1145 | end)() | |
1146 | SOUND(locationpart,765590102,6,false,2) | |
1147 | for i = 1, 24 do | |
1148 | bigcard.CFrame = bigcard.CFrame:lerp(Root.CFrame * CFrame.new(0,-3,-21) * CFrame.Angles(math.rad(90),0,0),.25) | |
1149 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.2,.2,.2) * CFrame.Angles(0,0,0),.5) | |
1150 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.1, 0.4) * CFrame.Angles(math.rad(-75), math.rad(15), math.rad(4)), 0.5) | |
1151 | swait() | |
1152 | end | |
1153 | for i = 1, 40 do | |
1154 | bigcard.Transparency = bigcard.Transparency + 0.2 | |
1155 | acer.Transparency = acer.Transparency + .2 | |
1156 | ace2.Transparency = ace2.Transparency + .2 | |
1157 | swait() | |
1158 | end | |
1159 | attacking = false | |
1160 | debounce = false | |
1161 | appi = false | |
1162 | clickdisallowance = false | |
1163 | clickdebounce = false | |
1164 | ws = 10 | |
1165 | bigcard:Remove() | |
1166 | clean() | |
1167 | end | |
1168 | end) | |
1169 | ||
1170 | mouse.KeyDown:connect(function(Press) | |
1171 | Press=Press:lower() | |
1172 | if Press=='u' then | |
1173 | if levitate then return end | |
1174 | if mouse.Target ~= nil then end | |
1175 | if debounce then return end | |
1176 | debounce = true | |
1177 | attacking = true | |
1178 | appi = true | |
1179 | ws = 0 | |
1180 | appi = true | |
1181 | coroutine.wrap(function() | |
1182 | while appi do | |
1183 | wait() | |
1184 | if Root.Velocity.y > 1 and attacking == true then | |
1185 | position = "Jump2" | |
1186 | elseif Root.Velocity.y < -1 and attacking == true then | |
1187 | position = "Falling2" | |
1188 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
1189 | position = "Idle2" | |
1190 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
1191 | position = "Walking2" | |
1192 | end | |
1193 | end | |
1194 | end)() | |
1195 | coroutine.wrap(function() | |
1196 | while appi do | |
1197 | wait() | |
1198 | settime = 0.05 | |
1199 | sine = sine + change | |
1200 | if position == "Jump2" and attacking == true and appi == true then | |
1201 | change = 1 | |
1202 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1203 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1204 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
1205 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
1206 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4) | |
1207 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
1208 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
1209 | elseif position == "Falling2" and attacking == true and appi == true then | |
1210 | change = 1 | |
1211 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1212 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1213 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
1214 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
1215 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
1216 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
1217 | elseif position == "Idle2" and attacking == true and appi == true then | |
1218 | change = .4 | |
1219 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1220 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1221 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
1222 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
1223 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
1224 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1225 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1226 | elseif position == "Walking2" and attacking == true and appi == true then | |
1227 | change = .8 | |
1228 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1229 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1230 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
1231 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
1232 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3) | |
1233 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
1234 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
1235 | end | |
1236 | end | |
1237 | end)() | |
1238 | g1 = Instance.new("BodyGyro", Root) | |
1239 | g1.D = 175 | |
1240 | g1.P = 20000 | |
1241 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1242 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
1243 | for i = 1, 15 do | |
1244 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1245 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5) | |
1246 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3) | |
1247 | swait() | |
1248 | end | |
1249 | cardportal = Instance.new("Part", Torso) | |
1250 | cardportal.Size = Vector3.new(0.5, 0.5, 0.5) | |
1251 | cardportal.Material = "Neon" | |
1252 | cardportal.BrickColor = BrickColor.new("White") | |
1253 | cardportal.Transparency = 0 | |
1254 | cardportal.Anchored = true | |
1255 | cardportal.CanCollide = false | |
1256 | cardportalMESH = Instance.new("SpecialMesh", cardportal) | |
1257 | cardportalMESH.MeshType = "Cylinder" | |
1258 | cardportalMESH.Scale = Vector3.new(.2,0.01,0.01) | |
1259 | cardportal.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)) | |
1260 | for i = 1, 10 do | |
1261 | cardportalMESH.Scale = cardportalMESH.Scale + Vector3.new(0,4,4) | |
1262 | swait() | |
1263 | end | |
1264 | bigzcard = Instance.new("Part",Torso) | |
1265 | bigzcard.Material = "Neon" | |
1266 | bigzcard.Transparency = 0 | |
1267 | bigzcard.BrickColor = BrickColor.new("White") | |
1268 | bigzcard.Size = Vector3.new(10, 15, 0.3) | |
1269 | bigzcard.CFrame = cardportal.CFrame * CFrame.new(-8,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)) | |
1270 | bigzcard.Anchored = true | |
1271 | SOUND(bigzcard,1888686669,6,false,1) | |
1272 | - | acer.Texture = "rbxassetid://1881287656" |
1272 | + | |
1273 | acer.Texture = "rbxassetid://591344105" | |
1274 | acer.Transparency = 0 | |
1275 | acer.Face = "Front" | |
1276 | ace2 = acer:Clone() | |
1277 | ace2.Parent = bigzcard | |
1278 | ace2.Face = "Back" | |
1279 | spinning = true | |
1280 | coroutine.wrap(function() | |
1281 | while spinning do | |
1282 | bigzcard.CFrame = bigzcard.CFrame * CFrame.Angles(0,math.rad(0+5),0) | |
1283 | swait() | |
1284 | end | |
1285 | end)() | |
1286 | for i = 1, 20 do | |
1287 | bigzcard.CFrame = bigzcard.CFrame * CFrame.new(0,-.9,0) | |
1288 | swait() | |
1289 | end | |
1290 | coroutine.wrap(function() | |
1291 | for i = 1, 10 do | |
1292 | cardportalMESH.Scale = cardportalMESH.Scale - Vector3.new(0,4,4) | |
1293 | swait() | |
1294 | end | |
1295 | cardportal:Remove() | |
1296 | end)() | |
1297 | wait(.7) | |
1298 | - | ace3.Texture = "rbxassetid://1880203893" |
1298 | + | |
1299 | ace3.Texture = "rbxassetid://52658398" | |
1300 | ace3.Transparency = 1 | |
1301 | ace3.Face = "Front" | |
1302 | ace4 = ace3:Clone() | |
1303 | ace4.Parent = bigzcard | |
1304 | ace4.Face = "Back" | |
1305 | bigzcard2 = Instance.new("Part",Torso) | |
1306 | bigzcard2.Material = "Neon" | |
1307 | bigzcard2.Transparency = 1 | |
1308 | bigzcard2.BrickColor = BrickColor.new("Really black") | |
1309 | bigzcard2.Size = Vector3.new(10, 15, 0.29) | |
1310 | bigzcard2.CFrame = bigzcard.CFrame | |
1311 | bigzcard2.CanCollide = false | |
1312 | bigzcard2.Anchored = true | |
1313 | coroutine.wrap(function() | |
1314 | while spinning do | |
1315 | bigzcard2.CFrame = bigzcard2.CFrame * CFrame.Angles(0,math.rad(0+5),0) | |
1316 | swait() | |
1317 | end | |
1318 | end)() | |
1319 | blz = bl[math.random(1,#bl)] | |
1320 | woos = Instance.new("Sound",Torso) | |
1321 | woos.SoundId = "rbxassetid://"..blz | |
1322 | woos.Volume = 4 | |
1323 | woos:Play() | |
1324 | for i = 1, 20 do | |
1325 | bigzcard2.Transparency = bigzcard2.Transparency - .05 | |
1326 | bigzcard.Transparency = bigzcard.Transparency + .05 | |
1327 | ace3.Transparency = ace3.Transparency - 0.05 | |
1328 | ace4.Transparency = ace4.Transparency - 0.05 | |
1329 | acer.Transparency = acer.Transparency + 0.05 | |
1330 | ace2.Transparency = ace2.Transparency + 0.05 | |
1331 | wait() | |
1332 | end | |
1333 | ace3.Parent = bigzcard2 | |
1334 | ace3.Face = "Front" | |
1335 | ace4.Parent = bigzcard2 | |
1336 | ace4.Face = "Back" | |
1337 | bigzcard:Remove() | |
1338 | spinning = false | |
1339 | blackholeactive = true | |
1340 | coroutine.wrap(function() | |
1341 | blackhole={} | |
1342 | orbzfade={} | |
1343 | for i = 1, 100 do | |
1344 | orbz = Instance.new("Part", Torso) | |
1345 | orbz.Shape = "Ball" | |
1346 | orbz.Material = "Neon" | |
1347 | orbz.BrickColor = BrickColor.new("Really black") | |
1348 | orbz.Size = Vector3.new(2,2,2) | |
1349 | orbz.Anchored = true | |
1350 | orbz.CanCollide = false | |
1351 | removeuseless:AddItem(orbz,1) | |
1352 | orbz.CFrame = bigzcard2.CFrame * CFrame.new(math.random(-25,25),math.random(-25,25),math.random(-25,25)) * CFrame.Angles(math.rad(-180,180),math.rad(-180,180),math.rad(-180,180)) | |
1353 | table.insert(blackhole,orbz) | |
1354 | table.insert(orbzfade,orbz) | |
1355 | for i,v in pairs(blackhole) do | |
1356 | v.CFrame = v.CFrame:lerp(CFrame.new(bigzcard2.Position),.05) | |
1357 | end | |
1358 | for i,v in pairs(orbzfade) do | |
1359 | v.Transparency = v.Transparency + 0.025 | |
1360 | end | |
1361 | swait() | |
1362 | end | |
1363 | end)() | |
1364 | coroutine.wrap(function() | |
1365 | while blackholeactive do | |
1366 | local Hit = damagealll(45,bigzcard2.Position) | |
1367 | for _,v in pairs(Hit) do | |
1368 | coroutine.wrap(function() | |
1369 | wait(.15) | |
1370 | if blackholeactive == false then return end | |
1371 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(.1,1)) | |
1372 | end)() | |
1373 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1374 | torso.CFrame = torso.CFrame:lerp(CFrame.new(bigzcard2.Position),.1) | |
1375 | end | |
1376 | wait() | |
1377 | end | |
1378 | end)() | |
1379 | for i = 1, 100 do | |
1380 | bigzcard2.CFrame = bigzcard2.CFrame * CFrame.Angles(0,math.rad(0+20),0) | |
1381 | cataclysmics = Instance.new("Part", Torso) | |
1382 | cataclysmics.Shape = "Ball" | |
1383 | cataclysmics.Material = "Neon" | |
1384 | cataclysmics.BrickColor = BrickColor.new("Really black") | |
1385 | cataclysmics.Size = Vector3.new(11,11,11) | |
1386 | cataclysmics.Transparency = .3 | |
1387 | cataclysmics.Anchored = true | |
1388 | cataclysmics.CanCollide = false | |
1389 | cataclysmics.CFrame = CFrame.new(bigzcard2.Position) | |
1390 | table.insert(LessSize,cataclysmics) | |
1391 | table.insert(keyYtransparency,cataclysmics) | |
1392 | removeuseless:AddItem(cataclysmics,1) | |
1393 | swait() | |
1394 | end | |
1395 | coroutine.wrap(function() | |
1396 | for i = 1, 20 do | |
1397 | for i,v in pairs(orbzfade) do | |
1398 | v.Transparency = v.Transparency + 0.05 | |
1399 | end | |
1400 | swait() | |
1401 | end | |
1402 | end)() | |
1403 | explosiontable={} | |
1404 | ringtable={} | |
1405 | ringtable2={} | |
1406 | soundboks = Instance.new("Part",Torso) | |
1407 | soundboks.CanCollide = false | |
1408 | soundboks.Anchored = true | |
1409 | soundboks.Transparency = 1 | |
1410 | soundboks.CFrame = bigzcard2.CFrame | |
1411 | removeuseless:AddItem(soundboks,6) | |
1412 | SOUND(soundboks,472579737,6,false,1) | |
1413 | blackholeactive = false | |
1414 | bigzcard2:Remove() | |
1415 | Hit = damagealll(60,soundboks.Position) | |
1416 | for _,v in pairs(Hit) do | |
1417 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(36,55)) | |
1418 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1419 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1420 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1421 | vel.velocity = CFrame.new(soundboks.Position,torso.Position).lookVector*200 | |
1422 | removeuseless:AddItem(vel,.1) | |
1423 | end | |
1424 | coroutine.wrap(function() | |
1425 | shockwave = Instance.new("Part", Torso) | |
1426 | shockwave.Size = Vector3.new(1,1,1) | |
1427 | shockwave.CanCollide = false | |
1428 | shockwave.Anchored = true | |
1429 | shockwave.Transparency = 0 | |
1430 | shockwave.BrickColor = BrickColor.new("Really black") | |
1431 | shockwave.CFrame = CFrame.new(soundboks.Position) * CFrame.new(0,-6,0) | |
1432 | shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
1433 | shockwavemesh.Scale = Vector3.new(5,2,5) | |
1434 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
1435 | shockwave2 = Instance.new("Part", Torso) | |
1436 | shockwave2.Size = Vector3.new(1,1,1) | |
1437 | shockwave2.CanCollide = false | |
1438 | shockwave2.Anchored = true | |
1439 | shockwave2.Transparency = 0 | |
1440 | shockwave2.BrickColor = BrickColor.new("Really black") | |
1441 | shockwave2.CFrame = CFrame.new(soundboks.Position) * CFrame.new(0,-6,0) | |
1442 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
1443 | shockwavemesh2.Scale = Vector3.new(5,2,5) | |
1444 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
1445 | for i = 1, 40 do | |
1446 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+15),0) | |
1447 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+8),0) | |
1448 | shockwave.Transparency = shockwave.Transparency + 0.025 | |
1449 | shockwave2.Transparency = shockwave2.Transparency + 0.025 | |
1450 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(9,.9,9) | |
1451 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,.8,8) | |
1452 | swait() | |
1453 | end | |
1454 | shockwave:Remove() | |
1455 | shockwave2:Remove() | |
1456 | end)() | |
1457 | for i = 1, 4 do | |
1458 | explosion = Instance.new("Part", Torso) | |
1459 | explosion.Shape = "Ball" | |
1460 | explosion.Size = Vector3.new(1,1,1) | |
1461 | explosion.Transparency = 0 | |
1462 | explosion.CanCollide = false | |
1463 | explosion.Anchored = true | |
1464 | explosion.BrickColor = BrickColor.new("Really black") | |
1465 | explosion.Material = "Neon" | |
1466 | explosion.CFrame = CFrame.new(bigzcard2.Position) | |
1467 | table.insert(ExtremeM,explosion) | |
1468 | table.insert(SlowlyFade,explosion) | |
1469 | removeuseless:AddItem(explosion,4) | |
1470 | ring = Instance.new("Part", Torso) | |
1471 | ring.Size = Vector3.new(5, 5, 5) | |
1472 | ring.Transparency = 0 | |
1473 | ring.BrickColor = BrickColor.new("Really black") | |
1474 | ring.Anchored = true | |
1475 | ring.CanCollide = false | |
1476 | ring.CFrame = bigzcard2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180))) | |
1477 | ringh = Instance.new("SpecialMesh", ring) | |
1478 | ringh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1479 | ringh.Scale = Vector3.new(2, 2, .1) | |
1480 | table.insert(keyYsize,ringh) | |
1481 | table.insert(keyYtransparency,ring) | |
1482 | removeuseless:AddItem(ring,4) | |
1483 | swait() | |
1484 | end | |
1485 | wait(1.2) | |
1486 | clean() | |
1487 | keyYsize={} | |
1488 | keyYtransparency={} | |
1489 | blackholev = false | |
1490 | appi = false | |
1491 | g1:Remove() | |
1492 | ws = 10 | |
1493 | attacking = false | |
1494 | debounce = false | |
1495 | end | |
1496 | end) | |
1497 | ||
1498 | mouse.KeyDown:connect(function(Press) | |
1499 | Press=Press:lower() | |
1500 | if Press=='t' then | |
1501 | if levitate then | |
1502 | if tauntdebounce then return end | |
1503 | tauntdebounce = true | |
1504 | laughing = true | |
1505 | coroutine.wrap(function() | |
1506 | while laughing do | |
1507 | local b1 = Instance.new("BillboardGui",Head) | |
1508 | b1.Size = UDim2.new(0,4,0,1.6) | |
1509 | b1.StudsOffset = Vector3.new(0,0,0) | |
1510 | b1.Name = "laff" | |
1511 | b1.AlwaysOnTop = true | |
1512 | b1.Adornee = Head | |
1513 | removeuseless:AddItem(b1,3) | |
1514 | local b2 = Instance.new("TextLabel",b1) | |
1515 | - | b2.Text = "HaHaHaHaHaHa..." |
1515 | + | |
1516 | b2.Text = "LOL XD" | |
1517 | b2.Font = "Garamond" | |
1518 | b2.TextSize = 0 | |
1519 | b2.Name = "lafftext" | |
1520 | - | b2.TextColor3 = BrickColor.new("Really red").Color |
1520 | + | |
1521 | b2.TextColor3 = BrickColor.new("Really Black").Color | |
1522 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
1523 | b2.Size = UDim2.new(1,0,.5,0) | |
1524 | table.insert(laughingtable,b2) | |
1525 | removeuseless:AddItem(b1,2) | |
1526 | coroutine.wrap(function() | |
1527 | if zxc then return end | |
1528 | zxc = true | |
1529 | while true do | |
1530 | swait() | |
1531 | for i,v in pairs(Head:GetChildren()) do | |
1532 | if v.Name == "laff" then | |
1533 | v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2)) | |
1534 | end | |
1535 | end | |
1536 | for i,v in pairs(laughingtable) do | |
1537 | v.TextTransparency = v.TextTransparency + .025 | |
1538 | v.TextStrokeTransparency = v.TextStrokeTransparency + 0.25 | |
1539 | v.TextSize = v.TextSize + 2 | |
1540 | v.Rotation = v.Rotation + .1 | |
1541 | end | |
1542 | end | |
1543 | end)() | |
1544 | swait(10) | |
1545 | end | |
1546 | end)() | |
1547 | laugh = laughs[math.random(1,#laughs)] | |
1548 | laughy = Instance.new("Sound",Head) | |
1549 | laughy.SoundId = "rbxassetid://"..laugh | |
1550 | laughy.Volume = 10 | |
1551 | laughy:Play() | |
1552 | wait(1) | |
1553 | wait(laughy.TimeLength) | |
1554 | laughing = false | |
1555 | laughy:Remove() | |
1556 | tauntdebounce = false | |
1557 | else | |
1558 | if mouse.Target ~= nil then | |
1559 | if debounce then return end | |
1560 | attacking = true | |
1561 | ghost() | |
1562 | tps = Instance.new("Sound", Torso) | |
1563 | tps.Volume = 5 | |
1564 | tps.SoundId = "rbxassetid://1894958339" | |
1565 | tps:Play() | |
1566 | removeuseless:AddItem(tps,2) | |
1567 | g1 = Instance.new("BodyGyro", Root) | |
1568 | g1.D = 175 | |
1569 | g1.P = 20000 | |
1570 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1571 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
1572 | removeuseless:AddItem(g1,.05) | |
1573 | Root.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,3.3,0) | |
1574 | wait(.1) | |
1575 | attacking = false | |
1576 | debounce = false | |
1577 | end | |
1578 | end | |
1579 | end | |
1580 | end) | |
1581 | ||
1582 | mouse.KeyDown:connect(function(Press) | |
1583 | Press=Press:lower() | |
1584 | if Press=='q' then | |
1585 | if levitate then return end | |
1586 | if mouse.Target ~= nil and mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health ~= 0 then | |
1587 | if debounce then return end | |
1588 | debounce = true | |
1589 | attacking = true | |
1590 | appi = true | |
1591 | ws = 0 | |
1592 | coroutine.wrap(function() | |
1593 | while appi do | |
1594 | wait() | |
1595 | if Root.Velocity.y > 1 and attacking == true then | |
1596 | position = "Jump2" | |
1597 | elseif Root.Velocity.y < -1 and attacking == true then | |
1598 | position = "Falling2" | |
1599 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
1600 | position = "Idle2" | |
1601 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
1602 | position = "Walking2" | |
1603 | end | |
1604 | end | |
1605 | end)() | |
1606 | coroutine.wrap(function() | |
1607 | while appi do | |
1608 | wait() | |
1609 | settime = 0.05 | |
1610 | sine = sine + change | |
1611 | if position == "Jump2" and attacking == true and appi == true then | |
1612 | change = 1 | |
1613 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1614 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1615 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
1616 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
1617 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4) | |
1618 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
1619 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
1620 | elseif position == "Falling2" and attacking == true and appi == true then | |
1621 | change = 1 | |
1622 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1623 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1624 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
1625 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
1626 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
1627 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2) | |
1628 | elseif position == "Idle2" and attacking == true and appi == true then | |
1629 | change = .4 | |
1630 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1631 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1632 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
1633 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
1634 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1635 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1636 | elseif position == "Walking2" and attacking == true and appi == true then | |
1637 | change = .8 | |
1638 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1639 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1640 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
1641 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
1642 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3) | |
1643 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
1644 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
1645 | end | |
1646 | end | |
1647 | end)() | |
1648 | enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1649 | ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso") | |
1650 | EHead = enemyhum.Parent:FindFirstChild("Head") | |
1651 | g1 = Instance.new("BodyGyro", Root) | |
1652 | g1.D = 175 | |
1653 | g1.P = 20000 | |
1654 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1655 | brick = Instance.new("Part",Torso) | |
1656 | brick.Anchored = true | |
1657 | brick.CanCollide = false | |
1658 | brick.Material = "Neon" | |
1659 | brick.Transparency = 1 | |
1660 | brick.BrickColor = BrickColor.new("White") | |
1661 | brick.Size = Vector3.new(8,.3,12) | |
1662 | brick.CFrame = Root.CFrame * CFrame.new(math.random(-15,15),-3,math.random(-15,15)) | |
1663 | SOUND(brick,1888686669,6,false,1.5) | |
1664 | ace = aces[math.random(1,#aces)] | |
1665 | - | acer.Texture = "rbxassetid://1898092341" |
1665 | + | |
1666 | acer.Texture = "rbxassetid://591344105" | |
1667 | acer.Transparency = 1 | |
1668 | acer.Face = "Top" | |
1669 | coroutine.wrap(function() | |
1670 | for i = 1, 20 do | |
1671 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2) | |
1672 | brick.Transparency = brick.Transparency - .05 | |
1673 | acer.Transparency = acer.Transparency - .1 | |
1674 | swait() | |
1675 | end | |
1676 | end)() | |
1677 | ETorso.Anchored = true | |
1678 | EHead.Anchored = true | |
1679 | for i = 1, 25 do | |
1680 | swait() | |
1681 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2) | |
1682 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(0,0,0),.3) | |
1683 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
1684 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3) | |
1685 | brick.CFrame = brick.CFrame:lerp(CFrame.new(ETorso.Position) * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(0+10),0),.2) | |
1686 | end | |
1687 | SOUND(brick,472214107,6,false,2) | |
1688 | coroutine.wrap(function() | |
1689 | for i = 1, 10 do | |
1690 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2) | |
1691 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, .8, 0.4) * CFrame.Angles(math.rad(-60 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3) | |
1692 | swait() | |
1693 | end | |
1694 | end)() | |
1695 | shockwave = Instance.new("Part", Torso) | |
1696 | shockwave.Size = Vector3.new(1,1,1) | |
1697 | shockwave.CanCollide = false | |
1698 | shockwave.Anchored = true | |
1699 | shockwave.Transparency = 0 | |
1700 | shockwave.BrickColor = BrickColor.new("White") | |
1701 | shockwave.CFrame = CFrame.new(brick.Position) | |
1702 | shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
1703 | shockwavemesh.Scale = Vector3.new(1,1,1) | |
1704 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
1705 | removeuseless:AddItem(shockwave,4) | |
1706 | shockwave2 = Instance.new("Part", Torso) | |
1707 | shockwave2.Size = Vector3.new(1,1,1) | |
1708 | shockwave2.CanCollide = false | |
1709 | shockwave2.Anchored = true | |
1710 | shockwave2.Transparency = 0 | |
1711 | shockwave2.BrickColor = BrickColor.new("White") | |
1712 | shockwave2.CFrame = CFrame.new(brick.Position) | |
1713 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
1714 | shockwavemesh2.Scale = Vector3.new(1,1,1) | |
1715 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
1716 | removeuseless:AddItem(shockwave2,4) | |
1717 | for i = 1, 35 do | |
1718 | swait() | |
1719 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(2,.1,2) | |
1720 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+12),0) | |
1721 | shockwave.Transparency = shockwave.Transparency + .05 | |
1722 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(.5,.1,.5) | |
1723 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+4),0) | |
1724 | shockwave2.Transparency = shockwave2.Transparency + .03 | |
1725 | EHead.CFrame = EHead.CFrame * CFrame.new(0,-.20,0) | |
1726 | ETorso.CFrame = ETorso.CFrame * CFrame.new(0,-.25,0) | |
1727 | end | |
1728 | for i = 1, 8 do | |
1729 | brick.Size = brick.Size + Vector3.new(1.5,0,2.5) | |
1730 | swait() | |
1731 | end | |
1732 | n = 0 | |
1733 | SOUND(brick,54111471,6,false,1) | |
1734 | for i = 1, 40 do | |
1735 | n = n + 6 | |
1736 | brick.Transparency = brick.Transparency + .025 | |
1737 | acer.Transparency = acer.Transparency + .075 | |
1738 | brick.CFrame = brick.CFrame * CFrame.Angles(0,math.rad(n),0) | |
1739 | brick.Size = brick.Size - Vector3.new(1.5,.025,2.5) | |
1740 | swait() | |
1741 | end | |
1742 | ws = 10 | |
1743 | brick:Remove() | |
1744 | enemyhum.Parent:Remove() | |
1745 | attacking = false | |
1746 | removeuseless:AddItem(g1,0.001) | |
1747 | debounce = false | |
1748 | appi = false | |
1749 | end | |
1750 | end | |
1751 | end) | |
1752 | ||
1753 | mouse.KeyDown:connect(function(Press) | |
1754 | Press=Press:lower() | |
1755 | if Press=='p' then | |
1756 | if levitate then return end | |
1757 | if blocking then | |
1758 | if blockedoff then return end | |
1759 | clickallowance = false | |
1760 | appi = false | |
1761 | attacking = true | |
1762 | blocking = false | |
1763 | throwing = true | |
1764 | ws = 0 | |
1765 | n = 0 | |
1766 | blockcard.CanCollide = false | |
1767 | for i = 1, 35 do | |
1768 | n = n + 20 | |
1769 | blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5) * CFrame.Angles(0,math.rad(n),0) | |
1770 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0)), 0.3) | |
1771 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3) | |
1772 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3) | |
1773 | swait() | |
1774 | end | |
1775 | blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5 + -1) * CFrame.Angles(0,0,0) | |
1776 | blockcard.CanCollide = false | |
1777 | locater1 = Instance.new("Part",blockcard) | |
1778 | locater1.Size = Vector3.new(1,1,1) | |
1779 | locater1.CanCollide = false | |
1780 | locater1.Anchored = true | |
1781 | locater1.Transparency = 1 | |
1782 | locater2 = Instance.new("Part",blockcard) | |
1783 | locater2.Size = Vector3.new(1,1,1) | |
1784 | locater2.CanCollide = false | |
1785 | locater2.Transparency = 1 | |
1786 | locater2.Anchored = true | |
1787 | locater3 = Instance.new("Part",blockcard) | |
1788 | locater3.Size = Vector3.new(1,1,1) | |
1789 | locater3.Transparency = 1 | |
1790 | locater3.CFrame = blockcard.CFrame * CFrame.Angles(math.rad(90),0,0) | |
1791 | locater3.CanCollide = false | |
1792 | locater3.Anchored = true | |
1793 | fushfush = Instance.new("Sound",blockcard) | |
1794 | fushfush.SoundId = "rbxassetid://288641686" | |
1795 | fushfush.Volume = 8 | |
1796 | fushfush:Play() | |
1797 | boosh:Play() | |
1798 | coroutine.wrap(function() | |
1799 | n = 0 | |
1800 | for i = 1, 35 do | |
1801 | n = n + 10 | |
1802 | shockwave = Instance.new("Part", Torso) | |
1803 | shockwave.Size = Vector3.new(1,1,1) | |
1804 | shockwave.CanCollide = false | |
1805 | shockwave.Anchored = true | |
1806 | shockwave.Transparency = .5 | |
1807 | shockwave.BrickColor = BrickColor.new("White") | |
1808 | shockwave.CFrame = locater3.CFrame | |
1809 | shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
1810 | shockwavemesh.Scale = Vector3.new(15,.7,15) | |
1811 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
1812 | shockwave.CFrame = locater3.CFrame * CFrame.Angles(math.rad(0),math.rad(1),0) | |
1813 | removeuseless:AddItem(shockwave,1) | |
1814 | table.insert(lolzor2,shockwave) | |
1815 | for i,v in pairs(lolzor2) do | |
1816 | v.Transparency = v.Transparency + .1 | |
1817 | v.CFrame = v.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0) | |
1818 | end | |
1819 | swait() | |
1820 | end | |
1821 | end)() | |
1822 | for i = 1, 35 do | |
1823 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3) | |
1824 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
1825 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-20), math.rad(4)), 0.3) | |
1826 | fushfush.Volume = fushfush.Volume - .2 | |
1827 | Hit = damagealll(20,blockcard.Position) | |
1828 | for _,v in pairs(Hit) do | |
1829 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(7,12)) | |
1830 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
1831 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
1832 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1833 | vel.velocity = CFrame.new(blockcard.Position,torso.Position).lookVector*120 | |
1834 | removeuseless:AddItem(vel,.1) | |
1835 | end | |
1836 | locater1.CFrame = blockcard.CFrame * CFrame.new(-5,-6,0) | |
1837 | locater3.CFrame = blockcard.CFrame * CFrame.new(0,0,-1) * CFrame.Angles(math.rad(90),0,0) | |
1838 | locater2.CFrame = blockcard.CFrame * CFrame.new(5,-6,0) | |
1839 | grassblocks = Instance.new("Part",Torso) | |
1840 | grassblocks.Size = Vector3.new(4,4,4) | |
1841 | grassblocks.Material = "Grass" | |
1842 | grassblocks.Anchored = true | |
1843 | grassblocks.BrickColor = BrickColor.new("Bright green") | |
1844 | grassblocks.CFrame = locater1.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
1845 | removeuseless:AddItem(grassblocks,5) | |
1846 | grassblocks2 = Instance.new("Part",Torso) | |
1847 | grassblocks2.Size = Vector3.new(4,4,4) | |
1848 | grassblocks2.Material = "Grass" | |
1849 | grassblocks2.Anchored = true | |
1850 | grassblocks2.BrickColor = BrickColor.new("Bright green") | |
1851 | grassblocks2.CFrame = locater2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
1852 | removeuseless:AddItem(grassblocks2,5) | |
1853 | blockcardshadow = Instance.new("Part",Torso) | |
1854 | blockcardshadow.Transparency = .5 | |
1855 | blockcardshadow.Anchored = true | |
1856 | blockcardshadow.Material = "Neon" | |
1857 | blockcardshadow.BrickColor = BrickColor.new("White") | |
1858 | blockcardshadow.Size = Vector3.new(8, 13, 0.3) | |
1859 | blockcardshadow.CanCollide = false | |
1860 | blockcardshadow.CFrame = blockcard.CFrame | |
1861 | removeuseless:AddItem(blockcardshadow,2) | |
1862 | table.insert(lolzor,blockcardshadow) | |
1863 | for i,v in pairs(lolzor) do | |
1864 | v.Transparency = v.Transparency + 0.05 | |
1865 | end | |
1866 | blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,-4) | |
1867 | swait() | |
1868 | end | |
1869 | blockcard.Name = "Getthisshitoutofhere" | |
1870 | for i = 1, 10 do | |
1871 | blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,-2) | |
1872 | blockcard.Transparency = blockcard.Transparency + .1 | |
1873 | acer.Transparency = blockcard.Transparency | |
1874 | ace2.Transparency = blockcard.Transparency | |
1875 | for i,v in pairs(lolzor) do | |
1876 | v.Transparency = v.Transparency + .05 | |
1877 | end | |
1878 | for i,v in pairs(lolzor2) do | |
1879 | v.Transparency = v.Transparency + .1 | |
1880 | end | |
1881 | swait() | |
1882 | end | |
1883 | lolzor={} | |
1884 | lolzor2={} | |
1885 | attacking = false | |
1886 | debounce = false | |
1887 | blocking = false | |
1888 | throwing = false | |
1889 | fushfush:Remove() | |
1890 | clickallowance = false | |
1891 | appi = false | |
1892 | blockcard:Remove() | |
1893 | g1:Remove() | |
1894 | ws = 10 | |
1895 | else | |
1896 | if debounce then return end | |
1897 | if throwing then return end | |
1898 | debounce = true | |
1899 | ws = 10 | |
1900 | attacking = true | |
1901 | blocking = true | |
1902 | boosh = Instance.new("Sound",nil) | |
1903 | boosh.SoundId = "rbxassetid://413682983" | |
1904 | boosh.Volume = 6 | |
1905 | appi = true | |
1906 | coroutine.wrap(function() | |
1907 | while appi do | |
1908 | wait() | |
1909 | if Root.Velocity.y > 1 and attacking == true then | |
1910 | position = "Jump2" | |
1911 | elseif Root.Velocity.y < -1 and attacking == true then | |
1912 | position = "Falling2" | |
1913 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
1914 | position = "Idle2" | |
1915 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
1916 | position = "Walking2" | |
1917 | end | |
1918 | end | |
1919 | end)() | |
1920 | coroutine.wrap(function() | |
1921 | while appi do | |
1922 | wait() | |
1923 | settime = 0.05 | |
1924 | sine = sine + change | |
1925 | if position == "Jump2" and attacking == true and appi == true then | |
1926 | change = 1 | |
1927 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1928 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1929 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
1930 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
1931 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4) | |
1932 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
1933 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
1934 | elseif position == "Falling2" and attacking == true and appi == true then | |
1935 | change = 1 | |
1936 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1937 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1938 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
1939 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
1940 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
1941 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2) | |
1942 | elseif position == "Idle2" and attacking == true and appi == true then | |
1943 | change = .4 | |
1944 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1945 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1946 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
1947 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
1948 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1949 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1950 | elseif position == "Walking2" and attacking == true and appi == true then | |
1951 | change = .8 | |
1952 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
1953 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
1954 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
1955 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
1956 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3) | |
1957 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
1958 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
1959 | end | |
1960 | end | |
1961 | end)() | |
1962 | blockcard = Instance.new("Part",Torso) | |
1963 | blockcard.Material = "Neon" | |
1964 | blockcard.Transparency = 1 | |
1965 | blockcard.BrickColor = BrickColor.new("White") | |
1966 | blockcard.Size = Vector3.new(8, 13, 0.3) | |
1967 | blockcard.CFrame = Root.CFrame * CFrame.new(0,2,-5) | |
1968 | blockcard.Anchored = true | |
1969 | boosh.Parent = blockcard | |
1970 | SOUND(blockcard,236989198,6,false,1) | |
1971 | ace = aces[math.random(1,#aces)] | |
1972 | acer = Instance.new("Decal",blockcard) | |
1973 | acer.Texture = "rbxassetid://"..ace | |
1974 | acer.Transparency = 1 | |
1975 | acer.Face = "Front" | |
1976 | ace2 = acer:Clone() | |
1977 | ace2.Parent = blockcard | |
1978 | ace2.Face = "Back" | |
1979 | coroutine.wrap(function() | |
1980 | for i = 1, 20 do | |
1981 | blockcard.Transparency = blockcard.Transparency - 0.05 | |
1982 | acer.Transparency = blockcard.Transparency | |
1983 | ace2.Transparency = blockcard.Transparency | |
1984 | swait() | |
1985 | end | |
1986 | clickallowance = true | |
1987 | end)() | |
1988 | g1 = Instance.new("BodyGyro", Root) | |
1989 | g1.D = 175 | |
1990 | g1.P = 20000 | |
1991 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1992 | coroutine.wrap(function() | |
1993 | while blocking do | |
1994 | if not blockedoff then | |
1995 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1996 | blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5) | |
1997 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1998 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
1999 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3) | |
2000 | end | |
2001 | swait() | |
2002 | end | |
2003 | end)() | |
2004 | wait(1) | |
2005 | mouse.Button1Down:connect(function() | |
2006 | if throwing then return end | |
2007 | if not clickallowance then return end | |
2008 | clickallowance = false | |
2009 | blockedoff = true | |
2010 | ws = 0 | |
2011 | for i = 1, 15 do | |
2012 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0)), 0.3) | |
2013 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3) | |
2014 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3) | |
2015 | swait() | |
2016 | end | |
2017 | boosh:Play() | |
2018 | hitdebounce = false | |
2019 | blockcard.Touched:connect(function(hit) | |
2020 | if hit.Parent:IsA("Part") then | |
2021 | elseif hit.Parent:IsA("SpecialMesh") then | |
2022 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
2023 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
2024 | for i,v in pairs(hit.Parent:GetChildren()) do | |
2025 | Slachtoffer = v.Parent:FindFirstChildOfClass("Humanoid") | |
2026 | if hitdebounce then return end | |
2027 | hitdebounce = true | |
2028 | vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")) | |
2029 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
2030 | if Slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
2031 | tors = hit.Parent:FindFirstChild("UpperTorso") | |
2032 | else | |
2033 | tors = hit.Parent:FindFirstChild("Torso") | |
2034 | end | |
2035 | vel.velocity = CFrame.new(Root.Position,tors.Position).lookVector*120 | |
2036 | removeuseless:AddItem(vel,.1) | |
2037 | Slachtoffer:TakeDamage(math.random(23,44)) | |
2038 | end | |
2039 | end | |
2040 | end) | |
2041 | for i = 1, 10 do | |
2042 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3) | |
2043 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
2044 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-20), math.rad(4)), 0.3) | |
2045 | blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,0-1) | |
2046 | swait() | |
2047 | end | |
2048 | for i = 1, 10 do | |
2049 | blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,0+1) | |
2050 | swait() | |
2051 | end | |
2052 | hitdebounce = true | |
2053 | ws = 10 | |
2054 | clickallowance = true | |
2055 | blockedoff = false | |
2056 | end) | |
2057 | end | |
2058 | end | |
2059 | end) | |
2060 | ||
2061 | ||
2062 | mouse.KeyDown:connect(function(Press) | |
2063 | Press=Press:lower() | |
2064 | if Press=='f' then | |
2065 | if debounce then return end | |
2066 | if notallowedtransform then return end | |
2067 | debounce = true | |
2068 | if levitate then | |
2069 | levitate = false | |
2070 | mjester.VertexColor = Vector3.new(1, 1, 1) | |
2071 | glow.Transparency = 1 | |
2072 | blastwave = Instance.new("Part",Torso) | |
2073 | blastwave.CFrame = Torso.CFrame | |
2074 | blastwave.Anchored = true | |
2075 | blastwave.Material = "Neon" | |
2076 | blastwave.CanCollide = false | |
2077 | blastwave.Shape = "Ball" | |
2078 | blastwave.Size = Vector3.new(3,3,3) | |
2079 | coroutine.wrap(function() | |
2080 | for i = 1, 20 do | |
2081 | levitatewave.Transparency = levitatewave.Transparency + 0.05 | |
2082 | levitatewave2.Transparency = levitatewave2.Transparency + 0.05 | |
2083 | blastwave.Size = blastwave.Size + Vector3.new(2,2,2) | |
2084 | blastwave.Transparency = blastwave.Transparency + 0.05 | |
2085 | swait() | |
2086 | end | |
2087 | blastwave:Remove() | |
2088 | levitatewave2:Remove() | |
2089 | levitatewave:Remove() | |
2090 | end)() | |
2091 | ws = 10 | |
2092 | notallowedtransform = true | |
2093 | attacking = true | |
2094 | coroutine.wrap(function() | |
2095 | for i = 1, 10 do | |
2096 | for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then | |
2097 | v.Transparency = v.Transparency + 0.1 | |
2098 | end | |
2099 | end | |
2100 | for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then | |
2101 | v.Transparency = v.Transparency + 0.1 | |
2102 | end | |
2103 | end | |
2104 | wait() | |
2105 | end | |
2106 | - | doomtheme.SoundId = "rbxassetid://1843358057" |
2106 | + | |
2107 | doomtheme.SoundId = "rbxassetid://2545298782" | |
2108 | jesterWeld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2109 | wait(0.000001) | |
2110 | jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0) | |
2111 | - | mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395' |
2111 | + | |
2112 | mjester.MeshId,mjester.TextureId = 'rbxassetid://0','rbxassetid://1241662395' | |
2113 | ||
2114 | - | mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585' |
2114 | + | |
2115 | mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=130284724','http://www.roblox.com/asset/?id=0' | |
2116 | maskweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
2117 | wait(0.000001) | |
2118 | maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0) | |
2119 | ||
2120 | eyo1 = Instance.new("Part",Head) | |
2121 | eyo1.BrickColor = BrickColor.new("White") | |
2122 | eyo1.Material = "Neon" | |
2123 | eyo1.Shape = "Ball" | |
2124 | eyo1.Name = "eyo1" | |
2125 | eyo1.CanCollide = false | |
2126 | eyo1.Size = Vector3.new(0.33, 0.33, 0.33) | |
2127 | eyo1weld = weldBetween(eyo1,Head) | |
2128 | eyo1weld.C0 = CFrame.new(.215,-.05,.52) | |
2129 | ||
2130 | light = Instance.new("PointLight", eyo1) | |
2131 | light.Color = Color3.new(1,1,1) | |
2132 | light.Range = 3 | |
2133 | light.Brightness = 4 | |
2134 | light.Enabled = true | |
2135 | ||
2136 | eyo2 = Instance.new("Part",Head) | |
2137 | eyo2.BrickColor = BrickColor.new("White") | |
2138 | eyo2.Material = "Neon" | |
2139 | eyo2.Shape = "Ball" | |
2140 | eyo2.Name = "eyo2" | |
2141 | eyo2.CanCollide = false | |
2142 | eyo2.Size = Vector3.new(0.33, 0.33, 0.33) | |
2143 | eyo2weld = weldBetween(eyo2,Head) | |
2144 | eyo2weld.C0 = CFrame.new(-.215,-.05,.52) | |
2145 | ||
2146 | light2 = Instance.new("PointLight", eyo2) | |
2147 | light2.Color = Color3.new(1,1,1) | |
2148 | light2.Range = 3 | |
2149 | light2.Brightness = 4 | |
2150 | light2.Enabled = true | |
2151 | ||
2152 | - | Character.Pants.PantsTemplate = "rbxassetid://676428351" |
2152 | + | Character.Shirt.ShirtTemplate = "rbxassetid://9257205" |
2153 | Character.Pants.PantsTemplate = "rbxassetid://10965875" | |
2154 | hum.HipHeight = 0 | |
2155 | ws = 10 | |
2156 | debounce = false | |
2157 | attacking = false | |
2158 | coroutine.wrap(function() | |
2159 | wait(3) | |
2160 | notallowedtransform = false | |
2161 | end)() | |
2162 | else | |
2163 | ws = 50 | |
2164 | notallowedtransform = true | |
2165 | levitate = true | |
2166 | ws = 50 | |
2167 | glow.Transparency = 0 | |
2168 | eyo1:Remove() | |
2169 | eyo2:Remove() | |
2170 | coroutine.wrap(function() | |
2171 | while levitate do | |
2172 | for i,v in pairs(Head:GetChildren()) do | |
2173 | if v.Name == "eyo1" or v.Name == "eyo2" then | |
2174 | v:Remove() | |
2175 | end | |
2176 | end | |
2177 | wait() | |
2178 | end | |
2179 | end)() | |
2180 | mnb = 0 | |
2181 | levitatewave = Instance.new("Part", Torso) | |
2182 | levitatewave.Size = Vector3.new(1,1,1) | |
2183 | levitatewave.CanCollide = false | |
2184 | levitatewave.Anchored = true | |
2185 | levitatewave.Transparency = .5 | |
2186 | levitatewave.BrickColor = BrickColor.new("Really black") | |
2187 | levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0) | |
2188 | levitatewavemesh = Instance.new("SpecialMesh", levitatewave) | |
2189 | levitatewavemesh.Scale = Vector3.new(2.5,.3,2.5) | |
2190 | levitatewavemesh.MeshId = "rbxassetid://20329976" | |
2191 | levitatewave2 = Instance.new("Part", Torso) | |
2192 | levitatewave2.Size = Vector3.new(1,1,1) | |
2193 | levitatewave2.CanCollide = false | |
2194 | levitatewave2.Anchored = true | |
2195 | - | levitatewave2.BrickColor = BrickColor.new("Really red") |
2195 | + | |
2196 | levitatewave2.BrickColor = BrickColor.new("White") | |
2197 | levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0) | |
2198 | levitatewavemesh2 = Instance.new("SpecialMesh", levitatewave2) | |
2199 | levitatewavemesh2.Scale = Vector3.new(2,.4,2) | |
2200 | levitatewavemesh2.MeshId = "rbxassetid://20329976" | |
2201 | blastwave = Instance.new("Part",Torso) | |
2202 | blastwave.CFrame = Torso.CFrame | |
2203 | blastwave.Anchored = true | |
2204 | blastwave.Material = "Neon" | |
2205 | blastwave.CanCollide = false | |
2206 | blastwave.Shape = "Ball" | |
2207 | blastwave.Size = Vector3.new(3,3,3) | |
2208 | coroutine.wrap(function() | |
2209 | for i = 1, 20 do | |
2210 | blastwave.Size = blastwave.Size + Vector3.new(2,2,2) | |
2211 | blastwave.Transparency = blastwave.Transparency + 0.05 | |
2212 | swait() | |
2213 | end | |
2214 | blastwave:Remove() | |
2215 | end)() | |
2216 | coroutine.wrap(function() | |
2217 | while levitate do | |
2218 | mnb = mnb + 15 | |
2219 | levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0) | |
2220 | levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0) | |
2221 | colors = colortable[math.random(1,#colortable)] | |
2222 | lmagic = Instance.new("Part",LeftArm) | |
2223 | lmagic.Material = "Neon" | |
2224 | lmagic.CanCollide = false | |
2225 | lmagic.Anchored = true | |
2226 | lmagic.BrickColor = BrickColor.new(colors) | |
2227 | lmagic.Size = Vector3.new(1,1,1) | |
2228 | lmagic.CFrame = leftlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
2229 | removeuseless:AddItem(lmagic,2) | |
2230 | rmagic = Instance.new("Part",RightArm) | |
2231 | rmagic.Material = "Neon" | |
2232 | rmagic.CanCollide = false | |
2233 | rmagic.Anchored = true | |
2234 | rmagic.BrickColor = BrickColor.new(colors) | |
2235 | rmagic.Size = Vector3.new(1,1,1) | |
2236 | rmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
2237 | removeuseless:AddItem(rmagic,2) | |
2238 | for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then | |
2239 | v.Transparency = v.Transparency + 0.05 | |
2240 | end | |
2241 | end | |
2242 | for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then | |
2243 | v.Transparency = v.Transparency + 0.05 | |
2244 | end | |
2245 | end | |
2246 | swait() | |
2247 | end | |
2248 | end)() | |
2249 | framee = Instance.new("Frame") | |
2250 | framee.Parent = screenGui | |
2251 | framee.Position = UDim2.new(0, 8, 0, -500) | |
2252 | framee.Size = UDim2.new(100000000,10000000,10000000,10000000) | |
2253 | framee.BackgroundColor3 = BrickColor.new("White").Color | |
2254 | framee.BackgroundTransparency = 0 | |
2255 | coroutine.wrap(function() | |
2256 | wait(.2) | |
2257 | for i = 1, 40 do | |
2258 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0)) | |
2259 | framee.BackgroundTransparency = framee.BackgroundTransparency + 0.025 | |
2260 | swait() | |
2261 | end | |
2262 | hum.CameraOffset = Vector3.new(0,0,0) | |
2263 | framee:Remove() | |
2264 | - | doomtheme.SoundId = "rbxassetid://1382488262" |
2264 | + | |
2265 | doomtheme.SoundId = "rbxassetid://2545086702" | |
2266 | doomtheme:Play() | |
2267 | doomtheme.Volume = 2 | |
2268 | doomtheme.TimePosition = 20.7 | |
2269 | - | mjester.MeshId = "rbxassetid://193760002" |
2269 | + | |
2270 | mjester.MeshId = "rbxassetid://0" | |
2271 | mjester.TextureId = "rbxassetid://379225327" | |
2272 | - | Character.Shirt.ShirtTemplate = "rbxassetid://238537827" |
2272 | + | |
2273 | - | Character.Pants.PantsTemplate = "rbxassetid://486031443" |
2273 | + | Character.Shirt.ShirtTemplate = "rbxassetid://9257205" |
2274 | Character.Pants.PantsTemplate = "rbxassetid://10965875" | |
2275 | maskweld.C0 = maskweld.C0 * CFrame.new(0,.55,-.5) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)) | |
2276 | mMask.MeshId = "rbxassetid://13520257" | |
2277 | mMask.Scale = Vector3.new(1.1, 1, 1) | |
2278 | mMask.TextureId = "rbxassetid://13520260" | |
2279 | eyo1:Remove() | |
2280 | eyo2:Remove() | |
2281 | coroutine.wrap(function() | |
2282 | while levitate do | |
2283 | hum.HipHeight = 3 - .5 * math.sin(sine/9) | |
2284 | swait() | |
2285 | end | |
2286 | end)() | |
2287 | attacking = false | |
2288 | debounce = false | |
2289 | coroutine.wrap(function() | |
2290 | wait(3) | |
2291 | notallowedtransform = false | |
2292 | end)() | |
2293 | end | |
2294 | end | |
2295 | end) | |
2296 | ||
2297 | mouse.KeyDown:connect(function(Press) | |
2298 | Press=Press:lower() | |
2299 | if Press=='.' then | |
2300 | hum.Parent:BreakJoints() | |
2301 | end | |
2302 | end) | |
2303 | ||
2304 | checks1 = coroutine.wrap(function() -------Checks | |
2305 | while true do | |
2306 | if Root.Velocity.y > 1 and levitate == false then | |
2307 | position = "Jump" | |
2308 | elseif Root.Velocity.y < -1 and levitate == false then | |
2309 | position = "Falling" | |
2310 | elseif Root.Velocity.Magnitude < 2 and running == false and not levitate then | |
2311 | position = "Idle" | |
2312 | elseif Root.Velocity.Magnitude < 2 and running == false then | |
2313 | position = "Idle2" | |
2314 | elseif Root.Velocity.Magnitude < 20 and running == false and levitate == false then | |
2315 | position = "Walking" | |
2316 | elseif Root.Velocity.Magnitude > 20 and running == false and levitate then | |
2317 | position = "Walking2" | |
2318 | elseif Root.Velocity.Magnitude > 20 and levitate == false then | |
2319 | position = "Running" | |
2320 | else | |
2321 | end | |
2322 | wait() | |
2323 | end | |
2324 | end) | |
2325 | checks1() | |
2326 | ||
2327 | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
2328 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
2329 | end | |
2330 | ||
2331 | function ray2(StartPos, EndPos, Distance, Ignore) | |
2332 | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector | |
2333 | return ray(StartPos, DIRECTION, Distance, Ignore) | |
2334 | end | |
2335 | ||
2336 | OrgnC0 = Neck.C0 | |
2337 | local movelimbs = coroutine.wrap(function() | |
2338 | while RunSrv.RenderStepped:wait() do | |
2339 | TrsoLV = Torso.CFrame.lookVector | |
2340 | Dist = nil | |
2341 | Diff = nil | |
2342 | if not MseGuide then | |
2343 | print("Failed to recognize") | |
2344 | else | |
2345 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2346 | Dist = (Head.CFrame.p-Point).magnitude | |
2347 | Diff = Head.CFrame.Y-Point.Y | |
2348 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
2349 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
2350 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
2351 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2352 | Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1) | |
2353 | end | |
2354 | end | |
2355 | end) | |
2356 | movelimbs() | |
2357 | immortal = {} | |
2358 | for i,v in pairs(Character:GetDescendants()) do | |
2359 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then | |
2360 | if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then | |
2361 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
2362 | end | |
2363 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency}) | |
2364 | elseif v:IsA("JointInstance") then | |
2365 | table.insert(immortal,{v,v.Parent,nil,nil,nil}) | |
2366 | end | |
2367 | end | |
2368 | for e = 1, #immortal do | |
2369 | if immortal[e] ~= nil then | |
2370 | local STUFF = immortal[e] | |
2371 | local PART = STUFF[1] | |
2372 | local PARENT = STUFF[2] | |
2373 | local MATERIAL = STUFF[3] | |
2374 | local COLOR = STUFF[4] | |
2375 | local TRANSPARENCY = STUFF[5] | |
2376 | if levitate then | |
2377 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2378 | PART.Material = MATERIAL | |
2379 | PART.Color = COLOR | |
2380 | PART.Transparency = TRANSPARENCY | |
2381 | end | |
2382 | PART.AncestryChanged:connect(function() | |
2383 | PART.Parent = PARENT | |
2384 | end) | |
2385 | else | |
2386 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
2387 | PART.Material = MATERIAL | |
2388 | PART.Color = COLOR | |
2389 | PART.Transparency = TRANSPARENCY | |
2390 | end | |
2391 | PART.AncestryChanged:connect(function() | |
2392 | PART.Parent = PARENT | |
2393 | end) | |
2394 | end | |
2395 | end | |
2396 | end | |
2397 | function immortality() | |
2398 | for e = 1, #immortal do | |
2399 | if immortal[e] ~= nil then | |
2400 | local STUFF = immortal[e] | |
2401 | local PART = STUFF[1] | |
2402 | local PARENT = STUFF[2] | |
2403 | local MATERIAL = STUFF[3] | |
2404 | local COLOR = STUFF[4] | |
2405 | local TRANSPARENCY = STUFF[5] | |
2406 | if PART.ClassName == "Part" and PART == Root then | |
2407 | PART.Material = MATERIAL | |
2408 | PART.Color = COLOR | |
2409 | PART.Transparency = TRANSPARENCY | |
2410 | end | |
2411 | if PART.Parent ~= PARENT then | |
2412 | hum:Remove() | |
2413 | PART.Parent = PARENT | |
2414 | hum = Instance.new("Humanoid",Character) | |
2415 | if levitate then | |
2416 | eyo1:Remove() | |
2417 | eyo2:Remove() | |
2418 | end | |
2419 | hum.Name = "noneofurbusiness" | |
2420 | end | |
2421 | end | |
2422 | end | |
2423 | end | |
2424 | coroutine.wrap(function() | |
2425 | while true do | |
2426 | if hum.Health < .1 then | |
2427 | deadsound = Instance.new("Sound", Torso) | |
2428 | deadsound.Volume = 6 | |
2429 | deadsound.SoundId = "rbxassetid://1411352723" | |
2430 | deadsound:Play() | |
2431 | immortality() | |
2432 | end | |
2433 | wait() | |
2434 | end | |
2435 | end)() | |
2436 | ||
2437 | mouse.KeyDown:connect(function(Press) | |
2438 | Press=Press:lower() | |
2439 | if Press=='g' then | |
2440 | if not levitate then return end | |
2441 | if debounce then return end | |
2442 | debounce = true | |
2443 | attacking = true | |
2444 | FireBall:Play() | |
2445 | ws = 15 | |
2446 | g1 = Instance.new("BodyGyro", Root) | |
2447 | g1.D = 175 | |
2448 | g1.P = 20000 | |
2449 | g1.MaxTorque = Vector3.new(0,9000,0) | |
2450 | for i = 1, 15 do | |
2451 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
2452 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
2453 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2454 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
2455 | swait() | |
2456 | end | |
2457 | local swoosh = Instance.new("Part",Torso) | |
2458 | swoosh.Name = "swoosh" | |
2459 | swoosh.CFrame = rightlocation.CFrame * CFrame.new(0,0,0) | |
2460 | swoosh.Size = Vector3.new(1.7,1.7,1.7) | |
2461 | swoosh.Shape = "Ball" | |
2462 | swoosh.Material = "Neon" | |
2463 | swoosh.BrickColor = BrickColor.new("Really black") | |
2464 | swoosh.CanCollide = false | |
2465 | swoosh.Touched:connect(function(hit) | |
2466 | if hit.Parent:IsA("Part") then | |
2467 | elseif hit.Parent:IsA("SpecialMesh") then | |
2468 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
2469 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
2470 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
2471 | if Slachtoffer.Health < 1 then return end | |
2472 | if damagedebounce == true then return end | |
2473 | damagedebounce = true | |
2474 | swoosh:Remove() | |
2475 | explosion = Instance.new("Part",LeftArm) | |
2476 | explosion.CFrame = hit.CFrame | |
2477 | explosion.Anchored = true | |
2478 | explosion.CanCollide = false | |
2479 | explosion.Name = "explo" | |
2480 | explosion.Shape = "Ball" | |
2481 | explosion.BrickColor = swoosh.BrickColor | |
2482 | explosion.Material = "Neon" | |
2483 | vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")) | |
2484 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
2485 | torso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
2486 | vel.velocity = CFrame.new(swoosh.Position,torso.Position).lookVector*60 | |
2487 | removeuseless:AddItem(vel,.1) | |
2488 | shockwavevv = Instance.new("Part",LeftArm) | |
2489 | shockwavevv.Size = Vector3.new(1,1,1) | |
2490 | shockwavevv.CanCollide = false | |
2491 | shockwavevv.Anchored = true | |
2492 | shockwavevv.Name = "shock" | |
2493 | shockwavevv.Transparency = 0 | |
2494 | shockwavevv.BrickColor = BrickColor.new("Really black") | |
2495 | shockwavevv.CFrame = CFrame.new(explosion.Position) * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
2496 | shockwavemeshs = Instance.new("SpecialMesh", shockwavevv) | |
2497 | shockwavemeshs.Name = "ring" | |
2498 | shockwavemeshs.Scale = Vector3.new(.1,3,3) | |
2499 | shockwavemeshs.MeshId = "rbxassetid://3270017" | |
2500 | shockwave2vv = Instance.new("Part", LeftArm) | |
2501 | shockwave2vv.Size = Vector3.new(1,1,1) | |
2502 | shockwave2vv.CanCollide = false | |
2503 | shockwave2vv.Anchored = true | |
2504 | shockwave2vv.Name = "shock2" | |
2505 | shockwave2vv.Transparency = 0 | |
2506 | shockwave2vv.BrickColor = BrickColor.new("Really black") | |
2507 | shockwave2vv.CFrame = CFrame.new(explosion.Position) * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
2508 | shockwavemeshs2 = Instance.new("SpecialMesh", shockwave2vv) | |
2509 | shockwavemeshs2.Scale = Vector3.new(.1,3,3) | |
2510 | shockwavemeshs2.Name = "ring2" | |
2511 | shockwavemeshs2.MeshId = "rbxassetid://3270017" | |
2512 | removeuseless:AddItem(shockwavevv,3) | |
2513 | removeuseless:AddItem(shockwavevv2,3) | |
2514 | removeuseless:AddItem(explosion,3) | |
2515 | SOUND(explosion,472579737,6,false,3) | |
2516 | coroutine.wrap(function() | |
2517 | if firsttime2 then return end | |
2518 | firsttime2 = true | |
2519 | while true do | |
2520 | for i,v in pairs(LeftArm:GetChildren()) do | |
2521 | if v.Name == "explo" then | |
2522 | v.Size = v.Size + Vector3.new(2.5,2.5,2.5) | |
2523 | v.Transparency = v.Transparency + .05 | |
2524 | end | |
2525 | end | |
2526 | for i,v in pairs(shockwavevv:GetChildren()) do | |
2527 | if v.Name == "ring" then | |
2528 | v.Scale = v.Scale + Vector3.new(2.5,2.5,0) | |
2529 | end | |
2530 | end | |
2531 | for i,v in pairs(shockwave2vv:GetChildren()) do | |
2532 | if v.Name == "ring2" then | |
2533 | v.Scale = v.Scale + Vector3.new(2.5,2.5,0) | |
2534 | end | |
2535 | end | |
2536 | for i,v in pairs(LeftArm:GetChildren()) do | |
2537 | if v.Name == "shock" then | |
2538 | v.Transparency = v.Transparency + .05 | |
2539 | end | |
2540 | end | |
2541 | for i,v in pairs(LeftArm:GetChildren()) do | |
2542 | if v.Name == "shock2" then | |
2543 | v.Transparency = v.Transparency + .05 | |
2544 | end | |
2545 | end | |
2546 | swait() | |
2547 | end | |
2548 | end)() | |
2549 | Slachtoffer:TakeDamage(math.random(27,48)) | |
2550 | wait(.1) | |
2551 | damagedebounce = false | |
2552 | end | |
2553 | end) | |
2554 | coroutine.wrap(function() | |
2555 | if firsttime then return end | |
2556 | firsttime = true | |
2557 | while wait() do | |
2558 | for i,v in pairs(Torso:GetChildren()) do | |
2559 | if v.Name == "swoosh" then | |
2560 | magiccc = Instance.new("Part",RightArm) | |
2561 | magiccc.Material = "Neon" | |
2562 | magiccc.CanCollide = false | |
2563 | magiccc.Anchored = true | |
2564 | magiccc.BrickColor = BrickColor.new(colors) | |
2565 | magiccc.Size = Vector3.new(1.5,1.5,1.5) | |
2566 | magiccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
2567 | removeuseless:AddItem(magiccc,2) | |
2568 | end | |
2569 | end | |
2570 | end | |
2571 | end)() | |
2572 | bov = Instance.new("BodyVelocity",swoosh) | |
2573 | bov.maxForce = Vector3.new(99999,99999,99999) | |
2574 | swoosh.CFrame = CFrame.new(swoosh.Position,mouse.Hit.p) | |
2575 | bov.velocity = swoosh.CFrame.lookVector*120 | |
2576 | removeuseless:AddItem(swoosh,4) | |
2577 | for i = 1, 15 do | |
2578 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5) | |
2579 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) | |
2580 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5) | |
2581 | swait() | |
2582 | end | |
2583 | ws = 50 | |
2584 | removeuseless:AddItem(g1,0.01) | |
2585 | debounce = false | |
2586 | attacking = false | |
2587 | end | |
2588 | end) | |
2589 | ||
2590 | mouse.KeyDown:connect(function(Press) | |
2591 | Press=Press:lower() | |
2592 | if Press=='h' then | |
2593 | if not levitate then return end | |
2594 | if debounce then return end | |
2595 | debounce = true | |
2596 | attacking = true | |
2597 | ws = 0 | |
2598 | appi = true | |
2599 | coroutine.wrap(function() | |
2600 | while appi do | |
2601 | swait() | |
2602 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
2603 | position = "Idle3" | |
2604 | end | |
2605 | end | |
2606 | end)() | |
2607 | coroutine.wrap(function() | |
2608 | while appi do | |
2609 | swait() | |
2610 | settime = 0.05 | |
2611 | sine = sine + change | |
2612 | if position == "Idle3" and attacking == true and appi == true then | |
2613 | change = .4 | |
2614 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
2615 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) | |
2616 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2617 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4) | |
2618 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) | |
2619 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) | |
2620 | end | |
2621 | end | |
2622 | end)() | |
2623 | coroutine.wrap(function() | |
2624 | for i = 1, 20 do | |
2625 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2626 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,math.rad(50),0),.3) | |
2627 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.1,1.3,1.1) * CFrame.Angles(math.rad(180),math.rad(-50),math.rad(0)), 0.3) | |
2628 | swait() | |
2629 | end | |
2630 | end)() | |
2631 | SOUND(LeftArm,1982011510,8,false,15) | |
2632 | blackhole={} | |
2633 | orbzfade={} | |
2634 | xz = 0 | |
2635 | for i = 1, 220 do | |
2636 | xz = xz + .009 | |
2637 | bigrmagic = Instance.new("Part",RightArm) | |
2638 | bigrmagic.Material = "Neon" | |
2639 | bigrmagic.CanCollide = false | |
2640 | bigrmagic.Anchored = true | |
2641 | bigrmagic.BrickColor = BrickColor.new(colors) | |
2642 | bigrmagic.Size = Vector3.new(xz,xz,xz) | |
2643 | bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
2644 | removeuseless:AddItem(bigrmagic,1) | |
2645 | orbz = Instance.new("Part", Torso) | |
2646 | orbz.Material = "Neon" | |
2647 | orbz.BrickColor = BrickColor.new(colors) | |
2648 | orbz.Size = Vector3.new(2,2,2) | |
2649 | orbz.Anchored = true | |
2650 | orbz.CanCollide = false | |
2651 | removeuseless:AddItem(orbz,1) | |
2652 | orbz.CFrame = rightlocation.CFrame * CFrame.new(math.random(-25,25),math.random(-25,25),math.random(-25,25)) * CFrame.Angles(math.rad(-180,180),math.rad(-180,180),math.rad(-180,180)) | |
2653 | table.insert(blackhole,orbz) | |
2654 | table.insert(orbzfade,orbz) | |
2655 | for i,v in pairs(blackhole) do | |
2656 | v.Size = v.Size - Vector3.new(.1,.1,.1) | |
2657 | v.CFrame = v.CFrame:lerp(CFrame.new(rightlocation.Position),.09) | |
2658 | end | |
2659 | for i,v in pairs(orbzfade) do | |
2660 | v.Transparency = v.Transparency + 0.025 | |
2661 | end | |
2662 | swait() | |
2663 | end | |
2664 | coroutine.wrap(function() | |
2665 | for i = 1, 10 do | |
2666 | for i,v in pairs(blackhole) do | |
2667 | v.Size = v.Size + Vector3.new(.5,.5,.5) | |
2668 | v.Transparency = v.Transparency + .1 | |
2669 | end | |
2670 | swait() | |
2671 | end | |
2672 | for i,v in pairs(blackhole) do | |
2673 | v:Remove() | |
2674 | end | |
2675 | clean() | |
2676 | end)() | |
2677 | charging = true | |
2678 | coroutine.wrap(function() | |
2679 | while charging do | |
2680 | bigrmagic = Instance.new("Part",RightArm) | |
2681 | bigrmagic.Material = "Neon" | |
2682 | bigrmagic.CanCollide = false | |
2683 | bigrmagic.Anchored = true | |
2684 | bigrmagic.BrickColor = BrickColor.new(colors) | |
2685 | bigrmagic.Size = Vector3.new(xz,xz,xz) | |
2686 | bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
2687 | removeuseless:AddItem(bigrmagic,.2) | |
2688 | swait() | |
2689 | end | |
2690 | end)() | |
2691 | g1 = Instance.new("BodyGyro", Root) | |
2692 | g1.D = 175 | |
2693 | g1.P = 20000 | |
2694 | g1.MaxTorque = Vector3.new(0,9000,0) | |
2695 | BigFireBall:Play() | |
2696 | for i = 1, 15 do | |
2697 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
2698 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
2699 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2700 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
2701 | swait() | |
2702 | end | |
2703 | coroutine.wrap(function() | |
2704 | for i = 1, 15 do | |
2705 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5) | |
2706 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) | |
2707 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5) | |
2708 | swait() | |
2709 | end | |
2710 | end)() | |
2711 | charging = false | |
2712 | local ballzor = Instance.new("Part",Torso) | |
2713 | ballzor.Name = "ballzor" | |
2714 | ballzor.Material = "Neon" | |
2715 | ballzor.BrickColor = BrickColor.new("Really black") | |
2716 | ballzor.CanCollide = false | |
2717 | ballzor.Size = Vector3.new(xz,xz,xz) | |
2718 | ballzor.Anchored = false | |
2719 | ballzor.CFrame = Root.CFrame * CFrame.new(1,0,-5) | |
2720 | ballzor.Shape = "Ball" | |
2721 | removeuseless:AddItem(g1,.0001) | |
2722 | zx = xz + .05 | |
2723 | coroutine.wrap(function() | |
2724 | if firsttime5 then return end | |
2725 | firsttime5 = true | |
2726 | while true do | |
2727 | swait() | |
2728 | for i,v in pairs(Torso:GetChildren()) do | |
2729 | if v.Name == "ballzor" then | |
2730 | magicccc = Instance.new("Part",RightArm) | |
2731 | magicccc.Material = "Neon" | |
2732 | magicccc.CanCollide = false | |
2733 | magicccc.Name = "magicccc" | |
2734 | magicccc.Anchored = true | |
2735 | magicccc.Transparency = 0 | |
2736 | magicccc.BrickColor = BrickColor.new(colors) | |
2737 | magicccc.Size = Vector3.new(zx,zx,zx) | |
2738 | magicccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
2739 | removeuseless:AddItem(magicccc,2) | |
2740 | end | |
2741 | end | |
2742 | for i,v in pairs(RightArm:GetChildren()) do | |
2743 | if v.Name == "magicccc" then | |
2744 | v.Transparency = v.Transparency + 0.025 | |
2745 | end | |
2746 | end | |
2747 | end | |
2748 | end)() | |
2749 | ballzor.Touched:connect(function(hit) | |
2750 | if hit.Name ~= "magicccc" then | |
2751 | if bigball then return end | |
2752 | bigball = true | |
2753 | local explosionwave = Instance.new("Part",Torso) | |
2754 | explosionwave.Shape = "Ball" | |
2755 | explosionwave.BrickColor = BrickColor.new("Really black") | |
2756 | explosionwave.Anchored = true | |
2757 | explosionwave.CanCollide = false | |
2758 | explosionwave.Transparency = .2 | |
2759 | explosionwave.Material = "Neon" | |
2760 | explosionwave.Size = Vector3.new(1,1,1) | |
2761 | explosionwave.CFrame = ballzor.CFrame | |
2762 | render = Instance.new("Sound",explosionwave) | |
2763 | render.SoundId = "rbxassetid://2006635781" | |
2764 | render.Volume = 10 * 10 | |
2765 | render:Play() | |
2766 | local explosionwave2 = Instance.new("Part",Torso) | |
2767 | - | explosionwave2.BrickColor = BrickColor.new("Really red") |
2767 | + | |
2768 | explosionwave2.BrickColor = BrickColor.new("White") | |
2769 | explosionwave2.Anchored = true | |
2770 | explosionwave2.CanCollide = false | |
2771 | explosionwave2.Material = "Neon" | |
2772 | explosionwave2.Size = Vector3.new(.8,.8,.8) | |
2773 | explosionwave2.CFrame = ballzor.CFrame | |
2774 | deadlywave = Instance.new("Part", explosionwave) | |
2775 | deadlywave.Size = Vector3.new(1,1,1) | |
2776 | deadlywave.CanCollide = false | |
2777 | deadlywave.Anchored = true | |
2778 | - | deadlywave.BrickColor = BrickColor.new("Really red") |
2778 | + | |
2779 | deadlywave.BrickColor = BrickColor.new("White") | |
2780 | deadlywave.CFrame = CFrame.new(explosionwave.Position) | |
2781 | deadlywavemesh = Instance.new("SpecialMesh", deadlywave) | |
2782 | deadlywavemesh.Scale = Vector3.new(1,2,1) | |
2783 | deadlywavemesh.MeshId = "rbxassetid://20329976" | |
2784 | deadlywave2 = Instance.new("Part", explosionwave) | |
2785 | deadlywave2.Size = Vector3.new(1,1,1) | |
2786 | deadlywave2.CanCollide = false | |
2787 | deadlywave2.Anchored = true | |
2788 | deadlywave2.Transparency = .5 | |
2789 | deadlywave2.BrickColor = BrickColor.new("Really black") | |
2790 | deadlywave2.CFrame = CFrame.new(explosionwave.Position) | |
2791 | deadlywave2mesh = Instance.new("SpecialMesh", deadlywave2) | |
2792 | deadlywave2mesh.Scale = Vector3.new(3,2,3) | |
2793 | deadlywave2mesh.MeshId = "rbxassetid://20329976" | |
2794 | deadlyring = Instance.new("Part", Torso) | |
2795 | deadlyring.Size = Vector3.new(5, 5, 5) | |
2796 | deadlyring.Transparency = 0.5 | |
2797 | deadlyring.BrickColor = BrickColor.new("Really black") | |
2798 | deadlyring.Anchored = true | |
2799 | deadlyring.CanCollide = false | |
2800 | deadlyring.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180))) | |
2801 | deadlyringh = Instance.new("SpecialMesh", deadlyring) | |
2802 | deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2803 | deadlyringh.Scale = Vector3.new(8, 8, .1) | |
2804 | deadlyring2 = Instance.new("Part", Torso) | |
2805 | deadlyring2.Size = Vector3.new(5, 5, 5) | |
2806 | deadlyring2.Transparency = 0.5 | |
2807 | deadlyring2.BrickColor = BrickColor.new("Really black") | |
2808 | deadlyring2.Anchored = true | |
2809 | deadlyring2.CanCollide = false | |
2810 | deadlyring2.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180))) | |
2811 | deadlyringh2 = Instance.new("SpecialMesh", deadlyring2) | |
2812 | deadlyringh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2813 | deadlyringh2.Scale = Vector3.new(8, 8, .1) | |
2814 | ballzor:Remove() | |
2815 | bigball = false | |
2816 | staybooming = true | |
2817 | d = 5 | |
2818 | coroutine.wrap(function() | |
2819 | while staybooming do | |
2820 | Hit = damagealll(d,deadlywave.Position) | |
2821 | for _,v in pairs(Hit) do | |
2822 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10,20)) | |
2823 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
2824 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
2825 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
2826 | vel.velocity = CFrame.new(deadlywave.Position,torso.Position).lookVector*50 | |
2827 | removeuseless:AddItem(vel,.1) | |
2828 | end | |
2829 | wait(.1) | |
2830 | end | |
2831 | end)() | |
2832 | for i = 1, 70 do | |
2833 | d = d + 1 | |
2834 | deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(.5, .5, .1) | |
2835 | deadlyringh.Scale = deadlyringh.Scale + Vector3.new(.5, .5, .1) | |
2836 | deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0-7),math.rad(0+7)) | |
2837 | deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-7),math.rad(0+7),math.rad(0-7)) | |
2838 | deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+7),0) | |
2839 | deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+4),0) | |
2840 | deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(.4,0,.4) | |
2841 | deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(.5,0,.5) | |
2842 | explosionwave.Size = explosionwave.Size + Vector3.new(.5,.5,.5) | |
2843 | explosionwave2.Size = explosionwave2.Size + Vector3.new(.5,.5,.5) | |
2844 | swait() | |
2845 | end | |
2846 | for i = 1, 80 do | |
2847 | d = d + 3 | |
2848 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
2849 | deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2) | |
2850 | deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2) | |
2851 | deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12)) | |
2852 | deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12)) | |
2853 | deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0) | |
2854 | deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0) | |
2855 | deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,2,3) | |
2856 | deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,1,4) | |
2857 | explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4) | |
2858 | explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4) | |
2859 | swait() | |
2860 | end | |
2861 | staybooming = false | |
2862 | for i = 1, 20 do | |
2863 | d = d + 3 | |
2864 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
2865 | deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2) | |
2866 | deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2) | |
2867 | deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12)) | |
2868 | deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12)) | |
2869 | deadlyring.Transparency = deadlyring.Transparency + .25 | |
2870 | deadlyring2.Transparency = deadlyring2.Transparency + .25 | |
2871 | deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0) | |
2872 | deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0) | |
2873 | deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,0,3) | |
2874 | deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,0,4) | |
2875 | deadlywave.Transparency = deadlywave.Transparency + .25 | |
2876 | deadlywave2.Transparency = deadlywave2.Transparency + .25 | |
2877 | explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4) | |
2878 | explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4) | |
2879 | explosionwave.Transparency = explosionwave.Transparency + 0.25 | |
2880 | explosionwave2.Transparency = explosionwave2.Transparency + 0.05 | |
2881 | swait() | |
2882 | end | |
2883 | hum.CameraOffset = Vector3.new(0,0,0) | |
2884 | explosionwave:Remove() | |
2885 | explosionwave2:Remove() | |
2886 | end | |
2887 | end) | |
2888 | bov = Instance.new("BodyVelocity",ballzor) | |
2889 | bov.maxForce = Vector3.new(99999,99999,99999) | |
2890 | ballzor.CFrame = CFrame.new(ballzor.Position,mouse.Hit.p) | |
2891 | bov.velocity = ballzor.CFrame.lookVector*200 | |
2892 | removeuseless:AddItem(ballzor,4) | |
2893 | ws = 50 | |
2894 | attacking = false | |
2895 | debounce = false | |
2896 | appi = false | |
2897 | end | |
2898 | end) | |
2899 | ||
2900 | mouse.KeyDown:connect(function(Press) | |
2901 | Press=Press:lower() | |
2902 | if Press=='j' then | |
2903 | if not levitate then return end | |
2904 | if debounce then return end | |
2905 | debounce = true | |
2906 | charging = true | |
2907 | attacking = true | |
2908 | downpress = false | |
2909 | x = 1 | |
2910 | ws = 0 | |
2911 | g1 = Instance.new("BodyGyro", Root) | |
2912 | g1.D = 175 | |
2913 | g1.P = 20000 | |
2914 | g1.MaxTorque = Vector3.new(0,9000,0) | |
2915 | SOUND(RightArm,2014087015,8,false,3) | |
2916 | coroutine.wrap(function() | |
2917 | Charge = Instance.new("Sound",RightArm) | |
2918 | Charge.SoundId = "rbxassetid://101153932" | |
2919 | Charge.Looped = false | |
2920 | Charge.Volume = 8 | |
2921 | Charge:Play() | |
2922 | end)() | |
2923 | appi = true | |
2924 | coroutine.wrap(function() | |
2925 | while appi do | |
2926 | swait() | |
2927 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
2928 | position = "Idle3" | |
2929 | end | |
2930 | end | |
2931 | end)() | |
2932 | coroutine.wrap(function() | |
2933 | while appi do | |
2934 | swait() | |
2935 | settime = 0.05 | |
2936 | sine = sine + change | |
2937 | if position == "Idle3" and attacking == true and appi == true then | |
2938 | change = .4 | |
2939 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
2940 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) | |
2941 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2942 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4) | |
2943 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) | |
2944 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) | |
2945 | end | |
2946 | end | |
2947 | end)() | |
2948 | for i = 1, 15 do | |
2949 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
2950 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
2951 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2952 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
2953 | swait() | |
2954 | end | |
2955 | for i = 1, 3 do | |
2956 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
2957 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
2958 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2959 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
2960 | x = x + .1 | |
2961 | blastborb = Instance.new("Part",Torso) | |
2962 | blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
2963 | blastborb.BrickColor = BrickColor.new(colors) | |
2964 | blastborb.Anchored = true | |
2965 | blastborb.Size = Vector3.new(10,10,10) | |
2966 | blastborb.CanCollide = false | |
2967 | blastborb.Material = "Neon" | |
2968 | for i = 1, 5 do | |
2969 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
2970 | blastborb.Size = blastborb.Size - Vector3.new(1,1,1) | |
2971 | swait() | |
2972 | end | |
2973 | blastborb:Remove() | |
2974 | swait() | |
2975 | end | |
2976 | downpress = true | |
2977 | while charging and x < 5 do | |
2978 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
2979 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
2980 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2981 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
2982 | x = x + .1 | |
2983 | blastborb = Instance.new("Part",Torso) | |
2984 | blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
2985 | blastborb.BrickColor = BrickColor.new(colors) | |
2986 | blastborb.Anchored = true | |
2987 | blastborb.Size = Vector3.new(10,10,10) | |
2988 | blastborb.CanCollide = false | |
2989 | blastborb.Material = "Neon" | |
2990 | for i = 1, 5 do | |
2991 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
2992 | blastborb.Size = blastborb.Size - Vector3.new(1,1,1) | |
2993 | swait() | |
2994 | end | |
2995 | blastborb:Remove() | |
2996 | swait() | |
2997 | end | |
2998 | coroutine.wrap(function() | |
2999 | for i = 1, 20 do | |
3000 | Charge.Volume = Charge.Volume - .5 | |
3001 | swait() | |
3002 | end | |
3003 | end)() | |
3004 | local bigswoosh = Instance.new("Part",Torso) | |
3005 | bigswoosh.Name = "bigswoosh" | |
3006 | bigswoosh.CFrame = Root.CFrame * CFrame.new(1,0,-5) | |
3007 | bigswoosh.Size = Vector3.new(1,1,1) | |
3008 | bigswoosh.Material = "Neon" | |
3009 | bigswoosh.Anchored = true | |
3010 | - | bigswoosh.BrickColor = BrickColor.new("Really red") |
3010 | + | |
3011 | bigswoosh.BrickColor = BrickColor.new("White") | |
3012 | bigswoosh.CanCollide = false | |
3013 | SOUND(bigswoosh,842332424,10,false,6) | |
3014 | SOUND(bigswoosh,2017948224,10,false,6) | |
3015 | SOUND(bigswoosh,138677306,10,false,4) | |
3016 | coroutine.wrap(function() | |
3017 | local loc1 = Instance.new("Part",bigswoosh) | |
3018 | loc1.CFrame = bigswoosh.CFrame * CFrame.new(-3,0,0) | |
3019 | loc1.Size = Vector3.new(2,2,2) | |
3020 | loc1.Anchored = true | |
3021 | loc1.Transparency = 1 | |
3022 | loc1.CanCollide = false | |
3023 | local loc2 = Instance.new("Part",bigswoosh) | |
3024 | loc2.CFrame = bigswoosh.CFrame * CFrame.new(3,0,0) | |
3025 | loc2.Size = Vector3.new(2,2,2) | |
3026 | loc2.Anchored = true | |
3027 | loc2.Transparency = 1 | |
3028 | loc2.CanCollide = false | |
3029 | n = 0 | |
3030 | nb = 0 | |
3031 | for i = 1, 125 do | |
3032 | n = n + x | |
3033 | nb = nb - x | |
3034 | Hit = damagealll(n,bigswoosh.Position) | |
3035 | for _,v in pairs(Hit) do | |
3036 | if x > 4.5 then | |
3037 | v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints() | |
3038 | else | |
3039 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(4+x,10+x)) | |
3040 | end | |
3041 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
3042 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
3043 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
3044 | vel.velocity = CFrame.new(bigswoosh.Position,torso.Position).lookVector*150 | |
3045 | removeuseless:AddItem(vel,.1) | |
3046 | end | |
3047 | local bigtrail = Instance.new("Part",LeftArm) | |
3048 | bigtrail.Size = bigswoosh.Size | |
3049 | bigtrail.BrickColor = BrickColor.new(colors) | |
3050 | bigtrail.Anchored = true | |
3051 | bigtrail.Material = "Neon" | |
3052 | bigtrail.CFrame = bigswoosh.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
3053 | bigtrail.CanCollide = false | |
3054 | removeuseless:AddItem(bigtrail,2) | |
3055 | local irritatedground = Instance.new("Part",Torso) | |
3056 | irritatedground.Size = Vector3.new(n*1.5,1,3*x) | |
3057 | irritatedground.BrickColor = BrickColor.new(colors) | |
3058 | irritatedground.Material = "Neon" | |
3059 | irritatedground.CFrame = bigswoosh.CFrame * CFrame.new(0,-6,0) | |
3060 | irritatedground.CanCollide = false | |
3061 | irritatedground.Anchored = true | |
3062 | removeuseless:AddItem(irritatedground,10) | |
3063 | local grassblocks = Instance.new("Part",Torso) | |
3064 | grassblocks.Size = Vector3.new(n/2,n/2,n/2) | |
3065 | grassblocks.Material = "Grass" | |
3066 | grassblocks.Anchored = true | |
3067 | grassblocks.Name = "grassblocks" | |
3068 | grassblocks.BrickColor = BrickColor.new("Bright green") | |
3069 | grassblocks.CFrame = loc1.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
3070 | removeuseless:AddItem(grassblocks,10) | |
3071 | local grassblocks2 = Instance.new("Part",Torso) | |
3072 | grassblocks2.Size = Vector3.new(n/2,n/2,n/2) | |
3073 | grassblocks2.Material = "Grass" | |
3074 | grassblocks2.Anchored = true | |
3075 | grassblocks2.Name = "grassblocks2" | |
3076 | grassblocks2.BrickColor = BrickColor.new("Bright green") | |
3077 | grassblocks2.CFrame = loc2.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
3078 | removeuseless:AddItem(grassblocks2,10) | |
3079 | bigswoosh.Size = bigswoosh.Size + Vector3.new(x,x,x) | |
3080 | loc1.CFrame = bigswoosh.CFrame * CFrame.new(n,-3,0) | |
3081 | loc2.CFrame = bigswoosh.CFrame * CFrame.new(nb,-3,0) | |
3082 | bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3 - x) | |
3083 | swait() | |
3084 | end | |
3085 | for i = 1, 20 do | |
3086 | bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3) | |
3087 | bigswoosh.Transparency = bigswoosh.Transparency + 0.05 | |
3088 | swait() | |
3089 | end | |
3090 | bigswoosh:Remove() | |
3091 | end)() | |
3092 | for i = 1, 50 do | |
3093 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5) | |
3094 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) | |
3095 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5) | |
3096 | swait() | |
3097 | end | |
3098 | ws = 50 | |
3099 | attacking = false | |
3100 | debounce = false | |
3101 | appi = false | |
3102 | g1:Remove() | |
3103 | end | |
3104 | end) | |
3105 | ||
3106 | mouse.KeyDown:connect(function(Press) | |
3107 | Press=Press:lower() | |
3108 | if Press=='k' then | |
3109 | if debounce then return end | |
3110 | debounce = true | |
3111 | attacking = true | |
3112 | charging = true | |
3113 | appi = true | |
3114 | coroutine.wrap(function() | |
3115 | while appi do | |
3116 | swait() | |
3117 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
3118 | position = "Idle3" | |
3119 | end | |
3120 | end | |
3121 | end)() | |
3122 | coroutine.wrap(function() | |
3123 | while appi do | |
3124 | swait() | |
3125 | settime = 0.05 | |
3126 | sine = sine + change | |
3127 | if position == "Idle3" and attacking == true and appi == true then | |
3128 | change = .4 | |
3129 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
3130 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) | |
3131 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
3132 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4) | |
3133 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) | |
3134 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) | |
3135 | end | |
3136 | end | |
3137 | end)() | |
3138 | ws = 0 | |
3139 | g1 = Instance.new("BodyGyro", Root) | |
3140 | g1.D = 175 | |
3141 | g1.P = 20000 | |
3142 | g1.MaxTorque = Vector3.new(0,9000,0) | |
3143 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
3144 | for i = 1, 15 do | |
3145 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
3146 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
3147 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3148 | swait() | |
3149 | end | |
3150 | r = 0 | |
3151 | for i = 1, 10 do | |
3152 | r = r + .1 | |
3153 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
3154 | blass = Instance.new("Part",RightArm) | |
3155 | blass.Size = Vector3.new(r,r,r) | |
3156 | blass.Material = "Neon" | |
3157 | blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
3158 | blass.Anchored = true | |
3159 | blass.CanCollide = false | |
3160 | blass.BrickColor = BrickColor.new(colors) | |
3161 | removeuseless:AddItem(blass,2) | |
3162 | swait() | |
3163 | end | |
3164 | while r < 16 and charging == true do | |
3165 | r = r + .1 | |
3166 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
3167 | blass = Instance.new("Part",RightArm) | |
3168 | blass.Size = Vector3.new(r,r,r) | |
3169 | blass.Material = "Neon" | |
3170 | blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
3171 | blass.Anchored = true | |
3172 | blass.CanCollide = false | |
3173 | blass.BrickColor = BrickColor.new(colors) | |
3174 | removeuseless:AddItem(blass,2) | |
3175 | swait() | |
3176 | end | |
3177 | local TheBeam = Instance.new("Part",RightArm) | |
3178 | TheBeam.Name = "zebeam" | |
3179 | TheBeam.Size = Vector3.new(1,1,1) | |
3180 | TheBeam.Material = "Neon" | |
3181 | - | TheBeam.BrickColor = BrickColor.new("Really red") |
3181 | + | |
3182 | TheBeam.BrickColor = BrickColor.new("White") | |
3183 | TheBeam.Anchored = true | |
3184 | TheBeam.CanCollide = false | |
3185 | ws = 12 | |
3186 | bemmo = Instance.new("Sound",RightArm) | |
3187 | bemmo.SoundId = "rbxassetid://1910988873" | |
3188 | bemmo.Volume = 8 | |
3189 | bemmo.Looped = false | |
3190 | bemmo:Play() | |
3191 | bemmo.TimePosition = 2 | |
3192 | for i = 1, 100 * r/3 do | |
3193 | if r > 15 then | |
3194 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0)) | |
3195 | end | |
3196 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
3197 | local blass = Instance.new("Part",RightArm) | |
3198 | blass.Size = Vector3.new(r,r,r) | |
3199 | blass.Material = "Neon" | |
3200 | blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
3201 | blass.Anchored = true | |
3202 | blass.CanCollide = false | |
3203 | blass.BrickColor = BrickColor.new(colors) | |
3204 | removeuseless:AddItem(blass,2) | |
3205 | local STARTPOS = blass.CFrame*CFrame.new(0,0,0).p | |
3206 | local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character) | |
3207 | local DISTANCE = (STARTPOS - ENDPOS).magnitude | |
3208 | TheBeam.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)) | |
3209 | TheBeam.Size = Vector3.new(DISTANCE,r/math.random(1,2),r/math.random(1,2)) | |
3210 | boom = Instance.new("Part",RightArm) | |
3211 | boom.Size = Vector3.new(r,r,r) | |
3212 | boom.BrickColor = BrickColor.new(colors) | |
3213 | boom.Anchored = true | |
3214 | boom.CanCollide = false | |
3215 | boom.Material = "Neon" | |
3216 | boom.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
3217 | removeuseless:AddItem(boom,3) | |
3218 | boom.Touched:connect(function(getbase) | |
3219 | if hitdebounce then return end | |
3220 | hitdebounce = true | |
3221 | if getbase:IsA("Part") then | |
3222 | damagedground = Instance.new("Part",RightArm) | |
3223 | damagedground.Size = Vector3.new(.1,5+r,.1) | |
3224 | damagedground.Material = "Neon" | |
3225 | damagedground.CanCollide = false | |
3226 | damagedground.BrickColor = BrickColor.new(colors) | |
3227 | damagedground.Anchored = true | |
3228 | damagedground.CFrame = boom.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
3229 | removeuseless:AddItem(damagedground,2) | |
3230 | wait(.1) | |
3231 | hitdebounce = false | |
3232 | end | |
3233 | end) | |
3234 | Hit = damagealll(r+3,boom.Position) | |
3235 | for _,v in pairs(Hit) do | |
3236 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(r/1.1,r)) | |
3237 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) | |
3238 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
3239 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
3240 | vel.velocity = CFrame.new(boom.Position,torso.Position).lookVector*r | |
3241 | removeuseless:AddItem(vel,.1) | |
3242 | end | |
3243 | swait() | |
3244 | end | |
3245 | removeuseless:AddItem(g1,.001) | |
3246 | coroutine.wrap(function() | |
3247 | for i = 1, 20 do | |
3248 | bemmo.Volume = bemmo.Volume - 0.5 | |
3249 | blass.Transparency = blass.Transparency + 0.05 | |
3250 | TheBeam.Transparency = TheBeam.Transparency + 0.05 | |
3251 | swait() | |
3252 | end | |
3253 | bemmo:Remove() | |
3254 | if r > 15 then | |
3255 | hum.CameraOffset = Vector3.new(0,0,0) | |
3256 | end | |
3257 | blass:Remove() | |
3258 | TheBeam:Remove() | |
3259 | end)() | |
3260 | ws = 50 | |
3261 | appi = false | |
3262 | attacking = false | |
3263 | debounce = false | |
3264 | end | |
3265 | end) | |
3266 | ||
3267 | mouse.KeyUp:connect(function(Press) | |
3268 | Press=Press:lower() | |
3269 | if Press=='j' then | |
3270 | charging = false | |
3271 | end | |
3272 | end) | |
3273 | ||
3274 | mouse.KeyUp:connect(function(Press) | |
3275 | Press=Press:lower() | |
3276 | if Press=='k' then | |
3277 | charging = false | |
3278 | end | |
3279 | end) | |
3280 | ||
3281 | doit = coroutine.wrap(function() | |
3282 | while true do | |
3283 | for _,v in pairs(Repeater) do | |
3284 | v.Scale = v.Scale + Vector3.new(1, 1, 1) | |
3285 | end | |
3286 | ||
3287 | for _,v in pairs(openshocktable) do | |
3288 | v.Scale = v.Scale + Vector3.new(3, 3, 3) | |
3289 | end | |
3290 | ||
3291 | for _,v in pairs(nonmeshRepeater) do | |
3292 | v.Size = v.Size + Vector3.new(2, 2, 2) | |
3293 | end | |
3294 | ||
3295 | for _,v in pairs(Extreme) do | |
3296 | v.Size = v.Size + Vector3.new(6, 6, 6) | |
3297 | end | |
3298 | ||
3299 | for _,v in pairs(LessSize) do | |
3300 | v.Size = v.Size - Vector3.new(1, 1, 1) | |
3301 | end | |
3302 | ||
3303 | for _,v in pairs(nonmeshRepeater2) do | |
3304 | v.Transparency = v.Transparency + 0.05 | |
3305 | end | |
3306 | ||
3307 | for _,v in pairs(Repeater2) do | |
3308 | v.Transparency = v.Transparency - 0.05 | |
3309 | end | |
3310 | ||
3311 | for _,v in pairs(th1) do | |
3312 | v.CFrame = v.CFrame * CFrame.new(0,0+.3,0) * CFrame.Angles(0,math.rad(0+8),0) | |
3313 | end | |
3314 | ||
3315 | for _,v in pairs(th2) do | |
3316 | v.CFrame = v.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0+15),0) | |
3317 | end | |
3318 | ||
3319 | for _,v in pairs(th3) do | |
3320 | v.Scale = v.Scale + Vector3.new(2, 2, 2) | |
3321 | end | |
3322 | ||
3323 | for _,v in pairs(th5) do | |
3324 | v.Scale = v.Scale + Vector3.new(1, .1, 1) | |
3325 | end | |
3326 | ||
3327 | for _,v in pairs(ExtremeM) do | |
3328 | v.Size = v.Size + Vector3.new(8, 8, 8) | |
3329 | end | |
3330 | ||
3331 | for _,v in pairs(m3) do | |
3332 | v.Scale = v.Scale + Vector3.new(.2,.2,.2) | |
3333 | end | |
3334 | ||
3335 | for _,v in pairs(ExtremeM2) do | |
3336 | v.Size = v.Size - Vector3.new(2,2,2) | |
3337 | end | |
3338 | ||
3339 | for _,v in pairs(keyYsize) do | |
3340 | v.Scale = v.Scale + Vector3.new(8, 8, 1) | |
3341 | end | |
3342 | ||
3343 | for _,v in pairs(th4) do | |
3344 | v.Transparency = v.Transparency + 0.009 | |
3345 | v.Rotation = v.Rotation + Vector3.new(3,0,0) | |
3346 | end | |
3347 | ||
3348 | for _,v in pairs(SlowlyFade) do | |
3349 | v.Transparency = v.Transparency + 0.05 | |
3350 | end | |
3351 | ||
3352 | for _,v in pairs(keyYtransparency) do | |
3353 | v.Transparency = v.Transparency + 0.05 | |
3354 | end | |
3355 | ||
3356 | for _,v in pairs(UpMover) do | |
3357 | v.Position = v.Position + Vector3.new(0, 3, 0) | |
3358 | end | |
3359 | ||
3360 | for _,v in pairs(ForwardMover) do | |
3361 | v.CFrame = v.CFrame * CFrame.new(0, 0, 2.4 +(i/.1)) * CFrame.Angles(0, 0, math.rad(0)) | |
3362 | end | |
3363 | ||
3364 | for _,v in pairs(FadeIn) do | |
3365 | v.Transparency = v.Transparency - .05 | |
3366 | end | |
3367 | ||
3368 | for _,v in pairs(signtransparency) do | |
3369 | v.TextTransparency = v.TextTransparency + 0.025 | |
3370 | end | |
3371 | ||
3372 | for _,v in pairs(signmover) do | |
3373 | v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2)) | |
3374 | end | |
3375 | ||
3376 | for _,v in pairs(signrotator) do | |
3377 | v.Rotation = v.Rotation + 2 | |
3378 | end | |
3379 | swait() | |
3380 | end | |
3381 | end) | |
3382 | doit() | |
3383 | t = 0 | |
3384 | ||
3385 | mouse.KeyDown:connect(function(Press) | |
3386 | Press=Press:lower() | |
3387 | if Press=='0' then | |
3388 | if levitate then return end | |
3389 | shoov = true | |
3390 | if debounce then return end | |
3391 | ws = 50 | |
3392 | end | |
3393 | end) | |
3394 | ||
3395 | mouse.KeyUp:connect(function(Press) | |
3396 | Press=Press:lower() | |
3397 | if Press=='0' then | |
3398 | if levitate then return end | |
3399 | shoov = false | |
3400 | if debounce then return end | |
3401 | ws = 10 | |
3402 | end | |
3403 | end) | |
3404 | ||
3405 | ||
3406 | local anims = coroutine.wrap(function() | |
3407 | while true do | |
3408 | settime = 0.05 | |
3409 | sine = sine + change | |
3410 | if position == "Jump" and attacking == false then | |
3411 | change = 1 | |
3412 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
3413 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
3414 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
3415 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
3416 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
3417 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4) | |
3418 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4) | |
3419 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
3420 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
3421 | elseif position == "Jump2" and attacking == false and levitate then | |
3422 | change = 1 | |
3423 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
3424 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
3425 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
3426 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
3427 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
3428 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
3429 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
3430 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) | |
3431 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) | |
3432 | elseif position == "Falling" and attacking == false and levitate == false then | |
3433 | change = 1 | |
3434 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
3435 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
3436 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
3437 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
3438 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
3439 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
3440 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
3441 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2) | |
3442 | elseif position == "Falling2" and attacking == false and levitate then | |
3443 | change = 1 | |
3444 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
3445 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
3446 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
3447 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
3448 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
3449 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
3450 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
3451 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) | |
3452 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) | |
3453 | elseif position == "Walking" and attacking == false and running == false then | |
3454 | change = 1 | |
3455 | walking = true | |
3456 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
3457 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
3458 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
3459 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
3460 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
3461 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
3462 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.3) | |
3463 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
3464 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
3465 | elseif position == "Idle" and attacking == false and running == false and not levitate then | |
3466 | change = .5 | |
3467 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.1) | |
3468 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.1) | |
3469 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.1) | |
3470 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.1) | |
3471 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.1) | |
3472 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
3473 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1) | |
3474 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
3475 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
3476 | elseif position == "Idle2" and attacking == false and running == false then | |
3477 | change = .75 | |
3478 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1) | |
3479 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
3480 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) | |
3481 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
3482 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
3483 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4) | |
3484 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 - 3 * math.sin(sine/9)), math.rad(-35 + 5 * math.sin(sine/9))), 0.4) | |
3485 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) | |
3486 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) | |
3487 | elseif position == "Walking2" and attacking == false and running == false then | |
3488 | ws = 50 | |
3489 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
3490 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
3491 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
3492 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
3493 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
3494 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
3495 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
3496 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) | |
3497 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) | |
3498 | elseif position == "Running" and attacking == false then | |
3499 | change = 1 | |
3500 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(1.24+.6*math.sin(sine/4)/1.4, 0.54, 0+0.8*math.sin(sine/4)) * CFrame.Angles(math.rad(6-140*math.sin(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.sin(sine/4))), 0.3) | |
3501 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3) | |
3502 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3) | |
3503 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3504 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3) | |
3505 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3) | |
3506 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3) | |
3507 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3) | |
3508 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3) | |
3509 | end | |
3510 | swait() | |
3511 | end | |
3512 | end) | |
3513 | - | warn("Prepare for a magic trick full of pain and regret. Made by Supr14") |
3513 | + | |
3514 | warn("Prepare for a magic trick full of whips and nae naes. Made by Supr14 & edited by Iamdynamite") |