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