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