View difference between Paste ID: npS8b9v1 and 52Z2Br10
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2-
--||			   CREATED BY SHACKLUSTER
2+
--||CREATED BY SHACKLUSTER  EY edit 5mzazatv
3
--\\====================================================//--
4
5
wait(0.2)
6
7
Player = game:GetService("Players").LocalPlayer
8
PlayerGui = Player.PlayerGui
9
Cam = workspace.CurrentCamera
10
Backpack = Player.Backpack
11
Character = Player.Character
12
Humanoid = Character.Humanoid
13
Mouse = Player:GetMouse()
14
RootPart = Character["HumanoidRootPart"]
15
Torso = Character["Torso"]
16
Head = Character["Head"]
17
RightArm = Character["Right Arm"]
18
LeftArm = Character["Left Arm"]
19
RightLeg = Character["Right Leg"]
20
LeftLeg = Character["Left Leg"]
21
RootJoint = RootPart["RootJoint"]
22
Neck = Torso["Neck"]
23
RightShoulder = Torso["Right Shoulder"]
24
LeftShoulder = Torso["Left Shoulder"]
25
RightHip = Torso["Right Hip"]
26
LeftHip = Torso["Left Hip"]
27
28
IT = Instance.new
29
CF = CFrame.new
30
VT = Vector3.new
31
RAD = math.rad
32
C3 = Color3.new
33
UD2 = UDim2.new
34
BRICKC = BrickColor.new
35
ANGLES = CFrame.Angles
36
EULER = CFrame.fromEulerAnglesXYZ
37
COS = math.cos
38
ACOS = math.acos
39
SIN = math.sin
40
ASIN = math.asin
41
ABS = math.abs
42
MRANDOM = math.random
43
FLOOR = math.floor
44
45
--//=================================\\
46
--|| 	      USEFUL VALUES
47
--\\=================================//
48
49
Animation_Speed = 3
50
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
51
local Speed = 16
52
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
53
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
54
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
55
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
56
local DAMAGEMULTIPLIER = 1
57
local ANIM = "Idle"
58
local ATTACK = false
59
local EQUIPPED = false
60
local HOLD = false
61
local COMBO = 1
62
local Rooted = false
63
local SINE = 0
64
local KEYHOLD = false
65
local CHANGE = 2 / Animation_Speed
66
local WALKINGANIM = false
67
local VALUE1 = false
68
local VALUE2 = false
69
local ROBLOXIDLEANIMATION = IT("Animation")
70
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
71
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
72
--ROBLOXIDLEANIMATION.Parent = Humanoid
73
local WEAPONGUI = IT("ScreenGui", PlayerGui)
74
WEAPONGUI.Name = "Weapon GUI"
75
local Weapon = IT("Model")
76
Weapon.Name = "Adds"
77
local Effects = IT("Folder", Weapon)
78
Effects.Name = "Effects"
79
local ANIMATOR = Humanoid.Animator
80
local ANIMATE = Character.Animate
81
local UNANCHOR = true
82
83
--//=================================\\
84
--\\=================================//
85
86
87
--//=================================\\
88
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
89
--\\=================================//
90
91
ArtificialHB = Instance.new("BindableEvent", script)
92
ArtificialHB.Name = "ArtificialHB"
93
94
script:WaitForChild("ArtificialHB")
95
96
frame = Frame_Speed
97
tf = 0
98
allowframeloss = false
99
tossremainder = false
100
lastframe = tick()
101
script.ArtificialHB:Fire()
102
103
game:GetService("RunService").Heartbeat:connect(function(s, p)
104
	tf = tf + s
105
	if tf >= frame then
106
		if allowframeloss then
107
			script.ArtificialHB:Fire()
108
			lastframe = tick()
109
		else
110
			for i = 1, math.floor(tf / frame) do
111
				script.ArtificialHB:Fire()
112
			end
113
		lastframe = tick()
114
		end
115
		if tossremainder then
116
			tf = 0
117
		else
118
			tf = tf - frame * math.floor(tf / frame)
119
		end
120
	end
121
end)
122
123
--//=================================\\
124
--\\=================================//
125
126
--//=================================\\
127
--|| 	      SOME FUNCTIONS
128
--\\=================================//
129
130
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
131
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
132
end
133
134
function PositiveAngle(NUMBER)
135
	if NUMBER >= 0 then
136
		NUMBER = 0
137
	end
138
	return NUMBER
139
end
140
141
function NegativeAngle(NUMBER)
142
	if NUMBER <= 0 then
143
		NUMBER = 0
144
	end
145
	return NUMBER
146
end
147
148
function Swait(NUMBER)
149
	if NUMBER == 0 or NUMBER == nil then
150
		ArtificialHB.Event:wait()
151
	else
152
		for i = 1, NUMBER do
153
			ArtificialHB.Event:wait()
154
		end
155
	end
156
end
157
158
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
159
	local NEWMESH = IT(MESH)
160
	if MESH == "SpecialMesh" then
161
		NEWMESH.MeshType = MESHTYPE
162
		if MESHID ~= "nil" and MESHID ~= "" then
163
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
164
		end
165
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
166
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
167
		end
168
	end
169
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
170
	NEWMESH.Scale = SCALE
171
	NEWMESH.Parent = PARENT
172
	return NEWMESH
173
end
174
175
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
176
	local NEWPART = IT("Part")
177
	NEWPART.formFactor = FORMFACTOR
178
	NEWPART.Reflectance = REFLECTANCE
179
	NEWPART.Transparency = TRANSPARENCY
180
	NEWPART.CanCollide = false
181
	NEWPART.Locked = true
182
	NEWPART.Anchored = true
183
	if ANCHOR == false then
184
		NEWPART.Anchored = false
185
	end
186
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
187
	NEWPART.Name = NAME
188
	NEWPART.Size = SIZE
189
	NEWPART.Position = Torso.Position
190
	NEWPART.Material = MATERIAL
191
	NEWPART:BreakJoints()
192
	NEWPART.Parent = PARENT
193
	return NEWPART
194
end
195
196
	local function weldBetween(a, b)
197
	    local weldd = Instance.new("ManualWeld")
198
	    weldd.Part0 = a
199
	    weldd.Part1 = b
200
	    weldd.C0 = CFrame.new()
201
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
202
	    weldd.Parent = a
203
	    return weldd
204
	end
205
206
207
function QuaternionFromCFrame(cf)
208
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
209
	local trace = m00 + m11 + m22
210
	if trace > 0 then 
211
		local s = math.sqrt(1 + trace)
212
		local recip = 0.5 / s
213
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
214
	else
215
		local i = 0
216
		if m11 > m00 then
217
			i = 1
218
		end
219
		if m22 > (i == 0 and m00 or m11) then
220
			i = 2
221
		end
222
		if i == 0 then
223
			local s = math.sqrt(m00 - m11 - m22 + 1)
224
			local recip = 0.5 / s
225
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
226
		elseif i == 1 then
227
			local s = math.sqrt(m11 - m22 - m00 + 1)
228
			local recip = 0.5 / s
229
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
230
		elseif i == 2 then
231
			local s = math.sqrt(m22 - m00 - m11 + 1)
232
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
233
		end
234
	end
235
end
236
 
237
function QuaternionToCFrame(px, py, pz, x, y, z, w)
238
	local xs, ys, zs = x + x, y + y, z + z
239
	local wx, wy, wz = w * xs, w * ys, w * zs
240
	local xx = x * xs
241
	local xy = x * ys
242
	local xz = x * zs
243
	local yy = y * ys
244
	local yz = y * zs
245
	local zz = z * zs
246
	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))
247
end
248
 
249
function QuaternionSlerp(a, b, t)
250
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
251
	local startInterp, finishInterp;
252
	if cosTheta >= 0.0001 then
253
		if (1 - cosTheta) > 0.0001 then
254
			local theta = ACOS(cosTheta)
255
			local invSinTheta = 1 / SIN(theta)
256
			startInterp = SIN((1 - t) * theta) * invSinTheta
257
			finishInterp = SIN(t * theta) * invSinTheta
258
		else
259
			startInterp = 1 - t
260
			finishInterp = t
261
		end
262
	else
263
		if (1 + cosTheta) > 0.0001 then
264
			local theta = ACOS(-cosTheta)
265
			local invSinTheta = 1 / SIN(theta)
266
			startInterp = SIN((t - 1) * theta) * invSinTheta
267
			finishInterp = SIN(t * theta) * invSinTheta
268
		else
269
			startInterp = t - 1
270
			finishInterp = t
271
		end
272
	end
273
	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
274
end
275
276
function Clerp(a, b, t)
277
	local qa = {QuaternionFromCFrame(a)}
278
	local qb = {QuaternionFromCFrame(b)}
279
	local ax, ay, az = a.x, a.y, a.z
280
	local bx, by, bz = b.x, b.y, b.z
281
	local _t = 1 - t
282
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
283
end
284
285
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
286
	local frame = IT("Frame")
287
	frame.BackgroundTransparency = TRANSPARENCY
288
	frame.BorderSizePixel = BORDERSIZEPIXEL
289
	frame.Position = POSITION
290
	frame.Size = SIZE
291
	frame.BackgroundColor3 = COLOR
292
	frame.BorderColor3 = BORDERCOLOR
293
	frame.Name = NAME
294
	frame.Parent = PARENT
295
	return frame
296
end
297
298
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
299
	local label = IT("TextLabel")
300
	label.BackgroundTransparency = 1
301
	label.Size = UD2(1, 0, 1, 0)
302
	label.Position = UD2(0, 0, 0, 0)
303
	label.TextColor3 = TEXTCOLOR
304
	label.TextStrokeTransparency = STROKETRANSPARENCY
305
	label.TextTransparency = TRANSPARENCY
306
	label.FontSize = TEXTFONTSIZE
307
	label.Font = TEXTFONT
308
	label.BorderSizePixel = BORDERSIZEPIXEL
309
	label.TextScaled = false
310
	label.Text = TEXT
311
	label.Name = NAME
312
	label.Parent = PARENT
313
	return label
314
end
315
316
function NoOutlines(PART)
317
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
318
end
319
320
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
321
	local NEWWELD = IT(TYPE)
322
	NEWWELD.Part0 = PART0
323
	NEWWELD.Part1 = PART1
324
	NEWWELD.C0 = C0
325
	NEWWELD.C1 = C1
326
	NEWWELD.Parent = PARENT
327
	return NEWWELD
328
end
329
330
local S = IT("Sound")
331
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
332
	local NEWSOUND = nil
333
	coroutine.resume(coroutine.create(function()
334
		NEWSOUND = S:Clone()
335
		NEWSOUND.Parent = PARENT
336
		NEWSOUND.Volume = VOLUME
337
		NEWSOUND.Pitch = PITCH
338
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
339
		NEWSOUND:play()
340
		if DOESLOOP == true then
341
			NEWSOUND.Looped = true
342
		else
343
			repeat wait(1) until NEWSOUND.Playing == false
344
			NEWSOUND:remove()
345
		end
346
	end))
347
	return NEWSOUND
348
end
349
350
function CFrameFromTopBack(at, top, back)
351
	local right = top:Cross(back)
352
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
353
end
354
355
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
356
function WACKYEFFECT(Table)
357
	local TYPE = (Table.EffectType or "Sphere")
358
	local SIZE = (Table.Size or VT(1,1,1))
359
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
360
	local TRANSPARENCY = (Table.Transparency or 0)
361
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
362
	local CFRAME = (Table.CFrame or Torso.CFrame)
363
	local MOVEDIRECTION = (Table.MoveToPos or nil)
364
	local ROTATION1 = (Table.RotationX or 0)
365
	local ROTATION2 = (Table.RotationY or 0)
366
	local ROTATION3 = (Table.RotationZ or 0)
367
	local MATERIAL = (Table.Material or "Neon")
368
	local COLOR = (Table.Color or C3(1,1,1))
369
	local TIME = (Table.Time or 45)
370
	local SOUNDID = (Table.SoundID or nil)
371
	local SOUNDPITCH = (Table.SoundPitch or nil)
372
	local SOUNDVOLUME = (Table.SoundVolume or nil)
373
	coroutine.resume(coroutine.create(function()
374
		local PLAYSSOUND = false
375
		local SOUND = nil
376
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
377
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
378
			PLAYSSOUND = true
379
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
380
		end
381
		EFFECT.Color = COLOR
382
		local MSH = nil
383
		if TYPE == "Sphere" then
384
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
385
		elseif TYPE == "Block" then
386
			MSH = IT("BlockMesh",EFFECT)
387
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
388
		elseif TYPE == "Wave" then
389
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
390
		elseif TYPE == "Ring" then
391
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
392
		elseif TYPE == "Slash" then
393
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
394
		elseif TYPE == "Round Slash" then
395
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
396
		elseif TYPE == "Swirl" then
397
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
398
		elseif TYPE == "Skull" then
399
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
400
		elseif TYPE == "Crystal" then
401
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
402
		end
403
		if MSH ~= nil then
404
			local MOVESPEED = nil
405
			if MOVEDIRECTION ~= nil then
406
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
407
			end
408
			local GROWTH = SIZE - ENDSIZE
409
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
410
			if TYPE == "Block" then
411
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
412
			else
413
				EFFECT.CFrame = CFRAME
414
			end
415
			for LOOP = 1, TIME+1 do
416
				Swait()
417
				MSH.Scale = MSH.Scale - GROWTH/TIME
418
				if TYPE == "Wave" then
419
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
420
				end
421
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
422
				if TYPE == "Block" then
423
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
424
				else
425
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
426
				end
427
				if MOVEDIRECTION ~= nil then
428
					local ORI = EFFECT.Orientation
429
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
430
					EFFECT.Orientation = ORI
431
				end
432
			end
433
			if PLAYSSOUND == false then
434
				EFFECT:remove()
435
			else
436
				repeat Swait() until SOUND.Playing == false
437
				EFFECT:remove()
438
			end
439
		else
440
			if PLAYSSOUND == false then
441
				EFFECT:remove()
442
			else
443
				repeat Swait() until SOUND.Playing == false
444
				EFFECT:remove()
445
			end
446
		end
447
	end))
448
end
449
450
function MakeForm(PART,TYPE)
451
	if TYPE == "Cyl" then
452
		local MSH = IT("CylinderMesh",PART)
453
	elseif TYPE == "Ball" then
454
		local MSH = IT("SpecialMesh",PART)
455
		MSH.MeshType = "Sphere"
456
	elseif TYPE == "Wedge" then
457
		local MSH = IT("SpecialMesh",PART)
458
		MSH.MeshType = "Wedge"
459
	end
460
end
461
462
Debris = game:GetService("Debris")
463
464
function CastProperRay(StartPos, EndPos, Distance, Ignore)
465
	local DIRECTION = CF(StartPos,EndPos).lookVector
466
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
467
end
468
469
function CharacterFade(COLOR,TIMER)
470
	coroutine.resume(coroutine.create(function()
471
		local FADE = IT("Model",Effects)
472
		for _, c in pairs(Character:GetChildren()) do
473
			if c.ClassName == "Part" and c ~= RootPart then
474
				local FADER = c:Clone()
475
				FADER.Color = COLOR
476
				FADER.CFrame = c.CFrame
477
				FADER.Parent = FADE
478
				FADER.Anchored = true
479
				FADER.Transparency = 0.25
480
				FADER:BreakJoints()
481
				FADER.Material = "Glass"
482
				FADER:ClearAllChildren()
483
				if FADER.Name == "Head" then
484
					FADER.Size = VT(1,1,1)
485
				end
486
			end
487
		end
488
		local TRANS = 0.75/TIMER
489
		for i = 1, TIMER do
490
			Swait()
491
			for _, c in pairs(FADE:GetChildren()) do
492
				if c.ClassName == "Part" then
493
					c.Transparency = c.Transparency + TRANS
494
				end
495
			end
496
		end
497
		FADE:remove()
498
	end))
499
end
500
501
local PE=Instance.new("ParticleEmitter")
502
PE.LightEmission=0.3
503
PE.Size=NumberSequence.new(0)
504
PE.Transparency=NumberSequence.new(0,1)
505
PE.Rotation=NumberRange.new(0,360)
506
PE.LockedToPart = false
507
PE.Speed = NumberRange.new(0,0,0)
508
PE.ZOffset = 0.3
509
PE.Rate = 999
510
PE.VelocitySpread = 25
511
PE.Name = "Particles"
512
513
function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
514
    local particle = nil
515
    coroutine.resume(coroutine.create(function(PART)
516
        particle = PE:Clone()
517
        Swait()
518
        particle.Rate = 999
519
        particle.Parent = art
520
        particle.Acceleration = accel
521
        if type == "Fire" then
522
            local EyeSizes={
523
                NumberSequenceKeypoint.new(0,size,size/2),
524
                NumberSequenceKeypoint.new(1,size/4,size/8)
525
            }
526
            particle.Size = NumberSequence.new(EyeSizes)
527
        elseif type == "Smoke" then
528
            local EyeSizes={
529
                NumberSequenceKeypoint.new(0,size/5,0),
530
                NumberSequenceKeypoint.new(1,size*2,0.5)
531
            }
532
            particle.Size = NumberSequence.new(EyeSizes)
533
        elseif type == "Solid" then
534
            local EyeSizes={
535
                NumberSequenceKeypoint.new(0,size,0),
536
                NumberSequenceKeypoint.new(1,size,0)
537
            }
538
            particle.Size = NumberSequence.new(EyeSizes)
539
        end
540
        particle.Lifetime=NumberRange.new(lifetime)
541
        particle.Drag = drag
542
        if locked == true then
543
            particle.LockedToPart = true
544
        end
545
        particle.Speed = NumberRange.new(speed*0.8,speed)
546
        particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
547
        particle.Enabled = isenabledbydefault
548
        particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
549
    end))
550
return particle
551
end
552
553
--//=================================\\
554
--||	     RAGDOLL STUFF
555
--\\=================================//
556
557
function recurse(root,callback,i)
558
	i= i or 0
559
	for _,v in pairs(root:GetChildren()) do
560
		i = i + 1
561
		callback(i,v)
562
		
563
		if #v:GetChildren() > 0 then
564
			i = recurse(v,callback,i)
565
		end
566
	end
567
	
568
	return i
569
end
570
571
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
572
	attachmentName = attachmentName.."RigAttachment"
573
	local constraint = Instance.new(className.."Constraint")
574
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
575
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
576
	constraint.Name = "RagdollConstraint"..part1.Name
577
	
578
	for _,propertyData in next,properties or {} do
579
		constraint[propertyData[1]] = propertyData[2]
580
	end
581
	
582
	constraint.Parent = character
583
end
584
585
function getAttachment0(character, attachmentName)
586
	for _,child in next,character:GetChildren() do
587
		local attachment = child:FindFirstChild(attachmentName)
588
		if attachment then
589
			return attachment
590
		end
591
	end
592
end
593
594
function ArtificialHitbox(Part)
595
	local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
596
	HITBOX.CanCollide = true
597
	HITBOX.CFrame = Part.CFrame
598
	weldBetween(Part,HITBOX)
599
end
600
601
function R15Ragdoll(character,KeepArms)
602
	character:BreakJoints()
603
	coroutine.resume(coroutine.create(function()
604
		recurse(character, function(_,v)
605
			if v:IsA("Attachment") then
606
				v.Axis = Vector3.new(0, 1, 0)
607
				v.SecondaryAxis = Vector3.new(0, 0, 1)
608
				v.Rotation = Vector3.new(0, 0, 0)
609
			end
610
		end)
611
		for _,child in next,character:GetChildren() do
612
			if child:IsA("Accoutrement") then
613
				for _,part in next,child:GetChildren() do
614
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
615
						local attachment1 = part:FindFirstChildOfClass("Attachment")
616
						local attachment0 = getAttachment0(character,attachment1.Name)
617
						if attachment0 and attachment1 then
618
							local constraint = Instance.new("HingeConstraint")
619
							constraint.Attachment0 = attachment0
620
							constraint.Attachment1 = attachment1
621
							constraint.LimitsEnabled = true
622
							constraint.UpperAngle = 0
623
							constraint.LowerAngle = 0
624
							constraint.Parent = character
625
						end
626
						ArtificialHitbox(part)
627
					elseif part.Name == "HumanoidRootPart" then
628
						part:remove()
629
					end
630
				end
631
			end
632
		end
633
		
634
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
635
			{"LimitsEnabled",true};
636
			{"UpperAngle",5};
637
		})
638
		if character:FindFirstChild("Head") then
639
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
640
				{"LimitsEnabled",true};
641
				{"UpperAngle",15};
642
			})
643
		end
644
		
645
		local handProperties = {
646
			{"LimitsEnabled", true};
647
			{"UpperAngle",0};
648
			{"LowerAngle",0};
649
		}
650
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
651
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
652
		
653
		local shinProperties = {
654
			{"LimitsEnabled", true};
655
			{"UpperAngle", 0};
656
			{"LowerAngle", -75};
657
		}
658
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
659
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
660
		
661
		local footProperties = {
662
			{"LimitsEnabled", true};
663
			{"UpperAngle", 15};
664
			{"LowerAngle", -45};
665
		}
666
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
667
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
668
		if KeepArms == true then
669
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
670
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
671
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
672
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
673
		end
674
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
675
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
676
		Debris:AddItem(character,5)
677
	end))
678
end
679
680
function Ragdoll(Character2,CharTorso,KeepArms)
681
	coroutine.resume(coroutine.create(function()
682
		Character2:BreakJoints()
683
		local hum = Character2:findFirstChild("Humanoid")
684
		hum:remove()
685
		local function Scan(ch)
686
			local e
687
			for e = 1,#ch do
688
				Scan(ch[e]:GetChildren())
689
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
690
					ch[e]:remove()
691
				end
692
			end
693
		end
694
		local NEWHUM = IT("Humanoid")
695
		NEWHUM.Name = "Corpse"
696
		NEWHUM.Health = 0
697
		NEWHUM.MaxHealth = 0
698
		NEWHUM.PlatformStand = true
699
		NEWHUM.Parent = Character2
700
		NEWHUM.DisplayDistanceType = "None"
701
	
702
		local ch = Character2:GetChildren()
703
		local i
704
		for i = 1,#ch do
705
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
706
				ch[i]:remove()
707
			end
708
		end
709
	
710
		local Torso2 = Character2.Torso
711
		local movevector = Vector3.new()
712
	
713
		if Torso2 then
714
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
715
			local Head = Character2:FindFirstChild("Head")
716
			if Head then
717
				local Neck = Instance.new("Weld")
718
				Neck.Name = "Neck"
719
				Neck.Part0 = Torso2
720
				Neck.Part1 = Head
721
				Neck.C0 = CFrame.new(0, 1.5, 0)
722
				Neck.C1 = CFrame.new()
723
				Neck.Parent = Torso2
724
	
725
			end
726
			local Limb = Character2:FindFirstChild("Right Arm")
727
			if Limb and KeepArms == true then
728
	
729
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
730
				local Joint = Instance.new("Glue")
731
				Joint.Name = "RightShoulder"
732
				Joint.Part0 = Torso2
733
				Joint.Part1 = Limb
734
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
735
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
736
				Joint.Parent = Torso2
737
	
738
				local B = Instance.new("Part")
739
				B.TopSurface = 0
740
				B.BottomSurface = 0
741
				B.formFactor = "Symmetric"
742
				B.Size = Vector3.new(1, 1, 1)
743
				B.Transparency = 1
744
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
745
				B.Parent = Character2
746
				local W = Instance.new("Weld")
747
				W.Part0 = Limb
748
				W.Part1 = B
749
				W.C0 = CFrame.new(0, -0.5, 0)
750
				W.Parent = Limb
751
	
752
			end
753
			local Limb = Character2:FindFirstChild("Left Arm")
754
			if Limb and KeepArms == true then
755
	
756
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
757
				local Joint = Instance.new("Glue")
758
				Joint.Name = "LeftShoulder"
759
				Joint.Part0 = Torso2
760
				Joint.Part1 = Limb
761
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
762
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
763
				Joint.Parent = Torso2
764
	
765
				local B = Instance.new("Part")
766
				B.TopSurface = 0
767
				B.BottomSurface = 0
768
				B.formFactor = "Symmetric"
769
				B.Size = Vector3.new(1, 1, 1)
770
				B.Transparency = 1
771
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
772
				B.Parent = Character2
773
				local W = Instance.new("Weld")
774
				W.Part0 = Limb
775
				W.Part1 = B
776
				W.C0 = CFrame.new(0, -0.5, 0)
777
				W.Parent = Limb
778
	
779
			end
780
			local Limb = Character2:FindFirstChild("Right Leg")
781
			if Limb then
782
	
783
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
784
				local Joint = Instance.new("Glue")
785
				Joint.Name = "RightHip"
786
				Joint.Part0 = Torso2
787
				Joint.Part1 = Limb
788
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
789
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
790
				Joint.Parent = Torso2
791
	
792
				local B = Instance.new("Part")
793
				B.TopSurface = 0
794
				B.BottomSurface = 0
795
				B.formFactor = "Symmetric"
796
				B.Size = Vector3.new(1, 1, 1)
797
				B.Transparency = 1
798
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
799
				B.Parent = Character2
800
				local W = Instance.new("Weld")
801
				W.Part0 = Limb
802
				W.Part1 = B
803
				W.C0 = CFrame.new(0, -0.5, 0)
804
				W.Parent = Limb
805
	
806
			end
807
			local Limb = Character2:FindFirstChild("Left Leg")
808
			if Limb then
809
	
810
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
811
				local Joint = Instance.new("Glue")
812
				Joint.Name = "LeftHip"
813
				Joint.Part0 = Torso2
814
				Joint.Part1 = Limb
815
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
816
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
817
				Joint.Parent = Torso2
818
	
819
				local B = Instance.new("Part")
820
				B.TopSurface = 0
821
				B.BottomSurface = 0
822
				B.formFactor = "Symmetric"
823
				B.Size = Vector3.new(1, 1, 1)
824
				B.Transparency = 1
825
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
826
				B.Parent = Character2
827
				local W = Instance.new("Weld")
828
				W.Part0 = Limb
829
				W.Part1 = B
830
				W.C0 = CFrame.new(0, -0.5, 0)
831
				W.Parent = Limb
832
	
833
			end
834
			--[
835
			local Bar = Instance.new("Part")
836
			Bar.TopSurface = 0
837
			Bar.BottomSurface = 0
838
			Bar.formFactor = "Symmetric"
839
			Bar.Size = Vector3.new(1, 1, 1)
840
			Bar.Transparency = 1
841
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
842
			Bar.Parent = Character2
843
			local Weld = Instance.new("Weld")
844
			Weld.Part0 = Torso2
845
			Weld.Part1 = Bar
846
			Weld.C0 = CFrame.new(0, 0.5, 0)
847
			Weld.Parent = Torso2
848
			--]]
849
		end
850
		Character2.Parent = workspace
851
		Debris:AddItem(Character2,5)
852
	
853
		return Character2,Torso2
854
	end))
855
end
856
857
--//=================================\\
858
--||	     WEAPON CREATION
859
--\\=================================//
860
861
local DUST = CreateParticles(RightArm,VT(0,0,0),5,2,"Smoke",false,false,5,0)
862
DUST.ZOffset = 1
863
RightArm.Transparency = 1
864-
local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false)
864+
local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(1,2,1),false)
865
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
866-
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false)
866+
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(1.4,1.4,1.4),false)
867
MakeForm(Sphere,"Ball")
868
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
869-
local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false)
869+
local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0.3,0.3,0.1),false)
870
MakeForm(LaserPart,"Ball")
871
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
872-
local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false)
872+
local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.3,0.2),false)
873
MakeForm(Bump,"Ball")
874
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
875-
local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false)
875+
local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0.4,0,0.4),false)
876
MakeForm(BottomLaser,"Cyl")
877
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
878-
local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
878+
local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.5,0.5),false)
879
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
880-
local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
880+
local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.5,0.5),false)
881
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
882-
local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
882+
local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.5,0.5),false)
883
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
884-
local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
884+
local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.56,0.5),false)
885
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
886-
local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
886+
local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.56,0.5),false)
887
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
888-
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false)
888+
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.25,0.5),false)
889
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
890-
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false)
890+
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.3,0.5),false)
891
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
892-
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
892+
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(1.4,0,1.4),false)
893
MakeForm(Part,"Cyl")
894
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
895-
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
895+
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(1.4,0,1.4),false)
896
MakeForm(Part,"Cyl")
897
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
898-
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false)
898+
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,1.6,0.7),false)
899
MakeForm(Sphere,"Ball")
900
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
901
902
for _, c in pairs(Weapon:GetChildren()) do
903
	if c.ClassName == "Part" then
904
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
905
	end
906
end
907
908
local SKILLTEXTCOLOR = C3(1,0,0)
909
local SKILLFONT = "SciFi"
910
local SKILLTEXTSIZE = 5
911
912
Weapon.Parent = Character
913
914
Humanoid.Died:connect(function()
915
	ATTACK = true
916
end)
917
918
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
919
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
920
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
921
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
922
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
923
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
924
925
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
926
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
927
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
928
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
929
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
930
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
931
932
--//=================================\\
933
--||	ATTACK FUNCTIONS AND STUFF
934
--\\=================================//
935
936
function Warp()
937
	local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
938
	if HITFLOOR then
939
		CharacterFade(C3(0.5,0,0),50)
940
		HITPOS = HITPOS + VT(0,3.5,0)
941
		local POS = RootPart.Position
942
		RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
943
		CreateSound(289556450,Torso,2,MRANDOM(8,13)/10,false)
944
	end
945
end
946
947
function Dash()
948
	ATTACK = true
949
	Rooted = true
950
	local SOUND = CreateSound(1165167610, Torso, 1, 1, true)
951
	local LOOP = 0
952
	repeat
953
		LOOP = LOOP + 1
954
		Swait()
955
		local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, 5, workspace)	
956
		local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 100, Character)
957
		if HITFLOOR then
958
			CharacterFade(C3(0.5,0,0),35)
959
			HITPOS = HITPOS + VT(0,3.5,0)
960
			local POS = RootPart.Position
961
			RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
962
			RootPart.Velocity = VT(0,0,0)
963
			RootPart.RotVelocity = VT(0,0,0)
964
		end
965
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(0)), 1 / Animation_Speed)
966
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
967
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
968
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
969
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
970
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
971
	until KEYHOLD == false
972
	coroutine.resume(coroutine.create(function()
973
		for i = 1, 20 do
974
			Swait()
975
			SOUND.Volume = SOUND.Volume - 1/20
976
		end
977
		SOUND:remove()
978
	end))
979
	if LOOP > 50 then
980
		CreateSound(772085046,Torso,5,MRANDOM(8,13)/10,false)
981
		for i = 1, 100 do
982
			Swait()
983
			RootPart.CFrame = RootPart.CFrame * CF(0,0,-(1-(i/100))/3)
984
			WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
985
			WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(LeftLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
986
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
987
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
988
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
989
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
990
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
991
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
992
		end
993
	end
994
	ATTACK = false
995
	Rooted = false
996
end
997
998
function LimbRip()
999
	ATTACK = true
1000
	Rooted = false
1001
	local TARGET = nil
1002
	local ROOT = nil
1003
	local HUMAN = nil
1004
	local DIST = 4
1005
	Speed = 12
1006
	for i=0, 1, 0.1 / Animation_Speed do
1007
		Swait()
1008
		local CHILDREN = workspace:GetDescendants()
1009
		for index, CHILD in pairs(CHILDREN) do
1010
			if CHILD.ClassName == "Model" and CHILD ~= Character then
1011
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1012
				if HUM then
1013
					local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1014
					if TORSO and HUM.Health > 0 then
1015
						if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
1016
							DIST = (TORSO.Position - RightArm.Position).Magnitude
1017
							ROOT = TORSO
1018
							HUMAN = HUM
1019
							TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1020
						end
1021
					end
1022
				end
1023
			end
1024
		end
1025
		if ROOT then
1026
			break
1027
		end
1028
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1029
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
1030
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1031
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1032
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1033
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1034
	end
1035
	Speed = 16
1036
	if ROOT then
1037
		CreateSound(305685800,Torso,5,1.3,false)
1038
		Rooted = true
1039
		local GORED = false
1040
		coroutine.resume(coroutine.create(function()
1041
			repeat
1042
				Swait()
1043
				ROOT.Anchored = true
1044
			until GORED == true
1045
			ROOT.Anchored = false
1046
		end))
1047
		RootPart.CFrame = ROOT.CFrame*CF(0,0,2.25)
1048
		if TARGET.Name == "Torso" then
1049
			local RARM = TARGET.Parent:FindFirstChild("Right Arm")
1050
			local LARM = TARGET.Parent:FindFirstChild("Left Arm")
1051
			if RARM and LARM then
1052
				for i=0, 1, 0.1 / Animation_Speed do
1053
					Swait()
1054
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1055
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1056
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1057
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1058
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1059
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1060
				end
1061
				for _, c in pairs(TARGET.Parent:GetDescendants()) do
1062
					if c:IsA("JointInstance") then
1063
						if c.Part1 == RARM or c.Part1 == LARM or c.Part0 == RARM or c.Part0 == LARM then
1064
							c:remove()
1065
						end
1066
					end
1067
				end
1068
				CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
1069
				CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1070
				CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1071
				for i=0, 1, 0.1 / Animation_Speed do
1072
					Swait()
1073
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1074
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1075
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1076
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1077
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1078
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1079
				end
1080
				for i=0, 1, 0.1 / Animation_Speed do
1081
					Swait()
1082
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
1083
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
1084
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1085
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1086
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
1087
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1088
				end
1089
				for i=0, 0.1, 0.1 / Animation_Speed do
1090
					Swait()
1091
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
1092
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
1093
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1094
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1095
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
1096
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1097
				end
1098
				GORED = true
1099
				Ragdoll(TARGET.Parent,Torso)
1100
				if ROOT.Name ~= "Torso" then
1101
					ROOT:remove()
1102
				end
1103
				local RGRAB = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1104
				local LGRAB = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1105
				local bv = Instance.new("BodyVelocity",TARGET) 
1106
				bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1107
				bv.velocity = TARGET.CFrame.lookVector*75
1108
				Debris:AddItem(bv,0.05)
1109
				CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
1110
				for i=0, 0.5, 0.1 / Animation_Speed do
1111
					Swait()
1112
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
1113
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
1114
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1115
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1116
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
1117
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1118
				end
1119
				for i=0, 1, 0.1 / Animation_Speed do
1120
					Swait()
1121
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1122
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1123
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
1124
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
1125
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1126
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1127
				end
1128-
				local HITBOX = CreatePart(3, RARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
1128+
				local HITBOX = CreatePart(3, RARM, "Metal", 0, 1, "Really red", "Part", RARM.Size, false)
1129
				HITBOX.CFrame = RARM.CFrame
1130
				HITBOX.CanCollide = true
1131
				weldBetween(RARM,HITBOX)
1132-
				local HITBOX = CreatePart(3, LARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
1132+
				local HITBOX = CreatePart(3, LARM, "Metal", 0, 1, "Really red", "Part", RARM.Size, false)
1133
				HITBOX.CFrame = LARM.CFrame
1134
				HITBOX.CanCollide = true
1135
				weldBetween(LARM,HITBOX)
1136
				RGRAB:remove()
1137
				LGRAB:remove()
1138
				for i=0, 0.4, 0.1 / Animation_Speed do
1139
					Swait()
1140
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1141
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1142
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1143
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1144
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1145
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1146
				end
1147
			end
1148
		elseif TARGET.Name == "UpperTorso" then
1149
			if TARGET.Parent:FindFirstChild("RightUpperArm") and TARGET.Parent:FindFirstChild("LeftUpperArm") then
1150
				for i=0, 0.3, 0.1 / Animation_Speed do
1151
					Swait()
1152
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1153
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1154
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1155
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1156
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1157
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1158
				end
1159
				local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
1160
				local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1161
				local BLADE = true
1162
				CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(1,1,1), VT(0,0,0))
1163
				coroutine.resume(coroutine.create(function()
1164
					repeat
1165
						Swait()
1166
						WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
1167
					until BLADE == false
1168
					SAWBLADE:remove()
1169
				end))
1170
				CreateSound(1165167936, SAWBLADE, 2, 1, true)
1171
				for i=0, 1, 0.1 / Animation_Speed do
1172
					Swait()
1173
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1174
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1175
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1176
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1177
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1178
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1179
				end
1180
				for i=0, 3, 0.1 / Animation_Speed do
1181
					Swait()
1182
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1183
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1184
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
1185
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1186
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1187
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1188
				end
1189
				CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
1190
				TARGET.Parent:FindFirstChild("RightUpperArm").RightShoulder:remove()
1191
				for i=0, 1, 0.1 / Animation_Speed do
1192
					Swait()
1193
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
1194
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
1195
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1196
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1197
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1198
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1199
				end
1200
				for i=0, 3, 0.1 / Animation_Speed do
1201
					Swait()
1202
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
1203
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
1204
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
1205
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1206
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1207
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1208
				end
1209
				CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
1210
				TARGET.Parent:FindFirstChild("LeftUpperArm").LeftShoulder:remove()
1211
				BLADE = false
1212
				for i=0, 0.5, 0.1 / Animation_Speed do
1213
					Swait()
1214
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
1215
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
1216
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1217
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1218
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
1219
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1220
				end
1221
				for i=0, 0.1, 0.1 / Animation_Speed do
1222
					Swait()
1223
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
1224
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
1225
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1226
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1227
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
1228
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1229
				end
1230
				GORED = true
1231
				TARGET.Parent:BreakJoints()
1232
				R15Ragdoll(TARGET.Parent)
1233
				if ROOT.Name ~= "Torso" then
1234
					ROOT:remove()
1235
				end
1236
				local bv = Instance.new("BodyVelocity",TARGET) 
1237
				bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1238
				bv.velocity = TARGET.CFrame.lookVector*75
1239
				Debris:AddItem(bv,0.05)
1240
				CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
1241
				for i=0, 0.3, 0.1 / Animation_Speed do
1242
					Swait()
1243
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
1244
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
1245
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1246
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1247
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
1248
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1249
				end
1250
			end
1251
		end
1252
	end
1253
	ATTACK = false
1254
	Rooted = false
1255
end
1256
1257
function Buzzsaw()
1258
	ATTACK = true
1259
	Rooted = false
1260
	local ARMSPEED = 0.1
1261
	local TARGET = nil
1262
	local ROOT = nil
1263
	local HUMAN = nil
1264
	local DIST = 4
1265-
	local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
1265+
	local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really blue", "Part", VT(0,0,0),false)
1266
	local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1267
	local BLADE = true
1268
	CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
1269
	coroutine.resume(coroutine.create(function()
1270
		repeat
1271
			Swait()
1272
			WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
1273
		until BLADE == false
1274
		SAWBLADE:remove()
1275
	end))
1276
	CreateSound(1165167936, SAWBLADE, 2, 1, true)
1277
	for i=0, 1, 0.1 / Animation_Speed do
1278
		Swait()
1279
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1280
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1281
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1282
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1283
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1284
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1285
	end
1286
	for i=0, 2, 0.1 / Animation_Speed do
1287
		Swait()
1288
		local CHILDREN = workspace:GetDescendants()
1289
		for index, CHILD in pairs(CHILDREN) do
1290
			if CHILD.ClassName == "Model" and CHILD ~= Character then
1291
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1292
				if HUM then
1293
					local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1294
					if TORSO and HUM.Health > 0 then
1295
						if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
1296
							DIST = (TORSO.Position - RightArm.Position).Magnitude
1297
							ROOT = TORSO
1298
							HUMAN = HUM
1299
							TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1300
						end
1301
					end
1302
				end
1303
			end
1304
		end
1305
		if ROOT then
1306
			break
1307
		end
1308
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1309
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1310
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
1311
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1312
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1313
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1314
	end
1315
	if ROOT then
1316
		ARMSPEED = 0.03
1317
		Rooted = true
1318
		RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
1319
		repeat
1320
			HUMAN.Health = HUMAN.Health - 0.5
1321
			Swait()
1322
			ROOT.Anchored = true
1323
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1324
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1325
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
1326
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1327
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1328
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1329
		until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
1330
		ROOT.Anchored = false
1331
		if HUMAN.Health == 0 then
1332
			if ROOT.Name ~= "Torso" then
1333
				ROOT:remove()
1334
			end
1335
			if TARGET.Name == "Torso" then
1336
				Ragdoll(HUMAN.Parent,Torso,true)
1337
			elseif TARGET.Name == "UpperTorso" then
1338
				R15Ragdoll(HUMAN.Parent,true)
1339
			end
1340
		end
1341
	end
1342
	BLADE = false
1343
	ATTACK = false
1344
	Rooted = false
1345
end
1346
1347
function ReeeEEEEEE()
1348
	ATTACK = true
1349
	Rooted = false
1350
	Speed = 12
1351
	local FX = CreateSound(198165368, Head, 4, 0.5, false)
1352
	repeat
1353
		Swait()
1354
		FX.Parent = Head
1355
		local CHILDREN = workspace:GetDescendants()
1356
		for index, CHILD in pairs(CHILDREN) do
1357
			if CHILD.ClassName == "Model" and CHILD ~= Character then
1358
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1359
				if HUM then
1360
					local TORSO = CHILD:FindFirstChild("Head")
1361
					if TORSO then
1362
						if (TORSO.Position - Head.Position).Magnitude <= 25 then
1363
							WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1364
							TORSO:remove()
1365
							if CHILD:FindFirstChild("Torso") then
1366
								Ragdoll(CHILD,Torso,true)
1367
							elseif CHILD:FindFirstChild("UpperTorso") then
1368
								R15Ragdoll(CHILD,true)
1369
							end
1370
						end
1371
					end
1372
				end
1373
			end
1374
		end
1375
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
1376
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
1377
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1378
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1379
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-45), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1380
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1381
	until FX.Playing == false
1382
	Speed = 16
1383
	ATTACK = false
1384
	Rooted = false
1385
end
1386
1387
function Needle()
1388
	ATTACK = true
1389
	Rooted = true
1390
	local GYRO = IT("BodyGyro",RootPart)
1391
	GYRO.D = 2
1392
	GYRO.P = 2000
1393
	GYRO.MaxTorque = VT(0,4000000,0)
1394
	local NEEDGYRO = true
1395
	coroutine.resume(coroutine.create(function()
1396
		repeat
1397
			Swait()
1398
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1399
		until NEEDGYRO == false
1400
		GYRO:Remove()
1401
	end))
1402
	for i=0, 0.3, 0.1 / Animation_Speed do
1403
		Swait()
1404
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1405
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1406
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1407
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1408
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1409
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1410
	end
1411
	for i=0, 1, 0.1 / Animation_Speed do
1412
		Swait()
1413
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1414
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
1415
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1416
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1417
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1418
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1419
	end
1420
	local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
1421
	WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 2})
1422
	NEEDGYRO = false
1423
	if HIT then
1424
		local NEEDLE = IT("Model",Effects)
1425
		local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
1426
		MakeForm(BASE,"Cyl")
1427
		BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
1428
		weldBetween(BASE,HIT)
1429
		local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
1430
		MakeForm(FLUID,"Cyl")
1431
		FLUID.CFrame = BASE.CFrame
1432
		weldBetween(BASE,FLUID)
1433
		local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
1434
		PART.CFrame = BASE.CFrame*CF(0,0.4,0)
1435
		weldBetween(BASE,PART)
1436
		local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
1437
		PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
1438
		weldBetween(BASE,PART)
1439
		local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
1440
		PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
1441
		weldBetween(BASE,PART)
1442
		Debris:AddItem(NEEDLE,7)
1443
		if HIT.Parent:FindFirstChildOfClass("Humanoid") then
1444
			local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
1445
			coroutine.resume(coroutine.create(function()
1446
				for i = 1, 500 do
1447
					HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
1448
					if HUMAN.Health == 0 then
1449
						break
1450
					end
1451
					Swait(2)
1452
				end
1453
				if HUMAN.Health == 0 then
1454
					local CHILD = HUMAN.Parent
1455
					if CHILD:FindFirstChild("Torso") then
1456
						CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
1457
						Ragdoll(CHILD,Torso,true)
1458
					elseif CHILD:FindFirstChild("UpperTorso") then
1459
						R15Ragdoll(CHILD,true)
1460
					end
1461
				end
1462
			end))
1463
		end
1464
	end
1465
	for i=0, 1, 0.1 / Animation_Speed do
1466
		Swait()
1467
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1468
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
1469
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1470
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1471
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1472
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1473
	end
1474
	ATTACK = false
1475
	Rooted = false
1476
end
1477
1478
function ScrewThis()
1479
	ATTACK = true
1480
	Rooted = true
1481
	local SCREW = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Part", VT(2, 0.4, 0.4)/2,false)
1482
	SCREW.CanCollide = true
1483
	local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, SCREW, CF(0,-1,0.2) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1484
	CreateMesh("SpecialMesh", SCREW, "FileMesh", "70265804", "70265794", VT(1,1,1)/1.5, VT(0,0,0))
1485
	for i=0, 0.4, 0.1 / Animation_Speed do
1486
		Swait()
1487
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1488
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
1489
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1490
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1491
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1492
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1493
	end
1494
	SCREW.Transparency = 0
1495
	for i=0, 0.1, 0.1 / Animation_Speed do
1496
		Swait()
1497
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1498
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
1499
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1500
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1501
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1502
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1503
	end
1504
	for i=0, 1, 0.1 / Animation_Speed do
1505
		Swait()
1506
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1507
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
1508
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1509
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1510
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1511
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1512
	end
1513
	for i = 1, 3 do
1514
		for i=0, 0.3, 0.1 / Animation_Speed do
1515
			Swait()
1516
			WELD.C1 = WELD.C1 * ANGLES(RAD(5), RAD(0), RAD(0))
1517
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1518
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
1519
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1520
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(78)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1521
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1522
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1523
		end
1524
		for i=0, 1, 0.1 / Animation_Speed do
1525
			Swait()
1526
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1527
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
1528
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1529
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1530
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1531
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1532
		end
1533
	end
1534
	if MRANDOM(1, 5) == 1 then
1535
		DUST:Emit(25)
1536
		WELD:remove()
1537
		CreateSound(328460122, RightArm, 3, 1, false)
1538
		SCREW.Velocity = CF(RightArm.Position,SCREW.Position).lookVector*65
1539
		Debris:AddItem(SCREW,6)
1540
		for i=0, 3, 0.1 / Animation_Speed do
1541
			Swait()
1542
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1543
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
1544
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1545
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1546
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1547
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1548
		end
1549
		for i = 1, 3 do
1550
			for i=0, 0.35, 0.1 / Animation_Speed do
1551
				Swait()
1552
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1553
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
1554
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1555
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1556
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1557
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1558
			end
1559
			for i=0, 0.35, 0.1 / Animation_Speed do
1560
				Swait()
1561
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1562
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
1563
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1564
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1565
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1566
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1567
			end
1568
		end
1569
	else
1570
		for i=0, 0.5, 0.1 / Animation_Speed do
1571
			Swait()
1572
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1573
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
1574
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1575
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1576
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1577
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1578
		end
1579
		WELD:remove()
1580
		for i=0, 0.15, 0.1 / Animation_Speed do
1581
			Swait()
1582
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1583
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
1584
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1585
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1586
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1587
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1588
		end
1589
		Debris:AddItem(SCREW,6)
1590
	end
1591
	ATTACK = false
1592
	Rooted = false
1593
end
1594
1595
--//=================================\\
1596
--||	  ASSIGN THINGS TO KEYS
1597
--\\=================================//
1598
1599
function MouseDown(Mouse)
1600
	if ATTACK == false then
1601
	end
1602
end
1603
1604
function MouseUp(Mouse)
1605
HOLD = false
1606
end
1607
1608
function KeyDown(Key)
1609
	KEYHOLD = true
1610
	if Key == "z" and ATTACK == false then
1611
		Warp()
1612
	end
1613
1614
	if Key == "b" and ATTACK == false then
1615
		Dash()
1616
	end
1617
1618
	if Key == "c" and ATTACK == false then
1619
		LimbRip()
1620
	end
1621
1622
	if Key == "v" and ATTACK == false then
1623
		Buzzsaw()
1624
	end
1625
1626
	if Key == "e" and ATTACK == false then
1627
		ReeeEEEEEE()
1628
	end
1629
1630
	if Key == "x" and ATTACK == false then
1631
		Needle()
1632
	end
1633
1634
	if Key == "t" and ATTACK == false then
1635
		ScrewThis()
1636
	end
1637
end
1638
1639
function KeyUp(Key)
1640
	KEYHOLD = false
1641
end
1642
1643
	Mouse.Button1Down:connect(function(NEWKEY)
1644
		MouseDown(NEWKEY)
1645
	end)
1646
	Mouse.Button1Up:connect(function(NEWKEY)
1647
		MouseUp(NEWKEY)
1648
	end)
1649
	Mouse.KeyDown:connect(function(NEWKEY)
1650
		KeyDown(NEWKEY)
1651
	end)
1652
	Mouse.KeyUp:connect(function(NEWKEY)
1653
		KeyUp(NEWKEY)
1654
	end)
1655
1656
--//=================================\\
1657
--\\=================================//
1658
1659
function AntiTimeStop()
1660
	for _, c in pairs(Character:GetChildren()) do
1661
		if c:IsA("BasePart") then
1662
			c.Anchored = false
1663
		end
1664
	end
1665
	for _, c in pairs(Weapon:GetChildren()) do
1666
		if c:IsA("BasePart") then
1667
			c.Anchored = false
1668
		end
1669
	end
1670
end
1671
1672
--//=================================\\
1673
--||	WRAP THE WHOLE SCRIPT UP
1674
--\\=================================//
1675
1676
Humanoid.Changed:connect(function(Jump)
1677
	if Jump == "Jump" and (Disable_Jump == true) then
1678
		Humanoid.Jump = false
1679
	end
1680
end)
1681
1682
local sick = IT("Sound")
1683
1684
while true do
1685
	Swait()
1686
	script.Parent = WEAPONGUI
1687
	ANIMATE.Parent = nil
1688
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1689
	    v:Stop();
1690
	end
1691
	SINE = SINE + CHANGE
1692
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1693
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1694
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1695
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1696
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1697
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1698
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1699
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1700
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1701
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1702
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1703
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1704
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1705
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1706
	end
1707
	if HITFLOOR == nil then
1708
		ANIM = "Midair"
1709
		if ATTACK == false then
1710
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1711
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
1712
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1713
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1714
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1715
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1716
		end
1717
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1718
		ANIM = "Idle"
1719
		if ATTACK == false then
1720
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1721
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1722
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(10 - 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1723
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1724
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1725
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1726
		end
1727
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1728
		ANIM = "Walk"
1729
		if ATTACK == false then
1730
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
1731
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
1732
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
1733
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
1734
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1735
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1736
		end
1737
	end
1738-
	sick.SoundId = "rbxassetid://1696854181"
1738+
	sick.SoundId = "rbxassetid://183142252"
1739
	sick.Looped = true
1740
	sick.Pitch = 1
1741
	sick.Volume = 2
1742
	sick.Playing = true
1743
	sick.Parent = Effects
1744
	AntiTimeStop()
1745
	if Rooted == false then
1746
		Disable_Jump = false
1747
		Humanoid.WalkSpeed = Speed
1748
	elseif Rooted == true then
1749
		Disable_Jump = true
1750
		Humanoid.WalkSpeed = 0
1751
	end
1752
end
1753
1754
--//=================================\\
1755
--\\=================================//
1756
1757
--//====================================================\\--
1758
--||			  		 END OF SCRIPT
1759
--\\====================================================//--