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