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