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