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