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