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