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