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