View difference between Paste ID: 0WAa1P3A and stPhsSLG
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			   EDIT BY VOYQGO
3
--\\====================================================//--
4
print("so you if you don t i did one call Demon of hell that was 1V")
5
print("im call this Ultimate Demon V2 im work on new edit soon so hv fun")
6
--
7
local Player = game:GetService('Players').LocalPlayer
8
repeat wait() until Player.Character
9
local Character = Player.Character
10
11
--All The Settings for Trails in this Script
12
TrailSettings = {
13
	Lifetime = 0.7,
14
	Texture = 'rbxassetid://31270182',
15
	--Color1 is for UpperBody and Accessories, Color2 is for Lower Body
16
	Color1 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Really red').Color),
17
	Color2 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Really red').Color),
18
	AllBody = true,
19
	UpperBodyOnly = false,
20
	LowerBodyOnly = false,
21
	Accessories = false,
22
	Extras = true,
23
	R15 = false, --Change to true if you're using R15
24
	R15Parts = {
25
		'UpperTorso',
26
		'LowerTorso',
27
	}
28
}
29
30
local Trail; --Making other Trails uses this in this Script
31
32
--UpperBody Function
33
UpperBody = function()
34
	if TrailSettings.R15 == false then
35
		A0 = Instance.new('Attachment',Character.Torso)
36
		A1 = Instance.new('Attachment',Character.Head)
37
	A2 = Instance.new('Attachment',Character['Right Arm'])
38
	A3 = Instance.new('Attachment',Character['Left Arm'])
39
Trail = Instance.new('Trail',Character)
40
Trail.Attachment0 = A0
41
Trail.Attachment1 = A1
42
Trail.Texture = TrailSettings.Texture
43
Trail.Color = TrailSettings.Color1
44
Trail.Lifetime = TrailSettings.Lifetime
45
local Trail2 = Trail:Clone()
46
Trail2.Parent = Character
47
Trail2.Attachment1 = A2
48
local Trail3 = Trail:Clone()
49
Trail3.Parent = Character
50
Trail3.Attachment1 = A3
51
local Trail6 = Trail:Clone()
52
Trail6.Parent = Character
53
Trail6.Attachment0 = A1
54
Trail6.Attachment1 = A2
55
local Trail7 = Trail:Clone()
56
Trail7.Parent = Character
57
Trail7.Attachment0 = A1
58
Trail7.Attachment1 = A3
59
	else
60
	A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
61
	A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
62
	A1 = Instance.new('Attachment',Character.Head)
63
	A2 = Instance.new('Attachment',Character['RightUpperArm'])
64
	A2R = Instance.new('Attachment',Character['RightLowerArm'])
65
	A3 = Instance.new('Attachment',Character['LeftUpperArm'])
66
	A3R = Instance.new('Attachment',Character['LeftLowerArm'])
67
Trail = Instance.new('Trail',Character)
68
Trail.Attachment0 = A0
69
Trail.Attachment1 = A1
70
Trail.Texture = TrailSettings.Texture
71
Trail.Color = TrailSettings.Color1
72
Trail.Lifetime = TrailSettings.Lifetime
73
local Trail2 = Trail:Clone()
74
Trail2.Parent = Character
75
Trail2.Attachment1 = A2
76
local Trail3 = Trail:Clone()
77
Trail3.Parent = Character
78
Trail3.Attachment1 = A3
79
local Trail6 = Trail:Clone()
80
Trail6.Parent = Character
81
Trail6.Attachment0 = A1
82
Trail6.Attachment1 = A2
83
local Trail7 = Trail:Clone()
84
Trail7.Parent = Character
85
Trail7.Attachment0 = A1
86
Trail7.Attachment1 = A3
87
--R15 Trails
88
local Trail1R = Trail:Clone()
89
Trail1R.Parent = Character
90
Trail1R.Attachment1 = A2R
91
local Trail2R = Trail:Clone()
92
Trail2R.Parent = Character
93
Trail2R.Attachment1 = A3R
94
local Trail6R = Trail:Clone()
95
Trail6.Parent = Character
96
Trail6.Attachment0 = A1
97
Trail6.Attachment1 = A2R
98
local Trail7R = Trail:Clone()
99
Trail7.Parent = Character
100
Trail7.Attachment0 = A1
101
Trail7.Attachment1 = A3R
102
end
103
end
104
105
--Lower Body Function
106
LowerBody = function()
107
	if TrailSettings.R15 == false then
108
		A4 = Instance.new('Attachment',Character['Right Leg'])
109
		A5 = Instance.new('Attachment',Character['Left Leg'])
110
local Trail4 = Trail:Clone()
111
Trail4.Parent = Character
112
Trail4.Attachment1 = A4
113
local Trail5 = Trail:Clone()
114
Trail5.Parent = Character
115
Trail5.Attachment1 = A5
116
local Trail8 = Trail:Clone()
117
Trail8.Parent = Character
118
Trail8.Attachment0 = A2
119
Trail8.Attachment1 = A4
120
Trail8.Color = TrailSettings.Color2
121
local Trail9 = Trail:Clone()
122
Trail9.Parent = Character
123
Trail9.Attachment0 = A3
124
Trail9.Attachment1 = A5
125
Trail9.Color = TrailSettings.Color2
126
local FT = Trail:Clone()
127
FT.Parent = Character
128
FT.Attachment0 = A4
129
FT.Attachment1 = A5
130
FT.Color = TrailSettings.Color2
131
else
132
		A4 = Instance.new('Attachment',Character['RightLowerLeg'])
133
		A4R = Instance.new('Attachment',Character['RightUpperLeg'])
134
		A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
135
		A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
136
		local Trail4 = Trail:Clone()
137
Trail4.Parent = Character
138
Trail4.Attachment1 = A4
139
local Trail5 = Trail:Clone()
140
Trail5.Parent = Character
141
Trail5.Attachment1 = A5
142
local Trail8 = Trail:Clone()
143
Trail8.Parent = Character
144
Trail8.Attachment0 = A2
145
Trail8.Attachment1 = A4
146
Trail8.Color = TrailSettings.Color2
147
local Trail9 = Trail:Clone()
148
Trail9.Parent = Character
149
Trail9.Attachment0 = A3
150
Trail9.Attachment1 = A5
151
Trail9.Color = TrailSettings.Color2
152
local FT = Trail:Clone()
153
FT.Parent = Character
154
FT.Attachment0 = A4
155
FT.Attachment1 = A5
156
FT.Color = TrailSettings.Color2
157
--R15 Trails
158
local Trail3R = Trail:Clone()
159
Trail3R.Parent = Character
160
Trail3R.Attachment1 = A4R
161
local Trail4R = Trail:Clone()
162
Trail4R.Parent = Character
163
Trail4R.Attachment1 = A5R
164
local Trail8 = Trail:Clone()
165
Trail8.Parent = Character
166
Trail8.Attachment0 = A2R
167
Trail8.Attachment1 = A4R
168
Trail8.Color = TrailSettings.Color2
169
local Trail9 = Trail:Clone()
170
Trail9.Parent = Character
171
Trail9.Attachment0 = A3R
172
Trail9.Attachment1 = A5R
173
Trail9.Color = TrailSettings.Color2
174
local FT2R = Trail:Clone()
175
FT2R.Parent = Character
176
FT2R.Attachment0 = A4R
177
FT2R.Attachment1 = A5R
178
FT2R.Color = TrailSettings.Color2
179
end
180
end
181
182
--All Body Function calling Both Functions
183
AllBody = function()
184
	UpperBody()
185
	LowerBody()
186
end
187
188
--Checking to make sure that Only some Variables are Selected else do All Body
189
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
190
	TrailSettings.UpperBodyOnly = false
191
	TrailSettings.LowerBodyOnly = false
192
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
193
	TrailSettings.UpperBodyOnly = false
194
	TrailSettings.LowerBodyOnly = false
195
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
196
	TrailSettings.UpperBodyOnly = false
197
	TrailSettings.LowerBodyOnly = false
198
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
199
	TrailSettings.AllBody = true
200
	TrailSettings.UpperBodyOnly = false
201
	TrailSettings.LowerBodyOnly = false
202
end
203
204
--Call Trail Functions
205
if TrailSettings.UpperBodyOnly == true then
206
	UpperBody()
207
	print('Called Upper Body Trail')
208
elseif TrailSettings.LowerBodyOnly == true then
209
	LowerBody()
210
	print('Called Lower Body Trail')
211
elseif TrailSettings.AllBody == true then
212
	AllBody()
213
	print('Called Full Body Trail')
214
end
215
216
--Trails for Accessories
217
if TrailSettings.Accessories == true then
218
for Index,Item in pairs(Character:GetChildren()) do
219
	if Item:IsA'Accessory' then
220
		local AA = Instance.new('Attachment',Item.Handle)
221
		local ATrail = Trail:Clone()
222
		ATrail.Parent = Character
223
		ATrail.Attachment1 = AA
224
	end
225
end
226
end
227
228
--Extras
229
if TrailSettings.Extras == true then
230
	--Making an Invisible Platform Part
231
local a = Instance.new('Part',Character)
232
a.CanCollide = false
233
a.Size = Vector3.new(2,.2,2)
234
a.Transparency = 1
235
236
--Constantly putting it under your feet
237
if TrailSettings.R15 == false then
238
	spawn(function()
239
	game:GetService('RunService').RenderStepped:connect(function()
240
		a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
241
	end)
242
end)
243
else
244
	spawn(function()
245
	game:GetService('RunService').RenderStepped:connect(function()
246
		a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
247
	end)
248
end)
249
end
250
251
--Make a Trail from both feet to the Platform
252
spawn(function()
253
	repeat wait() until Trail
254
local AB = Instance.new('Attachment',a)
255
local ABT = Trail:Clone()
256
ABT.Parent = Character
257
ABT.Attachment0 = A4
258
ABT.Attachment1 = AB
259
ABT.Color = TrailSettings.Color2
260
local ABT2 = Trail:Clone()
261
ABT2.Parent = Character
262
ABT2.Attachment0 = A5
263
ABT2.Attachment1 = AB
264
ABT2.Color = TrailSettings.Color2
265
end)
266
end
267
--
268
269
270
Player = game:GetService("Players").LocalPlayer
271
PlayerGui = Player.PlayerGui
272
Cam = workspace.CurrentCamera
273
Backpack = Player.Backpack
274
repeat wait() until Player.Character
275
Character = Player.Character
276
repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
277
Humanoid = Character:FindFirstChildOfClass("Humanoid")
278
Mouse = Player:GetMouse()
279
RootPart = Character["HumanoidRootPart"]
280
Torso = Character["Torso"]
281
Head = Character["Head"]
282
RightArm = Character["Right Arm"]
283
LeftArm = Character["Left Arm"]
284
RightLeg = Character["Right Leg"]
285
LeftLeg = Character["Left Leg"]
286
RootJoint = RootPart["RootJoint"]
287
Neck = Torso["Neck"]
288
RightShoulder = Torso["Right Shoulder"]
289
LeftShoulder = Torso["Left Shoulder"]
290
RightHip = Torso["Right Hip"]
291
LeftHip = Torso["Left Hip"]
292
293
IT = Instance.new
294
CF = CFrame.new
295
VT = Vector3.new
296
RAD = math.rad
297
C3 = Color3.new
298
UD2 = UDim2.new
299
BRICKC = BrickColor.new
300
ANGLES = CFrame.Angles
301
EULER = CFrame.fromEulerAnglesXYZ
302
COS = math.cos
303
ACOS = math.acos
304
SIN = math.sin
305
ASIN = math.asin
306
ABS = math.abs
307
MRANDOM = math.random
308
FLOOR = math.floor
309
310
local naeeym2 = Instance.new("BillboardGui",Character)
311
naeeym2.AlwaysOnTop = true
312
naeeym2.Size = UDim2.new(7,35,3,15)
313
naeeym2.StudsOffset = Vector3.new(0,2,0)
314
naeeym2.MaxDistance = 75
315
naeeym2.Adornee = Character.Head
316
naeeym2.Name = "Name2"
317
local tecks2 = Instance.new("TextLabel",naeeym2)
318
tecks2.BackgroundTransparency = 1
319
tecks2.TextScaled = true
320
tecks2.BorderSizePixel = 0
321
tecks2.Text = ""
322
tecks2.Font = "ArialBold"
323
tecks2.TextSize = 30
324
tecks2.TextStrokeTransparency = 0
325
tecks2.TextColor3 = Color3.fromRGB(0,1,0)
326
tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
327
tecks2.Size = UDim2.new(1,0,0.5,0)
328
tecks2.Parent = naeeym2
329
330
local naeeym3 = Instance.new("BillboardGui",Character)
331
naeeym3.AlwaysOnTop = true
332
naeeym3.Size = UDim2.new(7,35,3,15)
333
naeeym3.StudsOffset = Vector3.new(2,3,0)
334
naeeym3.MaxDistance = 75
335
naeeym3.Adornee = Character.Head
336
naeeym3.Name = "Name3"
337
local tecks3 = Instance.new("TextLabel",naeeym2)
338
tecks3.BackgroundTransparency = 1
339
tecks3.TextScaled = true
340
tecks3.BorderSizePixel = 0
341
tecks3.Text = "voyqgo"
342
tecks3.Font = "ArialBold"
343
tecks3.TextSize = 30
344
tecks3.TextStrokeTransparency = 0
345
tecks3.TextColor3 = Color3.fromRGB(0,1,0)
346
tecks3.TextStrokeColor3 = Color3.fromRGB(0, 0, 255)
347
tecks3.Size = UDim2.new(0.5,0,0.2,0)
348
tecks3.Parent = naeeym3
349
350
script:ClearAllChildren()
351
wait(0.2)
352
353
Player = game:GetService("Players").LocalPlayer
354
PlayerGui = Player.PlayerGui
355
Cam = workspace.CurrentCamera
356
Backpack = Player.Backpack
357
Character = Player.Character
358
Humanoid = Character.Humanoid
359
Mouse = Player:GetMouse()
360
RootPart = Character["HumanoidRootPart"]
361
Torso = Character["Torso"]
362
Head = Character["Head"]
363
RightArm = Character["Right Arm"]
364
LeftArm = Character["Left Arm"]
365
RightLeg = Character["Right Leg"]
366
LeftLeg = Character["Left Leg"]
367
RootJoint = RootPart["RootJoint"]
368
Neck = Torso["Neck"]
369
RightShoulder = Torso["Right Shoulder"]
370
LeftShoulder = Torso["Left Shoulder"]
371
RightHip = Torso["Right Hip"]
372
LeftHip = Torso["Left Hip"]
373
local TIME = 0
374
local sick = Instance.new("Sound",Torso)
375
376
IT = Instance.new
377
CF = CFrame.new
378
VT = Vector3.new
379
RAD = math.rad
380
C3 = Color3.new
381
UD2 = UDim2.new
382
BRICKC = BrickColor.new
383
ANGLES = CFrame.Angles
384
EULER = CFrame.fromEulerAnglesXYZ
385
COS = math.cos
386
ACOS = math.acos
387
SIN = math.sin
388
ASIN = math.asin
389
ABS = math.abs
390
MRANDOM = math.random
391
FLOOR = math.floor
392
393
--//=================================\\
394
--|| 	      USEFUL VALUES
395
--\\=================================//
396
397
Animation_Speed = 3
398
local FORCERESET = false
399
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
400
local Speed = 16
401
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
402
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
403
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
404
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
405
local DAMAGEMULTIPLIER = 1
406
local ANIM = "Idle"
407
local ATTACK = false
408
local EQUIPPED = false
409
local HOLD = false
410
local COMBO = 1
411
local Rooted = false
412
local SINE = 0
413
local KEYHOLD = false
414
local CHANGE = 2 / Animation_Speed
415
local WALKINGANIM = false
416
local VALUE1 = false
417
local VALUE2 = false
418
local ROBLOXIDLEANIMATION = IT("Animation")
419
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
420
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
421
--ROBLOXIDLEANIMATION.Parent = Humanoid
422
local WEAPONGUI = IT("ScreenGui", PlayerGui)
423
WEAPONGUI.Name = "BanishV3Gui"
424
local Weapon = IT("Model")
425
Weapon.Name = "Adds"
426
local Effects = IT("Folder", Weapon)
427
Effects.Name = "Effects"
428
local ANIMATOR = Humanoid.Animator
429
local ANIMATE = Character:FindFirstChild("Animate")
430
local UNANCHOR = true
431
local TOBANISH = {}
432
script.Parent = PlayerGui
433
434
--//=================================\\
435
--\\=================================//
436
437
438
--//=================================\\
439
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
440
--\\=================================//
441
442
ArtificialHB = Instance.new("BindableEvent", script)
443
ArtificialHB.Name = "ArtificialHB"
444
445
script:WaitForChild("ArtificialHB")
446
447
frame = Frame_Speed
448
tf = 0
449
allowframeloss = false
450
tossremainder = false
451
lastframe = tick()
452
script.ArtificialHB:Fire()
453
454
game:GetService("RunService").Heartbeat:connect(function(s, p)
455
	tf = tf + s
456
	if tf >= frame then
457
		if allowframeloss then
458
			script.ArtificialHB:Fire()
459
			lastframe = tick()
460
		else
461
			for i = 1, math.floor(tf / frame) do
462
				script.ArtificialHB:Fire()
463
			end
464
		lastframe = tick()
465
		end
466
		if tossremainder then
467
			tf = 0
468
		else
469
			tf = tf - frame * math.floor(tf / frame)
470
		end
471
	end
472
end)
473
474
--//=================================\\
475
--\\=================================//
476
477
--//=================================\\
478
--|| 	      SOME FUNCTIONS
479
--\\=================================//
480
481
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
482
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
483
end
484
485
function PositiveAngle(NUMBER)
486
	if NUMBER >= 0 then
487
		NUMBER = 0
488
	end
489
	return NUMBER
490
end
491
492
function NegativeAngle(NUMBER)
493
	if NUMBER <= 0 then
494
		NUMBER = 0
495
	end
496
	return NUMBER
497
end
498
499
function Swait(NUMBER)
500
	if NUMBER == 0 or NUMBER == nil then
501
		ArtificialHB.Event:wait()
502
	else
503
		for i = 1, NUMBER do
504
			ArtificialHB.Event:wait()
505
		end
506
	end
507
end
508
509
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
510
	local NEWMESH = IT(MESH)
511
	if MESH == "SpecialMesh" then
512
		NEWMESH.MeshType = MESHTYPE
513
		if MESHID ~= "nil" and MESHID ~= "" then
514
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
515
		end
516
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
517
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
518
		end
519
	end
520
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
521
	NEWMESH.Scale = SCALE
522
	NEWMESH.Parent = PARENT
523
	return NEWMESH
524
end
525
526
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
527
	local NEWPART = IT("Part")
528
	NEWPART.formFactor = FORMFACTOR
529
	NEWPART.Reflectance = REFLECTANCE
530
	NEWPART.Transparency = TRANSPARENCY
531
	NEWPART.CanCollide = false
532
	NEWPART.Locked = true
533
	NEWPART.Anchored = true
534
	if ANCHOR == false then
535
		NEWPART.Anchored = false
536
	end
537
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
538
	NEWPART.Name = NAME
539
	NEWPART.Size = SIZE
540
	NEWPART.Position = Torso.Position
541
	NEWPART.Material = MATERIAL
542
	NEWPART:BreakJoints()
543
	NEWPART.Parent = PARENT
544
	return NEWPART
545
end
546
547
	local function weldBetween(a, b)
548
	    local weldd = Instance.new("ManualWeld")
549
	    weldd.Part0 = a
550
	    weldd.Part1 = b
551
	    weldd.C0 = CFrame.new()
552
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
553
	    weldd.Parent = a
554
	    return weldd
555
	end
556
557
558
function QuaternionFromCFrame(cf)
559
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
560
	local trace = m00 + m11 + m22
561
	if trace > 0 then 
562
		local s = math.sqrt(1 + trace)
563
		local recip = 0.5 / s
564
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
565
	else
566
		local i = 0
567
		if m11 > m00 then
568
			i = 1
569
		end
570
		if m22 > (i == 0 and m00 or m11) then
571
			i = 2
572
		end
573
		if i == 0 then
574
			local s = math.sqrt(m00 - m11 - m22 + 1)
575
			local recip = 0.5 / s
576
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
577
		elseif i == 1 then
578
			local s = math.sqrt(m11 - m22 - m00 + 1)
579
			local recip = 0.5 / s
580
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
581
		elseif i == 2 then
582
			local s = math.sqrt(m22 - m00 - m11 + 1)
583
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
584
		end
585
	end
586
end
587
 
588
function QuaternionToCFrame(px, py, pz, x, y, z, w)
589
	local xs, ys, zs = x + x, y + y, z + z
590
	local wx, wy, wz = w * xs, w * ys, w * zs
591
	local xx = x * xs
592
	local xy = x * ys
593
	local xz = x * zs
594
	local yy = y * ys
595
	local yz = y * zs
596
	local zz = z * zs
597
	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))
598
end
599
 
600
function QuaternionSlerp(a, b, t)
601
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
602
	local startInterp, finishInterp;
603
	if cosTheta >= 0.0001 then
604
		if (1 - cosTheta) > 0.0001 then
605
			local theta = ACOS(cosTheta)
606
			local invSinTheta = 1 / SIN(theta)
607
			startInterp = SIN((1 - t) * theta) * invSinTheta
608
			finishInterp = SIN(t * theta) * invSinTheta
609
		else
610
			startInterp = 1 - t
611
			finishInterp = t
612
		end
613
	else
614
		if (1 + cosTheta) > 0.0001 then
615
			local theta = ACOS(-cosTheta)
616
			local invSinTheta = 1 / SIN(theta)
617
			startInterp = SIN((t - 1) * theta) * invSinTheta
618
			finishInterp = SIN(t * theta) * invSinTheta
619
		else
620
			startInterp = t - 1
621
			finishInterp = t
622
		end
623
	end
624
	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
625
end
626
627
function Clerp(a, b, t)
628
	local qa = {QuaternionFromCFrame(a)}
629
	local qb = {QuaternionFromCFrame(b)}
630
	local ax, ay, az = a.x, a.y, a.z
631
	local bx, by, bz = b.x, b.y, b.z
632
	local _t = 1 - t
633
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
634
end
635
636
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
637
	local frame = IT("Frame")
638
	frame.BackgroundTransparency = TRANSPARENCY
639
	frame.BorderSizePixel = BORDERSIZEPIXEL
640
	frame.Position = POSITION
641
	frame.Size = SIZE
642
	frame.BackgroundColor3 = COLOR
643
	frame.BorderColor3 = BORDERCOLOR
644
	frame.Name = NAME
645
	frame.Parent = PARENT
646
	return frame
647
end
648
649
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
650
	local label = IT("TextLabel")
651
	label.BackgroundTransparency = 1
652
	label.Size = UD2(1, 0, 1, 0)
653
	label.Position = UD2(0, 0, 0, 0)
654
	label.TextColor3 = TEXTCOLOR
655
	label.TextStrokeTransparency = STROKETRANSPARENCY
656
	label.TextTransparency = TRANSPARENCY
657
	label.FontSize = TEXTFONTSIZE
658
	label.Font = TEXTFONT
659
	label.BorderSizePixel = BORDERSIZEPIXEL
660
	label.TextScaled = false
661
	label.Text = TEXT
662
	label.Name = NAME
663
	label.Parent = PARENT
664
	return label
665
end
666
667
function NoOutlines(PART)
668
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
669
end
670
671
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
672
	local NEWWELD = IT(TYPE)
673
	NEWWELD.Part0 = PART0
674
	NEWWELD.Part1 = PART1
675
	NEWWELD.C0 = C0
676
	NEWWELD.C1 = C1
677
	NEWWELD.Parent = PARENT
678
	return NEWWELD
679
end
680
681
local S = IT("Sound")
682
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
683
	local NEWSOUND = nil
684
	coroutine.resume(coroutine.create(function()
685
		NEWSOUND = S:Clone()
686
		NEWSOUND.Parent = PARENT
687
		NEWSOUND.Volume = VOLUME
688
		NEWSOUND.Pitch = PITCH
689
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
690
		NEWSOUND:play()
691
		if DOESLOOP == true then
692
			NEWSOUND.Looped = true
693
		else
694
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
695
			NEWSOUND:remove()
696
		end
697
	end))
698
	return NEWSOUND
699
end
700
701
function CFrameFromTopBack(at, top, back)
702
	local right = top:Cross(back)
703
	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)
704
end
705
706
--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})
707
function WACKYEFFECT(Table)
708
	local TYPE = (Table.EffectType or "Sphere")
709
	local SIZE = (Table.Size or VT(1,1,1))
710
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
711
	local TRANSPARENCY = (Table.Transparency or 0)
712
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
713
	local CFRAME = (Table.CFrame or Torso.CFrame)
714
	local MOVEDIRECTION = (Table.MoveToPos or nil)
715
	local ROTATION1 = (Table.RotationX or 0)
716
	local ROTATION2 = (Table.RotationY or 0)
717
	local ROTATION3 = (Table.RotationZ or 0)
718
	local MATERIAL = (Table.Material or "Neon")
719
	local COLOR = (Table.Color or C3(1,1,1))
720
	local TIME = (Table.Time or 45)
721
	local SOUNDID = (Table.SoundID or nil)
722
	local SOUNDPITCH = (Table.SoundPitch or nil)
723
	local SOUNDVOLUME = (Table.SoundVolume or nil)
724
	coroutine.resume(coroutine.create(function()
725
		local PLAYSSOUND = false
726
		local SOUND = nil
727
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
728
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
729
			PLAYSSOUND = true
730
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
731
		end
732
		EFFECT.Color = COLOR
733
		local MSH = nil
734
		if TYPE == "Sphere" then
735
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
736
		elseif TYPE == "Block" then
737
			MSH = IT("BlockMesh",EFFECT)
738
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
739
		elseif TYPE == "Wave" then
740
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
741
		elseif TYPE == "Ring" then
742
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
743
		elseif TYPE == "Slash" then
744
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
745
		elseif TYPE == "Round Slash" then
746
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
747
		elseif TYPE == "Swirl" then
748
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
749
		elseif TYPE == "Skull" then
750
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
751
		elseif TYPE == "Crystal" then
752
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
753
		end
754
		if MSH ~= nil then
755
			local MOVESPEED = nil
756
			if MOVEDIRECTION ~= nil then
757
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
758
			end
759
			local GROWTH = SIZE - ENDSIZE
760
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
761
			if TYPE == "Block" then
762
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
763
			else
764
				EFFECT.CFrame = CFRAME
765
			end
766
			for LOOP = 1, TIME+1 do
767
				Swait()
768
				MSH.Scale = MSH.Scale - GROWTH/TIME
769
				if TYPE == "Wave" then
770
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
771
				end
772
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
773
				if TYPE == "Block" then
774
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
775
				else
776
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
777
				end
778
				if MOVEDIRECTION ~= nil then
779
					local ORI = EFFECT.Orientation
780
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
781
					EFFECT.Orientation = ORI
782
				end
783
			end
784
			if PLAYSSOUND == false then
785
				EFFECT:remove()
786
			else
787
				SOUND.Stopped:Connect(function()
788
					EFFECT:remove()
789
				end)
790
			end
791
		else
792
			if PLAYSSOUND == false then
793
				EFFECT:remove()
794
			else
795
				repeat Swait() until SOUND.Playing == false
796
				EFFECT:remove()
797
			end
798
		end
799
	end))
800
end
801
802
function MakeForm(PART,TYPE)
803
	if TYPE == "Cyl" then
804
		local MSH = IT("CylinderMesh",PART)
805
	elseif TYPE == "Ball" then
806
		local MSH = IT("SpecialMesh",PART)
807
		MSH.MeshType = "Sphere"
808
	elseif TYPE == "Wedge" then
809
		local MSH = IT("SpecialMesh",PART)
810
		MSH.MeshType = "Wedge"
811
	end
812
end
813
814
function SpawnTrail(FROM,TO,BIG)
815
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
816
	MakeForm(TRAIL,"Cyl")
817
	local DIST = (FROM - TO).Magnitude
818
	if BIG == true then
819
		TRAIL.Size = VT(0.5,DIST,0.5)
820
	else
821
		TRAIL.Size = VT(0.25,DIST,0.25)
822
	end
823
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
824
	coroutine.resume(coroutine.create(function()
825
		for i = 1, 5 do
826
			Swait()
827
			TRAIL.Transparency = TRAIL.Transparency + 0.1
828
		end
829
		TRAIL:remove()
830
	end))
831
end
832
833
Debris = game:GetService("Debris")
834
835
function CastProperRay(StartPos, EndPos, Distance, Ignore)
836
	local DIRECTION = CF(StartPos,EndPos).lookVector
837
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
838
end
839
840
function turnto(position)
841
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
842
end
843
local asd = Instance.new("ParticleEmitter")
844
asd.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
845
asd.LightEmission = .1
846
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
847
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
848
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
849
asd.Transparency = bbb
850
asd.Size = aaa
851
asd.ZOffset = .9
852
asd.Acceleration = Vector3.new(0, -15, 0)
853
asd.LockedToPart = false
854
asd.EmissionDirection = "Back"
855
asd.Lifetime = NumberRange.new(1, 2)
856
asd.Rotation = NumberRange.new(-100, 100)
857
asd.RotSpeed = NumberRange.new(-100, 100)
858
asd.Speed = NumberRange.new(10)
859
asd.Enabled = false
860
asd.VelocitySpread = 999
861
862
function getbloody(victim,amount)
863
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
864
	PART.CFrame = victim.CFrame
865
	local HITPLAYERSOUNDS = {"356551938","264486467"}
866
	Debris:AddItem(PART,5)
867
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
868
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
869
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
870
	local prtcl = asd:Clone()
871
	prtcl.Parent = PART
872
	prtcl:Emit(amount*10)
873
end
874
875
local Particle = IT("ParticleEmitter",nil)
876
Particle.Enabled = false
877
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
878
Particle.LightEmission = 0.5
879
Particle.Rate = 150
880
Particle.ZOffset = 1
881
Particle.Rotation = NumberRange.new(-180, 180)
882
Particle.RotSpeed = NumberRange.new(-180, 180)
883
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
884
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
885
886
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
887
function ParticleEmitter(Table)
888
	local PRTCL = Particle:Clone()
889
	local Speed = Table.Speed or 5
890
	local Drag = Table.Drag or 0
891
	local Size1 = Table.Size1 or 1
892
	local Size2 = Table.Size2 or 5
893
	local Lifetime1 = Table.Lifetime1 or 1
894
	local Lifetime2 = Table.Lifetime2 or 1.5
895
	local Parent = Table.Parent or Torso
896
	local Emit = Table.Emit or 100
897
	local Offset = Table.Offset or 360
898
	local Acel = Table.Acel or VT(0,0,0)
899
	local Enabled = Table.Enabled or false
900
	PRTCL.Parent = Parent
901
	PRTCL.Size = NumberSequence.new(Size1,Size2)
902
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
903
	PRTCL.Speed = NumberRange.new(Speed)
904
	PRTCL.VelocitySpread = Offset
905
	PRTCL.Drag = Drag
906
	PRTCL.Acceleration = Acel
907
	if Enabled == false then
908
		PRTCL:Emit(Emit)
909
		Debris:AddItem(PRTCL,Lifetime2)
910
	else
911
		PRTCL.Enabled = true
912
	end
913
	return PRTCL
914
end
915
916
917
--//=================================\\
918
--||	     WEAPON CREATION
919
--\\=================================//
920
local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
921
txtfag.Adornee = suckadick
922
txtfag.Name = "kys nigga"
923
txtfag.Size = UDim2.new(2, 0, 1.2, 0)
924
txtfag.StudsOffset = Vector3.new(-5, 3, 0)
925
local textfag = Instance.new("TextLabel", txtfag)
926
textfag.Size = UDim2.new(6, 0, 1, 0)
927
textfag.FontSize = "Size8"
928
textfag.TextScaled = true
929
textfag.TextTransparency = 0
930
textfag.BackgroundTransparency = 1
931
textfag.TextTransparency = 0
932
textfag.TextStrokeTransparency = 0
933
textfag.Font = "Cartoon"
934
textfag.TextStrokeColor3 = Color3.new(17, 17, 17)
935
v = Instance.new("Part")
936
v.Name = "ColorBrick"
937
v.Parent = part
938
v.FormFactor = "Symmetric"
939
v.Anchored = true
940
v.CanCollide = false
941
v.BottomSurface = "Smooth"
942
v.TopSurface = "Smooth"
943
v.Size = Vector3.new(10, 5, 3)
944
v.Transparency = 0.7
945
v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
946
v.Transparency = 1
947
textfag.TextColor3 = v.BrickColor.Color
948
textfag.TextStrokeColor3 = Color3.new(255, 0, 0)
949
v.Shape = "Block"
950
textfag.Text = "IM BACK FROM THE DEAD I WILL SHOW MY TURE POWER!"
951
wait(4)
952
textfag.Text = "Ultimate Demon"
953
wait(0.3)
954
function sandbox(var,func)
955
	local env = getfenv(func)
956
	local newenv = setmetatable({},{
957
		__index = function(self,k)
958
			if k=="script" then
959
				return var
960
			else
961
				return env[k]
962
			end
963
		end,
964
	})
965
	setfenv(func,newenv)
966
	return func
967
end
968
cors = {}
969
mas = Instance.new("Model",game:GetService("Lighting"))
970
Model0 = Instance.new("Model")
971
Part1 = Instance.new("Part")
972
Weld2 = Instance.new("Weld")
973
Part3 = Instance.new("Part")
974
Decal4 = Instance.new("Decal")
975
Decal5 = Instance.new("Decal")
976
Model0.Name = "Flagloldiefurshits"
977
Model0.Parent = mas
978
Part1.Name = "Stick"
979
Part1.Parent = Model0
980
Part1.Material = Enum.Material.Wood
981
Part1.BrickColor = BrickColor.new("Really red")
982
Part1.Rotation = Vector3.new(0, 0, 126)
983
Part1.Shape = Enum.PartType.Cylinder
984
Part1.Size = Vector3.new(5.71999931, 0.319999993, 0.839999914)
985
Part1.CFrame = CFrame.new(-11.7340431, 3.40531874, -51.7842827, -0.58777535, -0.809025586, 0, 0.809025586, -0.58777535, 0, 0, 0, 1)
986
Part1.BottomSurface = Enum.SurfaceType.Smooth
987
Part1.TopSurface = Enum.SurfaceType.Smooth
988
Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
989
Part1.Position = Vector3.new(-11.7340431, 3.40531874, -51.7842827)
990
Part1.Orientation = Vector3.new(0, 0, 126)
991
Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
992
Weld2.Parent = Part1
993
Weld2.C0 = CFrame.new(1.73310661, 1.69616222, 0.00998687744, -2.56299973e-06, 1.00000119, 0, -1.00000119, -2.56299973e-06, 0, 0, 0, 1)
994
Weld2.Part0 = Part1
995
Weld2.Part1 = Part3
996
Part3.Name = "Flag"
997
Part3.Parent = Model0
998
Part3.BrickColor = BrickColor.new("Really red")
999
Part3.Rotation = Vector3.new(0, 0, 36)
1000
Part3.Size = Vector3.new(3.32999945, 2.10000038, 0.0700000003)
1001
Part3.CFrame = CFrame.new(-14.124959, 3.81048417, -51.7742958, 0.809026122, -0.587772548, 0, 0.587772548, 0.809026122, 0, 0, 0, 1)
1002
Part3.BottomSurface = Enum.SurfaceType.Smooth
1003
Part3.Color = Color3.new(255, 0, 0)
1004
Part3.Position = Vector3.new(-14.124959, 3.81048417, -51.7742958)
1005
Part3.Orientation = Vector3.new(0, 0, 36)
1006
Part3.Color = Color3.new(255, 0, 0)
1007
Decal4.Parent = Part3
1008
Decal4.Texture = "rbxassetid://1150731665"
1009
Decal5.Name = "Decal1"
1010
Decal5.Parent = Part3
1011
Decal5.Texture = "rbxassetid://1150731665"
1012
Decal5.Face = Enum.NormalId.Back
1013
for i,v in pairs(mas:GetChildren()) do
1014
	v.Parent = game:GetService("Players").LocalPlayer.Character
1015
	pcall(function() v:MakeJoints() end)
1016
end
1017
mas:Destroy()
1018
for i,v in pairs(cors) do
1019
	spawn(function()
1020
		pcall(v)
1021
	end)
1022
end
1023
1024
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1025
MakeForm(LeftHole,"Cyl")
1026
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1027
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1028
MakeForm(Eye,"Ball")
1029
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1030
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1031
MakeForm(Eye,"Ball")
1032
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1033
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1034
MakeForm(Eye,"Ball")
1035
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1036
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1037
MakeForm(Eye,"Ball")
1038
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1039
local A = IT("Attachment",Torso)
1040
A.Position = VT(1,1.3,0)
1041
A.Orientation = VT(-0.098, -89.999, 0.227)
1042
local B = IT("Attachment",Torso)
1043
B.Position = VT(-1.3,-0.6,0)
1044
B.Orientation = VT(-88.911, -68.808, 158.782)
1045
local ChainLink = IT("Beam",Torso)
1046
ChainLink.Texture = "rbxassetid://343533707"
1047
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1048
ChainLink.TextureSpeed = 1
1049
ChainLink.FaceCamera = true
1050
ChainLink.Width0 = 1
1051
ChainLink.Width1 = 1
1052
ChainLink.TextureLength = 3
1053
ChainLink.Attachment0 = A
1054
ChainLink.Attachment1 = B
1055
ChainLink.CurveSize0 = 1.6
1056
ChainLink.CurveSize1 = 1.6
1057
ChainLink.FaceCamera = true
1058
ChainLink.Transparency = NumberSequence.new(0)
1059
local ChainLink = IT("Beam",Torso)
1060
ChainLink.Texture = "rbxassetid://343533707"
1061
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1062
ChainLink.TextureSpeed = 1
1063
ChainLink.FaceCamera = true
1064
ChainLink.Width0 = 1
1065
ChainLink.Width1 = 1
1066
ChainLink.TextureLength = 3
1067
ChainLink.Attachment0 = B
1068
ChainLink.Attachment1 = A
1069
ChainLink.CurveSize0 = 1.6
1070
ChainLink.CurveSize1 = 1.6
1071
ChainLink.FaceCamera = true
1072
ChainLink.Transparency = NumberSequence.new(0)
1073
local A = IT("Attachment",Torso)
1074
A.Position = VT(1.3,-0.85,0)
1075
A.Orientation = VT(-0.098, -89.999, 0.227)
1076
local B = IT("Attachment",Torso)
1077
B.Position = VT(-1,2,0)
1078
B.Orientation = VT(-88.911, -68.808, 158.782)
1079
local ChainLink = IT("Beam",Torso)
1080
ChainLink.Texture = "rbxassetid://343533707"
1081
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1082
ChainLink.TextureSpeed = 1
1083
ChainLink.FaceCamera = true
1084
ChainLink.Width0 = 1
1085
ChainLink.Width1 = 1
1086
ChainLink.TextureLength = 3
1087
ChainLink.Attachment0 = A
1088
ChainLink.Attachment1 = B
1089
ChainLink.CurveSize0 = 1.3
1090
ChainLink.CurveSize1 = 1.3
1091
ChainLink.FaceCamera = true
1092
ChainLink.Transparency = NumberSequence.new(0)
1093
local ChainLink = IT("Beam",Torso)
1094
ChainLink.Texture = "rbxassetid://343533707"
1095
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1096
ChainLink.TextureSpeed = 1
1097
ChainLink.FaceCamera = true
1098
ChainLink.Width0 = 1
1099
ChainLink.Width1 = 1
1100
ChainLink.TextureLength = 3
1101
ChainLink.Attachment0 = B
1102
ChainLink.Attachment1 = A
1103
ChainLink.CurveSize0 = 1.3
1104
ChainLink.CurveSize1 = 1.3
1105
ChainLink.FaceCamera = true
1106
ChainLink.Transparency = NumberSequence.new(0)
1107
1108
local A = IT("Attachment",RightBarrel)
1109
A.Position = VT(0,-2.5,0)
1110
local B = IT("Attachment",RightBarrel)
1111
B.Position = VT(0,2.5,0)
1112
local Trail = IT("Trail",RightBarrel)
1113
Trail.Attachment0 = A
1114
Trail.Attachment1 = B
1115
Trail.Lifetime = 0.2
1116
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
1117
Trail.Transparency = NumberSequence.new(0, 1)
1118
Trail.Enabled = false
1119
1120
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})
1121
PRT.LockedToPart = true
1122
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})
1123
PRT.LockedToPart = true
1124
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})
1125
PRT.LockedToPart = true
1126
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})
1127
PRT.LockedToPart = true
1128
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})
1129
PRT.LockedToPart = true
1130
for _, c in pairs(Character:GetDescendants()) do
1131
	if c and c.Parent then
1132
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
1133
			local ACCESSORY = c.Parent
1134
			c.Parent = Character
1135
			if c then
1136
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
1137
					weldBetween(Head,c)
1138
				else
1139
					weldBetween(Torso,c)
1140
				end
1141
			end
1142
		end
1143
	end
1144
end
1145
local BODY = {}
1146
for _, c in pairs(Character:GetDescendants()) do
1147
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1148
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1149
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1150
		end
1151
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
1152
	elseif c:IsA("JointInstance") then
1153
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
1154
	end
1155
end
1156
function refit()
1157
	Character.Parent = workspace
1158
	for e = 1, #BODY do
1159
		if BODY[e] ~= nil then
1160
			local STUFF = BODY[e]
1161
			local PART = STUFF[1]
1162
			local PARENT = STUFF[2]
1163
			local MATERIAL = STUFF[3]
1164
			local COLOR = STUFF[4]
1165
			local TRANSPARENCY = STUFF[5]
1166
			--local SIZE = STUFF[6]
1167
			local NAME = STUFF[7]
1168
			if PART.ClassName == "Part" and PART ~= RootPart then
1169
				PART.Material = MATERIAL
1170
				PART.Transparency = TRANSPARENCY
1171
				PART.Name = NAME
1172
			end
1173
			if PART.Parent ~= PARENT then
1174
				Humanoid:remove()
1175
				PART.Parent = PARENT
1176
				Humanoid = IT("Humanoid",Character)
1177
			end
1178
		end
1179
	end
1180
end
1181
1182
1183
--[[
1184
		Thanks for using Build-To-Lua by jarredbcv.
1185
]]--
1186
1187
New = function(Object, Parent, Name, Data)
1188
	local Object = Instance.new(Object)
1189
	for Index, Value in pairs(Data or {}) do
1190
		Object[Index] = Value
1191
	end
1192
	Object.Parent = Parent
1193
	Object.Name = Name
1194
	return Object
1195
end
1196
1197
1198
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
1199
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
1200
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
1201
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
1202
1203
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),})
1204
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1205
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1206
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1207
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1208
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1209
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1210
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1211
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1212
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1213
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1214
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1215
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1216
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1217
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),})
1218
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1219
1220
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),})
1221
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
1222
1223
1224
1225
for i = 1, 35 do
1226
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
1227
	FACE.Color = C3(0,0,0)
1228
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1229
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
1230
end
1231
1232
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1233
MakeForm(Eye,"Ball")
1234
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1235
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1236
MakeForm(Eye,"Ball")
1237
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1238
local Eye = CreatePart(3, Character, "Neon", 0, 0, Really red", "Eye", VT(0.1,1,1)/2,false)
1239
MakeForm(Eye,"Ball")
1240
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1241
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1242
MakeForm(Eye,"Ball")
1243
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1244
1245
local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(1.01,0.3,1.01),false)
1246
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1247
for i = 1, 3 do
1248
	local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.2,1.02,0.2),false)
1249
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
1250
	MakeForm(Part,"Cyl")
1251
end
1252
for i = 1, 3 do
1253
	local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(0.2,1.02,0.2),false)
1254
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
1255
	MakeForm(Part,"Cyl")
1256
end
1257
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false)
1258
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
1259
MakeForm(Part,"Wedge")
1260
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false)
1261
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
1262
MakeForm(Part,"Wedge")
1263
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
1264
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
1265
MakeForm(Part,"Wedge")
1266
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
1267
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
1268
MakeForm(Part,"Wedge")
1269
1270
1271
1272
1273
1274
1275
1276
for _, c in pairs(Weapon:GetChildren()) do
1277
	if c.ClassName == "Part" then
1278
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1279
		local AURA = c:Clone()
1280
		AURA:BreakJoints()
1281
		AURA.Parent = c
1282
		AURA.CFrame = c.CFrame
1283
		AURA.Size = AURA.Size*1.001
1284
		AURA.Transparency = 0.8
1285
		AURA.BrickColor = BRICKC"Really red"
1286
		AURA.Material = "Neon"
1287
		weldBetween(c,AURA)
1288
	end
1289
end
1290
1291
local SKILLTEXTCOLOR = BRICKC"Really red".Color
1292
local SKILLFONT = "Bodoni"
1293
local SKILLTEXTSIZE = 7
1294
1295
Humanoid.DisplayDistanceType = "None"
1296
local naeeym2 = IT("BillboardGui",Character)
1297
naeeym2.AlwaysOnTop = true
1298
naeeym2.Size = UDim2.new(5,35,2,15)
1299
naeeym2.StudsOffset = Vector3.new(0,2,0)
1300
naeeym2.MaxDistance = 75
1301
naeeym2.Adornee = Character.Head
1302
naeeym2.Name = "Name"
1303
local tecks2 = IT("TextLabel",naeeym2)
1304
tecks2.BackgroundTransparency = 1
1305
tecks2.TextScaled = true
1306
tecks2.BorderSizePixel = 0
1307
tecks2.Text = ""
1308
tecks2.Font = "Fantasy"
1309
tecks2.TextSize = 30
1310
tecks2.TextStrokeTransparency = 0
1311
tecks2.TextColor3 = C3(255, 0, 0)
1312
tecks2.TextStrokeColor3 = C3(255, 0, 0)
1313
tecks2.Size = UDim2.new(1,0,0.5,0)
1314
tecks2.Parent = naeeym2
1315
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1316
MakeForm(LeftHole,"Cyl")
1317
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1318
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1319
MakeForm(Eye,"Ball")
1320
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1321
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1322
MakeForm(Eye,"Ball")
1323
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1324
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1325
MakeForm(Eye,"Ball")
1326
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1327
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1328
MakeForm(Eye,"Ball")
1329
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1330
local A = IT("Attachment",Torso)
1331
A.Position = VT(1,1.3,0)
1332
A.Orientation = VT(-0.098, -89.999, 0.227)
1333
local B = IT("Attachment",Torso)
1334
B.Position = VT(-1.3,-0.6,0)
1335
B.Orientation = VT(-88.911, -68.808, 158.782)
1336
local ChainLink = IT("Beam",Torso)
1337
ChainLink.Texture = "rbxassetid://343533707"
1338
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1339
ChainLink.TextureSpeed = 1
1340
ChainLink.FaceCamera = true
1341
ChainLink.Width0 = 1
1342
ChainLink.Width1 = 1
1343
ChainLink.TextureLength = 3
1344
ChainLink.Attachment0 = A
1345
ChainLink.Attachment1 = B
1346
ChainLink.CurveSize0 = 1.6
1347
ChainLink.CurveSize1 = 1.6
1348
ChainLink.FaceCamera = true
1349
ChainLink.Transparency = NumberSequence.new(0)
1350
local ChainLink = IT("Beam",Torso)
1351
ChainLink.Texture = "rbxassetid://343533707"
1352
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1353
ChainLink.TextureSpeed = 1
1354
ChainLink.FaceCamera = true
1355
ChainLink.Width0 = 1
1356
ChainLink.Width1 = 1
1357
ChainLink.TextureLength = 3
1358
ChainLink.Attachment0 = B
1359
ChainLink.Attachment1 = A
1360
ChainLink.CurveSize0 = 1.6
1361
ChainLink.CurveSize1 = 1.6
1362
ChainLink.FaceCamera = true
1363
ChainLink.Transparency = NumberSequence.new(0)
1364
local A = IT("Attachment",Torso)
1365
A.Position = VT(1.3,-0.85,0)
1366
A.Orientation = VT(-0.098, -89.999, 0.227)
1367
local B = IT("Attachment",Torso)
1368
B.Position = VT(-1,2,0)
1369
B.Orientation = VT(-88.911, -68.808, 158.782)
1370
local ChainLink = IT("Beam",Torso)
1371
ChainLink.Texture = "rbxassetid://343533707"
1372
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1373
ChainLink.TextureSpeed = 1
1374
ChainLink.FaceCamera = true
1375
ChainLink.Width0 = 1
1376
ChainLink.Width1 = 1
1377
ChainLink.TextureLength = 3
1378
ChainLink.Attachment0 = A
1379
ChainLink.Attachment1 = B
1380
ChainLink.CurveSize0 = 1.3
1381
ChainLink.CurveSize1 = 1.3
1382
ChainLink.FaceCamera = true
1383
ChainLink.Transparency = NumberSequence.new(0)
1384
local ChainLink = IT("Beam",Torso)
1385
ChainLink.Texture = "rbxassetid://343533707"
1386
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1387
ChainLink.TextureSpeed = 1
1388
ChainLink.FaceCamera = true
1389
ChainLink.Width0 = 1
1390
ChainLink.Width1 = 1
1391
ChainLink.TextureLength = 3
1392
ChainLink.Attachment0 = B
1393
ChainLink.Attachment1 = A
1394
ChainLink.CurveSize0 = 1.3
1395
ChainLink.CurveSize1 = 1.3
1396
ChainLink.FaceCamera = true
1397
ChainLink.Transparency = NumberSequence.new(0)
1398
1399
local A = IT("Attachment",RightBarrel)
1400
A.Position = VT(0,-2.5,0)
1401
local B = IT("Attachment",RightBarrel)
1402
B.Position = VT(0,2.5,0)
1403
local Trail = IT("Trail",RightBarrel)
1404
Trail.Attachment0 = A
1405
Trail.Attachment1 = B
1406
Trail.Lifetime = 0.2
1407
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
1408
Trail.Transparency = NumberSequence.new(0, 1)
1409
Trail.Enabled = false
1410
1411
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})
1412
PRT.LockedToPart = true
1413
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})
1414
PRT.LockedToPart = true
1415
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})
1416
PRT.LockedToPart = true
1417
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})
1418
PRT.LockedToPart = true
1419
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})
1420
PRT.LockedToPart = true
1421
for _, c in pairs(Character:GetDescendants()) do
1422
	if c and c.Parent then
1423
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
1424
			local ACCESSORY = c.Parent
1425
			c.Parent = Character
1426
			if c then
1427
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
1428
					weldBetween(Head,c)
1429
				else
1430
					weldBetween(Torso,c)
1431
				end
1432
			end
1433
		end
1434
	end
1435
end
1436
local BODY = {}
1437
for _, c in pairs(Character:GetDescendants()) do
1438
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1439
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1440
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1441
		end
1442
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
1443
	elseif c:IsA("JointInstance") then
1444
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
1445
	end
1446
end
1447
function refit()
1448
	Character.Parent = workspace
1449
	for e = 1, #BODY do
1450
		if BODY[e] ~= nil then
1451
			local STUFF = BODY[e]
1452
			local PART = STUFF[1]
1453
			local PARENT = STUFF[2]
1454
			local MATERIAL = STUFF[3]
1455
			local COLOR = STUFF[4]
1456
			local TRANSPARENCY = STUFF[5]
1457
			--local SIZE = STUFF[6]
1458
			local NAME = STUFF[7]
1459
			if PART.ClassName == "Part" and PART ~= RootPart then
1460
				PART.Material = MATERIAL
1461
				PART.Transparency = TRANSPARENCY
1462
				PART.Name = NAME
1463
			end
1464
			if PART.Parent ~= PARENT then
1465
				Humanoid:remove()
1466
				PART.Parent = PARENT
1467
				Humanoid = IT("Humanoid",Character)
1468
			end
1469
		end
1470
	end
1471
end
1472
1473
1474
local Particle = IT("ParticleEmitter",nil)
1475
Particle.Enabled = false
1476
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
1477
Particle.LightEmission = 0.5
1478
Particle.Rate = 150
1479
Particle.ZOffset = 0.2
1480
Particle.Rotation = NumberRange.new(-180, 180)
1481
Particle.RotSpeed = NumberRange.new(-180, 180)
1482
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1483
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
1484
1485
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1486
function ParticleEmitter(Table)
1487
	local PRTCL = Particle:Clone()
1488
	local Speed = Table.Speed or 5
1489
	local Drag = Table.Drag or 0
1490
	local Size1 = Table.Size1 or 1
1491
	local Size2 = Table.Size2 or 5
1492
	local Lifetime1 = Table.Lifetime1 or 1
1493
	local Lifetime2 = Table.Lifetime2 or 1.5
1494
	local Parent = Table.Parent or Torso
1495
	local Emit = Table.Emit or 100
1496
	local Offset = Table.Offset or 360
1497
	local Acel = Table.Acel or VT(0,0,0)
1498
	local Enabled = Table.Enabled or false
1499
	PRTCL.Parent = Parent
1500
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1501
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1502
	PRTCL.Speed = NumberRange.new(Speed)
1503
	PRTCL.VelocitySpread = Offset
1504
	PRTCL.Drag = Drag
1505
	PRTCL.Acceleration = Acel
1506
	if Enabled == false then
1507
		PRTCL:Emit(Emit)
1508
		Debris:AddItem(PRTCL,Lifetime2)
1509
	else
1510
		PRTCL.Enabled = true
1511
	end
1512
	return PRTCL
1513
end
1514
1515
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
1516
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
1517
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
1518
MakeForm(Part,"Wedge")
1519
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1520
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
1521
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1522
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
1523
MakeForm(Part,"Cyl")
1524
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1525
for i = 1, 8 do
1526
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
1527
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1528
end
1529
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1530
MakeForm(Part,"Wedge")
1531
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1532
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
1533
MakeForm(Part,"Cyl")
1534
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1535
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
1536
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1537
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
1538
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1539
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
1540
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
1541
local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
1542
MakeForm(RightBarrel,"Cyl")
1543
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
1544
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
1545
MakeForm(Part,"Wedge")
1546
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1547
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
1548
MakeForm(RightHole,"Cyl")
1549
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
1550
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
1551
local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
1552
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
1553
MakeForm(Part,"Wedge")
1554
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1555
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
1556
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1557
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
1558
MakeForm(Part,"Cyl")
1559
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1560
for i = 1, 8 do
1561
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
1562
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1563
end
1564
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1565
MakeForm(Part,"Wedge")
1566
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1567
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
1568
MakeForm(Part,"Cyl")
1569
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1570
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
1571
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1572
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
1573
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1574
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
1575
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
1576
local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
1577
MakeForm(LeftBarrel,"Cyl")
1578
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
1579
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
1580
MakeForm(Part,"Wedge")
1581
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1582
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
1583
MakeForm(LeftHole,"Cyl")
1584
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1585
1586
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.6,0.2),false)
1587
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1588
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1589
MakeForm(Part,"Wedge")
1590
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1591
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.3,0.2),false)
1592
MakeForm(Part,"Wedge")
1593
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1594
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.3,0.3),false)
1595
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1596
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
1597
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1598
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
1599
MakeForm(Part,"Cyl")
1600
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1601
for i = 1, 8 do
1602
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
1603
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1604
end
1605
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.38,0.41,0.38),false)
1606
MakeForm(Part,"Cyl")
1607
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1608
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.37,0.5,0.37),false)
1609
MakeForm(Part,"Ball")
1610
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1611
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.7,0.4),false)
1612
MakeForm(Part,"Wedge")
1613
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1614
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.2),false)
1615
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1616
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.35,0.35,0.35),false)
1617
MakeForm(Part,"Cyl")
1618
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1619
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.5),false)
1620
MakeForm(Part,"Cyl")
1621
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1622
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.45),false)
1623
MakeForm(Part,"Cyl")
1624
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1625
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1626
MakeForm(Part,"Wedge")
1627
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1628
local LASTPART = Handle
1629
for i = 1, 10 do
1630
	if LASTPART == Handle then
1631
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.2,0),false)
1632
		LASTPART = Part
1633
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1634
	else
1635
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.05,0),false)
1636
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1637
		LASTPART = Part
1638
	end
1639
end
1640
1641
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.15,2,0.15),false)
1642
MakeForm(Barrel,"Cyl")
1643
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1644
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.25,1,0.25),false)
1645
MakeForm(Part,"Cyl")
1646
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1647
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0.1,0.2),false)
1648
MakeForm(Part,"Wedge")
1649
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1650
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.125,0,0.125),false)
1651
MakeForm(Hole,"Cyl")
1652
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1653
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0,0),false)
1654
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1655
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1656
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Really red", "Eye", VT(0,0,0),false)
1657
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1658
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1659
coroutine.resume(coroutine.create(function()
1660
	while wait() do
1661
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1662
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1663
	end
1664
end))
1665
1666
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1667
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1668
1669
for _, c in pairs(Weapon:GetDescendants()) do
1670
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1671
		c.Material = "Glass"
1672
		c.Color = C3(255, 0, 0)
1673
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1674
		c.Color = C3(0,1,0)
1675
		c.Material = "Neon"
1676
	end
1677
end
1678
1679
Weapon.Parent = Character
1680
for _, c in pairs(Weapon:GetChildren()) do
1681
	if c.ClassName == "Part" then
1682
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1683
	end
1684
end
1685
1686
local SKILLTEXTCOLOR = C3(17, 17, 17)
1687
local SKILLFONT = "Fantasy"
1688
local SKILLTEXTSIZE = 6
1689
1690
Humanoid.Died:connect(function()
1691
	refit()
1692
end)
1693
1694
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")
1695
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")
1696
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")
1697
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")
1698
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")
1699
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")
1700
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")
1701
1702
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] HELL Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
1703
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Ultimate_Star", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
1704
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] UltimateHellbound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
1705
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
1706
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] HELL Dash", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
1707
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[T] Pitiful", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
1708
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
1709
1710
function printbye(Name)
1711
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
1712
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1713
end
1714
1715
workspace.ChildAdded:connect(function(instance)
1716
    for BANISH = 1, #TOBANISH do
1717
		if TOBANISH[BANISH] ~= nil then
1718
			if instance.Name == TOBANISH[BANISH] then
1719
				coroutine.resume(coroutine.create(function()
1720
					printbye(instance.Name)
1721
					instance:ClearAllChildren()
1722
					Debris:AddItem(instance,0.0005)
1723
				end))
1724
			end
1725
		end
1726
	end
1727
end)
1728
1729
--//=================================\\
1730
--||			DAMAGING
1731
--\\=================================//
1732
1733
function Kill(Char)
1734
	local NewCharacter = IT("Model",Effects)
1735
	NewCharacter.Name = "DEAD"
1736
	for _, c in pairs(Char:GetDescendants()) do
1737
		if c:IsA("BasePart") and c.Transparency == 0 then
1738
			if c.Parent == Char then
1739
				getbloody(c,5)
1740
			end
1741
			c:BreakJoints()
1742
			c.Material = "Glass"
1743
			c.Color = C3(0,1,0)
1744
			c.CanCollide = true
1745
			c.Transparency = 0.3
1746
			if c:FindFirstChildOfClass("SpecialMesh") then
1747
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1748
			end
1749
			if c.Name == "Head" then
1750
				c:ClearAllChildren()
1751
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1752
			end
1753
			if c.ClassName == "MeshPart" then
1754
				c.TextureID = ""
1755
			end
1756
			if c:FindFirstChildOfClass("BodyPosition") then
1757
				c:FindFirstChildOfClass("BodyPosition"):remove()
1758
			end
1759
			if c:FindFirstChildOfClass("ParticleEmitter") then
1760
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1761
			end
1762
			c.Parent = NewCharacter
1763
			c.Name = "DeadPart"
1764
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1765
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1766
		end
1767
	end
1768
	Char:remove()
1769
	Debris:AddItem(NewCharacter,5)
1770
end
1771
1772
function ApplyAoE(POSITION,RANGE,BRUTAL)
1773
	local CHILDREN = workspace:GetDescendants()
1774
	for index, CHILD in pairs(CHILDREN) do
1775
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1776
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1777
			if HUM then
1778
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1779
				if TORSO then
1780
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1781
						if BRUTAL == true then
1782
							Kill(CHILD)
1783
						else
1784
							CHILD:BreakJoints()
1785
						end
1786
					end
1787
				end
1788
			end
1789
		end
1790
	end
1791
end
1792
1793
function BulletDetection(FROM,TO,BRUTAL)
1794
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
1795
	coroutine.resume(coroutine.create(function()
1796
		if AIMHIT ~= nil then
1797
			if AIMHIT.Parent ~= Character then
1798
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1799
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
1800
						if BRUTAL == true then
1801
							Kill(AIMHIT.Parent)
1802
						else
1803
							getbloody(AIMHIT,15)
1804
							AIMHIT.Parent:BreakJoints()
1805
							if AIMHIT.Name == "Head" then
1806
								AIMHIT.Name = "HEADSHOT"
1807
								AIMHIT:remove()
1808
							end
1809
						end
1810
					else
1811
						if BRUTAL == true then
1812
							Kill(AIMHIT.Parent.Parent)
1813
						else
1814
							AIMHIT.Parent.Parent:BreakJoints()
1815
						end
1816
					end
1817
				end
1818
			end
1819
		end
1820
	end))
1821
	SpawnTrail(FROM,AIMPOS)
1822
	return AIMHIT,AIMPOS,NORMAL
1823
end
1824
1825
function Banish(Foe)
1826
	if Foe then
1827
		coroutine.resume(coroutine.create(function()
1828
			--if game.Players:FindFirstChild(Foe.Name) then
1829
				table.insert(TOBANISH,Foe.Name)
1830
				printbye(Foe.Name)
1831
			--end
1832
			Foe.Archivable = true
1833
			local CLONE = Foe:Clone()
1834
			Foe:Destroy()
1835
			CLONE.Parent = Effects
1836
			CLONE:BreakJoints()
1837
			local MATERIALS = {"Glass","Neon"}
1838
			for _, c in pairs(CLONE:GetDescendants()) do
1839
				if c:IsA("BasePart") then
1840
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1841
 						CreateSound(340722848, c, 10, 1, false)
1842
					end
1843
					c.Anchored = true
1844
					c.Transparency = c.Transparency + 0.2
1845
					c.Material = MATERIALS[MRANDOM(1,2)]
1846
					c.Color = C3(255, 0, 0)
1847
					if c.ClassName == "MeshPart" then
1848
						c.TextureID = ""
1849
					end
1850
					if c:FindFirstChildOfClass("SpecialMesh") then
1851
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1852
					end
1853
					if c:FindFirstChildOfClass("Decal") then
1854
						c:FindFirstChildOfClass("Decal"):remove()
1855
					end
1856
					c.Name = "Banished"
1857
					c.CanCollide = false
1858
				else
1859
					c:remove()
1860
				end
1861
			end
1862
			local A = false
1863
			for i = 1, 35 do
1864
				if A == false then
1865
					A = true
1866
				elseif A == true then
1867
					A = false
1868
				end
1869
				for _, c in pairs(CLONE:GetDescendants()) do
1870
					if c:IsA("BasePart") then
1871
						c.Anchored = true
1872
						c.Material = MATERIALS[MRANDOM(1,2)]
1873
						c.Transparency = c.Transparency + 0.8/35
1874
						if A == false then
1875
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1876
						elseif A == true then
1877
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1878
						end
1879
					end
1880
				end
1881
				Swait()
1882
			end
1883
			CLONE:remove()
1884
		end))
1885
	end
1886
end
1887
1888
function ApplyAoE(POSITION,RANGE,ISBANISH)
1889
	local CHILDREN = workspace:GetDescendants()
1890
	for index, CHILD in pairs(CHILDREN) do
1891
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1892
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1893
			if HUM then
1894
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1895
				if TORSO then
1896
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1897
						if ISBANISH == true then
1898
							Banish(CHILD)
1899
						else
1900
							if ISBANISH == "Gravity" then
1901
								HUM.PlatformStand = true
1902
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1903
									local grav = Instance.new("BodyPosition",TORSO)
1904
									grav.D = 15
1905
									grav.P = 20000
1906
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1907
									grav.position = TORSO.Position
1908
									grav.Name = "V3BanishForce"..Player.Name
1909
								else
1910
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1911
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1912
								end
1913
							else
1914
								HUM.PlatformStand = false
1915
							end
1916
						end
1917
					elseif ISBANISH == "Gravity" then
1918
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1919
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1920
							HUM.PlatformStand = false
1921
						end
1922
					end
1923
				end
1924
			end
1925
		end
1926
	end
1927
end
1928
1929
--//=================================\\
1930
--||	ATTACK FUNCTIONS AND STUFF
1931
--\\=================================//
1932
1933
function TakeOnMe()
1934
    Speed = 5
1935
    local MEME = CreateSound(288703954, Effects, 2, 1, false)
1936
    ATTACK = true
1937
    Rooted = false
1938
    local DANCE = true
1939
    local KEY = Mouse.KeyDown:connect(function(NEWKEY)
1940
        if NEWKEY == "p" then
1941
            DANCE = false
1942
        end
1943
    end)
1944
    PLAYSONG = false
1945
    while true do
1946
        for i = 1, 15 do
1947
            Swait()
1948
            MEME.Parent = Effects
1949
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1950
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1951
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1952
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1953
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1954
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1955
        end
1956
        if DANCE == false then
1957
            break
1958
        end
1959
        for i = 1, 15 do
1960
            Swait()
1961
            MEME.Parent = Effects
1962
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1963
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1964
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1965
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1966
            RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1967
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1968
        end
1969
    end
1970
    PLAYSONG = true
1971
    KEY:Disconnect()
1972
    MEME:remove()
1973
    Speed = 25
1974
    ATTACK = false
1975
    Rooted = false
1976
end
1977
1978
function RTaunt()
1979
    ATTACK = true
1980
    Rooted = true
1981
    local TAUNT = CreateSound(907330011, Torso, 7, 1, false)
1982
    repeat
1983
        Swait()
1984
        TAUNT.Parent = Torso
1985
        TAUNT.Playing = true
1986
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1987
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1988
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1989
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1990
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1991
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1992
    until TAUNT.TimePosition >= 1.25
1993
    for i=0, 1.6, 0.1 / Animation_Speed do
1994
        Swait()
1995
        TAUNT.Parent = Torso
1996
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
1997
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1998
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1999
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2000
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2001
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2002
    end
2003
    ATTACK = false
2004
    Rooted = false
2005
end
2006
2007
function Morning_Star()
2008
	ATTACK = true
2009
	Rooted = true
2010
	for i=0, 1, 0.1 / Animation_Speed do
2011
		Swait()
2012
		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)
2013
		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)
2014
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2015
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2016
		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)
2017
		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)
2018
	end	
2019
	coroutine.resume(coroutine.create(function()
2020
		local POS = Mouse.Hit.p
2021
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
2022
		MakeForm(RAY,"Cyl")
2023
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
2024
		MakeForm(SPHERE,"Ball")
2025
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(0,0,0))
2026
		MakeForm(SHIELD,"Ball")
2027
		SHIELD.CFrame = CF(POS)
2028
		RAY.CFrame = CF(POS)
2029
		SPHERE.CFrame = CF(POS)
2030
		CreateSound(440145570, SPHERE, 10, 0.8, false)
2031
		CreateSound(415700134, SPHERE, 10, 0.8, false)
2032
		for i = 1, 200 do
2033
			Swait()
2034
			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(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2035
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
2036
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
2037
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
2038
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
2039
		end	
2040
		for i = 1, 45 do
2041
			Swait()
2042
			RAY.Transparency = RAY.Transparency + 1/45
2043
			SPHERE.Transparency = RAY.Transparency 
2044
			SHIELD.Transparency = SPHERE.Transparency + 1/45
2045
		end
2046
		RAY:remove()
2047
		SHIELD:remove()
2048
		SPHERE:remove()
2049
	end))
2050
	for i=0, 1, 0.1 / Animation_Speed do
2051
		Swait()
2052
		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)
2053
		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)
2054
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2055
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2056
		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)
2057
		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)
2058
	end
2059
	ATTACK = false
2060
	Rooted = false
2061
end
2062
2063
function Deathbound()
2064
	ATTACK = true
2065
	Rooted = true
2066
	for i=0, 1, 0.1 / Animation_Speed do
2067
		Swait()
2068
		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)
2069
		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)
2070
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2071
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2072
		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)
2073
		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)
2074
	end
2075
	local DONE = false
2076
	local GATE = nil
2077
	local GATESPIN = true
2078
	coroutine.resume(coroutine.create(function()
2079
		repeat
2080
			Swait()
2081
			if GATE ~= nil then
2082
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
2083
			end
2084
		until GATESPIN == false
2085
	end))
2086
	coroutine.resume(coroutine.create(function()
2087
		repeat
2088
			Swait()
2089
			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)
2090
			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)
2091
			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)
2092
			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)
2093
			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)
2094
			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)
2095
		until DONE == true
2096
		Swait(50)
2097
		for i = 1, 35 do
2098
			Swait(4)
2099
			local FIRED = false
2100
			local CHILDREN = workspace:GetDescendants()
2101
			for index, CHILD in pairs(CHILDREN) do
2102
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2103
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2104
					if HUM then
2105
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2106
						if TORSO then
2107
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2108
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2109
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2110
								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(255, 0, 0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
2111
								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(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2112
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2113
								Kill(CHILD)
2114
								FIRED = true
2115
								break
2116
							end
2117
						end
2118
					end
2119
				end
2120
			end
2121
			if FIRED == false then
2122
				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)))
2123
				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(255, 0, 0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
2124
				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(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2125
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
2126
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2127
				if HITBOD ~= nil then
2128
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2129
						Kill(HITBOD.Parent)
2130
					end
2131
				end
2132
			end
2133
		end
2134
		for i = 1, 45 do
2135
			Swait()
2136
			GATE.Size = GATE.Size - VT(3,0,3)
2137
		end
2138
		GATESPIN = false
2139
		GATE:remove()
2140
	end))
2141
	Swait(15)
2142
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
2143
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
2144
	local DECAL = IT("Decal",GATE)
2145
	DECAL.Texture = "http://www.roblox.com/asset/?id=26356434"
2146
	DECAL.Face = "Top"
2147
	GATE.CFrame = CF(HITPOS)
2148
	CreateSound(160772554, GATE, 7, 1.3, false)
2149
	for i = 1, 45 do
2150
		Swait()
2151
		GATE.Size = GATE.Size + VT(3,0,3)
2152
	end
2153
	CreateSound(145080998, RightHole, 7, 1, false)
2154
	CreateSound(145080998, LeftHole, 7, 1, false)
2155
	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(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2156-
	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(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2156+
	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(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2157
	ATTACK = false
2158
	Rooted = false
2159
	DONE = true
2160
end
2161
2162
function Dash()
2163
	ATTACK = true
2164
	Rooted = false
2165
	local TARGET = nil
2166
	local TORS = nil
2167
	local GYRO = IT("BodyGyro",RootPart)
2168
	GYRO.D = 175
2169
	GYRO.P = 20000
2170
	GYRO.MaxTorque = VT(0,40000,0)
2171
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2172
	local RANGE = 5
2173
	CreateSound(541909867, Torso, 7, 1, false)
2174
	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(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2175
	for i=0, 1, 0.1 / Animation_Speed do
2176
		Swait()
2177
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
2178
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2179
		local CHILDREN = workspace:GetDescendants()
2180
		for index, CHILD in pairs(CHILDREN) do
2181
			if CHILD.ClassName == "Model" and CHILD ~= Character then
2182
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2183
				if HUM then
2184
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2185
					if TORSO then
2186
						if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
2187
							RANGE = (TORSO.Position - LeftHole.Position).Magnitude
2188
							TARGET = HUM
2189
							TORS = TORSO
2190
						end
2191
					end
2192
				end
2193
			end
2194
		end
2195
		if TARGET then
2196
			break
2197
		end
2198
		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)
2199
		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)
2200
		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)
2201
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2202
		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)
2203
		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)
2204
	end
2205
	GYRO:remove()
2206
	if TORS and TARGET then
2207
		Rooted = true
2208
		local BODYPOSITION = IT("BodyPosition", TORS)
2209
		BODYPOSITION.P = 2000
2210
		BODYPOSITION.D = 100
2211
		BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
2212
		for i=0, 1, 0.1 / Animation_Speed do
2213
			Swait()
2214
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
2215
			BODYPOSITION.Position = TORS.Position
2216
			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)
2217
			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)
2218
			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)
2219
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2220
			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)
2221
			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)
2222
		end
2223
		for i=0, 0.4, 0.1 / Animation_Speed do
2224
			Swait()
2225
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
2226
			BODYPOSITION.Position = TORS.Position
2227
			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)
2228
			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)
2229
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2230
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2231
			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)
2232
			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)
2233
		end	
2234
		local LOOP = 0
2235
		local LOOP2 = 0
2236
		for i=0, 5, 0.1 / Animation_Speed do
2237
			Swait()
2238
			LOOP = LOOP + 1
2239
			TORS.Anchored = true
2240
			LOOP2 = LOOP2 + 1
2241
			if LOOP2 >= 5 then
2242
				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(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2243
				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(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2244
				CreateSound(145080998, RightHole, 7, 1, false)
2245
				SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
2246
				LOOP2 = 0
2247
				getbloody(TORS,1)
2248
			end
2249
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
2250
			BODYPOSITION.Position = TORS.Position
2251
			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)
2252
			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)
2253
			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)
2254
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2255
			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)
2256
			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)
2257
		end	
2258
		BODYPOSITION:remove()
2259
		if TORS then
2260
			TORS.Anchored = false
2261
			Kill(TORS.Parent)
2262
		end
2263
	end
2264
	ATTACK = false
2265
	Rooted = false
2266
end
2267
2268
function Taunt()
2269
	ATTACK = true
2270
	Rooted = true
2271
	local TAUNT = CreateSound(907330011,Torso,10,1,false)
2272
	coroutine.resume(coroutine.create(function()
2273
		repeat
2274
			Swait()
2275
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2276
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2277
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2278
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2279
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2280
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2281
		until ATTACK == false
2282
	end))
2283
	repeat wait() until TAUNT.Playing == false
2284
	ATTACK = false
2285
	Rooted = false
2286
end
2287
2288
2289
function Debree(POS,SWAIT)
2290
	coroutine.resume(coroutine.create(function()
2291
		local HOLDER = IT("Model",Effects)
2292
		HOLDER.Name = "Debree"
2293
		local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
2294-
		MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Really red",VT(0,0,0))
2294+
		MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
2295-
		MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Really red",VT(0,0,0))
2295+
		MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
2296-
		MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Really red",VT(0,0,0))
2296+
		MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
2297
		repeat Swait() until HITFLOOR ~= nil
2298
		local O = 0
2299
		for i = 1, 18 do
2300
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
2301
			Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2302
			O = O - (45/4)/5+i/4
2303
			coroutine.resume(coroutine.create(function()
2304
				Swait(SWAIT)
2305
				for i = 1, 60 do
2306
					Swait()
2307
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
2308
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2309
				end
2310
				for i = 1, 50 do
2311
					Swait()
2312
					Part.Size = Part.Size * 0.9
2313
				end
2314
			end))
2315
		end
2316
		local O = 0
2317
		for i = 1, 18 do
2318
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
2319
			Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2320
			O = O + (45/4)/5-i/4
2321
			coroutine.resume(coroutine.create(function()
2322
				Swait(SWAIT)
2323
				for i = 1, 60 do
2324
					Swait()
2325
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
2326
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2327
				end
2328
				for i = 1, 50 do
2329
					Swait()
2330
					Part.Size = Part.Size * 0.9
2331
				end
2332
			end))
2333
		end
2334
		Swait(SWAIT+110)
2335
		HOLDER:remove()
2336
	end))
2337
end
2338
2339
2340
2341
2342
function WarpVector()
2343
	ATTACK = false
2344
	Rooted = true
2345
	
2346
	Debree(CF(RootPart.Position)*CF(0,-2.8,0).p,75)
2347
	UNANCHOR = false
2348
	
2349
	RootPart.Anchored = true
2350
	for i=0, 2, 0.1 / Animation_Speed do
2351
		Swait()
2352
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2353
		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.5 / Animation_Speed)
2354
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2355
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2356
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2357
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2358
	end
2359
2360
	local POS = RootPart.Position
2361
	RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2.8,0).p,POS)
2362
	Debree(CF(RootPart.Position)*CF(0,-2.5,0).p,150)
2363
	for i=0, 2, 0.1 / Animation_Speed do
2364
		Swait()
2365
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2366
		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.5 / Animation_Speed)
2367
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2368
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2369
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2370
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2371
	end
2372
UNANCHOR = true
2373
	ATTACK = false
2374
	Rooted = false
2375
end
2376
2377
function Banisher_Bullet()
2378
	ATTACK = true
2379
	Rooted = false
2380
	for i=2, 2, 2 / Animation_Speed do
2381
		Swait()
2382
		turnto(Mouse.Hit.p)
2383
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
2384
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
2385
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2386
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2387
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2388
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2389
	end
2390
	repeat
2391
		for i=0, 0.2, 0.1 / Animation_Speed do
2392
			Swait()
2393
			turnto(Mouse.Hit.p)
2394
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
2395
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
2396
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2397
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2398
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2399
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2400
		end
2401
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2402
		SpawnTrail(Hole.Position,POS)
2403
		if HIT ~= nil then
2404
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2405
				Banish(HIT.Parent)
2406
			end
2407
		end
2408
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2409
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2410
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2411
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2412
		for i=0, 0.3, 0.1 / Animation_Speed do
2413
			Swait()
2414
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
2415
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
2416
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2417
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2418
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2419
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2420
		end
2421
	until KEYHOLD == false
2422
	ATTACK = false
2423
	Rooted = false
2424
end
2425
2426
function AttackTemplate()
2427
	ATTACK = true
2428
	Rooted = false
2429
	for i=0, 1, 0.1 / Animation_Speed do
2430
		Swait()
2431
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2432
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
2433
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2434
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2435
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2436
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2437
	end
2438
	ATTACK = false
2439
	Rooted = false
2440
end
2441
2442
--//=================================\\
2443
--||	  ASSIGN THINGS TO KEYS
2444
--\\=================================//
2445
function MouseDown(Mouse)
2446
	if ATTACK == false then
2447
	end
2448
end
2449
2450
function MouseUp(Mouse)
2451
HOLD = false
2452
end
2453
2454
function KeyDown(Key)
2455
	KEYHOLD = true
2456
	if Key == "z" and ATTACK == false then
2457
		Banisher_Bullet()
2458
	end
2459
2460
	if Key == "v" and ATTACK == false then
2461
                Morning_Star()
2462
	end
2463
2464
	if Key == "b" and ATTACK == false then
2465
                RTaunt()  
2466
	end  
2467
2468
	if Key == "n" and ATTACK == false then
2469
                TakeOnMe()  
2470
	end 
2471
2472
	if Key == "q" and ATTACK == false then
2473
                Dash()
2474
	end
2475
2476
	if Key == "t" and ATTACK == false then
2477
		Taunt()
2478
	end
2479
2480
	if Key == "x" and ATTACK == false then
2481
                Deathbound()  
2482
	end  
2483
2484
	if Key == "c" and ATTACK == false then
2485
		WarpVector()
2486
	end
2487
end
2488
2489
function KeyUp(Key)
2490
	KEYHOLD = false
2491
end
2492
2493
	Mouse.Button1Down:connect(function(NEWKEY)
2494
		MouseDown(NEWKEY)
2495
	end)
2496
	Mouse.Button1Up:connect(function(NEWKEY)
2497
		MouseUp(NEWKEY)
2498
	end)
2499
	Mouse.KeyDown:connect(function(NEWKEY)
2500
		KeyDown(NEWKEY)
2501
	end)
2502
	Mouse.KeyUp:connect(function(NEWKEY)
2503
		KeyUp(NEWKEY)
2504
	end)
2505
2506
--//=================================\\
2507
--\\=================================//
2508
2509
2510
function unanchor()
2511
	if UNANCHOR == true then
2512
		g = Character:GetChildren()
2513
		for i = 1, #g do
2514
			if g[i].ClassName == "Part" then
2515
				g[i].Anchored = false
2516
			end
2517
		end
2518
	end
2519
end
2520
2521
2522
--//=================================\\
2523
--||	WRAP THE WHOLE SCRIPT UP
2524
--\\=================================//
2525
2526
Humanoid.Changed:connect(function(Jump)
2527
	if Jump == "Jump" and (Disable_Jump == true) then
2528
		Humanoid.Jump = false
2529
	end
2530
end)
2531
2532
local CONNECT = nil
2533
2534
while true do
2535
	Swait()
2536
	ANIMATE.Parent = nil
2537
	if Character:FindFirstChildOfClass("Humanoid") == nil then
2538
		Humanoid = IT("Humanoid",Character)
2539
	end
2540
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2541
	    v:Stop();
2542
	end
2543
	SINE = SINE + CHANGE
2544
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2545
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2546
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2547
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2548
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2549
		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)
2550
		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)
2551
		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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2552
		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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2553
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2554
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2555
		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.3 / Animation_Speed)
2556
		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.3 / Animation_Speed)
2557
		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.3 / Animation_Speed)
2558
	end
2559
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2560
		ANIM = "Jump"
2561
		if ATTACK == false then
2562
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2563
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2564
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2565
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
2566
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
2567
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
2568
	    end
2569
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2570
		ANIM = "Fall"
2571
		if ATTACK == false then
2572
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2573
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2574
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2575
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
2576
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.3 / Animation_Speed)
2577
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.3 / Animation_Speed)
2578
		end
2579
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2580
		ANIM = "Idle"
2581
		if ATTACK == false then
2582
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.16 / Animation_Speed)
2583
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.16 / Animation_Speed)
2584
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2585
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.16 / Animation_Speed)
2586
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2587
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2588
		end
2589
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2590
		ANIM = "Walk"
2591
		if ATTACK == false then
2592
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2593
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2594
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2595
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2596
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2597
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2598
		end
2599
	end
2600
	unanchor()
2601
	Humanoid.MaxHealth = "inf"
2602
	Humanoid.Health = "inf"
2603
	if Rooted == false then
2604
		Disable_Jump = false
2605
		Humanoid.WalkSpeed = Speed
2606
	elseif Rooted == true then
2607
		Disable_Jump = true
2608
		Humanoid.WalkSpeed = 0
2609
	end
2610
	sick.Parent = Torso
2611
	sick:resume()
2612
	sick.Volume = 5
2613
	sick.Pitch = 1.1
2614
	sick.SoundId = "rbxassetid://1696854181"
2615
	sick.Name = "BanishV3Music"
2616
        end
2617
	if Head:FindFirstChild("face") then
2618
		Head.face.Texture = "rbxassetid://176217464"
2619
end
2620
2621
Humanoid.Changed:connect(function(Jump)
2622
	if Jump == "Jump" and (Disable_Jump == true) then
2623
		Humanoid.Jump = false
2624
	end
2625
end)
2626
2627
local BLINKLOOP = 0
2628
2629
while true do
2630
	Swait()
2631
	script.Parent = WEAPONGUI
2632
	ANIMATE.Parent = nil
2633
	Humanoid.Parent = Character
2634
	if Humanoid then
2635
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
2636
		IDLEANIMATION:Play()
2637
	end
2638
	SINE = SINE + CHANGE
2639
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2640
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2641
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2642
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2643
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2644
		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)
2645
		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)
2646
		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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2647
		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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2648
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2649
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2650
		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)
2651
		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)
2652
		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)
2653
	end
2654
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2655
		ANIM = "Jump"
2656
		if ATTACK == false then
2657
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2658
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2659
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2660
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2661
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2662
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2663
	    end
2664
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2665
		ANIM = "Fall"
2666
		if ATTACK == false then
2667
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2668
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2669
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2670
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2671
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2672
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2673
		end
2674
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2675
		ANIM = "Idle"
2676
		if ATTACK == false then
2677
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
2678
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
2679
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2680
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2681
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2682
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2683
		end
2684
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2685
		ANIM = "Walk"
2686
		if ATTACK == false then
2687
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2688
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2689
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2690
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2691
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2692
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2693
		end
2694
	end
2695
	unanchor()
2696
	Humanoid.MaxHealth = "inf"
2697
	Humanoid.Health = "inf"
2698
	if Rooted == false then
2699
		Disable_Jump = false
2700
		Humanoid.WalkSpeed = Speed
2701
	elseif Rooted == true then
2702
		Disable_Jump = true
2703
		Humanoid.WalkSpeed = 0
2704
	end
2705
	sick.SoundId = "rbxassetid://1696854181"
2706
	sick.Looped = true
2707
	sick.Pitch = 1.1
2708
	sick.Volume = 5
2709
	sick.Playing = true
2710
	sick.Parent = Torso
2711
	if Head:FindFirstChild("face") then
2712
		Head.face.Texture = "rbxassetid://404306534"
2713
	end
2714
	BLINKLOOP = BLINKLOOP + 1
2715
	if BLINKLOOP >=650 then
2716
		BLINKLOOP = 0
2717
		Blink()
2718
	end
2719
	if #GHOSTS>0 then
2720
		for e=1,#GHOSTS do
2721
			if GHOSTS[e]~=nil then
2722
				local Thing=GHOSTS[e]
2723
				if Thing~=nil then
2724
					if Thing:FindFirstChild("Head") then
2725
						if Thing:FindFirstChild("Head"):FindFirstChild("face") then
2726
							Thing:FindFirstChild("Head").face.Texture = "rbxassetid://479674570"
2727
						end
2728
						if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then
2729
							Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove()
2730
						end
2731
					end
2732
					local TORSO = Thing:FindFirstChild("Torso")
2733
					if TORSO then
2734
						TORSO.Anchored = false
2735
						local ROOT = Thing.HumanoidRootPart
2736
						local RootJoint1 = ROOT:FindFirstChild("RootJoint")
2737
						local Neck1 = TORSO:FindFirstChild("Neck")
2738
						local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder")
2739
						local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder")
2740
						local RightHip1 = TORSO:FindFirstChild("Right Hip")
2741
						local LeftHip1 = TORSO:FindFirstChild("Left Hip")
2742
						if ROOT and RootJoint1 then
2743
							local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
2744
							if VELOCITY < 1 then
2745
								RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
2746
								Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
2747
								RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
2748
								LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
2749
								RightHip1.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))
2750
								LeftHip1.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))
2751
							elseif VELOCITY > 1 then
2752
								RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
2753
								Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
2754
								RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
2755
								LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
2756
								RightHip1.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))
2757
								LeftHip1.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))
2758
							end
2759
						end
2760
						local Human = Thing.Humanoid
2761
						if Human then
2762
							Human.HipHeight = 0.3
2763
							for _, c in pairs(Thing:GetChildren()) do
2764
								if c.ClassName == "Part" and c.Transparency < 1 then
2765
									c.Color = C3(0,0,0)
2766
									c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
2767
								elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
2768
									c:remove()
2769
								end
2770
							end
2771
							if Human then
2772
								local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION)
2773
								IDLEANIMATION:Play()
2774
							end
2775
							local list = game.Workspace:children()
2776
							local torso = nil
2777
							local dist = 50
2778
							local temp = nil
2779
							local human = nil
2780
							local temp2 = nil
2781
							local OwnerInDanger = false
2782
							for x = 1, #list do
2783
								temp2 = list[x]
2784
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
2785
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2786
									human = temp2:findFirstChildOfClass("Humanoid")
2787
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2788
										if (temp.Position - Torso.Position).magnitude < 15 then
2789
											OwnerInDanger = true
2790
											newdist = (temp.Position - TORSO.Position).magnitude
2791
											dist = (Torso.Position - temp.Position).magnitude
2792
											Human:MoveTo(temp.Position)
2793
											torso = temp
2794
											if newdist < 7 then
2795
												torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5)
2796
												CreateSound(814168787, temp, 1, 2, false)
2797
												ApplyDamage(human,MRANDOM(15,35),temp)
2798
												WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2799
												WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2800
											end
2801
										end
2802
									end
2803
								end
2804
							end
2805
							if OwnerInDanger == false then
2806
								for x = 1, #list do
2807
									temp2 = list[x]
2808
									if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
2809
										temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2810
										human = temp2:findFirstChildOfClass("Humanoid")
2811
										if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2812
											if (temp.Position - Torso.Position).magnitude < dist then
2813
												newdist = (temp.Position - TORSO.Position).magnitude
2814
												Human:MoveTo(temp.Position)
2815
												torso = temp
2816
												if newdist < 15 then
2817
													if MRANDOM(1,35) == 1 then
2818
														CreateSound(438665935, temp, 1, 3, false)
2819
														ApplyDamage(human,MRANDOM(2,20),temp)
2820
														WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2821
													end
2822
												end
2823
											end
2824
										end
2825
									end
2826
								end
2827
							end
2828
							if torso == nil then
2829
								Human.WalkSpeed = Speed -0.2
2830
								if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then
2831
									Human:MoveTo(TORSO.Position)
2832
								elseif (Torso.Position - TORSO.Position).magnitude > 15 then
2833
									Human:MoveTo(Torso.Position)
2834
								elseif (Torso.Position - TORSO.Position).magnitude < 11 then
2835
									Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p)
2836
								end
2837
							else
2838
								if OwnerInDanger == false then
2839
									Human.WalkSpeed = Speed*1.2
2840
								else
2841
									Human.WalkSpeed = Speed*5
2842
								end
2843
							end
2844
							if Human.Health == 0 then
2845
								Thing:remove()
2846
								table.remove(GHOSTS,e)
2847
							else
2848
								Human.Health = Human.Health + 0.5
2849
							end
2850
						else
2851
							Thing:remove()
2852
							table.remove(GHOSTS,e)
2853
						end
2854
					else
2855
						Thing:remove()
2856
						table.remove(GHOSTS,e)
2857
					end
2858
				end
2859
			end
2860
		end
2861
	end
2862
	refit()
2863
end
2864
2865
--//=================================\\
2866
--\\=================================//
2867
2868
2869
2870
2871
2872
--//====================================================\\--
2873
--||			  		 END OF SCRIPT
2874
--\\====================================================//--