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