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