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