View difference between Paste ID: FVeLT7MQ and RwFv6ypS
SHOW: | | - or go back to the newest paste.
1
script.Name = "Banisher Gun V3 / 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 Name 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, "Lime green", "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, "Lime green", "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
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1172-
local Handle = CreatePart(3, Weapon, "Metal"255, 0, 0 "Really red", "Part", VT(0.2,0.6,0.2),false)
1172+
1173
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1174-
local Part = CreatePart(3, Weapon, "Metal"255, 0, 0 "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1174+
1175
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1176
local Part = CreatePart(3, Weapon, "Metal"255, 0, 0 "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1177
MakeForm(Part,"Wedge")
1178
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1179
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1180
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1181
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1182
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1183
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1184
MakeForm(Part,"Cyl")
1185
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1186
for i = 1, 8 do
1187
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1188
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1189
end
1190
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1191
MakeForm(Part,"Cyl")
1192
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1193
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1194
MakeForm(Part,"Ball")
1195
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1196
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1197
MakeForm(Part,"Wedge")
1198
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1199
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1200
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1201
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1202
MakeForm(Part,"Cyl")
1203
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1204
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1205
MakeForm(Part,"Cyl")
1206
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1207
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1208
MakeForm(Part,"Cyl")
1209
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1210
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1211
MakeForm(Part,"Wedge")
1212
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1213
local LASTPART = Handle
1214
for i = 1, 10 do
1215
	if LASTPART == Handle then
1216
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1217
		LASTPART = Part
1218
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1219
	else
1220
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1221
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1222
		LASTPART = Part
1223
	end
1224
end
1225
1226
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
1227
MakeForm(Barrel,"Cyl")
1228
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1229
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
1230
MakeForm(Part,"Cyl")
1231
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1232
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1233
MakeForm(Part,"Wedge")
1234
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1235
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1236
MakeForm(Hole,"Cyl")
1237
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1238
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1239
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1240
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1241
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1242
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1243
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1244
coroutine.resume(coroutine.create(function()
1245
	while wait() do
1246
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1247
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1248
	end
1249
end))
1250
1251
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1252
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1253
1254
for _, c in pairs(Weapon:GetDescendants()) do
1255
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1256
		c.Material = "Glass"
1257
		c.Color = C3(0,0,0)
1258
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1259
		c.Color = C3(0,1,0)
1260
		c.Material = "Neon"
1261
	end
1262
end
1263
1264
Weapon.Parent = Character
1265
for _, c in pairs(Weapon:GetChildren()) do
1266
	if c.ClassName == "Part" then
1267
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1268
	end
1269
end
1270
1271
local SKILLTEXTCOLOR = C3(255, 0, 0)
1272
local SKILLFONT = "Antique"
1273
local SKILLTEXTSIZE = 7
1274
1275
Humanoid.Died:connect(function()
1276
	ATTACK = true
1277
end)
1278
1279
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(255, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
1280
--[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(255, 0, 0), C3(255, 0, 0), "Skill 2 Frame")
1281
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(255, 0, 0), C3(255, 0, 0), "Skill 3 Frame")
1282
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(255, 0, 0), C3(255, 0, 00), "Skill 4 Frame")
1283
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(255, 0, 0), C3(255, 0, 0), "Skill 5 Frame")
1284
]]
1285
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] LETS GO HELL", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
1286
--[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
1287
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
1288
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
1289
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
1290
]]
1291
function printbye(Name)
1292
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
1293
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1294
end
1295
1296
workspace.ChildAdded:connect(function(instance)
1297
    for BANISH = 1, #TOBANISH do
1298
		if TOBANISH[BANISH] ~= nil then
1299
			if instance.Name == TOBANISH[BANISH] then
1300
				coroutine.resume(coroutine.create(function()
1301
					printbye(instance.Name)
1302
					instance:ClearAllChildren()
1303
					Debris:AddItem(instance,0.0005)
1304
				end))
1305
			end
1306
		end
1307
	end
1308
end)
1309
1310
--//=================================\\
1311
--||			DAMAGING
1312
--\\=================================//
1313
1314
function Banish(Foe)
1315
	if Foe then
1316
		coroutine.resume(coroutine.create(function()
1317
			--if game.Players:FindFirstChild(Foe.Name) then
1318
				table.insert(TOBANISH,Foe.Name)
1319
				printbye(Foe.Name)
1320
			--end
1321
			Foe.Archivable = true
1322
			local CLONE = Foe:Clone()
1323
			Foe:Destroy()
1324
			CLONE.Parent = Effects
1325
			CLONE:BreakJoints()
1326
			local MATERIALS = {"Glass","Neon"}
1327
			for _, c in pairs(CLONE:GetDescendants()) do
1328
				if c:IsA("BasePart") then
1329
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1330
 						CreateSound(340722848, c, 10, 1, false)
1331
					end
1332
					c.Anchored = true
1333
					c.Transparency = c.Transparency + 0.2
1334
					c.Material = MATERIALS[MRANDOM(1,2)]
1335
					c.Color = C3(0,1,0)
1336
					if c.ClassName == "MeshPart" then
1337
						c.TextureID = ""
1338
					end
1339
					if c:FindFirstChildOfClass("SpecialMesh") then
1340
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1341
					end
1342
					if c:FindFirstChildOfClass("Decal") then
1343
						c:FindFirstChildOfClass("Decal"):remove()
1344
					end
1345
					c.Name = "Banished"
1346
					c.CanCollide = false
1347
				else
1348
					c:remove()
1349
				end
1350
			end
1351
			local A = false
1352
			for i = 1, 35 do
1353
				if A == false then
1354
					A = true
1355
				elseif A == true then
1356
					A = false
1357
				end
1358
				for _, c in pairs(CLONE:GetDescendants()) do
1359
					if c:IsA("BasePart") then
1360
						c.Anchored = true
1361
						c.Material = MATERIALS[MRANDOM(1,2)]
1362
						c.Transparency = c.Transparency + 0.8/35
1363
						if A == false then
1364
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1365
						elseif A == true then
1366
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1367
						end
1368
					end
1369
				end
1370
				Swait()
1371
			end
1372
			CLONE:remove()
1373
		end))
1374
	end
1375
end
1376
1377
function ApplyAoE(POSITION,RANGE,ISBANISH)
1378
	local CHILDREN = workspace:GetDescendants()
1379
	for index, CHILD in pairs(CHILDREN) do
1380
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1381
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1382
			if HUM then
1383
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1384
				if TORSO then
1385
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1386
						if ISBANISH == true then
1387
							Banish(CHILD)
1388
						else
1389
							if ISBANISH == "Gravity" then
1390
								HUM.PlatformStand = true
1391
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1392
									local grav = Instance.new("BodyPosition",TORSO)
1393
									grav.D = 15
1394
									grav.P = 20000
1395
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1396
									grav.position = TORSO.Position
1397
									grav.Name = "V3BanishForce"..Player.Name
1398
								else
1399
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1400
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1401
								end
1402
							else
1403
								HUM.PlatformStand = false
1404
							end
1405
						end
1406
					elseif ISBANISH == "Gravity" then
1407
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1408
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1409
							HUM.PlatformStand = false
1410
						end
1411
					end
1412
				end
1413
			end
1414
		end
1415
	end
1416
end
1417
1418
--//=================================\\
1419
--||	ATTACK FUNCTIONS AND STUFF
1420
--\\=================================//
1421
1422
function Debree(POS,SWAIT)
1423
	coroutine.resume(coroutine.create(function()
1424
		local HOLDER = IT("Model",Effects)
1425
		HOLDER.Name = "Debree"
1426
		local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1427
		MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Really red",VT(0,0,0))
1428
		MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Really red",VT(0,0,0))
1429
		MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Really red",VT(0,0,0))
1430
		repeat Swait() until HITFLOOR ~= nil
1431
		local O = 0
1432
		for i = 1, 18 do
1433
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Really red", VT(3,3,3))
1434
			Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
1435
			O = O - (45/4)/5+i/4
1436
			coroutine.resume(coroutine.create(function()
1437
				Swait(SWAIT)
1438
				for i = 1, 60 do
1439
					Swait()
1440
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
1441
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
1442
				end
1443
				for i = 1, 50 do
1444
					Swait()
1445
					Part.Size = Part.Size * 0.9
1446
				end
1447
			end))
1448
		end
1449
		local O = 0
1450
		for i = 1, 18 do
1451
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Really red", VT(3,3,3))
1452
			Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
1453
			O = O + (45/4)/5-i/4
1454
			coroutine.resume(coroutine.create(function()
1455
				Swait(SWAIT)
1456
				for i = 1, 60 do
1457
					Swait()
1458
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
1459
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
1460
				end
1461
				for i = 1, 50 do
1462
					Swait()
1463
					Part.Size = Part.Size * 0.9
1464
				end
1465
			end))
1466
		end
1467
		Swait(SWAIT+110)
1468
		HOLDER:remove()
1469
	end))
1470
end
1471
1472
1473
1474
1475
function WarpVector()
1476
	ATTACK = false
1477
	Rooted = true
1478
	
1479
	Debree(CF(RootPart.Position)*CF(0,-2.8,0).p,75)
1480
	UNANCHOR = false
1481
	
1482
	RootPart.Anchored = true
1483
	for i=0, 2, 0.1 / Animation_Speed do
1484
		Swait()
1485
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1486
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1487
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1488
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1489
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1490
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1491
	end
1492
1493
	local POS = RootPart.Position
1494
	RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2.8,0).p,POS)
1495
	Debree(CF(RootPart.Position)*CF(0,-2.5,0).p,150)
1496
	for i=0, 2, 0.1 / Animation_Speed do
1497
		Swait()
1498
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1499
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1500
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1501
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1502
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1503
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1504
	end
1505
UNANCHOR = true
1506
	ATTACK = false
1507
	Rooted = false
1508
end
1509
1510
function Banisher_Bullet()
1511
	ATTACK = true
1512
	Rooted = false
1513
	for i=2, 2, 2 / Animation_Speed do
1514
		Swait()
1515
		turnto(Mouse.Hit.p)
1516
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
1517
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1518
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1519
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1520
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1521
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1522
	end
1523
	repeat
1524
		for i=0, 0.2, 0.1 / Animation_Speed do
1525
			Swait()
1526
			turnto(Mouse.Hit.p)
1527
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
1528
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1529
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1530
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1531
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1532
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1533
		end
1534
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1535
		SpawnTrail(Hole.Position,POS)
1536
		if HIT ~= nil then
1537
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1538
				Banish(HIT.Parent)
1539
			end
1540
		end
1541
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1542
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1543
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1544
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1545
		for i=0, 0.3, 0.1 / Animation_Speed do
1546
			Swait()
1547
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
1548
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1549
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1550
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1551
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1552
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1553
		end
1554
	until KEYHOLD == false
1555
	ATTACK = false
1556
	Rooted = false
1557
end
1558
1559
function AttackTemplate()
1560
	ATTACK = true
1561
	Rooted = false
1562
	for i=0, 1, 0.1 / Animation_Speed do
1563
		Swait()
1564
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1565
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1566
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1567
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1568
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1569
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1570
	end
1571
	ATTACK = false
1572
	Rooted = false
1573
end
1574
1575
--//=================================\\
1576
--||	  ASSIGN THINGS TO KEYS
1577
--\\=================================//
1578
1579
function MouseDown(Mouse)
1580
	if ATTACK == false then
1581
	end
1582
end
1583
1584
function MouseUp(Mouse)
1585
HOLD = false
1586
end
1587
1588
function KeyDown(Key)
1589
	KEYHOLD = true
1590
	if Key == "z" and ATTACK == false then
1591
		Banisher_Bullet()
1592
	end
1593
1594
	if Key == "b" and ATTACK == false then
1595
	end
1596
1597
	if Key == "v" and ATTACK == false then
1598
	end
1599
1600
	if Key == "t" and ATTACK == false then
1601
		Taunt()
1602
	end
1603
1604
	if Key == "x" and ATTACK == false then
1605
	end
1606
1607
	if Key == "c" and ATTACK == false then
1608
		WarpVector()
1609
	end
1610
end
1611
1612
function KeyUp(Key)
1613
	KEYHOLD = false
1614
end
1615
1616
	Mouse.Button1Down:connect(function(NEWKEY)
1617
		MouseDown(NEWKEY)
1618
	end)
1619
	Mouse.Button1Up:connect(function(NEWKEY)
1620
		MouseUp(NEWKEY)
1621
	end)
1622
	Mouse.KeyDown:connect(function(NEWKEY)
1623
		KeyDown(NEWKEY)
1624
	end)
1625
	Mouse.KeyUp:connect(function(NEWKEY)
1626
		KeyUp(NEWKEY)
1627
	end)
1628
1629
--//=================================\\
1630
--\\=================================//
1631
1632
1633
function unanchor()
1634
	if UNANCHOR == true then
1635
		g = Character:GetChildren()
1636
		for i = 1, #g do
1637
			if g[i].ClassName == "Part" then
1638
				g[i].Anchored = false
1639
			end
1640
		end
1641
	end
1642
end
1643
1644
1645
--//=================================\\
1646
--||	WRAP THE WHOLE SCRIPT UP
1647
--\\=================================//
1648
1649
Humanoid.Changed:connect(function(Jump)
1650
	if Jump == "Jump" and (Disable_Jump == true) then
1651
		Humanoid.Jump = false
1652
	end
1653
end)
1654
1655
local CONNECT = nil
1656
1657
while true do
1658
	Swait()
1659
	ANIMATE.Parent = nil
1660
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1661
		Humanoid = IT("Humanoid",Character)
1662
	end
1663
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1664
	    v:Stop();
1665
	end
1666
	SINE = SINE + CHANGE
1667
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1668
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1669
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1670
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1671
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1672
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1673
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1674
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1675
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1676
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1677
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1678
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1679
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1680
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1681
	end
1682
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1683
		ANIM = "Jump"
1684
		if ATTACK == false then
1685
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1686
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1687
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
1688
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
1689
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
1690
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
1691
	    end
1692
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1693
		ANIM = "Fall"
1694
		if ATTACK == false then
1695
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1696
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1697
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
1698
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
1699
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.3 / Animation_Speed)
1700
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.3 / Animation_Speed)
1701
		end
1702
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1703
		ANIM = "Idle"
1704
		if ATTACK == false then
1705
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.16 / Animation_Speed)
1706
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.16 / Animation_Speed)
1707
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
1708
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.16 / Animation_Speed)
1709
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
1710
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
1711
		end
1712
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1713
		ANIM = "Walk"
1714
		if ATTACK == false then
1715
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.16 / Animation_Speed)
1716
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.16 / Animation_Speed)
1717
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
1718
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
1719
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1720
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1721
		end
1722
	end
1723
	unanchor()
1724
	Humanoid.MaxHealth = "inf"
1725
	Humanoid.Health = "inf"
1726
	if Rooted == false then
1727
		Disable_Jump = false
1728
		Humanoid.WalkSpeed = Speed
1729
	elseif Rooted == true then
1730
		Disable_Jump = true
1731
		Humanoid.WalkSpeed = 0
1732
	end
1733
	sick.Parent = Torso
1734
	sick:resume()
1735
	sick.Volume = 3
1736
	sick.Pitch = 1
1737
	sick.SoundId = "rbxassetid://397952612" -- the music
1738
	sick.Name = "BanishV3Music"
1739
        end
1740
	if Head:FindFirstChild("face") then
1741
		Head.face.Texture = "rbxassetid://176217464"
1742
end
1743
1744
Humanoid.Changed:connect(function(Jump)
1745
	if Jump == "Jump" and (Disable_Jump == true) then
1746
		Humanoid.Jump = false
1747
	end
1748
end)
1749
1750
local BLINKLOOP = 0
1751
1752
while true do
1753
	Swait()
1754
	script.Parent = WEAPONGUI
1755
	ANIMATE.Parent = nil
1756
	Humanoid.Parent = Character
1757
	if Humanoid then
1758
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1759
		IDLEANIMATION:Play()
1760
	end
1761
	SINE = SINE + CHANGE
1762
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1763
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1764
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1765
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1766
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1767
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1768
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1769
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1770
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1771
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1772
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1773
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1774
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1775
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1776
	end
1777
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1778
		ANIM = "Jump"
1779
		if ATTACK == false then
1780
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1781
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1782
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1783
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1784
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1785
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1786
	    end
1787
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1788
		ANIM = "Fall"
1789
		if ATTACK == false then
1790
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1791
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1792
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1793
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1794
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1795
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1796
		end
1797
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1798
		ANIM = "Idle"
1799
		if ATTACK == false then
1800
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
1801
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
1802
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1803
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1804
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1805
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1806
		end
1807
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1808
		ANIM = "Walk"
1809
		if ATTACK == false then
1810
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1811
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1812
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1813
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
1814
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1815
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1816
		end
1817
	end
1818
	unanchor()
1819
	Humanoid.MaxHealth = "inf"
1820
	Humanoid.Health = "inf"
1821
	if Rooted == false then
1822
		Disable_Jump = false
1823
		Humanoid.WalkSpeed = Speed
1824
	elseif Rooted == true then
1825
		Disable_Jump = true
1826
		Humanoid.WalkSpeed = 0
1827
	end
1828
	sick.SoundId = "rbxassetid://397952612"
1829
	sick.Looped = true
1830
	sick.Pitch = 1
1831
	sick.Volume = 3.1
1832
	sick.Playing = true
1833
	sick.Parent = Torso
1834
	if Head:FindFirstChild("face") then
1835
		Head.face.Texture = "rbxassetid://404306534"
1836
	end
1837
	BLINKLOOP = BLINKLOOP + 1
1838
	if BLINKLOOP >=650 then
1839
		BLINKLOOP = 0
1840
		Blink()
1841
	end
1842
	if #GHOSTS>0 then
1843
		for e=1,#GHOSTS do
1844
			if GHOSTS[e]~=nil then
1845
				local Thing=GHOSTS[e]
1846
				if Thing~=nil then
1847
					if Thing:FindFirstChild("Head") then
1848
						if Thing:FindFirstChild("Head"):FindFirstChild("face") then
1849
							Thing:FindFirstChild("Head").face.Texture = "rbxassetid://479674570"
1850
						end
1851
						if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then
1852
							Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove()
1853
						end
1854
					end
1855
					local TORSO = Thing:FindFirstChild("Torso")
1856
					if TORSO then
1857
						TORSO.Anchored = false
1858
						local ROOT = Thing.HumanoidRootPart
1859
						local RootJoint1 = ROOT:FindFirstChild("RootJoint")
1860
						local Neck1 = TORSO:FindFirstChild("Neck")
1861
						local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder")
1862
						local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder")
1863
						local RightHip1 = TORSO:FindFirstChild("Right Hip")
1864
						local LeftHip1 = TORSO:FindFirstChild("Left Hip")
1865
						if ROOT and RootJoint1 then
1866
							local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
1867
							if VELOCITY < 1 then
1868
								RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
1869
								Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
1870
								RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
1871
								LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
1872
								RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0))
1873
								LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0))
1874
							elseif VELOCITY > 1 then
1875
								RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
1876
								Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
1877
								RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
1878
								LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
1879
								RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0))
1880
								LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0))
1881
							end
1882
						end
1883
						local Human = Thing.Humanoid
1884
						if Human then
1885
							Human.HipHeight = 0.3
1886
							for _, c in pairs(Thing:GetChildren()) do
1887
								if c.ClassName == "Part" and c.Transparency < 1 then
1888
									c.Color = C3(255, 0, 0)
1889
									c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
1890
								elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
1891
									c:remove()
1892
								end
1893
							end
1894
							if Human then
1895
								local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION)
1896
								IDLEANIMATION:Play()
1897
							end
1898
							local list = game.Workspace:children()
1899
							local torso = nil
1900
							local dist = 50
1901
							local temp = nil
1902
							local human = nil
1903
							local temp2 = nil
1904
							local OwnerInDanger = false
1905
							for x = 1, #list do
1906
								temp2 = list[x]
1907
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
1908
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
1909
									human = temp2:findFirstChildOfClass("Humanoid")
1910
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
1911
										if (temp.Position - Torso.Position).magnitude < 15 then
1912
											OwnerInDanger = true
1913
											newdist = (temp.Position - TORSO.Position).magnitude
1914
											dist = (Torso.Position - temp.Position).magnitude
1915
											Human:MoveTo(temp.Position)
1916
											torso = temp
1917
											if newdist < 7 then
1918
												torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5)
1919
												CreateSound(814168787, temp, 1, 2, false)
1920
												ApplyDamage(human,MRANDOM(15,35),temp)
1921
												WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1922
												WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1923
											end
1924
										end
1925
									end
1926
								end
1927
							end
1928
							if OwnerInDanger == false then
1929
								for x = 1, #list do
1930
									temp2 = list[x]
1931
									if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
1932
										temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
1933
										human = temp2:findFirstChildOfClass("Humanoid")
1934
										if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
1935
											if (temp.Position - Torso.Position).magnitude < dist then
1936
												newdist = (temp.Position - TORSO.Position).magnitude
1937
												Human:MoveTo(temp.Position)
1938
												torso = temp
1939
												if newdist < 15 then
1940
													if MRANDOM(1,35) == 1 then
1941
														CreateSound(438665935, temp, 1, 3, false)
1942
														ApplyDamage(human,MRANDOM(2,20),temp)
1943
														WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1944
													end
1945
												end
1946
											end
1947
										end
1948
									end
1949
								end
1950
							end
1951
							if torso == nil then
1952
								Human.WalkSpeed = Speed -0.2
1953
								if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then
1954
									Human:MoveTo(TORSO.Position)
1955
								elseif (Torso.Position - TORSO.Position).magnitude > 15 then
1956
									Human:MoveTo(Torso.Position)
1957
								elseif (Torso.Position - TORSO.Position).magnitude < 11 then
1958
									Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p)
1959
								end
1960
							else
1961
								if OwnerInDanger == false then
1962
									Human.WalkSpeed = Speed*1.2
1963
								else
1964
									Human.WalkSpeed = Speed*5
1965
								end
1966
							end
1967
							if Human.Health == 0 then
1968
								Thing:remove()
1969
								table.remove(GHOSTS,e)
1970
							else
1971
								Human.Health = Human.Health + 0.5
1972
							end
1973
						else
1974
							Thing:remove()
1975
							table.remove(GHOSTS,e)
1976
						end
1977
					else
1978
						Thing:remove()
1979
						table.remove(GHOSTS,e)
1980
					end
1981
				end
1982
			end
1983
		end
1984
	end
1985
	refit()
1986
end
1987
1988
--//=================================\\
1989
--\\=================================//
1990
1991
1992
1993
1994
1995
--//====================================================\\--
1996
--||			  		 END OF SCRIPT
1997
--\\====================================================//--