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