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