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