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