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