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