View difference between Paste ID: CdRqZ26b and cLMNp4v0
SHOW: | | - or go back to the newest paste.
1
-----------------
2
--some sin thing--
3
--------------------------------------------------------------
4
--By CKbackup (Sugarie Saffron), credits to original creator--
5
--------------------------------------------------------------
6
7
Player=game:GetService("Players").LocalPlayer
8
Character=Player.Character 
9
PlayerGui=Player.PlayerGui 
10
Backpack=Player.Backpack 
11
Torso=Character.Torso 
12
Head=Character.Head 
13
Humanoid=Character:FindFirstChildOfClass("Humanoid")
14
m=Instance.new('Model',Character)
15
LeftArm=Character["Left Arm"] 
16
LeftLeg=Character["Left Leg"] 
17
RightArm=Character["Right Arm"] 
18
RightLeg=Character["Right Leg"] 
19
LS=Torso["Left Shoulder"] 
20
LH=Torso["Left Hip"] 
21
RS=Torso["Right Shoulder"] 
22
RH=Torso["Right Hip"] 
23
Face = Head.face
24
Neck=Torso.Neck
25
it=Instance.new
26
attacktype=1
27
vt=Vector3.new
28
cf=CFrame.new
29
euler=CFrame.fromEulerAnglesXYZ
30
angles=CFrame.Angles
31
cloaked=false
32
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
33
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
34
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
35
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
36
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
37
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
38
RootPart=Character.HumanoidRootPart
39
RootJoint=RootPart.RootJoint
40
RootCF=euler(-1.57,0,3.14)
41
attack = false 
42
attackdebounce = false 
43
deb=false
44
equipped=true
45
hand=false
46
MMouse=nil
47
combo=0
48
trispeed=1
49
pathtrans=.7
50
attackmode='none'
51
local idle=0
52
local Anim="Idle"
53
local Effects={}
54
local gun=false
55
local shoot=false
56
player=nil 
57
cloak=false
58
lightcolor='Royal purple'
59
60
local Color1=Torso.BrickColor
61
62
mouse=Player:GetMouse()
63
--save shoulders 
64
RSH, LSH=nil, nil 
65
--welds 
66
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
67
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
68
LH=Torso["Left Hip"]
69
RH=Torso["Right Hip"]
70
TorsoColor=BrickColor.new("Royal purple")
71
function NoOutline(Part)
72
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
73
end
74
player=Player 
75
ch=Character
76
RSH=ch.Torso["Right Shoulder"] 
77
LSH=ch.Torso["Left Shoulder"] 
78
-- 
79
RSH.Parent=nil 
80
LSH.Parent=nil 
81
-- 
82
RW.Name="Right Shoulder"
83
RW.Part0=ch.Torso 
84
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
85
RW.C1=cf(0, 0.5, 0) 
86
RW.Part1=ch["Right Arm"] 
87
RW.Parent=ch.Torso 
88
-- 
89
LW.Name="Left Shoulder"
90
LW.Part0=ch.Torso 
91
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
92
LW.C1=cf(0, 0.5, 0) 
93
LW.Part1=ch["Left Arm"] 
94
LW.Parent=ch.Torso 
95
96
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
97
local fp=it("Part")
98
fp.formFactor=formfactor 
99
fp.Parent=parent
100
fp.Reflectance=reflectance
101
fp.Transparency=transparency
102
fp.CanCollide=false 
103
fp.Locked=true
104
fp.BrickColor=brickcolor
105
fp.Name=name
106
fp.Size=size
107
fp.Position=Torso.Position 
108
NoOutline(fp)
109
fp.Material="Neon"
110
fp:BreakJoints()
111
return fp 
112
end
113
 
114
function mesh(Mesh,part,meshtype,meshid,offset,scale)
115
local mesh=it(Mesh) 
116
mesh.Parent=part
117
if Mesh=="SpecialMesh" then
118
mesh.MeshType=meshtype
119
if meshid~="nil" then
120
mesh.MeshId="rbxassetid://"..meshid
121
end
122
end
123
mesh.Offset=offset
124
mesh.Scale=scale
125
return mesh
126
end
127
 
128
function weld(parent,part0,part1,c0)
129
local weld=it("Weld") 
130
weld.Parent=parent
131
weld.Part0=part0 
132
weld.Part1=part1 
133
weld.C0=c0
134
return weld
135
end
136
 
137
local Color1=Torso.BrickColor
138
139
local bodvel=Instance.new("BodyVelocity")
140
local bg=Instance.new("BodyGyro")
141
142
ArtificialHB = Instance.new("BindableEvent", script)
143
ArtificialHB.Name = "Heartbeat"
144
script:WaitForChild("Heartbeat")
145
frame = 0.015
146
tf = 0
147
allowframeloss = false
148
tossremainder = false
149
lastframe = tick()
150
script.Heartbeat:Fire()
151
game:GetService("RunService").Heartbeat:connect(function(s, p)
152
  tf = tf + s
153
  if tf >= frame then
154
    if allowframeloss then
155
      script.Heartbeat:Fire()
156
      lastframe = tick()
157
    else
158
      for i = 1, math.floor(tf / frame) do
159
        script.Heartbeat:Fire()
160
      end
161
      lastframe = tick()
162
    end
163
    if tossremainder then
164
      tf = 0
165
    else
166
      tf = tf - frame * math.floor(tf / frame)
167
    end
168
  end
169
end)
170
function swait(num)
171
  if num == 0 or num == nil then
172
    ArtificialHB.Event:wait(0)
173
  else
174
    for i = 0, num do
175
      ArtificialHB.Event:wait(0)
176
    end
177
  end
178
end
179
 
180
 
181
function so(id,par,pit,vol)
182
  local sou = Instance.new("Sound", par or workspace)
183
  if par == Character then
184
    sou.Parent = Torso
185
  end
186
  sou.Volume = vol
187
  sou.Pitch = pit or 1
188
  sou.SoundId = "rbxassetid://" .. id
189
  sou.PlayOnRemove = true
190
  sou:Destroy()
191
end
192
 
193
function clerp(a,b,t) 
194
local qa = {QuaternionFromCFrame(a)}
195
local qb = {QuaternionFromCFrame(b)} 
196
local ax, ay, az = a.x, a.y, a.z 
197
local bx, by, bz = b.x, b.y, b.z
198
local _t = 1-t
199
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
200
end 
201
 
202
function QuaternionFromCFrame(cf) 
203
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
204
local trace = m00 + m11 + m22 
205
if trace > 0 then 
206
local s = math.sqrt(1 + trace) 
207
local recip = 0.5/s 
208
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
209
else 
210
local i = 0 
211
if m11 > m00 then
212
i = 1
213
end
214
if m22 > (i == 0 and m00 or m11) then 
215
i = 2 
216
end 
217
if i == 0 then 
218
local s = math.sqrt(m00-m11-m22+1) 
219
local recip = 0.5/s 
220
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
221
elseif i == 1 then 
222
local s = math.sqrt(m11-m22-m00+1) 
223
local recip = 0.5/s 
224
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
225
elseif i == 2 then 
226
local s = math.sqrt(m22-m00-m11+1) 
227
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
228
end 
229
end 
230
end
231
 
232
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
233
local xs, ys, zs = x + x, y + y, z + z 
234
local wx, wy, wz = w*xs, w*ys, w*zs 
235
local xx = x*xs 
236
local xy = x*ys 
237
local xz = x*zs 
238
local yy = y*ys 
239
local yz = y*zs 
240
local zz = z*zs 
241
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)) 
242
end
243
 
244
function QuaternionSlerp(a, b, t) 
245
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
246
local startInterp, finishInterp; 
247
if cosTheta >= 0.0001 then 
248
if (1 - cosTheta) > 0.0001 then 
249
local theta = math.acos(cosTheta) 
250
local invSinTheta = 1/math.sin(theta) 
251
startInterp = math.sin((1-t)*theta)*invSinTheta 
252
finishInterp = math.sin(t*theta)*invSinTheta  
253
else 
254
startInterp = 1-t 
255
finishInterp = t 
256
end 
257
else 
258
if (1+cosTheta) > 0.0001 then 
259
local theta = math.acos(-cosTheta) 
260
local invSinTheta = 1/math.sin(theta) 
261
startInterp = math.sin((t-1)*theta)*invSinTheta 
262
finishInterp = math.sin(t*theta)*invSinTheta 
263
else 
264
startInterp = t-1 
265
finishInterp = t 
266
end 
267
end 
268
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 
269
end
270
271
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
272
return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
273
end 
274
275
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
276
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
277
prt.Anchored=true
278
prt.CFrame=cframe
279
local msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://4770583",vt(0,0,0),vt(x1,y1,z1))
280
--rbxassetid://4770560
281
game:GetService("Debris"):AddItem(prt,2)
282
CF=prt.CFrame
283
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
284
for i=0,1,0.2 do
285
swait()
286
Part.CFrame=CF*cf(0,0,-0.4)
287
end
288
for i=0,1,delay do
289
swait()
290
--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)
291
Mesh.Scale=Mesh.Scale
292
end
293
for i=0,1,0.1 do
294
swait()
295
Part.Transparency=i
296
end
297
Part:Destroy()
298
end),prt,msh,CF)
299
end
300
 
301
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
302
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
303
prt.Anchored=true
304
prt.CFrame=cframe
305
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
306
game:GetService("Debris"):AddItem(prt,5)
307
coroutine.resume(coroutine.create(function(Part,Mesh) 
308
for i=0,1,delay do
309
swait()
310
Part.CFrame=Part.CFrame*euler(math.random(0,360),math.random(0,360),math.random(0,360))
311
Part.Transparency=i
312
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
313
end
314
Part:Destroy()
315
end),prt,msh)
316
end
317
 
318
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
319
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
320
prt.Anchored=false
321
prt.CFrame=cframe
322
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
323
local wld=weld(prt,prt,Parent,cframe)
324
game:GetService("Debris"):AddItem(prt,5)
325
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
326
for i=0,1,delay do
327
swait()
328
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
329
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
330
Part.Transparency=i
331
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
332
end
333
Part:Destroy()
334
end),prt,msh,wld)
335
end
336
 
337
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
338
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
339
prt.Material = "Neon"
340
prt.Anchored=false
341
prt.CFrame=cframe
342
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
343
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
344
game:GetService("Debris"):AddItem(prt,5)
345
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
346
for i=0,1,delay do
347
swait()
348
Weld.C0=euler(i*20,0,0)
349
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
350
Part.Transparency=i
351
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
352
end
353
Part:Destroy()
354
end),prt,msh,wld)
355
end
356
 
357
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
358
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
359
prt.Material = "Neon"
360
prt.Anchored=true
361
prt.CFrame=cframe
362
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
363
game:GetService("Debris"):AddItem(prt,2)
364
coroutine.resume(coroutine.create(function(Part,Mesh) 
365
for i=0,1,delay do
366
swait()
367
Part.CFrame=Part.CFrame
368
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
369
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
370
prt2.Anchored=true
371
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
372
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
373
game:GetService("Debris"):AddItem(prt2,2)
374
coroutine.resume(coroutine.create(function(Part,Mesh) 
375
for i=0,1,0.1 do
376
swait()
377
Part.CFrame=Part.CFrame*cf(0,0.5,0)
378
end
379
Part:Destroy()
380
end),prt2,msh2)
381
end
382
for i=0,1,delay*2 do
383
swait()
384
Part.CFrame=Part.CFrame
385
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
386
end
387
Part:Destroy()
388
end),prt,msh)
389
end
390
391
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
392
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
393
prt.Anchored=true
394
prt.CFrame=cframe
395
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
396
game:GetService("Debris"):AddItem(prt,2)
397
coroutine.resume(coroutine.create(function(Part,Mesh) 
398
for i=0,1,delay do
399
swait()
400
Part.CFrame=Part.CFrame
401
Part.Transparency=i
402
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
403
end
404
Part:Destroy()
405
end),prt,msh)
406
end
407
 
408
function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
409
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
410
prt.Anchored=true
411
prt.CFrame=cframe*euler(x2,y2,z2)
412
--"rbxassetid://168892465"
413
local msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://3270017",vt(0,0,0),vt(x1,y1,z1))
414
game:GetService("Debris"):AddItem(prt,2)
415
coroutine.resume(coroutine.create(function(Part,Mesh) 
416
for i=0,1,0.03 do
417
swait()
418
Part.CFrame=Part.CFrame
419
Part.Transparency=i
420
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
421
end
422
Part:Destroy()
423
end),prt,msh)
424
end
425
 
426
function BreakEffect(brickcolor,cframe,x1,y1,z1)
427
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
428
prt.Anchored=true
429
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
430
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
431
game:GetService("Debris"):AddItem(prt,2)
432
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
433
CF=Part.CFrame
434
Numbb=0
435
randnumb=math.random()/10
436
rand1=math.random()/10
437
for i=0,1,rand1 do
438
swait()
439
CF=CF*cf(0,math.random()/2,0)
440
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
441
Part.CFrame=CF*euler(Numbb,0,0)
442
Part.Transparency=i
443
Numbb=Numbb+randnumb
444
end
445
Part:Destroy()
446
end),prt,CF,Numbb,randnumb)
447
end
448
 
449
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
450
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
451
prt.Anchored=true
452
prt.CFrame=cframe
453
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://1051557",vt(0,0,0),vt(x1,y1,z1))
454
game:GetService("Debris"):AddItem(prt,5)
455
coroutine.resume(coroutine.create(function(Part,Mesh) 
456
for i=0,1,delay do
457
swait()
458
Part.CFrame=Part.CFrame*euler(0,0.7,0)
459
Part.Transparency=i
460
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
461
end
462
Part:Destroy()
463
end),prt,msh)
464
end
465
 
466
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
467
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
468
prt.Anchored=true
469
prt.CFrame=cframe
470
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://20329976",vt(0,0,0),vt(x1,y1,z1))
471
game:GetService("Debris"):AddItem(prt,2)
472
coroutine.resume(coroutine.create(function(Part,Mesh) 
473
for i=0,1,delay do
474
swait()
475
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
476
Part.Transparency=i
477
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
478
end
479
Part:Destroy()
480
end),prt,msh)
481
end
482
 
483
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
484
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
485
prt.Anchored=true
486
prt.CFrame=cframe*cf(x,y,z)
487
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
488
game:GetService("Debris"):AddItem(prt,5)
489
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
490
local num=math.random()
491
local num2=math.random(-3,2)+math.random()
492
local numm=0
493
for i=0,1,delay*2 do
494
swait()
495
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
496
Part.Transparency=i
497
numm=numm+0.01
498
end
499
Part:Destroy()
500
Mesh:Destroy()
501
end),prt,msh,x,y,z)
502
end
503
504
function puncheff(par)
505
so(386946017,par,math.random(80,120)/100,1)
506
MagicCircle(BrickColor.new("Alder"), par.CFrame, 1, 1, 1, 1, 1, 1, 0.05)
507
end
508
509
Damagefunc=function(hit,efft,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
510
        if hit.Parent==nil then
511
                return
512
        end
513
         local torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
514
       h=hit.Parent:FindFirstChildOfClass("Humanoid")
515
        for _,v in pairs(hit.Parent:children()) do
516
        if v:IsA("Humanoid") then
517
        h=v
518
        end
519
        end
520
        if hit.Parent.Parent:FindFirstChild("Head")~=nil then
521
        h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
522
        end
523
        if hit.Parent.className=="Hat" then
524
        hit=hit.Parent.Parent:findFirstChild("Head")
525
        end
526
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Head")~=nil then
527
        if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
528
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
529
                        return
530
                end]]
531
--                        hs(hit,1.2) 
532
                        c=Instance.new("ObjectValue")
533
                        c.Name="creator"
534
                        c.Value=game:service("Players").LocalPlayer
535
                        c.Parent=h
536
                        game:GetService("Debris"):AddItem(c,.5)
537
                Damage=math.random(minim,maxim)
538
--                h:TakeDamage(Damage)
539
                blocked=false
540
                block=hit.Parent:findFirstChild("Block")
541
                if block~=nil then
542
                print(block.className)
543
                if block.className=="NumberValue" then
544
                if block.Value>0 then
545
                blocked=true
546
                if decreaseblock==nil then
547
                block.Value=block.Value-1
548
                end
549
                end
550
                end
551
                if block.className=="IntValue" then
552
                if block.Value>0 then
553
                blocked=true
554
                if decreaseblock~=nil then
555
                block.Value=block.Value-1
556
                end
557
                end
558
                end
559
                end
560
				if efft == "Blunt" then
561
				puncheff(hit)
562
				end
563
				h.MaxHealth = 100
564
                h.Health=h.Health-Damage
565
                showDamage(hit.Parent,Damage,.5,TorsoColor)
566
                if Type=="Knockdown" then
567
                local hum=hit.Parent:FindFirstChildOfClass("Humanoid")
568
hum.PlatformStand=true
569
coroutine.resume(coroutine.create(function(HHumanoid)
570
swait(30)
571
HHumanoid.PlatformStand=false
572
end),hum)
573
local bodvol=Instance.new("BodyVelocity")
574
bodvol.velocity=RootPart.CFrame.lookVector*knockback
575
bodvol.P=50000
576
bodvol.maxForce=Vector3.new(5000, 0, 5000) * 5000000000
577
bodvol.Parent=torsy
578
torsy.CFrame = CFrame.new(torsy.Position)*CFrame.Angles(math.rad(90),0,0)
579
game:GetService("Debris"):AddItem(bodvol,.5)
580
                elseif Type=="Normal" then
581
                vp=Instance.new("BodyVelocity")
582
                vp.P=500
583
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
584
                vp.velocity=Character.Torso.CFrame.lookVector*knockback
585
--                if KnockbackType==1 then
586
--                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
587
--                elseif KnockbackType==2 then
588
--                vp.velocity=Property.CFrame.lookVector*knockback
589
--                end
590
                if knockback>0 then
591
                        vp.Parent=torsy
592
                end
593
                game:GetService("Debris"):AddItem(vp,.5)
594
                elseif Type=="Up" then
595
                local bodyVelocity=Instance.new("BodyVelocity")
596
                bodyVelocity.velocity=vt(0,10,0)
597
                bodyVelocity.P=1000
598
                bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
599
                bodyVelocity.Parent=hit
600
                game:GetService("Debris"):AddItem(bodyVelocity,1)
601
                rl=Instance.new("BodyAngularVelocity")
602
                rl.P=3000
603
                rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
604
                rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
605
                rl.Parent=hit
606
                game:GetService("Debris"):AddItem(rl,.5)
607
                elseif Type=="Snare" then
608
                bp=Instance.new("BodyPosition")
609
                bp.P=2000
610
                bp.D=100
611
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
612
                bp.position=torsy.Position
613
                bp.Parent=torsy
614
                game:GetService("Debris"):AddItem(bp,1)
615
                elseif Type=="Target" then
616
                if Targetting==false then
617
                ZTarget=torsy
618
                coroutine.resume(coroutine.create(function(Part) 
619
                so("15666462",Part,1,1.5) 
620
                swait(5)
621
                so("15666462",Part,1,1.5) 
622
                end),ZTarget)
623
                TargHum=ZTarget.Parent:FindFirstChildOfClass("Humanoid")
624
                targetgui=Instance.new("BillboardGui")
625
                targetgui.Parent=ZTarget
626
                targetgui.Size=UDim2.new(10,100,10,100)
627
                targ=Instance.new("ImageLabel")
628
                targ.Parent=targetgui
629
                targ.BackgroundTransparency=1
630
                targ.Image="rbxassetid://4834067"
631
                targ.Size=UDim2.new(1,0,1,0)
632
                cam.CameraType="Scriptable"
633
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
634
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
635
                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
636
                Targetting=true
637
                RocketTarget=ZTarget
638
                for i=1,Property do
639
                --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
640
                if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
641
                swait()
642
                end
643
                --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
644
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
645
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
646
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
647
                end
648
                Targetting=false
649
                RocketTarget=nil
650
                targetgui:Destroy()
651
                cam.CameraType="Custom"
652
                end
653
                end
654
                        debounce=Instance.new("BoolValue")
655
                        debounce.Name="DebounceHit"
656
                        debounce.Parent=hit.Parent
657
                        debounce.Value=true
658
                        game:GetService("Debris"):AddItem(debounce,Delay)
659
                        c=Instance.new("ObjectValue")
660
                        c.Name="creator"
661
                        c.Value=Player
662
                        c.Parent=h
663
                        game:GetService("Debris"):AddItem(c,.5)
664
                CRIT=false
665
                hitDeb=true
666
                AttackPos=6
667
        end
668
end
669
 
670
function showDamage(Dude, Text, Time, Color)
671
coroutine.resume(coroutine.create(function()
672
local naeeym2 = Instance.new("BillboardGui",Dude)
673
naeeym2.Size = UDim2.new(0,100,0,40)
674
naeeym2.StudsOffset = Vector3.new(0,3,0)
675
naeeym2.Adornee = Dude.Head
676
naeeym2.Name = "TalkingBillBoard"
677
local tecks2 = Instance.new("TextLabel",naeeym2)
678
tecks2.BackgroundTransparency = 1
679
tecks2.BorderSizePixel = 0
680
tecks2.Text = Text
681
tecks2.Font = "Fantasy"
682
tecks2.TextSize = 24
683
tecks2.TextStrokeTransparency = 0
684
tecks2.TextColor3 = Color3.new(.8,0,1)
685
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
686
tecks2.Size = UDim2.new(1,0,0.5,0)
687
swait(10)
688
for i = 0,1,.05 do
689
swait()
690
tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
691
tecks2.TextStrokeTransparency = i
692
tecks2.TextTransparency = i
693
end
694
naeeym2:Destroy()
695
end))
696
end
697
698
    Player=game:GetService('Players').LocalPlayer
699
    Character=Player.Character
700
    Mouse=Player:GetMouse()
701
    m=Instance.new('Model',Character)
702
703
704
    local function weldBetween(a, b)
705
        local weldd = Instance.new("ManualWeld")
706
        weldd.Part0 = a
707
        weldd.Part1 = b
708
        weldd.C0 = CFrame.new()
709
        weldd.C1 = b.CFrame:inverse() * a.CFrame
710
        weldd.Parent = a
711
        return weldd
712
    end
713
    
714
    it=Instance.new
715
    
716
    function nooutline(part)
717
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
718
    end
719
    
720
    function parta(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
721
        local fp=it("Part")
722
        fp.formFactor=formfactor
723
        fp.Parent=parent
724
        fp.Reflectance=reflectance
725
        fp.Transparency=transparency
726
        fp.CanCollide=false
727
        fp.Locked=true
728
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
729
        fp.Name=name
730
        fp.Size=size
731
        fp.Position=Character.Torso.Position
732
        nooutline(fp)
733
        fp.Material=material
734
        fp:BreakJoints()
735
        return fp
736
    end
737
    
738
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
739
        local mesh=it(Mesh)
740
        mesh.Parent=part
741
        if Mesh=="SpecialMesh" then
742
            mesh.MeshType=meshtype
743
            mesh.MeshId=meshid
744
        end
745
        mesh.Offset=offset
746
        mesh.Scale=scale
747
        return mesh
748
    end
749
    
750
    function weld(parent,part0,part1,c0,c1)
751
        local weld=it("Weld")
752
        weld.Parent=parent
753
        weld.Part0=part0
754
        weld.Part1=part1
755
        weld.C0=c0
756
        weld.C1=c1
757
        return weld
758
    end
759
760
local modelzorz=Instance.new("Model") 
761
modelzorz.Parent=Character 
762
modelzorz.Name="Claw1"
763
764
Handle=parta(Enum.FormFactor.Custom,modelzorz,Enum.Material.Neon,0,1,TorsoColor,"Handle",Vector3.new(4,4,1))
765
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))
766
Gear=parta(Enum.FormFactor.Custom,modelzorz,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
767
Gearweld=weld(modelzorz,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))
768
769
local modelzorz2=Instance.new("Model") 
770
modelzorz2.Parent=Character 
771
modelzorz2.Name="Claw2"
772
773
Handle2=parta(Enum.FormFactor.Custom,modelzorz2,Enum.Material.Neon,0,1,TorsoColor,"Handle",Vector3.new(4,4,1))
774
Handle2weld=weld(modelzorz2,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))
775
Gear2=parta(Enum.FormFactor.Custom,modelzorz2,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
776
Gear2weld=weld(modelzorz2,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))
777
778
local modelzorz3=Instance.new("Model") 
779
modelzorz3.Parent=Character 
780
modelzorz3.Name="Eye"
781
782
handle=parta(Enum.FormFactor.Custom,modelzorz3,Enum.Material.SmoothPlastic,0,1,TorsoColor,"Handle",Vector3.new(1,6,6))
783
handleweld=weld(modelzorz3,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))
784
785
New = function(Object, Parent, Name, Data)
786
	local Object = Instance.new(Object)
787
	for Index, Value in pairs(Data or {}) do
788
		Object[Index] = Value
789
	end
790
	Object.Parent = Parent
791
	Object.Name = Name
792
	return Object
793
end
794
	
795-
Gear2 = New("Part",modelzorz2,"Gear2",{BrickColor = script.Parent.BrickColor = BrickColor.Random()
795+
Gear2 = New("Part",modelzorz2,"Gear2",{BrickColor = script.Parent.BrickColor = BrickColor.Random() wait(0.5),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(68.5, 2.5, -42.5, 0, 0, -1, -1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
796-
wait(0.5),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(68.5, 2.5, -42.5, 0, 0, -1, -1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
796+
797
Weld = New("ManualWeld",Gear2,"Weld",{Part0 = Gear2,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0),C1 = CFrame.new(0, 3.57627869e-06, 2.99999237, 0.999991357, -6.94066244e-08, 4.63798642e-07, 6.63525327e-07, -0.999994934, -2.62497252e-07, 2.04890966e-08, 2.84217094e-13, -0.999997139),})
798
Gear = New("Part",modelzorz,"Gear",{BrickColor = script.Parent.BrickColor = BrickColor.Random() wait(0.5),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(78.5, 2.5, -42.5, 0, 0, 1, 1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
799-
Gear = New("Part",modelzorz,"Gear",{BrickColor = script.Parent.BrickColor = BrickColor.Random()
799+
800-
wait(0.5),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(78.5, 2.5, -42.5, 0, 0, 1, 1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
800+
801
DragonHead = New("Part",modelzorz3,"DragonHead",{BrickColor = script.Parent.BrickColor = BrickColor.Random() wait(0.5)),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(72.5999985, 5.5999999, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
802
Mesh = New("SpecialMesh",DragonHead,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.FileMesh,})
803-
DragonHead = New("Part",modelzorz3,"DragonHead",{BrickColor = script.Parent.BrickColor = BrickColor.Random()
803+
804-
wait(0.5)),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(72.5999985, 5.5999999, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
804+
805
Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(1, 1, 2),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
806
Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4, 3.00000048, 2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
807
EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(75.0999985, 8.60000038, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.384314, 0.145098, 0.819608),})
808
Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(1, 1, 2),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
809
Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4, 3.00000048, -2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
810
EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = script.Parent.BrickColor = BrickColor.Random() wait(0.5),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(70.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
811
Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
812
Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4.5, 3.00000048, 2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
813-
EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = script.Parent.BrickColor = BrickColor.Random()
813+
EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = script.Parent.BrickColor = BrickColor.Random() wait(0.5),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(75.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
814-
wait(0.5),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(70.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
814+
815
Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4.5, 3.00000048, -2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
816
817-
EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = script.Parent.BrickColor = BrickColor.Random()
817+
818-
wait(0.5),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(75.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
818+
819
moosick.SoundId = "rbxassetid://608726256"
820
 --142653441, 175067863
821
moosick.Name = "moosick"
822
moosick.Looped = true
823
moosick.Volume = 1
824
825
anim = Character:findFirstChild("Animate")
826
if anim then
827
anim:Destroy()
828
end
829
830
local pemit = Instance.new("ParticleEmitter")
831
pemit.Color = ColorSequence.new(Color3.new(.5,0,1))
832
pemit.Lifetime = NumberRange.new(1)
833
pemit.Acceleration = Vector3.new(0,20,0)
834
pemit.EmissionDirection = "Front"
835
pemit.Size = NumberSequence.new(1,0)
836
pemit.Speed = NumberRange.new(10)
837
pemit.LightEmission = 1
838
pemit.Rate = 500
839
pemit.Rotation = NumberRange.new(0,360)
840
pemit.RotSpeed = NumberRange.new(150)
841
pemit.Texture = "rbxasset://textures/particles/smoke_main.dds"
842
pemit.Enabled = false
843
844
local pe1 = pemit:Clone()
845
pe1.Parent = Handle
846
local pe2 = pemit:Clone()
847
pe2.Parent = Handle2
848
local pe3 = pemit:Clone()
849
pe3.Parent = handle
850
pe3.EmissionDirection = "Right"
851
pe3.Rate = 1000
852
853
local light = Instance.new("PointLight", Character.Torso)
854
light.Color = TorsoColor.Color
855
light.Brightness = 5
856
light.Range = 15
857
light.Enabled = false
858
859
local Footsteps = it("Sound",Character.Torso)
860
Footsteps.SoundId = "rbxassetid://142665235"
861
Footsteps.Looped = true
862
Footsteps.Pitch = 0.8
863
Footsteps.Volume = 0.3
864
865
local Footsteps2 = it("Sound",Character.Torso)
866
Footsteps2.SoundId = "rbxassetid://142665235"
867
Footsteps2.Looped = true
868
Footsteps2.Pitch = 1
869
Footsteps2.Volume = 0.4
870
871
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
872
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
873
prt.Material = Enum.Material.Neon
874
prt.Anchored=true
875
prt.CFrame=cframe
876
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
877
game:GetService("Debris"):AddItem(prt,2)
878
coroutine.resume(coroutine.create(function(Part,Mesh) 
879
for i=0,1,delay do
880
swait()
881
Part.CFrame=Part.CFrame
882
Part.Transparency=i
883
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
884
end
885
Part:Destroy()
886
end),prt,msh)
887
end
888
889
TrailDeb = false
890
891
function equipanim()
892
attack=true
893
Gear.Transparency = 1
894
Gear2.Transparency = 1
895
for i,v in pairs(modelzorz3:children()) do
896
if v:IsA("BasePart") then v.Transparency = 1 end
897
end
898
Humanoid.WalkSpeed = 0
899
moosick:Play()
900
for i=0,1,0.05 do
901
swait()
902
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
903
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
904
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
905
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
906
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
907
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
908
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
909
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
910
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
911
end
912
swait(60)
913
for i=0,1,0.05 do
914
swait()
915
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
916
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
917
LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
918
RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
919
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
920
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
921
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
922
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
923
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
924
end
925
so(136007472,Torso,1,1)
926
swait(30)
927
for i=0,30 do
928
swait(1)
929
MagicRing(BrickColor.new("Alder"), Gear.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0)
930
MagicRing(BrickColor.new("Alder"), Gear2.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0)
931
MagicRing(BrickColor.new("Alder"), DragonHead.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))), 60, 60, 6, 1, 1, 1, -3, -3, 0)
932
end
933
swait(180)
934
so(233096557,Torso,1,5)
935
so(233091205,Torso,1,5)
936
so(150829983,DragonHead,.9,5)
937
MagicCircle(BrickColor.new("Alder"), Gear.CFrame, 10, 10, 10, 1, 1, 1, 0.01)
938
MagicCircle(BrickColor.new("Alder"), Gear2.CFrame, 10, 10, 10, 1, 1, 1, 0.01)
939
MagicCircle(BrickColor.new("Alder"), DragonHead.CFrame, 20, 20, 20, 1, 1, 1, 0.01)
940
Gear.Transparency = 0
941
Gear2.Transparency = 0
942
for i,v in pairs(modelzorz3:children()) do
943
if v:IsA("BasePart") and v ~= handle then v.Transparency = 0 end
944
end
945
pe1.Enabled = true
946
pe2.Enabled = true
947
pe3.Enabled = true
948
light.Enabled = true
949
for a=1,300 do
950
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0))
951
swait()
952
end
953
attack = false
954
end
955
956
function attackone()
957
attack=true
958
if TrailDeb == false then
959
TrailDeb = true
960
end
961
coroutine.wrap(function()
962
local Old = Handle.CFrame.p
963
while true do swait()
964
if not TrailDeb then break end
965
local New = Handle.CFrame.p
966
local Mag =(Old -New).magnitude
967
local Dis =(Old +New)/2
968
local Trail = Instance.new("Part",Character)
969
Trail.Material = "Neon"
970
Trail.Anchored = true
971
Trail.CanCollide = false
972
Trail.BrickColor = TorsoColor
973
Trail.Size = Vector3.new(0.2,Mag,0.2)
974
Trail.TopSurface = 0
975
Trail.BottomSurface = 0
976
Trail.formFactor = "Custom"
977
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
978
local ms = Instance.new("BlockMesh",Trail)
979
ms.Scale = Vector3.new(1,1,1)
980
local TM = Instance.new("CylinderMesh",Trail)
981
TM.Scale = Vector3.new(20,1,20)
982
Old = New
983
coroutine.wrap(function()
984
for i = 1,0,-0.1 do
985
swait()
986
TM.Scale = TM.Scale * Vector3.new(i,1,i)
987
end
988
Trail:remove()
989
end)()
990
coroutine.wrap(function()
991
for i = 1,10 do
992
swait()
993
Trail.Transparency = Trail.Transparency +0.1
994
end end)()end end)()
995
    con1=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,20,"Normal",RootPart,.2,1) end) 
996
    for i=0,1,0.08 do
997
        swait()
998
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
999
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
1000
        RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
1001
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1002
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1003
        Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
1004
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1005
    end
1006
    so("231917758",Handle,1,.9) 
1007
    so("159972643",Torso,1,1) 
1008
    for i=0,1,0.1 do
1009
        swait()
1010
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
1011
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
1012
        RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
1013
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1014
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1015
        Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
1016
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1017
    end
1018
    --dmgstop()
1019
    attack=false
1020
    con1:disconnect()
1021
if TrailDeb == true then
1022
TrailDeb = false
1023
end
1024
end
1025
1026
function attacktwo()
1027
attack=true
1028
if TrailDeb == false then
1029
TrailDeb = true
1030
end
1031
coroutine.wrap(function()
1032
local Old = Handle2.CFrame.p
1033
while true do swait()
1034
if not TrailDeb then break end
1035
local New = Handle2.CFrame.p
1036
local Mag =(Old -New).magnitude
1037
local Dis =(Old +New)/2
1038
local Trail = Instance.new("Part",Character)
1039
Trail.Material = "Neon"
1040
Trail.Anchored = true
1041
Trail.CanCollide = false
1042
Trail.BrickColor = TorsoColor
1043
Trail.Size = Vector3.new(0.2,Mag,0.2)
1044
Trail.TopSurface = 0
1045
Trail.BottomSurface = 0
1046
Trail.formFactor = "Custom"
1047
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1048
local ms = Instance.new("BlockMesh",Trail)
1049
ms.Scale = Vector3.new(1,1,1)
1050
local TM = Instance.new("CylinderMesh",Trail)
1051
TM.Scale = Vector3.new(20,1,20)
1052
Old = New
1053
coroutine.wrap(function()
1054
for i = 1,0,-0.1 do
1055
swait()
1056
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1057
end
1058
Trail:remove()
1059
end)()
1060
coroutine.wrap(function()
1061
for i = 1,10 do
1062
swait()
1063
Trail.Transparency = Trail.Transparency +0.1
1064
end end)()end end)()
1065
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,20,"Normal",RootPart,.2,1) end) 
1066
    for i=0,1,0.08 do
1067
        swait()
1068
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
1069
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
1070
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
1071
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
1072
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1073
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
1074
        Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1075
    end
1076
    so("231917758",Handle2,1,.8) 
1077
    so("159972627",Torso,1,1) 
1078
    for i=0,1,0.1 do
1079
        swait()
1080
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
1081
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
1082
        LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
1083
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
1084
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1085
        Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
1086
        Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1087
    end
1088
    --dmgstop()
1089
    attack=false
1090
    con1:disconnect()
1091
if TrailDeb == true then
1092
TrailDeb = false
1093
end
1094
end
1095
1096
function attackthree()
1097
attack=true
1098
if TrailDeb == false then
1099
TrailDeb = true
1100
end						
1101
coroutine.wrap(function()
1102
local Old = Handle.CFrame.p
1103
while true do swait()
1104
if not TrailDeb then break end
1105
local New = Handle.CFrame.p
1106
local Mag =(Old -New).magnitude
1107
local Dis =(Old +New)/2
1108
local Trail = Instance.new("Part",Character)
1109
Trail.Material = "Neon"
1110
Trail.Anchored = true
1111
Trail.CanCollide = false
1112
Trail.BrickColor = TorsoColor
1113
Trail.Size = Vector3.new(0.2,Mag,0.2)
1114
Trail.TopSurface = 0
1115
Trail.BottomSurface = 0
1116
Trail.formFactor = "Custom"
1117
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1118
local ms = Instance.new("BlockMesh",Trail)
1119
ms.Scale = Vector3.new(1,1,1)
1120
local TM = Instance.new("CylinderMesh",Trail)
1121
TM.Scale = Vector3.new(20,1,20)
1122
Old = New
1123
coroutine.wrap(function()
1124
for i = 1,0,-0.1 do
1125
swait()
1126
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1127
end
1128
Trail:remove()
1129
end)()
1130
coroutine.wrap(function()
1131
for i = 1,10 do
1132
swait()
1133
Trail.Transparency = Trail.Transparency +0.1
1134
end end)()end end)()
1135
    con1=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,30,"Up",RootPart,.2,1) end) 
1136
    for i=0,1,0.08 do
1137
        swait()
1138
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1139
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
1140
        RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
1141
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1142
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1143
        Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
1144
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1145
    end
1146
    so("231917758",Handle,1,1) 
1147
    so("159882477",Torso,1,1) 
1148
    for i=0,1,0.05 do
1149
        swait()
1150
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
1151
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
1152
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1153
        Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
1154
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1155
        RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
1156
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1157
    end
1158
    --dmgstop()
1159
    attack=false
1160
    con1:disconnect()
1161
if TrailDeb == true then
1162
TrailDeb = false
1163
end
1164
end
1165
1166
function attackfour()
1167
attack=true
1168
if TrailDeb == false then
1169
TrailDeb = true
1170
end
1171
coroutine.wrap(function()
1172
local Old = Handle2.CFrame.p
1173
while true do swait()
1174
if not TrailDeb then break end
1175
local New = Handle2.CFrame.p
1176
local Mag =(Old -New).magnitude
1177
local Dis =(Old +New)/2
1178
local Trail = Instance.new("Part",Character)
1179
Trail.Material = "Neon"
1180
Trail.Anchored = true
1181
Trail.CanCollide = false
1182
Trail.BrickColor = TorsoColor
1183
Trail.Size = Vector3.new(0.2,Mag,0.2)
1184
Trail.TopSurface = 0
1185
Trail.BottomSurface = 0
1186
Trail.formFactor = "Custom"
1187
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1188
local ms = Instance.new("BlockMesh",Trail)
1189
ms.Scale = Vector3.new(1,1,1)
1190
local TM = Instance.new("CylinderMesh",Trail)
1191
TM.Scale = Vector3.new(20,1,20)
1192
Old = New
1193
coroutine.wrap(function()
1194
for i = 1,0,-0.1 do
1195
swait()
1196
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1197
end
1198
Trail:remove()
1199
end)()
1200
coroutine.wrap(function()
1201
for i = 1,10 do
1202
swait()
1203
Trail.Transparency = Trail.Transparency +0.1
1204
end end)()end end)()
1205
coroutine.wrap(function()
1206
local Old = Handle.CFrame.p
1207
while true do swait()
1208
if not TrailDeb then break end
1209
local New = Handle.CFrame.p
1210
local Mag =(Old -New).magnitude
1211
local Dis =(Old +New)/2
1212
local Trail = Instance.new("Part",Character)
1213
Trail.Material = "Neon"
1214
Trail.Anchored = true
1215
Trail.CanCollide = false
1216
Trail.BrickColor = TorsoColor
1217
Trail.Size = Vector3.new(0.2,Mag,0.2)
1218
Trail.TopSurface = 0
1219
Trail.BottomSurface = 0
1220
Trail.formFactor = "Custom"
1221
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1222
local ms = Instance.new("BlockMesh",Trail)
1223
ms.Scale = Vector3.new(1,1,1)
1224
local TM = Instance.new("CylinderMesh",Trail)
1225
TM.Scale = Vector3.new(20,1,20)
1226
Old = New
1227
coroutine.wrap(function()
1228
for i = 1,0,-0.1 do
1229
swait()
1230
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1231
end
1232
Trail:remove()
1233
end)()
1234
coroutine.wrap(function()
1235
for i = 1,10 do
1236
swait()
1237
Trail.Transparency = Trail.Transparency +0.1
1238
end end)()end end)()
1239
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,20,math.random(20,40),"Normal",RootPart,.2,1) end) 
1240
    con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,20,math.random(20,40),"Normal",RootPart,.2,1) end) 
1241
    for i=0,1,0.08 do
1242
        swait()
1243
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
1244
        RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
1245
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
1246
       	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)
1247
		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)
1248
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1249
        Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1250
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)  
1251
    end
1252
if anim then
1253
anim.Disabled=true
1254
end
1255
    so("231917758",Torso,1,0.7) 
1256
    so("159882584",Torso,1,1) 
1257
    for i=0,1,0.04 do
1258
        swait()
1259
        Torso.Velocity=RootPart.CFrame.lookVector*50
1260
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
1261
        RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
1262
        LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
1263
        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)
1264
		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)
1265
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1266
        Handleweld.C0=clerp(Handleweld.C0,cf(3,4,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)  
1267
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,4,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) 
1268
    end
1269
    --dmgstop()
1270
    attack=false
1271
    con1:disconnect()
1272
    con2:disconnect()
1273
if anim then
1274
anim.Disabled=false
1275
end
1276
if TrailDeb == true then
1277
TrailDeb = false
1278
end
1279
end
1280
1281
function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
1282
	local prt = parta(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1283
	prt.Anchored = true
1284
	prt.CFrame = cframe
1285
	local msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", vt(0, 0, 0), vt(x1, y1, z1))
1286
	coroutine.resume(coroutine.create(function() 
1287
		for i = 0, 1, 0.05 do
1288
			swait()
1289
			prt.Transparency = i
1290
			msh.Scale = msh.Scale + vt(x2, y2, z2)
1291
		end
1292
		prt.Parent = nil
1293
	end))
1294
end
1295
1296
function MagniDamage(par,efft,magni,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
1297
  for _, c in pairs(workspace:GetDescendants()) do
1298
    local hum = c:FindFirstChildOfClass("Humanoid")
1299
    if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
1300
      local head = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
1301
      if head ~= nil then
1302
        local targ = head.Position - par.Position
1303
        local mag = targ.magnitude
1304
        if magni >= mag and c.Name ~= Player.Name then
1305
          Damagefunc(head,efft,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
1306
        end
1307
      end
1308
    end
1309
  end
1310
end
1311
1312
function MagicCircle4(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1313
	local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1314
	prt.Anchored = true
1315
	prt.CFrame = cframe
1316
	local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
1317
	game:GetService("Debris"):AddItem(prt, 2)
1318
	coroutine.resume(coroutine.create(function(Part, Mesh) 
1319
		for i = 0, 1, delay do
1320
			swait()
1321
			Part.CFrame = Part.CFrame
1322
			Part.Transparency = i
1323
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1324
		end
1325
		Part.Parent = nil
1326
	end), prt, msh)
1327
end
1328
1329
function smashdown()
1330
attack=true
1331
1332
if TrailDeb == false then
1333
TrailDeb = true
1334
end
1335
coroutine.wrap(function()
1336
local Old = Handle2.CFrame.p
1337
while true do swait()
1338
if not TrailDeb then break end
1339
local New = Handle2.CFrame.p
1340
local Mag =(Old -New).magnitude
1341
local Dis =(Old +New)/2
1342
local Trail = Instance.new("Part",Character)
1343
Trail.Material = "Neon"
1344
Trail.Anchored = true
1345
Trail.CanCollide = false
1346
Trail.BrickColor = TorsoColor
1347
Trail.Size = Vector3.new(0.2,Mag,0.2)
1348
Trail.TopSurface = 0
1349
Trail.BottomSurface = 0
1350
Trail.formFactor = "Custom"
1351
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1352
local ms = Instance.new("BlockMesh",Trail)
1353
ms.Scale = Vector3.new(1,1,1)
1354
local TM = Instance.new("CylinderMesh",Trail)
1355
TM.Scale = Vector3.new(20,1,20)
1356
Old = New
1357
coroutine.wrap(function()
1358
for i = 1,0,-0.1 do
1359
swait()
1360
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1361
end
1362
Trail:remove()
1363
end)()
1364
coroutine.wrap(function()
1365
for i = 1,10 do
1366
swait()
1367
Trail.Transparency = Trail.Transparency +0.1
1368
end end)()end end)()
1369
coroutine.wrap(function()
1370
local Old = Handle.CFrame.p
1371
while true do swait()
1372
if not TrailDeb then break end
1373
local New = Handle.CFrame.p
1374
local Mag =(Old -New).magnitude
1375
local Dis =(Old +New)/2
1376
local Trail = Instance.new("Part",Character)
1377
Trail.Material = "Neon"
1378
Trail.Anchored = true
1379
Trail.CanCollide = false
1380
Trail.BrickColor = TorsoColor
1381
Trail.Size = Vector3.new(0.2,Mag,0.2)
1382
Trail.TopSurface = 0
1383
Trail.BottomSurface = 0
1384
Trail.formFactor = "Custom"
1385
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1386
local ms = Instance.new("BlockMesh",Trail)
1387
ms.Scale = Vector3.new(1,1,1)
1388
local TM = Instance.new("CylinderMesh",Trail)
1389
TM.Scale = Vector3.new(20,1,20)
1390
Old = New
1391
coroutine.wrap(function()
1392
for i = 1,0,-0.1 do
1393
swait()
1394
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1395
end
1396
Trail:remove()
1397
end)()
1398
coroutine.wrap(function()
1399
for i = 1,10 do
1400
swait()
1401
Trail.Transparency = Trail.Transparency +0.1
1402
end end)()end end)()
1403
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,100,"Normal",RootPart,.2,1) end) 
1404
    con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,100,"Normal",RootPart,.2,1) end) 
1405
    for i=0,1,0.08 do
1406
        swait()
1407
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
1408
		Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
1409
		LW.C0=clerp(LW.C0,cf(-1.5,1,0)*euler(math.rad(180),0,0),.3)
1410
		RW.C0=clerp(RW.C0,cf(1.5,1,0)*euler(math.rad(180),0,0),.3)
1411
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1412
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1413
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
1414
        Handleweld.C0=clerp(Handleweld.C0,cf(4,30,10)*angles(math.rad(35),math.rad(0),math.rad(-90)),.2)  
1415
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,30,10)*angles(math.rad(35),math.rad(0),math.rad(90)),.2)  
1416
    end
1417
	Humanoid.WalkSpeed = 0
1418
    so("231917758",Torso,1,0.7) 
1419
    so("159882584",Torso,1,1) 
1420
	    for i=0,1,0.08 do
1421
        swait()
1422
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
1423
		Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
1424
		LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),0,0),.3)
1425
		RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(90),0,0),.3)
1426
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1427
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1428
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
1429
        Handleweld.C0=clerp(Handleweld.C0,cf(4,6,-10)*angles(math.rad(-35),math.rad(0),math.rad(-90)),.2)  
1430
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,6,-10)*angles(math.rad(-35),math.rad(0),math.rad(90)),.2)  
1431
	end
1432
	con1:disconnect()
1433
    con2:disconnect()
1434
    attack=false
1435
if anim then
1436
anim.Disabled=false
1437
end
1438
if TrailDeb == true then
1439
TrailDeb = false
1440
end
1441
	local ref = it("Part",Character)
1442
	ref.Size = Vector3.new(0,0,0)
1443
	ref.Anchored = true
1444
	ref.CanCollide = false
1445
	ref.Transparency = 1
1446
	local looky = RootPart.CFrame
1447
	for i=1,10 do
1448
	ref.CFrame = looky*CFrame.new(0,-2.5,-10*i)
1449
	BlastEffect(BrickColor.new("White"),ref.CFrame,1,.2,1,1,0,1)
1450
	BlastEffect(BrickColor.new("White"),ref.CFrame,5,1,.5,.1,2,.1)
1451
	MagniDamage(ref,"",10,30,35,50,"Knockdown",RootPart,.2,1)
1452
	so(178452221,ref,.6,1)
1453
    so(192410084,ref,1,1)
1454
	swait(5)
1455
	end
1456
	ref:Destroy()
1457
	swait(60)
1458
    --dmgstop()
1459
end
1460
1461
function mudads()
1462
attack=true
1463
so("624164065",Torso,1,3)
1464
print("SUNLIGHT YELLO OVRDREV")
1465
1466
1467
if TrailDeb == false then
1468
TrailDeb = true
1469
end
1470
coroutine.wrap(function()
1471
local Old = Handle2.CFrame.p
1472
while true do swait()
1473
if not TrailDeb then break end
1474
local New = Handle2.CFrame.p
1475
local Mag =(Old -New).magnitude
1476
local Dis =(Old +New)/2
1477
local Trail = Instance.new("Part",Character)
1478
Trail.Material = "Neon"
1479
Trail.Anchored = true
1480
Trail.CanCollide = false
1481
Trail.BrickColor = TorsoColor
1482
Trail.Size = Vector3.new(0.2,Mag,0.2)
1483
Trail.TopSurface = 0
1484
Trail.BottomSurface = 0
1485
Trail.formFactor = "Custom"
1486
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1487
local ms = Instance.new("BlockMesh",Trail)
1488
ms.Scale = Vector3.new(1,1,1)
1489
local TM = Instance.new("CylinderMesh",Trail)
1490
TM.Scale = Vector3.new(20,1,20)
1491
Old = New
1492
coroutine.wrap(function()
1493
for i = 1,0,-0.1 do
1494
swait()
1495
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1496
end
1497
Trail:remove()
1498
end)()
1499
coroutine.wrap(function()
1500
for i = 1,10 do
1501
swait()
1502
Trail.Transparency = Trail.Transparency +0.1
1503
end end)()end end)()
1504
coroutine.wrap(function()
1505
local Old = Handle.CFrame.p
1506
while true do swait()
1507
if not TrailDeb then break end
1508
local New = Handle.CFrame.p
1509
local Mag =(Old -New).magnitude
1510
local Dis =(Old +New)/2
1511
local Trail = Instance.new("Part",Character)
1512
Trail.Material = "Neon"
1513
Trail.Anchored = true
1514
Trail.CanCollide = false
1515
Trail.BrickColor = TorsoColor
1516
Trail.Size = Vector3.new(0.2,Mag,0.2)
1517
Trail.TopSurface = 0
1518
Trail.BottomSurface = 0
1519
Trail.formFactor = "Custom"
1520
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1521
local ms = Instance.new("BlockMesh",Trail)
1522
ms.Scale = Vector3.new(1,1,1)
1523
local TM = Instance.new("CylinderMesh",Trail)
1524
TM.Scale = Vector3.new(20,1,20)
1525
Old = New
1526
coroutine.wrap(function()
1527
for i = 1,0,-0.1 do
1528
swait()
1529
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1530
end
1531
Trail:remove()
1532
end)()
1533
coroutine.wrap(function()
1534
for i = 1,10 do
1535
swait()
1536
Trail.Transparency = Trail.Transparency +0.1
1537
end end)()end end)()
1538
    con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,10,"Normal",RootPart,.05,1) end) 
1539
    con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,10,"Normal",RootPart,.05,1) end) 
1540
	Humanoid.WalkSpeed = 16
1541
    so("159882584",Torso,1,1) 
1542
	    for i=0,1,0.08 do
1543
        swait()
1544
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
1545
		Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
1546
		LW.C0=clerp(LW.C0,cf(-1.2,1,0)*euler(math.rad(90),math.rad(-90),0),.3)
1547
		RW.C0=clerp(RW.C0,cf(1.2,1,0)*euler(math.rad(90),math.rad(90),0),.3)
1548
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1549
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1550
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
1551
        Handleweld.C0=clerp(Handleweld.C0,cf(4,2,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1552
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,2,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1553
		end
1554
		for a = 1,20 do
1555
		so("231917758",Torso,math.random(6,10)/10,1) 
1556
	    for i=0,1,0.2 do
1557
        swait()
1558
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
1559
		Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
1560
		LW.C0=clerp(LW.C0,cf(-1.2,1,-2)*euler(math.rad(90),math.rad(-90),0),.3)
1561
		RW.C0=clerp(RW.C0,cf(1.2,1,2)*euler(math.rad(90),math.rad(90),0),.3)
1562
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1563
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1564
		handleweld.C0=clerp(handleweld.C0,cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
1565
        Handleweld.C0=clerp(Handleweld.C0,cf(math.random(-10,10),math.random(0,4),-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1566
        Handle2weld.C0=clerp(Handle2weld.C0,cf(math.random(-10,10),math.random(0,4),20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1567
		end
1568
		so("231917758",Torso,math.random(6,10)/10,1) 
1569
	    for i=0,1,0.2 do
1570
        swait()
1571
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
1572
		Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
1573
		LW.C0=clerp(LW.C0,cf(-1.2,1,2)*euler(math.rad(90),math.rad(-90),0),.3)
1574
		RW.C0=clerp(RW.C0,cf(1.2,1,-2)*euler(math.rad(90),math.rad(90),0),.3)
1575
		RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1576
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1577
		handleweld.C0=clerp(handleweld.C0,cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
1578
        Handleweld.C0=clerp(Handleweld.C0,cf(math.random(-10,10),math.random(0,4),20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1579
        Handle2weld.C0=clerp(Handle2weld.C0,cf(math.random(-10,10),math.random(0,4),-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)  
1580
		end
1581
		end
1582
	con1:disconnect()
1583
    con2:disconnect()
1584
    --dmgstop()
1585
    attack=false
1586
if anim then
1587
anim.Disabled=false
1588
end
1589
if TrailDeb == true then
1590
TrailDeb = false
1591
end
1592
end
1593
1594
function laser()
1595
attack = true
1596
Humanoid.WalkSpeed = 16
1597
for i=0,1,0.05 do
1598
swait()
1599
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1600
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
1601
LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
1602
RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
1603
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1604
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1605
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
1606
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
1607
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
1608
end
1609
	local blmod = Instance.new("Model",Character)
1610
	  for a = 1, 5 do
1611
	  	local blast2 = it("Part",blmod)
1612
		blast2.Size = vt(1,1,1)
1613
		blast2.BrickColor = TorsoColor
1614
		blast2.Material = "Neon"
1615
        blast2.Anchored = false
1616
		blast2.CanCollide = false
1617
		local blwe = Instance.new("Weld",blast2)
1618
		blwe.Part0 = DragonHead
1619
		blwe.Part1 = blast2		
1620
		blwe.C0 = CFrame.new(0, 0, -5)
1621
		blwe.C1 = CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
1622
        local m = Instance.new("BlockMesh", blast2)
1623
        m.Scale = Vector3.new(6,6,6)
1624
        coroutine.resume(coroutine.create(function()
1625
          for i = 0,1,.1 do
1626
            blast2.Transparency = 1.2-i
1627
            swait()
1628
            blwe.C1 = blwe.C1 * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
1629
          end
1630
		while blast2 do
1631
		swait()
1632
		blwe.C1 = blwe.C1 * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
1633
		end
1634
      	end))
1635
	  end
1636
so(864314263,DragonHead,1,5)
1637
for i=1,150 do
1638
MagicRing(BrickColor.new("Alder"), DragonHead.CFrame * CFrame.new(0,0,-5) * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0)
1639
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0))
1640
swait()
1641
end
1642
for i=0,1,0.05 do
1643
swait()
1644
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1645
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
1646
LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
1647
RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
1648
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1649
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1650
handleweld.C0=clerp(handleweld.C0,cf(math.random(-1,1),math.random(5,7),math.random(6,8))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1651
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
1652
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
1653
end
1654
		so(162246701,DragonHead,1,5)
1655
		local frontcf = DragonHead.CFrame * CFrame.new(0,0,-5)
1656
		local sannd = Instance.new("Sound",Torso)
1657
		sannd.SoundId = "rbxassetid://162246683"
1658
		sannd.Looped = true
1659
		sannd.Volume = 1
1660
		sannd:Play()
1661
		local hitcf = mouse.Hit
1662
		local ref = it("Part",Character)
1663
		ref.Size = Vector3.new(0,0,0)
1664
		ref.Anchored = true
1665
		ref.CanCollide = false
1666
		ref.Transparency = 1
1667
		local blast = it("Part",blmod)
1668
		blast.Size = vt(1,1,(frontcf.p - hitcf.p).magnitude)
1669
		blast.BrickColor = TorsoColor
1670
		blast.Material = "Neon"
1671
        blast.Anchored = true
1672
		blast.CanCollide = false
1673
		blast.CFrame = CFrame.new((frontcf.p + hitcf.p)/2,frontcf.p)
1674
		local m = Instance.new("BlockMesh", blast)
1675
        m.Scale = Vector3.new(5,5,1)
1676
		for a = 1, 200 do
1677
		local frontcf = DragonHead.CFrame * CFrame.new(0,0,-5)
1678
		local hitcf = mouse.Hit
1679
		ref.CFrame = hitcf
1680
		blast.Size = vt(1,1,(frontcf.p - hitcf.p).magnitude)
1681
		blast.CFrame = CFrame.new((frontcf.p + hitcf.p)/2,frontcf.p)
1682
		MagicBlock(TorsoColor, hitcf, 1, 1, 1, 6, 6, 6, 0.1)
1683
		MagniDamage(ref,"",10,5,7,0,"Knockdown",RootPart,.05,1)
1684
		handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-5),math.rad(0),math.rad(0))
1685
		--handleweld.C0 = cf(math.random(-2,2),math.random(4,8),math.random(5,9))*angles(math.rad(-5),math.rad(0),math.rad(0))
1686
		swait(1)
1687
		end
1688
		for a = 0,1,.05 do
1689
		sannd.Volume = a
1690
		for _, b in pairs(blmod:GetChildren()) do
1691
		b.Transparency = a
1692
		end
1693
		swait()
1694
		end
1695
		sannd:Destroy()
1696
		blmod:Destroy()
1697
		attack = false
1698
end
1699
1700
function yummy()
1701
attack=true
1702
if TrailDeb == false then
1703
TrailDeb = true
1704
end
1705
coroutine.wrap(function()
1706
local Old = Handle.CFrame.p
1707
while true do swait()
1708
if not TrailDeb then break end
1709
local New = Handle.CFrame.p
1710
local Mag =(Old -New).magnitude
1711
local Dis =(Old +New)/2
1712
local Trail = Instance.new("Part",Character)
1713
Trail.Material = "Neon"
1714
Trail.Anchored = true
1715
Trail.CanCollide = false
1716
Trail.BrickColor = TorsoColor
1717
Trail.Size = Vector3.new(0.2,Mag,0.2)
1718
Trail.TopSurface = 0
1719
Trail.BottomSurface = 0
1720
Trail.formFactor = "Custom"
1721
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1722
local ms = Instance.new("BlockMesh",Trail)
1723
ms.Scale = Vector3.new(1,1,1)
1724
local TM = Instance.new("CylinderMesh",Trail)
1725
TM.Scale = Vector3.new(20,1,20)
1726
Old = New
1727
coroutine.wrap(function()
1728
for i = 1,0,-0.1 do
1729
swait()
1730
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1731
end
1732
Trail:remove()
1733
end)()
1734
coroutine.wrap(function()
1735
for i = 1,10 do
1736
swait()
1737
Trail.Transparency = Trail.Transparency +0.1
1738
end end)()end end)()
1739
local grab
1740
local torsy
1741
local ghum
1742
local soaa
1743
    for i=0,1,0.05 do
1744
        swait()
1745
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
1746
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
1747
        RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
1748
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1749
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1750
        Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
1751
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1752
    end
1753
con1=Gear.Touched:connect(function(hit)
1754
if grab == nil and hit.Parent ~= Character then
1755
torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
1756
ghum = hit.Parent:FindFirstChildOfClass("Humanoid")
1757
if ghum ~= nil and torsy ~= nil then
1758
grab=hit.Parent
1759
so(386946017,hit,1,1)
1760
local soaa = it("Sound",grab.Head)
1761
soaa.Volume = 1
1762
local cho = math.random(1,5)
1763
if cho == 1 then
1764
soaa.SoundId = "rbxassetid://111896685"
1765
elseif cho == 2 then
1766
soaa.SoundId = "rbxassetid://535528169"
1767
elseif cho == 3 then
1768
soaa.SoundId = "rbxassetid://1080363252"
1769
elseif cho == 4 then
1770
soaa.SoundId = "rbxassetid://147758746"
1771
elseif cho == 5 then
1772
soaa.SoundId = "rbxassetid://626777433"
1773
soaa.Volume = .2
1774
soaa.TimePosition = 1
1775
end
1776
soaa:Play()
1777
end
1778
end
1779
end) 
1780
    so("231917758",Handle,1,.9) 
1781
    so("159972643",Torso,1,1) 
1782
    for i=0,3,0.1 do
1783
        swait()
1784
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
1785
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
1786
        RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
1787
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1788
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1789
        Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
1790
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1791
		if torsy~=nil then
1792
		ghum.PlatformStand = true
1793
		torsy.CFrame = Gear.CFrame
1794
		end
1795
    end
1796
if grab ~= nil then
1797
	Humanoid.WalkSpeed = 0
1798
	con1:disconnect()
1799
    for i=0,3,0.05 do
1800
        swait()
1801
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1802
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
1803
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
1804
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
1805
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1806
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1807
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
1808
        Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
1809
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1810
		if torsy~=nil then
1811
		ghum.PlatformStand = true
1812
		torsy.CFrame = Gear.CFrame
1813
		end
1814
    end
1815
    for i=0,1,0.1 do
1816
        swait()
1817
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1818
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
1819
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
1820
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
1821
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1822
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1823
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
1824
        Handleweld.C0=clerp(Handleweld.C0,cf(0,16,5)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
1825
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1826
		if torsy~=nil then
1827
		ghum.PlatformStand = true
1828
		torsy.CFrame = Gear.CFrame
1829
		end
1830
    end
1831
	grab:BreakJoints()
1832
	for i,v in pairs(grab:children()) do
1833
	if v:IsA("BasePart") then
1834
	game:service'Debris':AddItem(v,.01)
1835
	end
1836
	end
1837
	local ref = it("Part",Character)
1838
	ref.Size = Vector3.new(0,0,0)
1839
	ref.Anchored = true
1840
	ref.CanCollide = false
1841
	ref.Transparency = 1
1842
	ref.CFrame = Gear.CFrame
1843
so(206082327,Gear,1,3)
1844
local partasdeff = Instance.new("ParticleEmitter",ref)
1845
partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
1846
partasdeff.LightEmission = .1
1847
partasdeff.Size = NumberSequence.new(0.2)
1848
partasdeff.Texture = "rbxassetid://771221224"
1849
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1850
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1851
partasdeff.Transparency = bbb
1852
partasdeff.Size = aaa
1853
partasdeff.ZOffset = .9
1854
partasdeff.Acceleration = Vector3.new(0, -5, 0)
1855
partasdeff.LockedToPart = false
1856
partasdeff.EmissionDirection = "Back"
1857
partasdeff.Lifetime = NumberRange.new(1, 2)
1858
partasdeff.Rate = 1000
1859
partasdeff.Rotation = NumberRange.new(-100, 100)
1860
partasdeff.RotSpeed = NumberRange.new(-100, 100)
1861
partasdeff.Speed = NumberRange.new(6)
1862
partasdeff.VelocitySpread = 10000
1863
partasdeff.Enabled=false
1864
partasdeff:Emit(70)
1865
game:service'Debris':AddItem(ref,5)
1866
swait(90)
1867
so(2767085,DragonHead,1,1)
1868
	swait(150)
1869
	    for i=0,1,0.1 do
1870
        swait()
1871
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1872
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
1873
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
1874
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
1875
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1876
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
1877
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
1878
        Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
1879
        Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1880
	    end
1881
so(133966572,DragonHead,.8,2)
1882
for i=1,15 do
1883
for a=1,5 do
1884
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0))
1885
swait()
1886
end
1887
local bo = it("Part",Character)
1888
bo.Size = vt(.2,.6,1)
1889
bo.BrickColor = BrickColor.new("Persimmon")
1890
bo.CFrame = DragonHead.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1891
bo.Velocity = RootPart.CFrame.lookVector*40
1892
local m = it("SpecialMesh",bo)
1893
m.MeshId = "rbxassetid://305829157"
1894
m.Scale = vt(math.random(9,13)/10,math.random(9,13)/10,math.random(9,13)/10)
1895
coroutine.wrap(function()
1896
swait(300)
1897
for a=0,1,.05 do
1898
swait()
1899
bo.Transparency = a
1900
end
1901
bo:Destroy()
1902
end)()
1903
end
1904
for a=1,5 do
1905
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0))
1906
swait()
1907
end
1908
local bo = it("Part",Character)
1909
bo.Size = vt(1,1,1)
1910
bo.BrickColor = BrickColor.new("Persimmon")
1911
bo.CFrame = DragonHead.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1912
bo.Velocity = RootPart.CFrame.lookVector*40
1913
local m = it("SpecialMesh",bo)
1914
m.MeshId = "rbxassetid://4770583"
1915
m.Scale = vt(3,3,3)
1916
coroutine.wrap(function()
1917
swait(300)
1918
for a=0,1,.05 do
1919
swait()
1920
bo.Transparency = a
1921
end
1922
bo:Destroy()
1923
end)()
1924
swait(60)
1925
end
1926
    --dmgstop()
1927
    attack=false
1928
    con1:disconnect()
1929
if TrailDeb == true then
1930
TrailDeb = false
1931
end
1932
end
1933
1934
function smek()
1935
attack=true
1936
if TrailDeb == false then
1937
TrailDeb = true
1938
end
1939
coroutine.wrap(function()
1940
local Old = Handle.CFrame.p
1941
while true do swait()
1942
if not TrailDeb then break end
1943
local New = Handle.CFrame.p
1944
local Mag =(Old -New).magnitude
1945
local Dis =(Old +New)/2
1946
local Trail = Instance.new("Part",Character)
1947
Trail.Material = "Neon"
1948
Trail.Anchored = true
1949
Trail.CanCollide = false
1950
Trail.BrickColor = TorsoColor
1951
Trail.Size = Vector3.new(0.2,Mag,0.2)
1952
Trail.TopSurface = 0
1953
Trail.BottomSurface = 0
1954
Trail.formFactor = "Custom"
1955
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
1956
local ms = Instance.new("BlockMesh",Trail)
1957
ms.Scale = Vector3.new(1,1,1)
1958
local TM = Instance.new("CylinderMesh",Trail)
1959
TM.Scale = Vector3.new(20,1,20)
1960
Old = New
1961
coroutine.wrap(function()
1962
for i = 1,0,-0.1 do
1963
swait()
1964
TM.Scale = TM.Scale * Vector3.new(i,1,i)
1965
end
1966
Trail:remove()
1967
end)()
1968
coroutine.wrap(function()
1969
for i = 1,10 do
1970
swait()
1971
Trail.Transparency = Trail.Transparency +0.1
1972
end end)()end end)()
1973
local grab
1974
local torsy
1975
local ghum
1976
local soaa
1977
    for i=0,1,0.05 do
1978
        swait()
1979
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
1980
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
1981
        RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
1982
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
1983
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
1984
        Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
1985
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
1986
    end
1987
con1=Gear.Touched:connect(function(hit)
1988
if grab == nil and hit.Parent ~= Character then
1989
torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
1990
ghum = hit.Parent:FindFirstChildOfClass("Humanoid")
1991
if ghum ~= nil and torsy ~= nil then
1992
grab=hit.Parent
1993
so(386946017,hit,1,1)
1994
soaa = it("Sound",grab.Head)
1995
soaa.Volume = 1
1996
local cho = math.random(1,5)
1997
if cho == 1 then
1998
soaa.SoundId = "rbxassetid://111896685"
1999
elseif cho == 2 then
2000
soaa.SoundId = "rbxassetid://535528169"
2001
elseif cho == 3 then
2002
soaa.SoundId = "rbxassetid://1080363252"
2003
elseif cho == 4 then
2004
soaa.SoundId = "rbxassetid://147758746"
2005
elseif cho == 5 then
2006
soaa.SoundId = "rbxassetid://626777433"
2007
soaa.Volume = .2
2008
soaa.TimePosition = 1
2009
end
2010
game:service'Debris':AddItem(soaa,8)
2011
soaa:Play()
2012
end
2013
end
2014
end) 
2015
    so("231917758",Handle,1,.9) 
2016
    so("159972643",Torso,1,1) 
2017
    for i=0,3,0.1 do
2018
        swait()
2019
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
2020
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
2021
        RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
2022
        LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
2023
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
2024
        Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-10)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
2025
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2026
		if torsy~=nil then
2027
		ghum.PlatformStand = true
2028
		torsy.CFrame = Gear.CFrame
2029
		end
2030
    end
2031
if grab ~= nil then
2032
	Humanoid.WalkSpeed = 0
2033
	con1:disconnect()
2034
    for i=0,3,0.05 do
2035
        swait()
2036
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2037
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
2038
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
2039
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
2040
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2041
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2042
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
2043
        Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
2044
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2045
		if torsy~=nil then
2046
		ghum.PlatformStand = true
2047
		torsy.CFrame = Gear.CFrame
2048
		end
2049
    end
2050
for a=1,5 do
2051
    for i=0,1,0.1 do
2052
        swait()
2053
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2054
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
2055
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
2056
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
2057
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2058
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2059
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
2060
        Handleweld.C0=clerp(Handleweld.C0,cf(2,-5,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2061
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2062
		if torsy~=nil then
2063
		ghum.PlatformStand = true
2064
		torsy.CFrame = Gear.CFrame
2065
		end
2066
    end
2067
so(386946017,torsy,1,1)
2068
BlastEffect(BrickColor.new("White"),CFrame.new(torsy.Position),.5,.5,.5,.5,.2,.5)
2069
if ghum.Health > 10 then
2070
Damagefunc(torsy,"",8,10,0,"Normal",RootPart,0,1)
2071
end
2072
    for i=0,1,0.1 do
2073
        swait()
2074
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2075
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
2076
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
2077
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
2078
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2079
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2080
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
2081
        Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2082
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2083
		if torsy~=nil then
2084
		ghum.PlatformStand = true
2085
		torsy.CFrame = Gear.CFrame
2086
		end
2087
    end
2088
end
2089
for i=1,30 do
2090
swait()
2091
		if torsy~=nil then
2092
		ghum.PlatformStand = true
2093
		torsy.CFrame = Gear.CFrame
2094
		end
2095
end
2096
    for i=0,5,0.1 do
2097
        swait()
2098
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2099
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
2100
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
2101
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
2102
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2103
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2104
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2105
        Handleweld.C0=clerp(Handleweld.C0,cf(2,15,10)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
2106
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2107
		if torsy~=nil then
2108
		ghum.PlatformStand = true
2109
		torsy.CFrame = Gear.CFrame
2110
		end
2111
    end
2112
    for i=0,1,0.1 do
2113
        swait()
2114
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2115
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
2116
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
2117
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
2118
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2119
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2120
		handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
2121
        Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2122
        Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2123
		if torsy~=nil then
2124
		ghum.PlatformStand = true
2125
		torsy.CFrame = Gear.CFrame
2126
		end
2127
    end
2128
torsy.Velocity = RootPart.CFrame.lookVector*100
2129
coroutine.wrap(function()
2130
local par,pos
2131
repeat swait() par,pos = rayCast(torsy.Position,Vector3.new(0,-1,0),2,grab) until par
2132
Damagefunc(torsy,"",15,20,0,"Normal",RootPart,0,1)
2133
BlastEffect(BrickColor.new("White"),CFrame.new(pos),0,0,0,.5,.2,.5)
2134
so(260430079,torsy,1,5)
2135
swait(60)
2136
ghum.PlatformStand = false
2137
end)()
2138
swait(60)
2139
end
2140
    --dmgstop()
2141
    attack=false
2142
    con1:disconnect()
2143
if TrailDeb == true then
2144
TrailDeb = false
2145
end
2146
end
2147
2148
function rawr()
2149
attack=true
2150
Humanoid.WalkSpeed = 0
2151
for i=0,1,0.05 do
2152
swait()
2153
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2154
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
2155
LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
2156
RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
2157
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2158
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
2159
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
2160
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
2161
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
2162
end
2163
so(150829983,DragonHead,.9,5)
2164
for a=1,300 do
2165
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0))
2166
BlastEffect(BrickColor.new("White"),RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,math.random(-50,50),0),1,.2,1,2,0,2)
2167
MagniDamage(Torso,"",30,1,1,5,"Knockdown",RootPart,.05,1)
2168
swait()
2169
end
2170
attack = false
2171
end
2172
2173
equipanim()
2174
2175
mouse.Button1Down:connect(function()
2176
        if attack==false and attacktype==1 then
2177
                attacktype=2
2178
                attackone()
2179
        elseif attack==false and attacktype==2 then
2180
                attacktype=3
2181
                attacktwo()
2182
		elseif attack==false and attacktype==3 then
2183
				attacktype=1
2184
				attackthree()
2185
        end
2186
end)
2187
2188
mouse.KeyDown:connect(function(k)
2189
k = k:lower()
2190
if k=='m' then
2191
if Character:FindFirstChild("moosick")~=nil then
2192
if moosick.IsPlaying == true then
2193
moosick:Stop()
2194
elseif moosick.IsPaused == true then
2195
moosick:Play()
2196
end
2197
elseif Character:FindFirstChild("moosick")==nil then
2198
local moosick = Instance.new("Sound",Character)
2199
moosick.Name = "moosick"
2200
moosick.SoundId = "rbxassetid://608726256"
2201
moosick.Looped = true
2202
moosick.Volume = 1
2203
moosick:Play()
2204
end
2205
end
2206
if attack == false then
2207
if k=='z' then
2208
mudads()
2209
elseif k=='x' then
2210
smashdown()
2211
elseif k=='c' then
2212
laser()
2213
elseif k=='v' then
2214
smek()
2215
elseif k=='b' then
2216
yummy()
2217
elseif k=='g' then
2218
rawr()
2219
end
2220
end
2221
end)
2222
2223
local sine = 0
2224
local change = 1
2225
local val = 0
2226
2227
local mananum=0
2228
while true do
2229
swait()
2230
sine = sine + change
2231
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
2232
local velderp=RootPart.Velocity.y
2233
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
2234
if equipped==true or equipped==false then
2235
--if Anim=="Idle" and attack==false then
2236
--idle=idle+1
2237
--else
2238
--idle=0
2239
--end
2240
if idle>=1000 then
2241
if attack==false then
2242
--Sheath()
2243
end
2244
end
2245
if RootPart.Velocity.y > 1 and hitfloor==nil then 
2246
Anim="Jump"
2247
if attack==false then
2248
Footsteps:Stop()
2249
Footsteps2:Stop()
2250
Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
2251
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2252
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
2253
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
2254
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
2255
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
2256
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
2257
RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
2258
LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
2259
handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
2260
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
2261
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
2262
end
2263
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
2264
Anim="Fall"
2265
if attack==false then
2266
Footsteps:Stop()
2267
Footsteps2:Stop()
2268
Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
2269
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2270
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
2271
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
2272
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
2273
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
2274
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
2275
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
2276
LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
2277
handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
2278
Handleweld.C0=clerp(Handleweld.C0,cf(4,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
2279
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
2280
end
2281
elseif torvel<1 and hitfloor~=nil then
2282
Anim="Idle"
2283
change=0.5
2284
if attack==false then
2285
Footsteps:Stop()
2286
Footsteps2:Stop()
2287
Humanoid.WalkSpeed=12
2288
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
2289
Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
2290
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2291
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)
2292
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)
2293
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)
2294
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)
2295
handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
2296
Handleweld.C0=clerp(Handleweld.C0,cf(4-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)
2297
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+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)
2298
end
2299
elseif torvel>2 and hitfloor~=nil then
2300
Anim="Walk"
2301
if attack==false then
2302
change=1
2303
--[[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)
2304
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
2305
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)
2306
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)
2307
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
2308
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
2309
--Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2310
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
2311
RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
2312
--RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
2313
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
2314
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
2315
RH.C0=clerp(RH.C0,RHC0,.3)
2316
LH.C0=clerp(LH.C0,LHC0,.3)
2317
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2318
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
2319
]]--
2320
Humanoid.WalkSpeed=50
2321
--Footsteps:Play()
2322
--Footsteps2:Stop()
2323
--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)
2324
--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)
2325
--Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2326
--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)
2327
--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)
2328
--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)
2329
--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)
2330
--handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
2331
--Handleweld.C0=clerp(Handleweld.C0,cf(4-.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)
2332
--Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+.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)
2333
--end
2334
--elseif torvel>=22 and hitfloor~=nil then
2335
--Anim="Run"
2336
change=1
2337
--if attack==false then
2338
Footsteps:Stop()
2339
Footsteps2:Play()
2340
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)
2341
Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
2342
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
2343
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
2344
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
2345
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)
2346
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)
2347
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
2348
Handleweld.C0=clerp(Handleweld.C0,cf(4-.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)
2349
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+.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)
2350
end
2351
end
2352
end
2353
end