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