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