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