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