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