View difference between Paste ID: 1ZhtHf1n and CFwusW0W
SHOW: | | - or go back to the newest paste.
1
Player = game.Players.LocalPlayer
2
	Character = Player.Character
3
	local txt = Instance.new("BillboardGui", Character)
4
	txt.Adornee = Character.Head
5
	txt.Name = "_status"
6
	txt.Size = UDim2.new(2, 0, 1.2, 0)
7
	txt.StudsOffset = Vector3.new(-9, 8, 0)
8
	local text = Instance.new("TextLabel", txt)
9
	text.Size = UDim2.new(10, 0, 7, 0)
10
	text.FontSize = "Size24"
11
	text.TextScaled = true
12
	text.TextTransparency = 0
13
	text.BackgroundTransparency = 1 
14
	text.TextTransparency = 0
15
	text.TextStrokeTransparency = 0
16
	text.Font = "Antique"
17
	text.TextStrokeColor3 = Color3.new(0,1,0)
18-
        text.Text = "Claw of Death"
18+
        text.Text = "Meme Gun"
19
20
Player=game:GetService("Players").LocalPlayer
21
Character=Player.Character 
22
PlayerGui=Player.PlayerGui 
23
Backpack=Player.Backpack 
24
Torso=Character.Torso 
25
Head=Character.Head 
26
Humanoid=Character.Humanoid
27
m=Instance.new('Model',Character)
28
LeftArm=Character["Left Arm"] 
29
LeftLeg=Character["Left Leg"] 
30
RightArm=Character["Right Arm"] 
31
RightLeg=Character["Right Leg"] 
32
LS=Torso["Left Shoulder"] 
33
LH=Torso["Left Hip"] 
34
RS=Torso["Right Shoulder"] 
35
RH=Torso["Right Hip"] 
36
Face = Head.face
37
Neck=Torso.Neck
38
it=Instance.new
39
attacktype=1
40
vt=Vector3.new
41
cf=CFrame.new
42
euler=CFrame.fromEulerAnglesXYZ
43
angles=CFrame.Angles
44
cloaked=false
45
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
46
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
47
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
48
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
49
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
50
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
51
RootPart=Character.HumanoidRootPart
52
RootJoint=RootPart.RootJoint
53
RootCF=euler(-1.57,0,3.14)
54
attack = false 
55
attackdebounce = false 
56
deb=false
57
equipped=true
58
hand=false
59
MMouse=nil
60
combo=0
61
mana=0
62
trispeed=1
63
pathtrans=.7
64
attackmode='none'
65
local idle=0
66
local Anim="Idle"
67
local Effects={}
68
local gun=false
69
local shoot=false
70
player=nil 
71
cloak=false
72
lightcolor='Really red'
73
74
local Color1=Torso.BrickColor
75
 
76
local fengui=it("GuiMain") 
77
fengui.Parent=Player.PlayerGui 
78
fengui.Name="WeaponGUI" 
79
local fenframe=it("Frame") 
80
fenframe.Parent=fengui
81
fenframe.BackgroundColor3=Color3.new(255,255,255) 
82
fenframe.BackgroundTransparency=1 
83
fenframe.BorderColor3=Color3.new(17,17,17) 
84
fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
85
fenframe.Position=UDim2.new(0.4,0,0.1,0)
86
local fenbarmana1=it("TextLabel") 
87
fenbarmana1.Parent=fenframe 
88
fenbarmana1.Text=" " 
89
fenbarmana1.BackgroundTransparency=0 
90
fenbarmana1.BackgroundColor3=Color3.new(0,0,0) 
91
fenbarmana1.SizeConstraint="RelativeXY" 
92
fenbarmana1.TextXAlignment="Center" 
93
fenbarmana1.TextYAlignment="Center" 
94
fenbarmana1.Position=UDim2.new(0,0,0,0)
95
fenbarmana1.Size=UDim2.new(4,0,0.2,0)
96
local fenbarmana2=it("TextLabel") 
97
fenbarmana2.Parent=fenframe 
98
fenbarmana2.Text=" " 
99
fenbarmana2.BackgroundTransparency=0 
100
fenbarmana2.BackgroundColor3=Torso.Color
101
fenbarmana2.SizeConstraint="RelativeXY" 
102
fenbarmana2.TextXAlignment="Center" 
103
fenbarmana2.TextYAlignment="Center" 
104
fenbarmana2.Position=UDim2.new(0,0,0,0)
105
fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
106
local fenbarmana3=it("TextLabel") 
107
fenbarmana3.Parent=fenframe 
108
fenbarmana3.Text=" " 
109
fenbarmana3.BackgroundTransparency=0 
110
fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
111
fenbarmana3.SizeConstraint="RelativeXY" 
112
fenbarmana3.TextXAlignment="Center" 
113
fenbarmana3.TextYAlignment="Center" 
114
fenbarmana3.Position=UDim2.new(0,0,0,0)
115
fenbarmana3.Size=UDim2.new(0,0,0.2,0)
116
local fenbarmana4=it("TextLabel") 
117
fenbarmana4.Parent=fenframe 
118
fenbarmana4.Text="Energy("..mana..")"
119
fenbarmana4.BackgroundTransparency=1 
120
fenbarmana4.BackgroundColor3=Color3.new(0,0,0) 
121
fenbarmana4.SizeConstraint="RelativeXY" 
122
fenbarmana4.TextXAlignment="Center" 
123
fenbarmana4.TextYAlignment="Center" 
124
fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
125
fenbarmana4.Size=UDim2.new(4,0,0.2,0)
126
fenbarmana4.FontSize="Size9"
127
fenbarmana4.TextStrokeTransparency=0
128
fenbarmana4.TextColor=BrickColor.new("Deep orange")
129
130
mouse=Player:GetMouse()
131
--save shoulders 
132
RSH, LSH=nil, nil 
133
--welds 
134
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
135
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
136
LH=Torso["Left Hip"]
137
RH=Torso["Right Hip"]
138
TorsoColor=Torso.BrickColor
139
function NoOutline(Part)
140
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
141
end
142
player=Player 
143
ch=Character
144
RSH=ch.Torso["Right Shoulder"] 
145
LSH=ch.Torso["Left Shoulder"] 
146
-- 
147
RSH.Parent=nil 
148
LSH.Parent=nil 
149
-- 
150
RW.Name="Right Shoulder"
151
RW.Part0=ch.Torso 
152
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
153
RW.C1=cf(0, 0.5, 0) 
154
RW.Part1=ch["Right Arm"] 
155
RW.Parent=ch.Torso 
156
-- 
157
LW.Name="Left Shoulder"
158
LW.Part0=ch.Torso 
159
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
160
LW.C1=cf(0, 0.5, 0) 
161
LW.Part1=ch["Left Arm"] 
162
LW.Parent=ch.Torso 
163
164
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
165
local fp=it("Part")
166
fp.formFactor=formfactor 
167
fp.Parent=parent
168
fp.Reflectance=reflectance
169
fp.Transparency=transparency
170
fp.CanCollide=false 
171
fp.Locked=true
172
fp.BrickColor=brickcolor
173
fp.Name=name
174
fp.Size=size
175
fp.Position=Torso.Position 
176
NoOutline(fp)
177
fp.Material="Neon"
178
fp:BreakJoints()
179
return fp 
180
end 
181
 
182
function mesh(Mesh,part,meshtype,meshid,offset,scale)
183
local mesh=it(Mesh) 
184
mesh.Parent=part
185
if Mesh=="SpecialMesh" then
186
mesh.MeshType=meshtype
187
if meshid~="nil" then
188-
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
188+
mesh.MeshId="http://www.roblox.com/asset/?id=439124871"..meshid
189
end
190
end
191
mesh.Offset=offset
192
mesh.Scale=scale
193
return mesh
194
end
195
 
196
function weld(parent,part0,part1,c0)
197
local weld=it("Weld") 
198
weld.Parent=parent
199
weld.Part0=part0 
200
weld.Part1=part1 
201
weld.C0=c0
202
return weld
203
end
204
 
205
local Color1=Torso.BrickColor
206
207
local bodvel=Instance.new("BodyVelocity")
208
local bg=Instance.new("BodyGyro")
209
210
function swait(num)
211
if num==0 or num==nil then
212
game:service'RunService'.Stepped:wait(0)
213
else
214
for i=0,num do
215
game:service'RunService'.Stepped:wait(0)
216
end
217
end
218
end
219
 
220
 
221
so = function(id,par,vol,pit) 
222
coroutine.resume(coroutine.create(function()
223
local sou = Instance.new("Sound",par or workspace)
224
sou.Volume=vol
225
sou.Pitch=pit or 1
226
sou.SoundId=id
227
swait() 
228
sou:play() 
229
game:GetService("Debris"):AddItem(sou,6)
230
end))
231
end
232
 
233
function clerp(a,b,t) 
234
local qa = {QuaternionFromCFrame(a)}
235
local qb = {QuaternionFromCFrame(b)} 
236
local ax, ay, az = a.x, a.y, a.z 
237
local bx, by, bz = b.x, b.y, b.z
238
local _t = 1-t
239
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
240
end 
241
 
242
function QuaternionFromCFrame(cf) 
243
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
244
local trace = m00 + m11 + m22 
245
if trace > 0 then 
246
local s = math.sqrt(1 + trace) 
247
local recip = 0.5/s 
248
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
249
else 
250
local i = 0 
251
if m11 > m00 then
252
i = 1
253
end
254
if m22 > (i == 0 and m00 or m11) then 
255
i = 2 
256
end 
257
if i == 0 then 
258
local s = math.sqrt(m00-m11-m22+1) 
259
local recip = 0.5/s 
260
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
261
elseif i == 1 then 
262
local s = math.sqrt(m11-m22-m00+1) 
263
local recip = 0.5/s 
264
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
265
elseif i == 2 then 
266
local s = math.sqrt(m22-m00-m11+1) 
267
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
268
end 
269
end 
270
end
271
 
272
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
273
local xs, ys, zs = x + x, y + y, z + z 
274
local wx, wy, wz = w*xs, w*ys, w*zs 
275
local xx = x*xs 
276
local xy = x*ys 
277
local xz = x*zs 
278
local yy = y*ys 
279
local yz = y*zs 
280
local zz = z*zs 
281
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
282
end
283
 
284
function QuaternionSlerp(a, b, t) 
285
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
286
local startInterp, finishInterp; 
287
if cosTheta >= 0.0001 then 
288
if (1 - cosTheta) > 0.0001 then 
289
local theta = math.acos(cosTheta) 
290
local invSinTheta = 1/math.sin(theta) 
291
startInterp = math.sin((1-t)*theta)*invSinTheta 
292
finishInterp = math.sin(t*theta)*invSinTheta  
293
else 
294
startInterp = 1-t 
295
finishInterp = t 
296
end 
297
else 
298
if (1+cosTheta) > 0.0001 then 
299
local theta = math.acos(-cosTheta) 
300
local invSinTheta = 1/math.sin(theta) 
301
startInterp = math.sin((t-1)*theta)*invSinTheta 
302
finishInterp = math.sin(t*theta)*invSinTheta 
303
else 
304
startInterp = t-1 
305
finishInterp = t 
306
end 
307
end 
308
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
309
end
310
311
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
312
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
313
end 
314
315
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
316
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
317
prt.Anchored=true
318
prt.CFrame=cframe
319
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
320
--http://www.roblox.com/asset/?id=4770560
321
game:GetService("Debris"):AddItem(prt,2)
322
CF=prt.CFrame
323
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
324
for i=0,1,0.2 do
325
wait()
326
Part.CFrame=CF*cf(0,0,-0.4)
327
end
328
for i=0,1,delay do
329
wait()
330
--Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
331
Mesh.Scale=Mesh.Scale
332
end
333
for i=0,1,0.1 do
334
wait()
335
Part.Transparency=i
336
end
337
Part.Parent=nil
338
end),prt,msh,CF)
339
end
340
 
341
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
342
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
343
prt.Anchored=true
344
prt.CFrame=cframe
345
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
346
game:GetService("Debris"):AddItem(prt,5)
347
coroutine.resume(coroutine.create(function(Part,Mesh) 
348
for i=0,1,delay do
349
wait()
350
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
351
Part.Transparency=i
352
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
353
end
354
Part.Parent=nil
355
end),prt,msh)
356
end
357
 
358
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
359
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
360
prt.Anchored=false
361
prt.CFrame=cframe
362
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
363
local wld=weld(prt,prt,Parent,cframe)
364
game:GetService("Debris"):AddItem(prt,5)
365
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
366
for i=0,1,delay do
367
wait()
368
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
369
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
370
Part.Transparency=i
371
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
372
end
373
Part.Parent=nil
374
end),prt,msh,wld)
375
end
376
 
377
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
378
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
379
prt.Anchored=false
380
prt.CFrame=cframe
381
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
382
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
383
game:GetService("Debris"):AddItem(prt,5)
384
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
385
for i=0,1,delay do
386
wait()
387
Weld.C0=euler(i*20,0,0)
388
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
389
Part.Transparency=i
390
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
391
end
392
Part.Parent=nil
393
end),prt,msh,wld)
394
end
395
 
396
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
397
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
398
prt.Anchored=true
399
prt.CFrame=cframe
400
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
401
game:GetService("Debris"):AddItem(prt,2)
402
coroutine.resume(coroutine.create(function(Part,Mesh) 
403
for i=0,1,delay do
404
wait()
405
Part.CFrame=Part.CFrame
406
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
407
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
408
prt2.Anchored=true
409
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
410
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
411
game:GetService("Debris"):AddItem(prt2,2)
412
coroutine.resume(coroutine.create(function(Part,Mesh) 
413
for i=0,1,0.1 do
414
wait()
415
Part.CFrame=Part.CFrame*cf(0,0.5,0)
416
end
417
Part.Parent=nil
418
end),prt2,msh2)
419
end
420
for i=0,1,delay*2 do
421
wait()
422
Part.CFrame=Part.CFrame
423
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
424
end
425
Part.Parent=nil
426
end),prt,msh)
427
end
428
429
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
430
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
431
prt.Anchored=true
432
prt.CFrame=cframe
433
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
434
game:GetService("Debris"):AddItem(prt,2)
435
coroutine.resume(coroutine.create(function(Part,Mesh) 
436
for i=0,1,delay do
437
wait()
438
Part.CFrame=Part.CFrame
439
Part.Transparency=i
440
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
441
end
442
Part.Parent=nil
443
end),prt,msh)
444
end
445
 
446
function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
447
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
448
prt.Anchored=true
449
prt.CFrame=cframe*euler(x2,y2,z2)
450
--"http://www.roblox.com/asset/?id=168892465"
451
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
452
game:GetService("Debris"):AddItem(prt,2)
453
coroutine.resume(coroutine.create(function(Part,Mesh) 
454
for i=0,1,0.03 do
455
wait()
456
Part.CFrame=Part.CFrame
457
Part.Transparency=i
458
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
459
end
460
Part.Parent=nil
461
end),prt,msh)
462
end
463
 
464
function BreakEffect(brickcolor,cframe,x1,y1,z1)
465
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
466
prt.Anchored=true
467
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
468
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
469
game:GetService("Debris"):AddItem(prt,2)
470
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
471
CF=Part.CFrame
472
Numbb=0
473
randnumb=math.random()/10
474
rand1=math.random()/10
475
for i=0,1,rand1 do
476
wait()
477
CF=CF*cf(0,math.random()/2,0)
478
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
479
Part.CFrame=CF*euler(Numbb,0,0)
480
Part.Transparency=i
481
Numbb=Numbb+randnumb
482
end
483
Part.Parent=nil
484
end),prt,CF,Numbb,randnumb)
485
end
486
 
487
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
488
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
489
prt.Anchored=true
490
prt.CFrame=cframe
491
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
492
game:GetService("Debris"):AddItem(prt,5)
493
coroutine.resume(coroutine.create(function(Part,Mesh) 
494
for i=0,1,delay do
495
wait()
496
Part.CFrame=Part.CFrame*euler(0,0.7,0)
497
Part.Transparency=i
498
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
499
end
500
Part.Parent=nil
501
end),prt,msh)
502
end
503
 
504
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
505
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
506
prt.Anchored=true
507
prt.CFrame=cframe
508
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
509
game:GetService("Debris"):AddItem(prt,2)
510
coroutine.resume(coroutine.create(function(Part,Mesh) 
511
for i=0,1,delay do
512
wait()
513
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
514
Part.Transparency=i
515
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
516
end
517
Part.Parent=nil
518
end),prt,msh)
519
end
520
 
521
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
522
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
523
prt.Anchored=true
524
prt.CFrame=cframe*cf(x,y,z)
525
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
526
game:GetService("Debris"):AddItem(prt,5)
527
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
528
local num=math.random()
529
local num2=math.random(-3,2)+math.random()
530
local numm=0
531
for i=0,1,delay*2 do
532
swait()
533
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
534
Part.Transparency=i
535
numm=numm+0.01
536
end
537
Part.Parent=nil
538
Mesh.Parent=nil
539
end),prt,msh,x,y,z)
540
end
541
542
Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
543
        if hit.Parent==nil then
544
                return
545
        end
546
        h=hit.Parent:FindFirstChild("Humanoid")
547
        for _,v in pairs(hit.Parent:children()) do
548
        if v:IsA("Humanoid") then
549
        h=v
550
        end
551
        end
552
        if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
553
        h=hit.Parent.Parent:FindFirstChild("Humanoid")
554
        end
555
        if hit.Parent.className=="Hat" then
556
        hit=hit.Parent.Parent:findFirstChild("Head")
557
        end
558
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
559
        if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
560
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
561
                        return
562
                end]]
563
--                        hs(hit,1.2) 
564
                        c=Instance.new("ObjectValue")
565
                        c.Name="creator"
566
                        c.Value=game:service("Players").LocalPlayer
567
                        c.Parent=h
568
                        game:GetService("Debris"):AddItem(c,.5)
569
                Damage=math.random(minim,maxim)
570
--                h:TakeDamage(Damage)
571
                blocked=false
572
                block=hit.Parent:findFirstChild("Block")
573
                if block~=nil then
574
                print(block.className)
575
                if block.className=="NumberValue" then
576
                if block.Value>0 then
577
                blocked=true
578
                if decreaseblock==nil then
579
                block.Value=block.Value-1
580
                end
581
                end
582
                end
583
                if block.className=="IntValue" then
584
                if block.Value>0 then
585
                blocked=true
586
                if decreaseblock~=nil then
587
                block.Value=block.Value-1
588
                end
589
                end
590
                end
591
                end
592
                if blocked==false then
593
--                h:TakeDamage(Damage)
594
                h.Health=h.Health-Damage
595
                showDamage(hit.Parent,Damage,.5,TorsoColor)
596
                else
597
                h.Health=h.Health-(Damage/2)
598
                showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
599
                end
600
                if Type=="Knockdown" then
601
                hum=hit.Parent.Humanoid
602
hum.PlatformStand=true
603
coroutine.resume(coroutine.create(function(HHumanoid)
604
swait(1)
605
HHumanoid.PlatformStand=false
606
end),hum)
607
                local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
608
--hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
609
local bodvol=Instance.new("BodyVelocity")
610
bodvol.velocity=angle*knockback
611
bodvol.P=5000
612
bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
613
bodvol.Parent=hit
614
rl=Instance.new("BodyAngularVelocity")
615
rl.P=3000
616
rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
617
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
618
rl.Parent=hit
619
game:GetService("Debris"):AddItem(bodvol,.5)
620
game:GetService("Debris"):AddItem(rl,.5)
621
                elseif Type=="Normal" then
622
                vp=Instance.new("BodyVelocity")
623
                vp.P=500
624
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
625
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
626
                if KnockbackType==1 then
627
                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
628
                elseif KnockbackType==2 then
629
                vp.velocity=Property.CFrame.lookVector*knockback
630
                end
631
                if knockback>0 then
632
                        vp.Parent=hit.Parent.Torso
633
                end
634
                game:GetService("Debris"):AddItem(vp,.5)
635
                elseif Type=="Up" then
636
                local bodyVelocity=Instance.new("BodyVelocity")
637
                bodyVelocity.velocity=vt(0,10,0)
638
                bodyVelocity.P=1000
639
                bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
640
                bodyVelocity.Parent=hit
641
                game:GetService("Debris"):AddItem(bodyVelocity,1)
642
                rl=Instance.new("BodyAngularVelocity")
643
                rl.P=3000
644
                rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
645
                rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
646
                rl.Parent=hit
647
                game:GetService("Debris"):AddItem(rl,.5)
648
                elseif Type=="Snare" then
649
                bp=Instance.new("BodyPosition")
650
                bp.P=2000
651
                bp.D=100
652
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
653
                bp.position=hit.Parent.Torso.Position
654
                bp.Parent=hit.Parent.Torso
655
                game:GetService("Debris"):AddItem(bp,1)
656
                elseif Type=="Target" then
657
                if Targetting==false then
658
                ZTarget=hit.Parent.Torso
659
                coroutine.resume(coroutine.create(function(Part) 
660
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
661
                swait(5)
662
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
663
                end),ZTarget)
664
                TargHum=ZTarget.Parent:findFirstChild("Humanoid")
665
                targetgui=Instance.new("BillboardGui")
666
                targetgui.Parent=ZTarget
667
                targetgui.Size=UDim2.new(10,100,10,100)
668
                targ=Instance.new("ImageLabel")
669
                targ.Parent=targetgui
670
                targ.BackgroundTransparency=1
671
                targ.Image="rbxassetid://4834067"
672
                targ.Size=UDim2.new(1,0,1,0)
673
                cam.CameraType="Scriptable"
674
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
675
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
676
                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
677
                Targetting=true
678
                RocketTarget=ZTarget
679
                for i=1,Property do
680
                --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
681
                if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
682
                swait()
683
                end
684
                --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
685
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
686
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
687
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
688
                end
689
                Targetting=false
690
                RocketTarget=nil
691
                targetgui.Parent=nil
692
                cam.CameraType="Custom"
693
                end
694
                end
695
                        debounce=Instance.new("BoolValue")
696
                        debounce.Name="DebounceHit"
697
                        debounce.Parent=hit.Parent
698
                        debounce.Value=true
699
                        game:GetService("Debris"):AddItem(debounce,Delay)
700
                        c=Instance.new("ObjectValue")
701
                        c.Name="creator"
702
                        c.Value=Player
703
                        c.Parent=h
704
                        game:GetService("Debris"):AddItem(c,.5)
705
                CRIT=false
706
                hitDeb=true
707
                AttackPos=6
708
        end
709
end
710
 
711
showDamage=function(Char,Dealt,du,Color)
712
        m=Instance.new("Model")
713
        m.Name=tostring(Dealt)
714
        h=Instance.new("Humanoid")
715
        h.Health=0
716
        h.MaxHealth=0
717
        h.Parent=m
718
        c=Instance.new("Part")
719
        c.Transparency=0
720
        c.BrickColor=TorsoColor
721
        c.Name="Head"
722
        c.TopSurface=0
723
        c.BottomSurface=0
724
        c.formFactor="Plate"
725
        c.Size=Vector3.new(1,.4,1)
726
        ms=Instance.new("CylinderMesh")
727
        ms.Scale=Vector3.new(.8,.8,.8)
728
        so("http://www.roblox.com/asset/?id=199149269",c,1,1) 
729
        if CRIT==true then
730
                ms.Scale=Vector3.new(1,1.25,1)
731
        end
732
        ms.Parent=c
733
        c.Reflectance=0
734
        Instance.new("BodyGyro").Parent=c
735
        c.Parent=m
736
        if Char:findFirstChild("Head")~=nil then
737
        c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
738
        elseif Char.Parent:findFirstChild("Head")~=nil then
739
        c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
740
        end
741
        f=Instance.new("BodyPosition")
742
        f.P=2000
743
        f.D=100
744
        f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
745
        f.position=c.Position+Vector3.new(0,3,0)
746
        f.Parent=c
747
        game:GetService("Debris"):AddItem(m,.5+du)
748
        c.CanCollide=false
749
        m.Parent=workspace
750
        c.CanCollide=false
751
end
752
753
    Player=game:GetService('Players').LocalPlayer
754
    Character=Player.Character
755
    Mouse=Player:GetMouse()
756
    m=Instance.new('Model',Character)
757
758
759
    local function weldBetween(a, b)
760
        local weldd = Instance.new("ManualWeld")
761
        weldd.Part0 = a
762
        weldd.Part1 = b
763
        weldd.C0 = CFrame.new()
764
        weldd.C1 = b.CFrame:inverse() * a.CFrame
765
        weldd.Parent = a
766
        return weldd
767
    end
768
    
769
    it=Instance.new
770
    
771
    function nooutline(part)
772
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
773
    end
774
    
775
    function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
776
        local fp=it("Part")
777
        fp.formFactor=formfactor
778
        fp.Parent=parent
779
        fp.Reflectance=reflectance
780
        fp.Transparency=transparency
781
        fp.CanCollide=false
782
        fp.Locked=true
783
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
784
        fp.Name=name
785
        fp.Size=size
786
        fp.Position=Character.Torso.Position
787
        nooutline(fp)
788
        fp.Material=material
789
        fp:BreakJoints()
790
        return fp
791
    end
792
    
793
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
794
        local mesh=it(Mesh)
795
        mesh.Parent=part
796
        if Mesh=="SpecialMesh" then
797
            mesh.MeshType=meshtype
798
            mesh.MeshId=meshid
799
        end
800
        mesh.Offset=offset
801
        mesh.Scale=scale
802
        return mesh
803
    end
804
    
805
    function weld(parent,part0,part1,c0,c1)
806
        local weld=it("Weld")
807
        weld.Parent=parent
808
        weld.Part0=part0
809
        weld.Part1=part1
810
        weld.C0=c0
811
        weld.C1=c1
812
        return weld
813
    end
814
815
local modelzorz=Instance.new("Model") 
816
modelzorz.Parent=Character 
817
modelzorz.Name="Claw1"
818
819
Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
820
Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
821
mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
822
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
823
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
824
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
825
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
826
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
827
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
828
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
829
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
830
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
831
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
832
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
833
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
834
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
835
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
836
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
837
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
838
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
839
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
840
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
841
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
842
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
843
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
844
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
845
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
846
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
847
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
848
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
849
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
850
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
851
Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
852
Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
853
mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
854
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
855
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
856
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
857
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
858
Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
859
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
860
861
local modelzorz2=Instance.new("Model") 
862
modelzorz2.Parent=Character 
863
modelzorz2.Name="Claw2"
864
865
Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
866
Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
867
mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
868
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
869
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
870
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
871
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
872
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
873
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
874
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
875
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
876
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
877
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
878
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
879
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
880
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
881
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
882
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
883
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
884
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
885
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
886
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
887
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
888
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
889
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
890
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
891
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
892
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
893
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
894
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
895
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
896
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
897
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
898
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
899
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
900
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
901
Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
902
Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
903
mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
904
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
905
Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
906
907
local modelzorz3=Instance.new("Model") 
908
modelzorz3.Parent=Character 
909
modelzorz3.Name="Eye"
910
911
handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
912
handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
913
mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
914
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
915
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
916
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
917
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
918
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
919
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
920
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
921
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
922
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
923
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
924
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
925
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
926
Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
927
Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
928
Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
929
Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
930
Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
931
Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
932
Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
933
Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
934
local moosick = it("Sound",Character)
935
moosick.SoundId = "rbxassetid://142653441"
936
 --142653441, 175067863
937
moosick.Looped = true
938
moosick.Pitch = 1
939
moosick.Volume = 0
940
moosick:Play()
941
942
anim = Character:findFirstChild("Animate")
943
if anim then
944
anim:Destroy()
945
end
946
947
local particleemitter = Instance.new("ParticleEmitter", Handle)
948
particleemitter.VelocitySpread = 180
949
particleemitter.Lifetime = NumberRange.new(0.1)
950
particleemitter.Speed = NumberRange.new(2)
951
particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
952
particleemitter.RotSpeed = NumberRange.new(-45, 45)
953
particleemitter.Rate = 100
954
particleemitter.Rotation = NumberRange.new(-45, 45)
955
particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
956
particleemitter.LightEmission = 0
957
particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
958
959
local particleemitter = Instance.new("ParticleEmitter", Handle2)
960
particleemitter.VelocitySpread = 180
961
particleemitter.Lifetime = NumberRange.new(0.1)
962
particleemitter.Speed = NumberRange.new(2)
963
particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
964
particleemitter.RotSpeed = NumberRange.new(-45, 45)
965
particleemitter.Rate = 100
966
particleemitter.Rotation = NumberRange.new(-45, 45)
967
particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
968
particleemitter.LightEmission = 0
969
particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
970
971
local particleemitter = Instance.new("ParticleEmitter", handle)
972
particleemitter.VelocitySpread = 180
973
particleemitter.Lifetime = NumberRange.new(0.1)
974
particleemitter.Speed = NumberRange.new(2)
975
particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
976
particleemitter.RotSpeed = NumberRange.new(-45, 45)
977
particleemitter.Rate = 100
978
particleemitter.Rotation = NumberRange.new(-45, 45)
979
particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
980
particleemitter.LightEmission = 0.8
981
particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
982
983
local light = Instance.new("PointLight", Character.Torso)
984
light.Color = Color3.new(255,255,255)
985
light.Brightness = 5
986
light.Range = 15
987
988
particleemitter.Enabled = true
989
990
local Footsteps = it("Sound",Character.Torso)
991
Footsteps.SoundId = "rbxassetid://142665235"
992
Footsteps.Looped = true
993
Footsteps.Pitch = 0.8
994
Footsteps.Volume = 0.3
995
996
local Footsteps2 = it("Sound",Character.Torso)
997
Footsteps2.SoundId = "rbxassetid://142665235"
998
Footsteps2.Looped = true
999
Footsteps2.Pitch = 1
1000
Footsteps2.Volume = 0.4
1001
1002
local cam = game.Workspace.CurrentCamera
1003
1004
--cam.CameraSubject = Character
1005
1006
for i,v in pairs(Head:children()) do
1007
    if v:IsA("Sound") then
1008
        v:Destroy()
1009
    end
1010
end
1011
1012
mouse.Button1Down:connect(function()
1013
        if attack==false and attacktype==1 then
1014
                attacktype=2
1015
                attackone()
1016
        elseif attack==false and attacktype==2 then
1017
                attacktype=3
1018
                attacktwo()
1019
		elseif attack==false and attacktype==3 then
1020
				attacktype=4
1021
				attackthree()
1022
		elseif attack==false and attacktype==4 then
1023
				attacktype=1
1024
				attackfour()
1025
        end
1026
end)
1027
1028
mouse.KeyDown:connect(function(k)
1029
	k=k:lower()
1030
	if k=='e' then
1031
		if attack==false and mana>=20 then
1032
			Push()
1033
		end
1034
		elseif k=='g' then
1035
		if attack==false and mana>=50 then
1036
			Twirl()
1037
		end
1038
		elseif k=='v' then
1039
		if attack==false and mana>=25 then
1040
			MagicJump()
1041
		end
1042
		elseif k=='q' then
1043
		if attack==false then
1044
		idle=1000
1045
		end
1046
		elseif k=='h' then
1047
		if attack==false then
1048
		mana=100
1049
		end
1050
		elseif k=='y' then
1051
		if attack==false and mana>=100 then
1052
			Shred()
1053
		end
1054
		elseif k=='f' then
1055
		if attack==false and mana>=40 then
1056
			Spin()
1057
		end
1058
		elseif k=='r' then
1059
		if attack==false and mana>=20 then
1060
			Clap()
1061
		end
1062
		elseif k=='t' then
1063
		if attack==false then
1064
			Hai()
1065
		end
1066
		elseif k=='0' then
1067
		if attack==false then
1068
			Humanoid.WalkSpeed=(56)
1069
		end
1070
		elseif k=='j' then
1071
		if attack==false then
1072
			Humanoid.Health = 100
1073
			print("Congrats, you commited suicide.")
1074
		end
1075
	end
1076
end)
1077
1078
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1079
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1080
prt.Anchored=true
1081
prt.CFrame=cframe
1082
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
1083
game:GetService("Debris"):AddItem(prt,2)
1084
coroutine.resume(coroutine.create(function(Part,Mesh) 
1085
for i=0,1,delay do
1086
wait()
1087
Part.CFrame=Part.CFrame
1088
Part.Transparency=i
1089
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1090
end
1091
Part.Parent=nil
1092
end),prt,msh)
1093
end
1094
1095
TrailDeb = false
1096
1097
function equipanim()
1098
    attack=true
1099
    Humanoid.WalkSpeed = 0
1100
    if TrailDeb == false then
1101
							TrailDeb = true
1102
						end
1103
1104
						
1105
coroutine.wrap(function()
1106
local Old = handle.CFrame.p
1107
while wait()do
1108
if not TrailDeb then break end
1109
local New = handle.CFrame.p
1110
local Mag =(Old -New).magnitude
1111
local Dis =(Old +New)/2
1112
local Trail = Instance.new("Part",Character)
1113
Trail.Material = "Neon"
1114
Trail.Anchored = true
1115
Trail.CanCollide = false
1116
Trail.BrickColor = TorsoColor
1117
Trail.Size = Vector3.new(0.2,Mag,0.2)
1118
Trail.TopSurface = 0
1119
Trail.BottomSurface = 0
1120
Trail.formFactor = "Custom"
1121
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1122
local ms = Instance.new("BlockMesh",Trail)
1123
ms.Scale = Vector3.new(1,1,1)
1124
local TM = Instance.new("CylinderMesh",Trail)
1125
TM.Scale = Vector3.new(1,1,1)
1126
Old = New
1127
coroutine.wrap(function()
1128
for i = 1,0,-0.1 do
1129
wait()
1130
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1131
end
1132
Trail:remove()
1133
end)()
1134
coroutine.wrap(function()
1135
for i = 1,10 do
1136
wait()
1137
Trail.Transparency = Trail.Transparency +0.1
1138
end end)()end end)()
1139
coroutine.wrap(function()
1140
local Old = Handle.CFrame.p
1141
while wait()do
1142
if not TrailDeb then break end
1143
local New = Handle.CFrame.p
1144
local Mag =(Old -New).magnitude
1145
local Dis =(Old +New)/2
1146
local Trail = Instance.new("Part",Character)
1147
Trail.Material = "Neon"
1148
Trail.Anchored = true
1149
Trail.CanCollide = false
1150
Trail.BrickColor = TorsoColor
1151
Trail.Size = Vector3.new(0.2,Mag,0.2)
1152
Trail.TopSurface = 0
1153
Trail.BottomSurface = 0
1154
Trail.formFactor = "Custom"
1155
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1156
local ms = Instance.new("BlockMesh",Trail)
1157
ms.Scale = Vector3.new(1,1,1)
1158
local TM = Instance.new("CylinderMesh",Trail)
1159
TM.Scale = Vector3.new(1,1,1)
1160
Old = New
1161
coroutine.wrap(function()
1162
for i = 1,0,-0.1 do
1163
wait()
1164
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1165
end
1166
Trail:remove()
1167
end)()
1168
coroutine.wrap(function()
1169
for i = 1,10 do
1170
wait()
1171
Trail.Transparency = Trail.Transparency +0.1
1172
end end)()end end)()
1173
coroutine.wrap(function()
1174
local Old = Handle2.CFrame.p
1175
while wait()do
1176
if not TrailDeb then break end
1177
local New = Handle2.CFrame.p
1178
local Mag =(Old -New).magnitude
1179
local Dis =(Old +New)/2
1180
local Trail = Instance.new("Part",Character)
1181
Trail.Material = "Neon"
1182
Trail.Anchored = true
1183
Trail.CanCollide = false
1184
Trail.BrickColor = TorsoColor
1185
Trail.Size = Vector3.new(0.2,Mag,0.2)
1186
Trail.TopSurface = 0
1187
Trail.BottomSurface = 0
1188
Trail.formFactor = "Custom"
1189
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1190
local ms = Instance.new("BlockMesh",Trail)
1191
ms.Scale = Vector3.new(1,1,1)
1192
local TM = Instance.new("CylinderMesh",Trail)
1193
TM.Scale = Vector3.new(1,1,1)
1194
Old = New
1195
coroutine.wrap(function()
1196
for i = 1,0,-0.1 do
1197
wait()
1198
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1199
end
1200
Trail:remove()
1201
end)()
1202
coroutine.wrap(function()
1203
for i = 1,10 do
1204
wait()
1205
Trail.Transparency = Trail.Transparency +0.1
1206
end end)()end end)()
1207
    so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5) 
1208
    for i=0,1,0.005 do
1209
        swait()
1210
        moosick.Volume = 0+1*i
1211
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
1212
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
1213
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
1214
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
1215
        Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
1216
        LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
1217
        RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
1218
    end
1219
    for i=0,1,0.005 do
1220
        swait()
1221
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
1222
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
1223
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
1224
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
1225
        Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
1226
        LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
1227
        RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
1228
    end
1229
    so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
1230
    so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
1231
    for i=0,1,0.005 do
1232
        swait()
1233
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
1234
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
1235
        handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
1236
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
1237
        Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
1238
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
1239
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
1240
        RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
1241
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
1242
    end
1243
    for i=0,1,0.04 do
1244
        swait()
1245
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
1246
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1247
        Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1248
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)  
1249
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
1250
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
1251
       	RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
1252
		LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
1253
    end
1254
    --dmgstop()
1255
    attack=false
1256
    Humanoid.WalkSpeed = 12
1257
if TrailDeb == true then
1258
						TrailDeb = false
1259
end
1260
end
1261
1262
function attackone()
1263
    attack=true
1264
    if TrailDeb == false then
1265
							TrailDeb = true
1266
						end
1267
						
1268
1269
coroutine.wrap(function()
1270
local Old = Handle.CFrame.p
1271
while wait()do
1272
if not TrailDeb then break end
1273
local New = Handle.CFrame.p
1274
local Mag =(Old -New).magnitude
1275
local Dis =(Old +New)/2
1276
local Trail = Instance.new("Part",Character)
1277
Trail.Material = "Neon"
1278
Trail.Anchored = true
1279
Trail.CanCollide = false
1280
Trail.BrickColor = TorsoColor
1281
Trail.Size = Vector3.new(0.2,Mag,0.2)
1282
Trail.TopSurface = 0
1283
Trail.BottomSurface = 0
1284
Trail.formFactor = "Custom"
1285
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1286
local ms = Instance.new("BlockMesh",Trail)
1287
ms.Scale = Vector3.new(1,1,1)
1288
local TM = Instance.new("CylinderMesh",Trail)
1289
TM.Scale = Vector3.new(1,1,1)
1290
Old = New
1291
coroutine.wrap(function()
1292
for i = 1,0,-0.1 do
1293
wait()
1294
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1295
end
1296
Trail:remove()
1297
end)()
1298
coroutine.wrap(function()
1299
for i = 1,10 do
1300
wait()
1301
Trail.Transparency = Trail.Transparency +0.1
1302
end end)()end end)()
1303
    con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) 
1304
    for i=0,1,0.08 do
1305
        swait()
1306
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
1307
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
1308
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1309
        Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
1310
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1311
        RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
1312
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1313
    end
1314
    so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9) 
1315
    so("http://www.roblox.com/asset/?id=159972643",Torso,1,1) 
1316
    for i=0,1,0.1 do
1317
        swait()
1318
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
1319
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
1320
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1321
        Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
1322
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1323
        RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
1324
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1325
    end
1326
    --dmgstop()
1327
    attack=false
1328
    con1:disconnect()
1329
if TrailDeb == true then
1330
						TrailDeb = false
1331
end
1332
end
1333
1334
function attacktwo()
1335
    attack=true
1336
if TrailDeb == false then
1337
							TrailDeb = true
1338
						end
1339
						
1340
1341
coroutine.wrap(function()
1342
local Old = Handle2.CFrame.p
1343
while wait()do
1344
if not TrailDeb then break end
1345
local New = Handle2.CFrame.p
1346
local Mag =(Old -New).magnitude
1347
local Dis =(Old +New)/2
1348
local Trail = Instance.new("Part",Character)
1349
Trail.Material = "Neon"
1350
Trail.Anchored = true
1351
Trail.CanCollide = false
1352
Trail.BrickColor = TorsoColor
1353
Trail.Size = Vector3.new(0.2,Mag,0.2)
1354
Trail.TopSurface = 0
1355
Trail.BottomSurface = 0
1356
Trail.formFactor = "Custom"
1357
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1358
local ms = Instance.new("BlockMesh",Trail)
1359
ms.Scale = Vector3.new(1,1,1)
1360
local TM = Instance.new("CylinderMesh",Trail)
1361
TM.Scale = Vector3.new(1,1,1)
1362
Old = New
1363
coroutine.wrap(function()
1364
for i = 1,0,-0.1 do
1365
wait()
1366
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1367
end
1368
Trail:remove()
1369
end)()
1370
coroutine.wrap(function()
1371
for i = 1,10 do
1372
wait()
1373
Trail.Transparency = Trail.Transparency +0.1
1374
end end)()end end)()
1375
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) 
1376
    for i=0,1,0.08 do
1377
        swait()
1378
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
1379
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
1380
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1381
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
1382
        Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1383
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
1384
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
1385
    end
1386
    so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) 
1387
    so("http://www.roblox.com/asset/?id=159972627",Torso,1,1) 
1388
    for i=0,1,0.1 do
1389
        swait()
1390
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
1391
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
1392
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1393
        Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
1394
        Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1395
        LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
1396
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
1397
    end
1398
    --dmgstop()
1399
    attack=false
1400
    con1:disconnect()
1401
if TrailDeb == true then
1402
						TrailDeb = false
1403
end
1404
end
1405
1406
function attackthree()
1407
    attack=true
1408
    if TrailDeb == false then
1409
							TrailDeb = true
1410
						end
1411
1412
						
1413
coroutine.wrap(function()
1414
local Old = Handle.CFrame.p
1415
while wait()do
1416
if not TrailDeb then break end
1417
local New = Handle.CFrame.p
1418
local Mag =(Old -New).magnitude
1419
local Dis =(Old +New)/2
1420
local Trail = Instance.new("Part",Character)
1421
Trail.Material = "Neon"
1422
Trail.Anchored = true
1423
Trail.CanCollide = false
1424
Trail.BrickColor = TorsoColor
1425
Trail.Size = Vector3.new(0.2,Mag,0.2)
1426
Trail.TopSurface = 0
1427
Trail.BottomSurface = 0
1428
Trail.formFactor = "Custom"
1429
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1430
local ms = Instance.new("BlockMesh",Trail)
1431
ms.Scale = Vector3.new(1,1,1)
1432
local TM = Instance.new("CylinderMesh",Trail)
1433
TM.Scale = Vector3.new(1,1,1)
1434
Old = New
1435
coroutine.wrap(function()
1436
for i = 1,0,-0.1 do
1437
wait()
1438
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1439
end
1440
Trail:remove()
1441
end)()
1442
coroutine.wrap(function()
1443
for i = 1,10 do
1444
wait()
1445
Trail.Transparency = Trail.Transparency +0.1
1446
end end)()end end)()
1447
    con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end) 
1448
    for i=0,1,0.08 do
1449
        swait()
1450
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1451
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
1452
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1453
        Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
1454
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1455
        RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
1456
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1457
    end
1458
    so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) 
1459
    so("http://www.roblox.com/asset/?id=159882477",Torso,1,1) 
1460
    for i=0,1,0.05 do
1461
        swait()
1462
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
1463
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
1464
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1465
        Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
1466
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1467
        RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
1468
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1469
    end
1470
    --dmgstop()
1471
    attack=false
1472
    con1:disconnect()
1473
if TrailDeb == true then
1474
						TrailDeb = false
1475
end
1476
end
1477
1478
function attackfour()
1479
    attack=true
1480
if TrailDeb == false then
1481
							TrailDeb = true
1482
						end
1483
						
1484
1485
coroutine.wrap(function()
1486
local Old = Handle2.CFrame.p
1487
while wait()do
1488
if not TrailDeb then break end
1489
local New = Handle2.CFrame.p
1490
local Mag =(Old -New).magnitude
1491
local Dis =(Old +New)/2
1492
local Trail = Instance.new("Part",Character)
1493
Trail.Material = "Neon"
1494
Trail.Anchored = true
1495
Trail.CanCollide = false
1496
Trail.BrickColor = TorsoColor
1497
Trail.Size = Vector3.new(0.2,Mag,0.2)
1498
Trail.TopSurface = 0
1499
Trail.BottomSurface = 0
1500
Trail.formFactor = "Custom"
1501
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1502
local ms = Instance.new("BlockMesh",Trail)
1503
ms.Scale = Vector3.new(1,1,1)
1504
local TM = Instance.new("CylinderMesh",Trail)
1505
TM.Scale = Vector3.new(1,1,1)
1506
Old = New
1507
coroutine.wrap(function()
1508
for i = 1,0,-0.1 do
1509
wait()
1510
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1511
end
1512
Trail:remove()
1513
end)()
1514
coroutine.wrap(function()
1515
for i = 1,10 do
1516
wait()
1517
Trail.Transparency = Trail.Transparency +0.1
1518
end end)()end end)()
1519
coroutine.wrap(function()
1520
local Old = Handle.CFrame.p
1521
while wait()do
1522
if not TrailDeb then break end
1523
local New = Handle.CFrame.p
1524
local Mag =(Old -New).magnitude
1525
local Dis =(Old +New)/2
1526
local Trail = Instance.new("Part",Character)
1527
Trail.Material = "Neon"
1528
Trail.Anchored = true
1529
Trail.CanCollide = false
1530
Trail.BrickColor = TorsoColor
1531
Trail.Size = Vector3.new(0.2,Mag,0.2)
1532
Trail.TopSurface = 0
1533
Trail.BottomSurface = 0
1534
Trail.formFactor = "Custom"
1535
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1536
local ms = Instance.new("BlockMesh",Trail)
1537
ms.Scale = Vector3.new(1,1,1)
1538
local TM = Instance.new("CylinderMesh",Trail)
1539
TM.Scale = Vector3.new(1,1,1)
1540
Old = New
1541
coroutine.wrap(function()
1542
for i = 1,0,-0.1 do
1543
wait()
1544
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1545
end
1546
Trail:remove()
1547
end)()
1548
coroutine.wrap(function()
1549
for i = 1,10 do
1550
wait()
1551
Trail.Transparency = Trail.Transparency +0.1
1552
end end)()end end)()
1553
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) 
1554
    con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) 
1555
    for i=0,1,0.08 do
1556
        swait()
1557
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
1558
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1559
        Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1560
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)  
1561
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
1562
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
1563
       	RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
1564
		LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
1565
    end
1566
if anim then
1567
anim.Disabled=true
1568
end
1569
    so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7) 
1570
    so("http://www.roblox.com/asset/?id=159882584",Torso,1,1) 
1571
    for i=0,1,0.04 do
1572
        swait()
1573
        Torso.Velocity=RootPart.CFrame.lookVector*50
1574
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
1575
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1576
        Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1577
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
1578
        RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
1579
        LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
1580
        RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1581
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1582
    end
1583
    --dmgstop()
1584
    attack=false
1585
    con1:disconnect()
1586
    con2:disconnect()
1587
if anim then
1588
anim.Disabled=false
1589
end
1590
if TrailDeb == true then
1591
						TrailDeb = false
1592
end
1593
end
1594
1595
function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
1596
	local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1597
	prt.Anchored = true
1598
	prt.CFrame = cframe
1599
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
1600
	coroutine.resume(coroutine.create(function() 
1601
		for i = 0, 1, 0.05 do
1602
			wait()
1603
			prt.Transparency = i
1604
			msh.Scale = msh.Scale + vt(x2, y2, z2)
1605
		end
1606
		prt.Parent = nil
1607
	end))
1608
end
1609
1610
function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
1611
	for _, c in pairs(workspace:children()) do
1612
		local hum = c:findFirstChild("Humanoid")
1613
		if hum ~= nil then
1614
			local head = c:findFirstChild("Torso")
1615
			if head ~= nil then
1616
				local targ = head.Position - Part.Position
1617
				local mag = targ.magnitude
1618
				if mag <= magni and c.Name ~= Player.Name then 
1619
					Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
1620
				end
1621
			end
1622
		end
1623
	end
1624
end
1625
1626
function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1627
	local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1628
	prt.Anchored = true
1629
	prt.CFrame = cframe
1630
	local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
1631
	game:GetService("Debris"):AddItem(prt, 2)
1632
	coroutine.resume(coroutine.create(function(Part, Mesh) 
1633
		for i = 0, 1, delay do
1634
			swait()
1635
			Part.CFrame = Part.CFrame
1636
			Part.Transparency = i
1637
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1638
		end
1639
		Part.Parent = nil
1640
	end), prt, msh)
1641
end
1642
1643
function MagicJump()
1644
	if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
1645
    attack=true
1646
	mana=mana-25
1647
--[[	Humanoid.WalkSpeed = 0
1648
	    for i=0,1,0.01 do
1649
        swait()
1650
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
1651
		Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
1652
		Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
1653
		RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
1654
		LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
1655
		RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
1656
		LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
1657
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
1658
		Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
1659
		Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
1660
    end]]--
1661
	Humanoid.Jump = true
1662
	Torso.Velocity = vt(0, 150, 0)
1663
	Humanoid.WalkSpeed = 64
1664
	so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) 
1665
	so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) 
1666
 	for i=0,1,0.05 do
1667
	swait()
1668
	Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
1669
	Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
1670
	RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
1671
    LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
1672
    RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
1673
	RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
1674
	LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
1675
	handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
1676
	Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
1677
	Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
1678
end
1679
 	for i=0,1,0.02 do
1680
	swait()
1681
	Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
1682
	Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
1683
	RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
1684
	RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
1685
	RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
1686
	LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
1687
	LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
1688
	RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
1689
	LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
1690
	handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
1691
	Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
1692
	Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
1693
end
1694
	Humanoid.WalkSpeed = 0
1695
	swait(8)
1696
	so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
1697
	so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
1698
	local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
1699
	if hit~=nil then
1700
	swait(2)
1701
	local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
1702
	ref.Anchored=true
1703
	ref.CFrame=cf(pos)
1704
	game:GetService("Debris"):AddItem(ref,3)
1705
	for i=1,10 do
1706
	local Col=BrickColor.new("Really black")
1707
	local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
1708
	groundpart.Anchored=true
1709
	groundpart.CanCollide=false
1710
	groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1711
	local Col2=TorsoColor
1712
	local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
1713
	groundpart2.Anchored=true
1714
	groundpart2.CanCollide=false
1715
	groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1716
	game:GetService("Debris"):AddItem(groundpart,5)
1717
	game:GetService("Debris"):AddItem(groundpart2,5)
1718
	end
1719
	BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
1720
	BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
1721
	MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
1722
	MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
1723
 	for i=0,1,0.06 do
1724
	swait()
1725
	Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
1726
	Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
1727
	RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
1728
	RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
1729
	LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
1730
	RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
1731
	LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
1732
	handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
1733
	Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
1734
	Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
1735
end
1736
end
1737
	swait(20)
1738
	Humanoid.WalkSpeed = 12
1739
    --dmgstop()
1740
    attack=false
1741
end
1742
end
1743
1744
function Spin()
1745
    attack=true
1746
mana=mana-40
1747
if TrailDeb == false then
1748
							TrailDeb = true
1749
						end
1750
						
1751
coroutine.wrap(function()
1752
local Old = Handle2.CFrame.p
1753
while wait()do
1754
if not TrailDeb then break end
1755
local New = Handle2.CFrame.p
1756
local Mag =(Old -New).magnitude
1757
local Dis =(Old +New)/2
1758
local Trail = Instance.new("Part",Character)
1759
Trail.Material = "Neon"
1760
Trail.Anchored = true
1761
Trail.CanCollide = false
1762
Trail.BrickColor = TorsoColor
1763
Trail.Size = Vector3.new(0.2,Mag,0.2)
1764
Trail.TopSurface = 0
1765
Trail.BottomSurface = 0
1766
Trail.formFactor = "Custom"
1767
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1768
local ms = Instance.new("BlockMesh",Trail)
1769
ms.Scale = Vector3.new(1,1,1)
1770
local TM = Instance.new("CylinderMesh",Trail)
1771
TM.Scale = Vector3.new(1,1,1)
1772
Old = New
1773
coroutine.wrap(function()
1774
for i = 1,0,-0.1 do
1775
wait()
1776
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1777
end
1778
Trail:remove()
1779
end)()
1780
coroutine.wrap(function()
1781
for i = 1,10 do
1782
wait()
1783
Trail.Transparency = Trail.Transparency +0.1
1784
end end)()end end)()
1785
coroutine.wrap(function()
1786
local Old = Handle.CFrame.p
1787
while wait()do
1788
if not TrailDeb then break end
1789
local New = Handle.CFrame.p
1790
local Mag =(Old -New).magnitude
1791
local Dis =(Old +New)/2
1792
local Trail = Instance.new("Part",Character)
1793
Trail.Material = "Neon"
1794
Trail.Anchored = true
1795
Trail.CanCollide = false
1796
Trail.BrickColor = TorsoColor
1797
Trail.Size = Vector3.new(0.2,Mag,0.2)
1798
Trail.TopSurface = 0
1799
Trail.BottomSurface = 0
1800
Trail.formFactor = "Custom"
1801
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1802
local ms = Instance.new("BlockMesh",Trail)
1803
ms.Scale = Vector3.new(1,1,1)
1804
local TM = Instance.new("CylinderMesh",Trail)
1805
TM.Scale = Vector3.new(1,1,1)
1806
Old = New
1807
coroutine.wrap(function()
1808
for i = 1,0,-0.1 do
1809
wait()
1810
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1811
end
1812
Trail:remove()
1813
end)()
1814
coroutine.wrap(function()
1815
for i = 1,10 do
1816
wait()
1817
Trail.Transparency = Trail.Transparency +0.1
1818
end end)()end end)()
1819
	Footsteps:Stop()
1820
	Footsteps2:Stop()
1821
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) 
1822
    con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) 
1823
    so("http://www.roblox.com/asset/?id=159882497",Torso,1,1) 
1824
    for i=0,1,0.1 do
1825
        swait()
1826
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1827
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1828
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1829
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)  
1830
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
1831
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
1832
    end
1833
if anim then
1834
anim.Disabled=true
1835
end
1836
    so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) 
1837
    so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) 
1838
    for i=0,1,0.05 do
1839
        swait()
1840
        Torso.Velocity=RootPart.CFrame.lookVector*100
1841
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
1842
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1843
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1844
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
1845
        RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
1846
        LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
1847
    end
1848
    so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) 
1849
    so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) 
1850
    for i=0,1,0.05 do
1851
        swait()
1852
        Torso.Velocity=RootPart.CFrame.lookVector*100
1853
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
1854
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1855
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1856
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
1857
        RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
1858
        LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
1859
    end
1860
    so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) 
1861
    so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) 
1862
    for i=0,1,0.05 do
1863
        swait()
1864
        Torso.Velocity=RootPart.CFrame.lookVector*100
1865
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
1866
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1867
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1868
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
1869
        RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
1870
        LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
1871
    end
1872
    --dmgstop()
1873
Humanoid.WalkSpeed=12
1874
    attack=false
1875
    con1:disconnect()
1876
    con2:disconnect()
1877
if anim then
1878
anim.Disabled=false
1879
end
1880
if TrailDeb == true then
1881
						TrailDeb = false
1882
end
1883
end
1884
1885
function Twirl()
1886
mana=mana-50
1887
    attack=true
1888
if TrailDeb == false then
1889
							TrailDeb = true
1890
						end
1891
						
1892
1893
coroutine.wrap(function()
1894
local Old = Handle2.CFrame.p
1895
while wait()do
1896
if not TrailDeb then break end
1897
local New = Handle2.CFrame.p
1898
local Mag =(Old -New).magnitude
1899
local Dis =(Old +New)/2
1900
local Trail = Instance.new("Part",Character)
1901
Trail.Material = "Neon"
1902
Trail.Anchored = true
1903
Trail.CanCollide = false
1904
Trail.BrickColor = TorsoColor
1905
Trail.Size = Vector3.new(0.2,Mag,0.2)
1906
Trail.TopSurface = 0
1907
Trail.BottomSurface = 0
1908
Trail.formFactor = "Custom"
1909
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1910
local ms = Instance.new("BlockMesh",Trail)
1911
ms.Scale = Vector3.new(1,1,1)
1912
local TM = Instance.new("CylinderMesh",Trail)
1913
TM.Scale = Vector3.new(1,1,1)
1914
Old = New
1915
coroutine.wrap(function()
1916
for i = 1,0,-0.1 do
1917
wait()
1918
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1919
end
1920
Trail:remove()
1921
end)()
1922
coroutine.wrap(function()
1923
for i = 1,10 do
1924
wait()
1925
Trail.Transparency = Trail.Transparency +0.1
1926
end end)()end end)()
1927
coroutine.wrap(function()
1928
local Old = Handle.CFrame.p
1929
while wait()do
1930
if not TrailDeb then break end
1931
local New = Handle.CFrame.p
1932
local Mag =(Old -New).magnitude
1933
local Dis =(Old +New)/2
1934
local Trail = Instance.new("Part",Character)
1935
Trail.Material = "Neon"
1936
Trail.Anchored = true
1937
Trail.CanCollide = false
1938
Trail.BrickColor = TorsoColor
1939
Trail.Size = Vector3.new(0.2,Mag,0.2)
1940
Trail.TopSurface = 0
1941
Trail.BottomSurface = 0
1942
Trail.formFactor = "Custom"
1943
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1944
local ms = Instance.new("BlockMesh",Trail)
1945
ms.Scale = Vector3.new(1,1,1)
1946
local TM = Instance.new("CylinderMesh",Trail)
1947
TM.Scale = Vector3.new(1,1,1)
1948
Old = New
1949
coroutine.wrap(function()
1950
for i = 1,0,-0.1 do
1951
wait()
1952
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1953
end
1954
Trail:remove()
1955
end)()
1956
coroutine.wrap(function()
1957
for i = 1,10 do
1958
wait()
1959
Trail.Transparency = Trail.Transparency +0.1
1960
end end)()end end)()
1961
	Footsteps:Stop()
1962
	Footsteps2:Stop()
1963
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) 
1964
    con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) 
1965
    so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
1966
    for i=0,1,0.1 do
1967
        swait()
1968
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1969
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1970
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1971
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)  
1972
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
1973
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
1974
    end
1975
if anim then
1976
anim.Disabled=true
1977
end
1978
    so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) 
1979
    so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) 
1980
    for i=0,1,0.05 do
1981
        swait()
1982
        Torso.Velocity=RootPart.CFrame.lookVector*80
1983
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
1984
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1985
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1986
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
1987
        RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
1988
        LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
1989
    end
1990
    so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) 
1991
    so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) 
1992
    for i=0,1,0.05 do
1993
        swait()
1994
        Torso.Velocity=RootPart.CFrame.lookVector*80
1995
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
1996
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1997
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1998
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
1999
        RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
2000
        LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
2001
    end
2002
    so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) 
2003
    so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) 
2004
    for i=0,1,0.05 do
2005
        swait()
2006
        Torso.Velocity=RootPart.CFrame.lookVector*80
2007
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
2008
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2009
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
2010
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
2011
        RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
2012
        LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
2013
    end
2014
    so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) 
2015
    so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) 
2016
    for i=0,1,0.05 do
2017
        swait()
2018
        Torso.Velocity=RootPart.CFrame.lookVector*80
2019
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
2020
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2021
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
2022
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
2023
        RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
2024
        LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
2025
    end
2026
    --dmgstop()
2027
Humanoid.WalkSpeed=12
2028
    attack=false
2029
    con1:disconnect()
2030
    con2:disconnect()
2031
if anim then
2032
anim.Disabled=false
2033
end
2034
if TrailDeb == true then
2035
						TrailDeb = false
2036
end
2037
end
2038
2039
function Shred()
2040
    attack=true
2041
    mana=mana-100
2042
if TrailDeb == false then
2043
							TrailDeb = true
2044
						end
2045
						
2046
2047
coroutine.wrap(function()
2048
local Old = Handle2.CFrame.p
2049
while wait()do
2050
if not TrailDeb then break end
2051
local New = Handle2.CFrame.p
2052
local Mag =(Old -New).magnitude
2053
local Dis =(Old +New)/2
2054
local Trail = Instance.new("Part",Character)
2055
Trail.Material = "Neon"
2056
Trail.Anchored = true
2057
Trail.CanCollide = false
2058
Trail.BrickColor = TorsoColor
2059
Trail.Size = Vector3.new(0.2,Mag,0.2)
2060
Trail.TopSurface = 0
2061
Trail.BottomSurface = 0
2062
Trail.formFactor = "Custom"
2063
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
2064
local ms = Instance.new("BlockMesh",Trail)
2065
ms.Scale = Vector3.new(1,1,1)
2066
local TM = Instance.new("CylinderMesh",Trail)
2067
TM.Scale = Vector3.new(1,1,1)
2068
Old = New
2069
coroutine.wrap(function()
2070
for i = 1,0,-0.1 do
2071
wait()
2072
TM.Scale = TM.Scale * Vector3.new(i,1,i)
2073
end
2074
Trail:remove()
2075
end)()
2076
coroutine.wrap(function()
2077
for i = 1,10 do
2078
wait()
2079
Trail.Transparency = Trail.Transparency +0.1
2080
end end)()end end)()
2081
coroutine.wrap(function()
2082
local Old = Handle.CFrame.p
2083
while wait()do
2084
if not TrailDeb then break end
2085
local New = Handle.CFrame.p
2086
local Mag =(Old -New).magnitude
2087
local Dis =(Old +New)/2
2088
local Trail = Instance.new("Part",Character)
2089
Trail.Material = "Neon"
2090
Trail.Anchored = true
2091
Trail.CanCollide = false
2092
Trail.BrickColor = TorsoColor
2093
Trail.Size = Vector3.new(0.2,Mag,0.2)
2094
Trail.TopSurface = 0
2095
Trail.BottomSurface = 0
2096
Trail.formFactor = "Custom"
2097
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
2098
local ms = Instance.new("BlockMesh",Trail)
2099
ms.Scale = Vector3.new(1,1,1)
2100
local TM = Instance.new("CylinderMesh",Trail)
2101
TM.Scale = Vector3.new(1,1,1)
2102
Old = New
2103
coroutine.wrap(function()
2104
for i = 1,0,-0.1 do
2105
wait()
2106
TM.Scale = TM.Scale * Vector3.new(i,1,i)
2107
end
2108
Trail:remove()
2109
end)()
2110
coroutine.wrap(function()
2111
for i = 1,10 do
2112
wait()
2113
Trail.Transparency = Trail.Transparency +0.1
2114
end end)()end end)()
2115
	Footsteps:Stop()
2116
	Footsteps2:Stop()
2117
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) 
2118
    con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) 
2119
    so("http://www.roblox.com/asset/?id=159882578",Torso,1,1) 
2120
    for i=0,1,0.1 do
2121
        swait()
2122
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2123
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2124
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
2125
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)  
2126
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
2127
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
2128
    end
2129
if anim then
2130
anim.Disabled=true
2131
end
2132
    for i=0,1,0.05 do
2133
        swait()
2134
        Torso.Velocity=RootPart.CFrame.lookVector*20
2135
        so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) 
2136
    	so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) 
2137
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
2138
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2139
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
2140
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
2141
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
2142
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
2143
    end
2144
    for i=0,1,0.05 do
2145
        swait()
2146
        Torso.Velocity=RootPart.CFrame.lookVector*40
2147
        so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) 
2148
    	so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) 
2149
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
2150
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2151
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
2152
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
2153
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
2154
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
2155
    end
2156
    for i=0,1,0.05 do
2157
        swait()
2158
        Torso.Velocity=RootPart.CFrame.lookVector*60
2159
        so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) 
2160
    	so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) 
2161
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
2162
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2163
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
2164
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
2165
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
2166
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
2167
    end
2168
    so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
2169
    so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
2170
    so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
2171
    so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
2172
    so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
2173
    for i=0,1,0.05 do
2174
        swait()
2175
        Torso.Velocity=RootPart.CFrame.lookVector*80
2176
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
2177
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2178
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
2179
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
2180
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
2181
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
2182
    end
2183
    for i=0,1,0.005 do
2184
        swait()
2185
        Torso.Velocity=RootPart.CFrame.lookVector*100
2186
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
2187
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2188
        Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
2189
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) 
2190
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
2191
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
2192
    end
2193
    --dmgstop()
2194
Humanoid.WalkSpeed=12
2195
    attack=false
2196
    con1:disconnect()
2197
    con2:disconnect()
2198
if anim then
2199
anim.Disabled=false
2200
end
2201
if TrailDeb == true then
2202
						TrailDeb = false
2203
end
2204
end
2205
2206
function Push()
2207
    attack=true
2208
    mana=mana-20
2209
if TrailDeb == false then
2210
							TrailDeb = true
2211
						end
2212
						
2213
2214
coroutine.wrap(function()
2215
local Old = Handle2.CFrame.p
2216
while wait()do
2217
if not TrailDeb then break end
2218
local New = Handle2.CFrame.p
2219
local Mag =(Old -New).magnitude
2220
local Dis =(Old +New)/2
2221
local Trail = Instance.new("Part",Character)
2222
Trail.Material = "Neon"
2223
Trail.Anchored = true
2224
Trail.CanCollide = false
2225
Trail.BrickColor = TorsoColor
2226
Trail.Size = Vector3.new(0.2,Mag,0.2)
2227
Trail.TopSurface = 0
2228
Trail.BottomSurface = 0
2229
Trail.formFactor = "Custom"
2230
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
2231
local ms = Instance.new("BlockMesh",Trail)
2232
ms.Scale = Vector3.new(1,1,1)
2233
local TM = Instance.new("CylinderMesh",Trail)
2234
TM.Scale = Vector3.new(1,1,1)
2235
Old = New
2236
coroutine.wrap(function()
2237
for i = 1,0,-0.1 do
2238
wait()
2239
TM.Scale = TM.Scale * Vector3.new(i,1,i)
2240
end
2241
Trail:remove()
2242
end)()
2243
coroutine.wrap(function()
2244
for i = 1,10 do
2245
wait()
2246
Trail.Transparency = Trail.Transparency +0.1
2247
end end)()end end)()
2248
coroutine.wrap(function()
2249
local Old = Handle.CFrame.p
2250
while wait()do
2251
if not TrailDeb then break end
2252
local New = Handle.CFrame.p
2253
local Mag =(Old -New).magnitude
2254
local Dis =(Old +New)/2
2255
local Trail = Instance.new("Part",Character)
2256
Trail.Material = "Neon"
2257
Trail.Anchored = true
2258
Trail.CanCollide = false
2259
Trail.BrickColor = TorsoColor
2260
Trail.Size = Vector3.new(0.2,Mag,0.2)
2261
Trail.TopSurface = 0
2262
Trail.BottomSurface = 0
2263
Trail.formFactor = "Custom"
2264
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
2265
local ms = Instance.new("BlockMesh",Trail)
2266
ms.Scale = Vector3.new(1,1,1)
2267
local TM = Instance.new("CylinderMesh",Trail)
2268
TM.Scale = Vector3.new(1,1,1)
2269
Old = New
2270
coroutine.wrap(function()
2271
for i = 1,0,-0.1 do
2272
wait()
2273
TM.Scale = TM.Scale * Vector3.new(i,1,i)
2274
end
2275
Trail:remove()
2276
end)()
2277
coroutine.wrap(function()
2278
for i = 1,10 do
2279
wait()
2280
Trail.Transparency = Trail.Transparency +0.1
2281
end end)()end end)()
2282
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) 
2283
    con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) 
2284
    for i=0,1,0.1 do
2285
        swait()
2286
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2287
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2288
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2289
        Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)  
2290
        Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)  
2291
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
2292
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
2293
    end
2294
    so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) 
2295
    so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) 
2296
    so("http://www.roblox.com/asset/?id=159882481",Torso,1,1) 
2297
    for i=0,1,0.1 do
2298
        swait()
2299
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2300
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2301
		handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2302
        Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)  
2303
        Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)  
2304
        RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
2305
        LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
2306
    end
2307
    --dmgstop()
2308
    attack=false
2309
    con1:disconnect()
2310
    con2:disconnect()
2311
if TrailDeb == true then
2312
						TrailDeb = false
2313
end
2314
end
2315
2316
function Clap()
2317
    attack=true
2318
    mana=mana-20
2319
if TrailDeb == false then
2320
							TrailDeb = true
2321
						end
2322
						
2323
2324
coroutine.wrap(function()
2325
local Old = Handle2.CFrame.p
2326
while wait()do
2327
if not TrailDeb then break end
2328
local New = Handle2.CFrame.p
2329
local Mag =(Old -New).magnitude
2330
local Dis =(Old +New)/2
2331
local Trail = Instance.new("Part",Character)
2332
Trail.Material = "Neon"
2333
Trail.Anchored = true
2334
Trail.CanCollide = false
2335
Trail.BrickColor = TorsoColor
2336
Trail.Size = Vector3.new(0.2,Mag,0.2)
2337
Trail.TopSurface = 0
2338
Trail.BottomSurface = 0
2339
Trail.formFactor = "Custom"
2340
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
2341
local ms = Instance.new("BlockMesh",Trail)
2342
ms.Scale = Vector3.new(1,1,1)
2343
local TM = Instance.new("CylinderMesh",Trail)
2344
TM.Scale = Vector3.new(1,1,1)
2345
Old = New
2346
coroutine.wrap(function()
2347
for i = 1,0,-0.1 do
2348
wait()
2349
TM.Scale = TM.Scale * Vector3.new(i,1,i)
2350
end
2351
Trail:remove()
2352
end)()
2353
coroutine.wrap(function()
2354
for i = 1,10 do
2355
wait()
2356
Trail.Transparency = Trail.Transparency +0.1
2357
end end)()end end)()
2358
coroutine.wrap(function()
2359
local Old = Handle.CFrame.p
2360
while wait()do
2361
if not TrailDeb then break end
2362
local New = Handle.CFrame.p
2363
local Mag =(Old -New).magnitude
2364
local Dis =(Old +New)/2
2365
local Trail = Instance.new("Part",Character)
2366
Trail.Material = "Neon"
2367
Trail.Anchored = true
2368
Trail.CanCollide = false
2369
Trail.BrickColor = TorsoColor
2370
Trail.Size = Vector3.new(0.2,Mag,0.2)
2371
Trail.TopSurface = 0
2372
Trail.BottomSurface = 0
2373
Trail.formFactor = "Custom"
2374
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
2375
local ms = Instance.new("BlockMesh",Trail)
2376
ms.Scale = Vector3.new(1,1,1)
2377
local TM = Instance.new("CylinderMesh",Trail)
2378
TM.Scale = Vector3.new(1,1,1)
2379
Old = New
2380
coroutine.wrap(function()
2381
for i = 1,0,-0.1 do
2382
wait()
2383
TM.Scale = TM.Scale * Vector3.new(i,1,i)
2384
end
2385
Trail:remove()
2386
end)()
2387
coroutine.wrap(function()
2388
for i = 1,10 do
2389
wait()
2390
Trail.Transparency = Trail.Transparency +0.1
2391
end end)()end end)()
2392
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) 
2393
    con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) 
2394
    so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9) 
2395
    for i=0,1,0.08 do
2396
        swait()
2397
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2398
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2399
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2400
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
2401
        Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
2402
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
2403
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
2404
    end
2405
    so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) 
2406
    so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) 
2407
    for i=0,1,0.08 do
2408
        swait()
2409
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2410
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2411
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2412
        Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
2413
        Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
2414
        LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
2415
        RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
2416
    end
2417
    --dmgstop()
2418
    attack=false
2419
    con1:disconnect()
2420
    con2:disconnect()
2421
if TrailDeb == true then
2422
						TrailDeb = false
2423
end
2424
end
2425
2426
function Hai()
2427
    attack=true
2428
    Humanoid.WalkSpeed=0
2429
    so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
2430
    for i=0,1,0.1 do
2431
        swait()
2432
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2433
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2434
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2435
        Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
2436
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
2437
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2438
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2439
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
2440
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
2441
    end
2442
     so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) 
2443
for i=0,1,0.1 do
2444
        swait()
2445
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2446
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2447
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2448
        Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
2449
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2450
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2451
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2452
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
2453
       	LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
2454
    end
2455
     so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) 
2456
for i=0,1,0.1 do
2457
        swait()
2458
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2459
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2460
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2461
        Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
2462
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
2463
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2464
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2465
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
2466
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
2467
       
2468
    end
2469
so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
2470
for i=0,1,0.1 do
2471
        swait()
2472
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2473
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2474
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2475
        Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
2476
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2477
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2478
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2479
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
2480
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
2481
    end
2482
so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) 
2483
for i=0,1,0.1 do
2484
        swait()
2485
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2486
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2487
        handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2488
        Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
2489
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
2490
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2491
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2492
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
2493
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
2494
    end
2495
    --dmgstop()
2496
    Humanoid.WalkSpeed=12
2497
    attack=false
2498
end
2499
2500
function Die()
2501
    attack=true
2502
Footsteps:Stop()
2503
Footsteps2:Stop()
2504
local Fire = it("Sound",Character.Torso)
2505
Fire.SoundId = "rbxassetid://192104941"
2506
Fire.Looped = true
2507
Fire.Pitch = 1
2508
Fire.Volume = 1
2509
local Fire2 = it("Sound",Handle2)
2510
Fire2.SoundId = "rbxassetid://192104941"
2511
Fire2.Looped = true
2512
Fire2.Pitch = 1
2513
Fire2.Volume = 1
2514
local Fire3 = it("Sound",Handle)
2515
Fire3.SoundId = "rbxassetid://192104941"
2516
Fire3.Looped = true
2517
Fire3.Pitch = 1
2518
Fire3.Volume = 1
2519
local Fire4 = it("Sound",handle)
2520
Fire4.SoundId = "rbxassetid://192104941"
2521
Fire4.Looped = true
2522
Fire4.Pitch = 1
2523
Fire4.Volume = 1
2524
local fire = Instance.new("ParticleEmitter", Character.Torso)
2525
fire.Lifetime = NumberRange.new(0.5)
2526
fire.Speed = NumberRange.new(1, 3)
2527
fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
2528
fire.Rate = 0
2529
fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
2530
fire.LightEmission = 0.6
2531
fire.Texture = "http://www.roblox.com/asset/?id=242911609"
2532
fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
2533
local fire2 = Instance.new("ParticleEmitter", Handle)
2534
fire2.Lifetime = NumberRange.new(0.5)
2535
fire2.Speed = NumberRange.new(1, 3)
2536
fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
2537
fire2.Rate = 0
2538
fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
2539
fire2.LightEmission = 0.6
2540
fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
2541
fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
2542
local fire3 = Instance.new("ParticleEmitter", Handle2)
2543
fire3.Lifetime = NumberRange.new(0.5)
2544
fire3.Speed = NumberRange.new(1, 3)
2545
fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
2546
fire3.Rate = 0
2547
fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
2548
fire3.LightEmission = 0.6
2549
fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
2550
fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
2551
local fire4 = Instance.new("ParticleEmitter", handle)
2552
fire4.Lifetime = NumberRange.new(0.5)
2553
fire4.Speed = NumberRange.new(1, 3)
2554
fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
2555
fire4.Rate = 0
2556
fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
2557
fire4.LightEmission = 0.6
2558
fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
2559
fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
2560
    Humanoid.WalkSpeed = 0
2561
    so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
2562
    so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
2563
    for i=0,1,0.08 do
2564
        swait()
2565
        Torso.Velocity=RootPart.CFrame.lookVector*-30
2566
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
2567
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
2568
        handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
2569
        Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
2570
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
2571
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
2572
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
2573
        RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
2574
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
2575
    end
2576
    for i=0,1,0.005 do
2577
        swait()
2578
        moosick.Volume=1-2*i
2579
        light.Range=15-10*i
2580
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
2581
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
2582
        handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
2583
        Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
2584
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
2585
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
2586
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
2587
       	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
2588
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
2589
    end
2590
light.Range=0
2591
    for i=0,1,0.01 do
2592
        swait()
2593
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
2594
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
2595
        handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
2596
        Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
2597
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
2598
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
2599
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
2600
       	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
2601
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
2602
    end
2603
    so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
2604
    fire.Rate = 1000
2605
    fire2.Rate = 1000
2606
    fire3.Rate = 1000
2607
    fire4.Rate = 1000
2608
	Fire:Play()
2609
	Fire2:Play()
2610
	Fire3:Play()
2611
	Fire4:Play()
2612
    for i=0,1,0.005 do
2613
        swait()
2614
Character.Head.face.Transparency = 0+1*i
2615
LeftArm.Transparency=0+1*i
2616
RightArm.Transparency=0+1*i
2617
LeftLeg.Transparency=0+1*i
2618
RightLeg.Transparency=0+1*i
2619
Head.Transparency=0+1*i
2620
Torso.Transparency=0+1*i
2621
for _,v in pairs(Character:children()) do
2622
                if v:IsA("Hat") then
2623
                        v.Handle.Transparency = 0+1*i
2624
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
2625
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
2626
        handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
2627
        Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
2628
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
2629
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
2630
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
2631
       	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
2632
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
2633
    end
2634
    end
2635
    --dmgstop()
2636
end
2637
Humanoid.Health = 0
2638
end
2639
2640
equipanim()
2641
2642
local sine = 0
2643
local change = 1
2644
local val = 0
2645
2646
local mananum=0
2647
while true do
2648
swait()
2649
sine = sine + change
2650
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
2651
local velderp=RootPart.Velocity.y
2652
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
2653
if equipped==true or equipped==false then
2654
if Anim=="Idle" and attack==false then
2655
idle=idle+1
2656
else
2657
idle=0
2658
end
2659
if Humanoid.Health <=20 then
2660
if attack == false then
2661
Humanoid.Health = math.huge
2662
Die()
2663
end
2664
end
2665
if idle>=1000 then
2666
if attack==false then
2667
--Sheath()
2668
end
2669
end
2670
if RootPart.Velocity.y > 1 and hitfloor==nil then 
2671
Anim="Jump"
2672
if attack==false then
2673
Footsteps:Stop()
2674
Footsteps2:Stop()
2675
Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
2676
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2677
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
2678
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
2679
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
2680
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
2681
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
2682
RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
2683
LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
2684
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
2685
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
2686
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
2687
end
2688
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
2689
Anim="Fall"
2690
if attack==false then
2691
Footsteps:Stop()
2692
Footsteps2:Stop()
2693
Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
2694
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2695
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
2696
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
2697
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
2698
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
2699
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
2700
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
2701
LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
2702
handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
2703
Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
2704
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
2705
end
2706
elseif torvel<1 and hitfloor~=nil then
2707
Anim="Idle"
2708
change=0.5
2709
if idle>=1000 then
2710
if attack==false then
2711
Footsteps:Stop()
2712
Footsteps2:Stop()
2713
Humanoid.WalkSpeed=12
2714
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
2715
Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
2716
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
2717
RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
2718
LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
2719
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2720
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2721
handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
2722
Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
2723
Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
2724
end
2725
else
2726
if attack==false then
2727
Footsteps:Stop()
2728
Footsteps2:Stop()
2729
Humanoid.WalkSpeed=12
2730
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
2731
Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
2732
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2733
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
2734
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
2735
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
2736
LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
2737
handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
2738
Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
2739
Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
2740
end
2741
end
2742
elseif torvel>2 and torvel<22 and hitfloor~=nil then
2743
Anim="Walk"
2744
if attack==false then
2745
change=0.8
2746
--[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
2747
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
2748
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
2749
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
2750
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
2751
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
2752
--Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2753
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2754
RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
2755
--RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
2756
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
2757
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
2758
RH.C0=clerp(RH.C0,RHC0,.3)
2759
LH.C0=clerp(LH.C0,LHC0,.3)
2760
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2761
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2762
]]--
2763
Footsteps:Play()
2764
Footsteps2:Stop()
2765
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
2766
Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
2767
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2768
RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
2769
LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
2770
RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
2771
LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
2772
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2773
Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
2774
Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
2775
end
2776
elseif torvel>=22 and hitfloor~=nil then
2777
Anim="Run"
2778
change=1
2779
if attack==false then
2780
Footsteps:Stop()
2781
Footsteps2:Play()
2782
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
2783
Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
2784
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2785
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
2786
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
2787
RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
2788
LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
2789
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2790
Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
2791
Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
2792
end
2793
end
2794
end
2795
fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
2796
fenbarmana4.Text="[Energy]                    <{[  "..mana.."  ]}>                    [Energy]"
2797
if mana>=100 then
2798
mana=100
2799
else
2800
if mananum<=8 then
2801
mananum=mananum+1
2802
else
2803
mananum=0
2804
mana=mana+1
2805
end
2806
end
2807
end
2808
-- ~CLarramore