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