View difference between Paste ID: XQWtyaT5 and wCkr67t6
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			   SCRIPT EDIT BY VOYQGO
3
--\\====================================================//--
4
5
script:ClearAllChildren()
6
wait(0.2)
7
8
Player = game:GetService("Players").LocalPlayer
9
PlayerGui = Player.PlayerGui
10
Cam = workspace.CurrentCamera
11
Backpack = Player.Backpack
12
Character = Player.Character
13
Humanoid = Character.Humanoid
14
Mouse = Player:GetMouse()
15
RootPart = Character["HumanoidRootPart"]
16
Torso = Character["Torso"]
17
Head = Character["Head"]
18
RightArm = Character["Right Arm"]
19
LeftArm = Character["Left Arm"]
20
RightLeg = Character["Right Leg"]
21
LeftLeg = Character["Left Leg"]
22
RootJoint = RootPart["RootJoint"]
23
Neck = Torso["Neck"]
24
RightShoulder = Torso["Right Shoulder"]
25
LeftShoulder = Torso["Left Shoulder"]
26
RightHip = Torso["Right Hip"]
27
LeftHip = Torso["Left Hip"]
28
local sick = Instance.new("Sound",Torso)
29
sick.SoundId = "rbxassetid://848439234"
30
sick.Looped = true
31
sick.Pitch = 1
32
sick.Volume = 3
33
sick:Play()
34
35
IT = Instance.new
36
CF = CFrame.new
37
VT = Vector3.new
38
RAD = math.rad
39
C3 = Color3.new
40
UD2 = UDim2.new
41
BRICKC = BrickColor.new
42
ANGLES = CFrame.Angles
43
EULER = CFrame.fromEulerAnglesXYZ
44
COS = math.cos
45
ACOS = math.acos
46
SIN = math.sin
47
ASIN = math.asin
48
ABS = math.abs
49
MRANDOM = math.random
50
FLOOR = math.floor
51
--//=================================\\
52
--|| 	      USEFUL VALUES
53
--\\=================================//
54
55
Animation_Speed = 3
56
local FORCERESET = false
57
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
58
local Speed = 16
59
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
60
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
61
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
62
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
63
local DAMAGEMULTIPLIER = 1
64
local ANIM = "Idle"
65
local ATTACK = false
66
local EQUIPPED = false
67
local HOLD = false
68
local COMBO = 1
69
local Rooted = false
70
local SINE = 0
71
local KEYHOLD = false
72
local CHANGE = 2 / Animation_Speed
73
local WALKINGANIM = false
74
local VALUE1 = false
75
local VALUE2 = false
76
local ROBLOXIDLEANIMATION = IT("Animation")
77
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
78
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
79
--ROBLOXIDLEANIMATION.Parent = Humanoid
80
local WEAPONGUI = IT("ScreenGui", PlayerGui)
81
WEAPONGUI.Name = "BanishV3Gui"
82
local Weapon = IT("Model")
83
Weapon.Name = "Adds"
84
local Effects = IT("Folder", Weapon)
85
Effects.Name = "Effects"
86
local ANIMATOR = Humanoid.Animator
87
local ANIMATE = Character:FindFirstChild("Animate")
88
local UNANCHOR = true
89
local TOBANISH = {}
90
script.Parent = PlayerGui
91
92
--//=================================\\
93
--\\=================================//
94
95
96
--//=================================\\
97
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
98
--\\=================================//
99
100
ArtificialHB = Instance.new("BindableEvent", script)
101
ArtificialHB.Name = "ArtificialHB"
102
103
script:WaitForChild("ArtificialHB")
104
105
frame = Frame_Speed
106
tf = 0
107
allowframeloss = false
108
tossremainder = false
109
lastframe = tick()
110
script.ArtificialHB:Fire()
111
112
game:GetService("RunService").Heartbeat:connect(function(s, p)
113
	tf = tf + s
114
	if tf >= frame then
115
		if allowframeloss then
116
			script.ArtificialHB:Fire()
117
			lastframe = tick()
118
		else
119
			for i = 1, math.floor(tf / frame) do
120
				script.ArtificialHB:Fire()
121
			end
122
		lastframe = tick()
123
		end
124
		if tossremainder then
125
			tf = 0
126
		else
127
			tf = tf - frame * math.floor(tf / frame)
128
		end
129
	end
130
end)
131
132
--//=================================\\
133
--\\=================================//
134
135
--//=================================\\
136
--|| 	      SOME FUNCTIONS
137
--\\=================================//
138
139
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
140
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
141
end
142
143
function PositiveAngle(NUMBER)
144
	if NUMBER >= 0 then
145
		NUMBER = 0
146
	end
147
	return NUMBER
148
end
149
150
function NegativeAngle(NUMBER)
151
	if NUMBER <= 0 then
152
		NUMBER = 0
153
	end
154
	return NUMBER
155
end
156
157
function Swait(NUMBER)
158
	if NUMBER == 0 or NUMBER == nil then
159
		ArtificialHB.Event:wait()
160
	else
161
		for i = 1, NUMBER do
162
			ArtificialHB.Event:wait()
163
		end
164
	end
165
end
166
167
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
168
	local NEWMESH = IT(MESH)
169
	if MESH == "SpecialMesh" then
170
		NEWMESH.MeshType = MESHTYPE
171
		if MESHID ~= "nil" and MESHID ~= "" then
172
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
173
		end
174
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
175
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
176
		end
177
	end
178
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
179
	NEWMESH.Scale = SCALE
180
	NEWMESH.Parent = PARENT
181
	return NEWMESH
182
end
183
184
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
185
	local NEWPART = IT("Part")
186
	NEWPART.formFactor = FORMFACTOR
187
	NEWPART.Reflectance = REFLECTANCE
188
	NEWPART.Transparency = TRANSPARENCY
189
	NEWPART.CanCollide = false
190
	NEWPART.Locked = true
191
	NEWPART.Anchored = true
192
	if ANCHOR == false then
193
		NEWPART.Anchored = false
194
	end
195
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
196
	NEWPART.Name = NAME
197
	NEWPART.Size = SIZE
198
	NEWPART.Position = Torso.Position
199
	NEWPART.Material = MATERIAL
200
	NEWPART:BreakJoints()
201
	NEWPART.Parent = PARENT
202
	return NEWPART
203
end
204
205
	local function weldBetween(a, b)
206
	    local weldd = Instance.new("ManualWeld")
207
	    weldd.Part0 = a
208
	    weldd.Part1 = b
209
	    weldd.C0 = CFrame.new()
210
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
211
	    weldd.Parent = a
212
	    return weldd
213
	end
214
215
216
function QuaternionFromCFrame(cf)
217
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
218
	local trace = m00 + m11 + m22
219
	if trace > 0 then 
220
		local s = math.sqrt(1 + trace)
221
		local recip = 0.5 / s
222
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
223
	else
224
		local i = 0
225
		if m11 > m00 then
226
			i = 1
227
		end
228
		if m22 > (i == 0 and m00 or m11) then
229
			i = 2
230
		end
231
		if i == 0 then
232
			local s = math.sqrt(m00 - m11 - m22 + 1)
233
			local recip = 0.5 / s
234
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
235
		elseif i == 1 then
236
			local s = math.sqrt(m11 - m22 - m00 + 1)
237
			local recip = 0.5 / s
238
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
239
		elseif i == 2 then
240
			local s = math.sqrt(m22 - m00 - m11 + 1)
241
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
242
		end
243
	end
244
end
245
 
246
function QuaternionToCFrame(px, py, pz, x, y, z, w)
247
	local xs, ys, zs = x + x, y + y, z + z
248
	local wx, wy, wz = w * xs, w * ys, w * zs
249
	local xx = x * xs
250
	local xy = x * ys
251
	local xz = x * zs
252
	local yy = y * ys
253
	local yz = y * zs
254
	local zz = z * zs
255
	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))
256
end
257
 
258
function QuaternionSlerp(a, b, t)
259
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
260
	local startInterp, finishInterp;
261
	if cosTheta >= 0.0001 then
262
		if (1 - cosTheta) > 0.0001 then
263
			local theta = ACOS(cosTheta)
264
			local invSinTheta = 1 / SIN(theta)
265
			startInterp = SIN((1 - t) * theta) * invSinTheta
266
			finishInterp = SIN(t * theta) * invSinTheta
267
		else
268
			startInterp = 1 - t
269
			finishInterp = t
270
		end
271
	else
272
		if (1 + cosTheta) > 0.0001 then
273
			local theta = ACOS(-cosTheta)
274
			local invSinTheta = 1 / SIN(theta)
275
			startInterp = SIN((t - 1) * theta) * invSinTheta
276
			finishInterp = SIN(t * theta) * invSinTheta
277
		else
278
			startInterp = t - 1
279
			finishInterp = t
280
		end
281
	end
282
	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
283
end
284
285
function Clerp(a, b, t)
286
	local qa = {QuaternionFromCFrame(a)}
287
	local qb = {QuaternionFromCFrame(b)}
288
	local ax, ay, az = a.x, a.y, a.z
289
	local bx, by, bz = b.x, b.y, b.z
290
	local _t = 1 - t
291
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
292
end
293
294
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
295
	local frame = IT("Frame")
296
	frame.BackgroundTransparency = TRANSPARENCY
297
	frame.BorderSizePixel = BORDERSIZEPIXEL
298
	frame.Position = POSITION
299
	frame.Size = SIZE
300
	frame.BackgroundColor3 = COLOR
301
	frame.BorderColor3 = BORDERCOLOR
302
	frame.Name = NAME
303
	frame.Parent = PARENT
304
	return frame
305
end
306
307
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
308
	local label = IT("TextLabel")
309
	label.BackgroundTransparency = 1
310
	label.Size = UD2(1, 0, 1, 0)
311
	label.Position = UD2(0, 0, 0, 0)
312
	label.TextColor3 = TEXTCOLOR
313
	label.TextStrokeTransparency = STROKETRANSPARENCY
314
	label.TextTransparency = TRANSPARENCY
315
	label.FontSize = TEXTFONTSIZE
316
	label.Font = TEXTFONT
317
	label.BorderSizePixel = BORDERSIZEPIXEL
318
	label.TextScaled = false
319
	label.Text = TEXT
320
	label.Name = NAME
321
	label.Parent = PARENT
322
	return label
323
end
324
325
function NoOutlines(PART)
326
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
327
end
328
329
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
330
	local NEWWELD = IT(TYPE)
331
	NEWWELD.Part0 = PART0
332
	NEWWELD.Part1 = PART1
333
	NEWWELD.C0 = C0
334
	NEWWELD.C1 = C1
335
	NEWWELD.Parent = PARENT
336
	return NEWWELD
337
end
338
339
local S = IT("Sound")
340
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
341
	local NEWSOUND = nil
342
	coroutine.resume(coroutine.create(function()
343
		NEWSOUND = S:Clone()
344
		NEWSOUND.Parent = PARENT
345
		NEWSOUND.Volume = VOLUME
346
		NEWSOUND.Pitch = PITCH
347
		NEWSOUND.SoundId = "1753701701"..ID
348
		NEWSOUND:play()
349
		if DOESLOOP == true then
350
			NEWSOUND.Looped = true
351
		else
352
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
353
			NEWSOUND:remove()
354
		end
355
	end))
356
	return NEWSOUND
357
end
358
359
function CFrameFromTopBack(at, top, back)
360
	local right = top:Cross(back)
361
	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)
362
end
363
364
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
365
function WACKYEFFECT(Table)
366
	local TYPE = (Table.EffectType or "Sphere")
367
	local SIZE = (Table.Size or VT(1,1,1))
368
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
369
	local TRANSPARENCY = (Table.Transparency or 0)
370
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
371
	local CFRAME = (Table.CFrame or Torso.CFrame)
372
	local MOVEDIRECTION = (Table.MoveToPos or nil)
373
	local ROTATION1 = (Table.RotationX or 0)
374
	local ROTATION2 = (Table.RotationY or 0)
375
	local ROTATION3 = (Table.RotationZ or 0)
376
	local MATERIAL = (Table.Material or "Neon")
377
	local COLOR = (Table.Color or C3(1,1,1))
378
	local TIME = (Table.Time or 45)
379
	local SOUNDID = (Table.SoundID or nil)
380
	local SOUNDPITCH = (Table.SoundPitch or nil)
381
	local SOUNDVOLUME = (Table.SoundVolume or nil)
382
	coroutine.resume(coroutine.create(function()
383
		local PLAYSSOUND = false
384
		local SOUND = nil
385
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
386
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
387
			PLAYSSOUND = true
388
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
389
		end
390
		EFFECT.Color = COLOR
391
		local MSH = nil
392
		if TYPE == "Sphere" then
393
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
394
		elseif TYPE == "Block" then
395
			MSH = IT("BlockMesh",EFFECT)
396
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
397
		elseif TYPE == "Wave" then
398
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
399
		elseif TYPE == "Ring" then
400
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
401
		elseif TYPE == "Slash" then
402
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
403
		elseif TYPE == "Round Slash" then
404
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
405
		elseif TYPE == "Swirl" then
406
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
407
		elseif TYPE == "Skull" then
408
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
409
		elseif TYPE == "Crystal" then
410
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
411
		end
412
		if MSH ~= nil then
413
			local MOVESPEED = nil
414
			if MOVEDIRECTION ~= nil then
415
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
416
			end
417
			local GROWTH = SIZE - ENDSIZE
418
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
419
			if TYPE == "Block" then
420
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
421
			else
422
				EFFECT.CFrame = CFRAME
423
			end
424
			for LOOP = 1, TIME+1 do
425
				Swait()
426
				MSH.Scale = MSH.Scale - GROWTH/TIME
427
				if TYPE == "Wave" then
428
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
429
				end
430
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
431
				if TYPE == "Block" then
432
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
433
				else
434
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
435
				end
436
				if MOVEDIRECTION ~= nil then
437
					local ORI = EFFECT.Orientation
438
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
439
					EFFECT.Orientation = ORI
440
				end
441
			end
442
			if PLAYSSOUND == false then
443
				EFFECT:remove()
444
			else
445
				SOUND.Stopped:Connect(function()
446
					EFFECT:remove()
447
				end)
448
			end
449
		else
450
			if PLAYSSOUND == false then
451
				EFFECT:remove()
452
			else
453
				repeat Swait() until SOUND.Playing == false
454
				EFFECT:remove()
455
			end
456
		end
457
	end))
458
end
459
460
function MakeForm(PART,TYPE)
461
	if TYPE == "Cyl" then
462
		local MSH = IT("CylinderMesh",PART)
463
	elseif TYPE == "Ball" then
464
		local MSH = IT("SpecialMesh",PART)
465
		MSH.MeshType = "Sphere"
466
	elseif TYPE == "Wedge" then
467
		local MSH = IT("SpecialMesh",PART)
468
		MSH.MeshType = "Wedge"
469
	end
470
end
471
472
function SpawnTrail(FROM,TO,BIG)
473
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
474
	MakeForm(TRAIL,"Cyl")
475
	local DIST = (FROM - TO).Magnitude
476
	if BIG == true then
477
		TRAIL.Size = VT(0.5,DIST,0.5)
478
	else
479
		TRAIL.Size = VT(0.25,DIST,0.25)
480
	end
481
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
482
	coroutine.resume(coroutine.create(function()
483
		for i = 1, 5 do
484
			Swait()
485
			TRAIL.Transparency = TRAIL.Transparency + 0.1
486
		end
487
		TRAIL:remove()
488
	end))
489
end
490
491
Debris = game:GetService("Debris")
492
493
function CastProperRay(StartPos, EndPos, Distance, Ignore)
494
	local DIRECTION = CF(StartPos,EndPos).lookVector
495
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
496
end
497
498
function turnto(position)
499
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
500
end
501
502
--//=================================\\
503
--||	     WEAPON CREATION
504
--\\=================================//
505
506-
for i = 1, 15 do
506+
507-
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
507+
508-
	FACE.Color = C3(0,0,0)
508+
509-
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
509+
510-
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
510+
511
MakeForm(BELT,"Cyl")
512
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
513
local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.3,2.2,1.3),false)
514
MakeForm(HAT2,"Cyl")
515
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
516
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.31,0.2,1.31),false)
517
BELT.Color = C3(15/255,15/255,15/255)
518
MakeForm(BELT,"Cyl")
519
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
520
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Really red", VT(0.25,0.25,0.1),false)
521
MakeForm(GEM,"Ball")
522
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
523
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Really red", VT(0.25,0.25,0.1),false)
524
MakeForm(GEM,"Ball")
525
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
526
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Really red", VT(0.1,0.25,0.25),false)
527
MakeForm(GEM,"Ball")
528
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
529
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Really red", VT(0.1,0.25,0.25),false)
530
MakeForm(GEM,"Ball")
531
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
532
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.31,0.1,1.31),false)
533
BELT.Color = C3(15/255,15/255,15/255)
534
MakeForm(BELT,"Cyl")
535
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
536
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.31,0.1,1.31),false)
537
BELT.Color = C3(15/255,15/255,15/255)
538
MakeForm(BELT,"Cyl")
539
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
540
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.31,0.1,1.31),false)
541
BELT.Color = C3(15/255,15/255,15/255)
542
MakeForm(BELT,"Cyl")
543
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
544
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.31,0.1,1.31),false)
545
BELT.Color = C3(15/255,15/255,15/255)
546
MakeForm(BELT,"Cyl")
547
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
548
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.3,0.5,1.3),false)
549
MakeForm(BELT,"Ball")
550
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
551
552
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
553
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
554
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
555
MakeForm(Part,"Wedge")
556
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
557-
Humanoid.DisplayDistanceType = "None"
557+
558-
local naeeym2 = IT("BillboardGui",Character)
558+
559-
naeeym2.AlwaysOnTop = true
559+
560-
naeeym2.Size = UDim2.new(5,35,2,15)
560+
561-
naeeym2.StudsOffset = Vector3.new(0,3,0)
561+
562-
naeeym2.MaxDistance = 75
562+
563-
naeeym2.Adornee = Character.Head
563+
564-
naeeym2.Name = "Name"
564+
565-
naeeym2.PlayerToHideFrom = Player
565+
566-
local tecks2 = IT("TextLabel",naeeym2)
566+
567-
tecks2.BackgroundTransparency = 1
567+
568-
tecks2.TextScaled = true
568+
569-
tecks2.BorderSizePixel = 0
569+
570-
tecks2.Text = "X God"
570+
571-
tecks2.Font = "Bodoni"
571+
572-
tecks2.TextSize = 30
572+
573-
tecks2.TextStrokeTransparency = 0.5
573+
574-
tecks2.TextColor3 = C3(0,0,0)
574+
575-
tecks2.TextStrokeColor3 = BRICKC"Lavender".Color
575+
576-
tecks2.Size = UDim2.new(1,0,0.5,0)
576+
577-
tecks2.Parent = naeeym2
577+
578-
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.15,0.15,0.15),false)
578+
579-
MakeForm(EYE,"Ball")
579+
580-
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.55), CF(0, 0, 0))
580+
581-
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.05,0.14,0.05),false)
581+
582-
EYE.Color = C3(0,0,0)
582+
583-
MakeForm(EYE,"Ball")
583+
584-
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.6), CF(0, 0, 0))
584+
585
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false)
586
MakeForm(Part,"Cyl")
587
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
588
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false)
589
MakeForm(Part,"Cyl")
590
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
591
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
592
MakeForm(Part,"Wedge")
593
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
594
local LASTPART = Handle
595
for i = 1, 10 do
596
	if LASTPART == Handle then
597
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false)
598
		LASTPART = Part
599
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
600
	else
601
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false)
602
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
603
		LASTPART = Part
604
	end
605
end
606
607
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false)
608
MakeForm(Barrel,"Cyl")
609
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
610
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false)
611
MakeForm(Part,"Cyl")
612
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
613
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false)
614
MakeForm(Part,"Wedge")
615
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
616
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false)
617
MakeForm(Hole,"Cyl")
618
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
619
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false)
620
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
621
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
622
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false)
623
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
624
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
625
coroutine.resume(coroutine.create(function()
626
	while wait() do
627
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
628
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
629
	end
630
end))
631
632
for _, c in pairs(Weapon:GetDescendants()) do
633
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
634
		c.Material = "Glass"
635
		c.Color = C3(0,0,0)
636
	elseif c.ClassName == "Part" and c.Name == "Eye" then
637
		c.Color = C3(1,0,0)
638
		c.Material = "Neon"
639
	end
640
end
641
642
Weapon.Parent = Character
643
for _, c in pairs(Weapon:GetChildren()) do
644
	if c.ClassName == "Part" then
645
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
646
	end
647
end
648
649
local SKILLTEXTCOLOR = C3(1,0,0)
650
local SKILLFONT = "Antique"
651
local SKILLTEXTSIZE = 7
652
653
Humanoid.Died:connect(function()
654
	ATTACK = true
655
end)
656
657
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
658
--[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
659
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
660
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
661
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
662
]]
663
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
664
--[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
665
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
666
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
667
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
668
]]
669
function printbye(Name)
670
	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, "}
671
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
672
end
673
674
workspace.ChildAdded:connect(function(instance)
675
    for BANISH = 1, #TOBANISH do
676
		if TOBANISH[BANISH] ~= nil then
677
			if instance.Name == TOBANISH[BANISH] then
678
				coroutine.resume(coroutine.create(function()
679
					printbye(instance.Name)
680
					instance:ClearAllChildren()
681
					Debris:AddItem(instance,0.0005)
682
				end))
683
			end
684
		end
685
	end
686
end)
687
688
--//=================================\\
689
--||			DAMAGING
690
--\\=================================//
691
692
function Banish(Foe)
693
	if Foe then
694
		coroutine.resume(coroutine.create(function()
695
			--if game.Players:FindFirstChild(Foe.Name) then
696
				table.insert(TOBANISH,Foe.Name)
697
				printbye(Foe.Name)
698
			--end
699
			Foe.Archivable = true
700
			local CLONE = Foe:Clone()
701
			Foe:Destroy()
702
			CLONE.Parent = Effects
703
			CLONE:BreakJoints()
704
			local MATERIALS = {"Glass","Neon"}
705
			for _, c in pairs(CLONE:GetDescendants()) do
706
				if c:IsA("BasePart") then
707
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
708
 						CreateSound(340722848, c, 10, 1, false)
709
					end
710
					c.Anchored = true
711
					c.Transparency = c.Transparency + 0.2
712
					c.Material = MATERIALS[MRANDOM(1,2)]
713
					c.Color = C3(1,0,0)
714
					if c.ClassName == "MeshPart" then
715
						c.TextureID = ""
716
					end
717
					if c:FindFirstChildOfClass("SpecialMesh") then
718
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
719
					end
720
					if c:FindFirstChildOfClass("Decal") then
721
						c:FindFirstChildOfClass("Decal"):remove()
722
					end
723
					c.Name = "Banished"
724
					c.CanCollide = false
725
				else
726
					c:remove()
727
				end
728
			end
729
			local A = false
730
			for i = 1, 35 do
731
				if A == false then
732
					A = true
733
				elseif A == true then
734
					A = false
735
				end
736
				for _, c in pairs(CLONE:GetDescendants()) do
737
					if c:IsA("BasePart") then
738
						c.Anchored = true
739
						c.Material = MATERIALS[MRANDOM(1,2)]
740
						c.Transparency = c.Transparency + 0.8/35
741
						if A == false then
742
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
743
						elseif A == true then
744
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
745
						end
746
					end
747
				end
748
				Swait()
749
			end
750
			CLONE:remove()
751
		end))
752
	end
753
end
754
755
function ApplyAoE(POSITION,RANGE,ISBANISH)
756
	local CHILDREN = workspace:GetDescendants()
757
	for index, CHILD in pairs(CHILDREN) do
758
		if CHILD.ClassName == "Model" and CHILD ~= Character then
759
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
760
			if HUM then
761
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
762
				if TORSO then
763
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
764
						if ISBANISH == true then
765
							Banish(CHILD)
766
						else
767
							if ISBANISH == "Gravity" then
768
								HUM.PlatformStand = true
769
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
770
									local grav = Instance.new("BodyPosition",TORSO)
771
									grav.D = 15
772
									grav.P = 20000
773
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
774
									grav.position = TORSO.Position
775
									grav.Name = "V3BanishForce"..Player.Name
776
								else
777
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
778
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
779
								end
780
							else
781
								HUM.PlatformStand = false
782
							end
783
						end
784
					elseif ISBANISH == "Gravity" then
785
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
786
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
787
							HUM.PlatformStand = false
788
						end
789
					end
790
				end
791
			end
792
		end
793
	end
794
end
795
796
--//=================================\\
797
--||	ATTACK FUNCTIONS AND STUFF
798
--\\=================================//
799
800
function Banisher_Bullet()
801
	ATTACK = true
802
	Rooted = false
803
	for i=0, 0.4, 0.1 / Animation_Speed do
804
		Swait()
805
		turnto(Mouse.Hit.p)
806
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
807
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
808
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
809
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
810
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
811
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
812
	end
813
	repeat
814
		for i=0, 0.2, 0.1 / Animation_Speed do
815
			Swait()
816
			turnto(Mouse.Hit.p)
817
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
818
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
819
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
820
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
821
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
822
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
823
		end
824
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
825
		SpawnTrail(Hole.Position,POS)
826
		if HIT ~= nil then
827
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
828
				Banish(HIT.Parent)
829
			end
830
		end
831
		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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
832
		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(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
833
		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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
834
		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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
835
		for i=0, 0.3, 0.1 / Animation_Speed do
836
			Swait()
837
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
838
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
839
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
840
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
841
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
842
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
843
		end
844
	until KEYHOLD == false
845
	ATTACK = false
846
	Rooted = false
847
end
848
849
function AttackTemplate()
850
	ATTACK = true
851
	Rooted = false
852
	for i=0, 1, 0.1 / Animation_Speed do
853
		Swait()
854
		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)
855
		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.15 / Animation_Speed)
856
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
857
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
858
		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.15 / Animation_Speed)
859
		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.15 / Animation_Speed)
860
	end
861
	ATTACK = false
862
	Rooted = false
863
end
864
865
--//=================================\\
866
--||	  ASSIGN THINGS TO KEYS
867
--\\=================================//
868
869
function MouseDown(Mouse)
870
	if ATTACK == false then
871
	end
872
end
873
874
function MouseUp(Mouse)
875
HOLD = false
876
end
877
878
function KeyDown(Key)
879
	KEYHOLD = true
880
	if Key == "z" and ATTACK == false then
881
		Banisher_Bullet()
882
	end
883
884
	if Key == "b" and ATTACK == false then
885
	end
886
887
	if Key == "c" and ATTACK == false then
888
	end
889
890
	if Key == "v" and ATTACK == false then
891
	end
892
893
	if Key == "x" and ATTACK == false then
894
	end
895
end
896
897
function KeyUp(Key)
898
	KEYHOLD = false
899
end
900
901
	Mouse.Button1Down:connect(function(NEWKEY)
902
		MouseDown(NEWKEY)
903
	end)
904
	Mouse.Button1Up:connect(function(NEWKEY)
905
		MouseUp(NEWKEY)
906
	end)
907
	Mouse.KeyDown:connect(function(NEWKEY)
908
		KeyDown(NEWKEY)
909
	end)
910
	Mouse.KeyUp:connect(function(NEWKEY)
911
		KeyUp(NEWKEY)
912
	end)
913
914
--//=================================\\
915
--\\=================================//
916
917
918
function unanchor()
919
	if UNANCHOR == true then
920
		g = Character:GetChildren()
921
		for i = 1, #g do
922
			if g[i].ClassName == "Part" then
923
				g[i].Anchored = false
924
			end
925
		end
926
	end
927
end
928
929
930
--//=================================\\
931
--||	WRAP THE WHOLE SCRIPT UP
932
--\\=================================//
933
934
Humanoid.Changed:connect(function(Jump)
935
	if Jump == "Jump" and (Disable_Jump == true) then
936
		Humanoid.Jump = false
937
	end
938
end)
939
940
local CONNECT = nil
941
942
while true do
943
	Swait()
944
	ANIMATE.Parent = nil
945
	if Character:FindFirstChildOfClass("Humanoid") == nil then
946
		Humanoid = IT("Humanoid",Character)
947
	end
948
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
949
	    v:Stop();
950
	end
951
	SINE = SINE + CHANGE
952
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
953
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
954
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
955
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
956
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
957
		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)
958
		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)
959
		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)
960
		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)
961
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
962
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
963
		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)
964
		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)
965
		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)
966
	end
967
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
968
		ANIM = "Jump"
969
		if ATTACK == false then
970
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
971
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
972
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
973
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
974
			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)
975
			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)
976
	    end
977
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
978
		ANIM = "Fall"
979
		if ATTACK == false then
980
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
981
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
982
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
983
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
984
			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)
985
			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)
986
		end
987
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
988
		ANIM = "Idle"
989
		if ATTACK == false then
990
			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)
991
			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)
992
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
993
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
994
			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)
995
			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)
996
		end
997
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
998
		ANIM = "Walk"
999
		if ATTACK == false then
1000
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1001
			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)
1002
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1003
			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)
1004
			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)
1005
			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)
1006
		end
1007
	end
1008
	unanchor()
1009
	Humanoid.MaxHealth = "inf"
1010
	Humanoid.Health = "inf"
1011
	if Rooted == false then
1012
		Disable_Jump = false
1013
		Humanoid.WalkSpeed = Speed
1014
	elseif Rooted == true then
1015
		Disable_Jump = true
1016
		Humanoid.WalkSpeed = 0
1017
	end
1018
	sick.Parent = Torso
1019
	sick:resume()
1020
	sick.Volume = 5
1021
	sick.Pitch = 1
1022
	sick.SoundId = "848439234"
1023
	sick.Name = "X god"
1024
end
1025
1026
--//=================================\\
1027
--\\=================================//
1028
1029
1030
1031
1032
1033
--//====================================================\\--
1034
--||			  		 END OF SCRIPT
1035
--\\====================================================//--