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