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