View difference between Paste ID: RQKVkM77 and fqd5asL5
SHOW: | | - or go back to the newest paste.
1-
script.Name = "Savior"
1+
--]]
2
--https://github.com/Mokiros/roblox-FE-compatibility
3-
--||	CREATED BY SHACKLUSTER EDITED BY DUCKILES
3+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
4-
--\\====================================================//--
4+
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
5
local RealPlayer = Player
6
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
7
8
script:ClearAllChildren()
9
wait(0.2)
10
11
Sound0 = Instance.new("Sound")
12
Sound0.Volume = 9.3
13
Sound0.Parent = game.Players.LocalPlayer.Character.Head
14
Sound0.SoundId = "rbxassetid://1383202399"
15
Sound0.Looped = true
16
Sound0:Play()
17
18
Player = game:GetService("Players").LocalPlayer
19
PlayerGui = Player.PlayerGui
20
Cam = workspace.CurrentCamera
21
Backpack = Player.Backpack
22
Character = Player.Character
23
Humanoid = Character.Humanoid
24
Mouse = Player:GetMouse()
25
RootPart = Character["HumanoidRootPart"]
26
Torso = Character["Torso"]
27
Head = Character["Head"]
28
RightArm = Character["Right Arm"]
29
LeftArm = Character["Left Arm"]
30
RightLeg = Character["Right Leg"]
31
LeftLeg = Character["Left Leg"]
32
RootJoint = RootPart["RootJoint"]
33
Neck = Torso["Neck"]
34
RightShoulder = Torso["Right Shoulder"]
35
LeftShoulder = Torso["Left Shoulder"]
36
RightHip = Torso["Right Hip"]
37
LeftHip = Torso["Left Hip"]
38
local TIME = 0
39
local sick = Instance.new("Sound",Torso)
40
41
IT = Instance.new
42
CF = CFrame.new
43
VT = Vector3.new
44
RAD = math.rad
45
C3 = Color3.new
46
UD2 = UDim2.new
47
BRICKC = BrickColor.new
48
ANGLES = CFrame.Angles
49
EULER = CFrame.fromEulerAnglesXYZ
50
COS = math.cos
51
ACOS = math.acos
52
SIN = math.sin
53
ASIN = math.asin
54
ABS = math.abs
55
MRANDOM = math.random
56
FLOOR = math.floor
57
if Player.name == "SenseiAdi" then
58
warn("Enjoy friend ;3")
59
end
60
--//=================================\\
61
--|| 	      USEFUL VALUES
62
--\\=================================//
63
64
Animation_Speed = 3
65
local FORCERESET = false
66
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
67
local Speed = 16
68
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
69
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
70
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
71
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
72
local DAMAGEMULTIPLIER = 1
73
local ANIM = "Idle"
74
local ATTACK = false
75
local EQUIPPED = false
76
local HOLD = false
77
local COMBO = 1
78
local Rooted = false
79
local SINE = 0
80
local KEYHOLD = false
81
local CHANGE = 2 / Animation_Speed
82
local WALKINGANIM = false
83
local VALUE1 = false
84
local VALUE2 = false
85
local ROBLOXIDLEANIMATION = IT("Animation")
86
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
87
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
88
--ROBLOXIDLEANIMATION.Parent = Humanoid
89
local WEAPONGUI = IT("ScreenGui", PlayerGui)
90
WEAPONGUI.Name = "BanishV3Gui"
91
local Weapon = IT("Model")
92
Weapon.Name = "Adds"
93
local Effects = IT("Folder", Weapon)
94
Effects.Name = "Effects"
95
local ANIMATOR = Humanoid.Animator
96
local ANIMATE = Character:FindFirstChild("Animate")
97
local UNANCHOR = true
98
local TOBANISH = {}
99
script.Parent = PlayerGui
100
Player_Size = 1 --Size of the player.
101
local EXTRATRANS = 0
102
local Effects2 = {}
103
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
104
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
105
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
106
local HITBLOCKSOUNDS = {"199148933", "199148947"}
107
local SIZE = 2
108
local SKILLTEXTCOLOR = C3(0,0,0)
109
local SKILLTEXTCOLOR2 = C3(1,0,0)
110
--//=================================\\
111
--\\=================================//
112
113
114
--//=================================\\
115
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
116
--\\=================================//
117
118
ArtificialHB = Instance.new("BindableEvent", script)
119
ArtificialHB.Name = "ArtificialHB"
120
121
script:WaitForChild("ArtificialHB")
122
123
frame = Frame_Speed
124
tf = 0
125
allowframeloss = false
126
tossremainder = false
127
lastframe = tick()
128
script.ArtificialHB:Fire()
129
130
game:GetService("RunService").Heartbeat:connect(function(s, p)
131
	tf = tf + s
132
	if tf >= frame then
133
		if allowframeloss then
134
			script.ArtificialHB:Fire()
135
			lastframe = tick()
136
		else
137
			for i = 1, math.floor(tf / frame) do
138
				script.ArtificialHB:Fire()
139
			end
140
		lastframe = tick()
141
		end
142
		if tossremainder then
143
			tf = 0
144
		else
145
			tf = tf - frame * math.floor(tf / frame)
146
		end
147
	end
148
end)
149
150
--//=================================\\
151
--\\=================================//
152
153
--//=================================\\
154
--|| 	      SOME FUNCTIONS
155
--\\=================================//
156
157
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
158
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
159
end
160
161
function PositiveAngle(NUMBER)
162
	if NUMBER >= 0 then
163
		NUMBER = 0
164
	end
165
	return NUMBER
166
end
167
168
function NegativeAngle(NUMBER)
169
	if NUMBER <= 0 then
170
		NUMBER = 0
171
	end
172
	return NUMBER
173
end
174
175
function Swait(NUMBER)
176
	if NUMBER == 0 or NUMBER == nil then
177
		ArtificialHB.Event:wait()
178
	else
179
		for i = 1, NUMBER do
180
			ArtificialHB.Event:wait()
181
		end
182
	end
183
end
184
185
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
186
	local NEWMESH = IT(MESH)
187
	if MESH == "SpecialMesh" then
188
		NEWMESH.MeshType = MESHTYPE
189
		if MESHID ~= "nil" and MESHID ~= "" then
190
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
191
		end
192
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
193
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
194
		end
195
	end
196
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
197
	NEWMESH.Scale = SCALE
198
	NEWMESH.Parent = PARENT
199
	return NEWMESH
200
end
201
202
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
203
	local NEWPART = IT("Part")
204
	NEWPART.formFactor = FORMFACTOR
205
	NEWPART.Reflectance = REFLECTANCE
206
	NEWPART.Transparency = TRANSPARENCY
207
	NEWPART.CanCollide = false
208
	NEWPART.Locked = true
209
	NEWPART.Anchored = true
210
	if ANCHOR == false then
211
		NEWPART.Anchored = false
212
	end
213
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
214
	NEWPART.Name = NAME
215
	NEWPART.Size = SIZE
216
	NEWPART.Position = Torso.Position
217
	NEWPART.Material = MATERIAL
218
	NEWPART:BreakJoints()
219
	NEWPART.Parent = PARENT
220
	return NEWPART
221
end
222
223
	local function weldBetween(a, b)
224
	    local weldd = Instance.new("ManualWeld")
225
	    weldd.Part0 = a
226
	    weldd.Part1 = b
227
	    weldd.C0 = CFrame.new()
228
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
229
	    weldd.Parent = a
230
	    return weldd
231
	end
232
233
234
function QuaternionFromCFrame(cf)
235
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
236
	local trace = m00 + m11 + m22
237
	if trace > 0 then 
238
		local s = math.sqrt(1 + trace)
239
		local recip = 0.5 / s
240
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
241
	else
242
		local i = 0
243
		if m11 > m00 then
244
			i = 1
245
		end
246
		if m22 > (i == 0 and m00 or m11) then
247
			i = 2
248
		end
249
		if i == 0 then
250
			local s = math.sqrt(m00 - m11 - m22 + 1)
251
			local recip = 0.5 / s
252
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
253
		elseif i == 1 then
254
			local s = math.sqrt(m11 - m22 - m00 + 1)
255
			local recip = 0.5 / s
256
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
257
		elseif i == 2 then
258
			local s = math.sqrt(m22 - m00 - m11 + 1)
259
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
260
		end
261
	end
262
end
263
 
264
function QuaternionToCFrame(px, py, pz, x, y, z, w)
265
	local xs, ys, zs = x + x, y + y, z + z
266
	local wx, wy, wz = w * xs, w * ys, w * zs
267
	local xx = x * xs
268
	local xy = x * ys
269
	local xz = x * zs
270
	local yy = y * ys
271
	local yz = y * zs
272
	local zz = z * zs
273
	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))
274
end
275
 
276
function QuaternionSlerp(a, b, t)
277
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
278
	local startInterp, finishInterp;
279
	if cosTheta >= 0.0001 then
280
		if (1 - cosTheta) > 0.0001 then
281
			local theta = ACOS(cosTheta)
282
			local invSinTheta = 1 / SIN(theta)
283
			startInterp = SIN((1 - t) * theta) * invSinTheta
284
			finishInterp = SIN(t * theta) * invSinTheta
285
		else
286
			startInterp = 1 - t
287
			finishInterp = t
288
		end
289
	else
290
		if (1 + cosTheta) > 0.0001 then
291
			local theta = ACOS(-cosTheta)
292
			local invSinTheta = 1 / SIN(theta)
293
			startInterp = SIN((t - 1) * theta) * invSinTheta
294
			finishInterp = SIN(t * theta) * invSinTheta
295
		else
296
			startInterp = t - 1
297
			finishInterp = t
298
		end
299
	end
300
	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
301
end
302
303
function Clerp(a, b, t)
304
	local qa = {QuaternionFromCFrame(a)}
305
	local qb = {QuaternionFromCFrame(b)}
306
	local ax, ay, az = a.x, a.y, a.z
307
	local bx, by, bz = b.x, b.y, b.z
308
	local _t = 1 - t
309
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
310
end
311
312
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
313
	local frame = IT("Frame")
314
	frame.BackgroundTransparency = TRANSPARENCY
315
	frame.BorderSizePixel = BORDERSIZEPIXEL
316
	frame.Position = POSITION
317
	frame.Size = SIZE
318
	frame.BackgroundColor3 = COLOR
319
	frame.BorderColor3 = BORDERCOLOR
320
	frame.Name = NAME
321
	frame.Parent = PARENT
322
	return frame
323
end
324
325
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
326
	local label = IT("TextLabel")
327
	label.BackgroundTransparency = 1
328
	label.Size = UD2(1, 0, 1, 0)
329
	label.Position = UD2(0, 0, 0, 0)
330
	label.TextColor3 = TEXTCOLOR
331
	label.TextStrokeTransparency = STROKETRANSPARENCY
332
	label.TextTransparency = TRANSPARENCY
333
	label.FontSize = TEXTFONTSIZE
334
	label.Font = TEXTFONT
335
	label.BorderSizePixel = BORDERSIZEPIXEL
336
	label.TextScaled = false
337
	label.Text = TEXT
338
	label.Name = NAME
339
	label.Parent = PARENT
340
	return label
341
end
342
343
function NoOutlines(PART)
344
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
345
end
346
347
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
348
	local NEWWELD = IT(TYPE)
349
	NEWWELD.Part0 = PART0
350
	NEWWELD.Part1 = PART1
351
	NEWWELD.C0 = C0
352
	NEWWELD.C1 = C1
353
	NEWWELD.Parent = PARENT
354
	return NEWWELD
355
end
356
357
local S = IT("Sound")
358
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
359
	local NEWSOUND = nil
360
	coroutine.resume(coroutine.create(function()
361
		NEWSOUND = S:Clone()
362
		NEWSOUND.Parent = PARENT
363
		NEWSOUND.Volume = VOLUME
364
		NEWSOUND.Pitch = PITCH
365
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
366
		NEWSOUND:play()
367
		if DOESLOOP == true then
368
			NEWSOUND.Looped = true
369
		else
370
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
371
			NEWSOUND:remove()
372
		end
373
	end))
374
	return NEWSOUND
375
end
376
377
function CFrameFromTopBack(at, top, back)
378
	local right = top:Cross(back)
379
	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)
380
end
381
382
--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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
383
function WACKYEFFECT(Table)
384
	local TYPE = (Table.EffectType or "Sphere")
385
	local SIZE = (Table.Size or VT(1,1,1))
386
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
387
	local TRANSPARENCY = (Table.Transparency or 0)
388
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
389
	local CFRAME = (Table.CFrame or Torso.CFrame)
390
	local MOVEDIRECTION = (Table.MoveToPos or nil)
391
	local ROTATION1 = (Table.RotationX or 0)
392
	local ROTATION2 = (Table.RotationY or 0)
393
	local ROTATION3 = (Table.RotationZ or 0)
394
	local MATERIAL = (Table.Material or "Neon")
395
	local COLOR = (Table.Color or C3(0,0,0))
396
	local TIME = (Table.Time or 45)
397
	local SOUNDID = (Table.SoundID or nil)
398
	local SOUNDPITCH = (Table.SoundPitch or nil)
399
	local SOUNDVOLUME = (Table.SoundVolume or nil)
400
	coroutine.resume(coroutine.create(function()
401
		local PLAYSSOUND = false
402
		local SOUND = nil
403
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
404
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
405
			PLAYSSOUND = true
406
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
407
		end
408
		EFFECT.Color = COLOR
409
		local MSH = nil
410
		if TYPE == "Sphere" then
411
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
412
		elseif TYPE == "Block" then
413
			MSH = IT("BlockMesh",EFFECT)
414
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
415
		elseif TYPE == "Wave" then
416
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
417
		elseif TYPE == "Ring" then
418
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
419
		elseif TYPE == "Slash" then
420
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
421
		elseif TYPE == "Round Slash" then
422
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
423
		elseif TYPE == "Swirl" then
424
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
425
		elseif TYPE == "Skull" then
426
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
427
		elseif TYPE == "Crystal" then
428
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
429
		end
430
		if MSH ~= nil then
431
			local MOVESPEED = nil
432
			if MOVEDIRECTION ~= nil then
433
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
434
			end
435
			local GROWTH = SIZE - ENDSIZE
436
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
437
			if TYPE == "Block" then
438
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
439
			else
440
				EFFECT.CFrame = CFRAME
441
			end
442
			for LOOP = 1, TIME+1 do
443
				Swait()
444
				MSH.Scale = MSH.Scale - GROWTH/TIME
445
				if TYPE == "Wave" then
446
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
447
				end
448
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
449
				if TYPE == "Block" then
450
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
451
				else
452
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
453
				end
454
				if MOVEDIRECTION ~= nil then
455
					local ORI = EFFECT.Orientation
456
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
457
					EFFECT.Orientation = ORI
458
				end
459
			end
460
			if PLAYSSOUND == false then
461
				EFFECT:remove()
462
			else
463
				SOUND.Stopped:Connect(function()
464
					EFFECT:remove()
465
				end)
466
			end
467
		else
468
			if PLAYSSOUND == false then
469
				EFFECT:remove()
470
			else
471
				repeat Swait() until SOUND.Playing == false
472
				EFFECT:remove()
473
			end
474
		end
475
	end))
476
end
477
--Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
478
function Lightning(Table)
479
	local Color = Table.Color or C3(1,1,1)
480
	local StartPos = Table.Start or Torso.Position
481
	local EndPos = Table.End or Mouse.Hit.p
482
	local SegmentLength = Table.SegmentL or 2
483
	local Thickness = Table.Thickness or 0.1
484
	local Dissapear = Table.DoesFade or false
485
	local Parent = Table.Ignore or Character
486
	local MaxDist = Table.MaxDist or 400
487
	local Branches = Table.Branches or false
488
	local Thicken = Table.Thicken or false
489
	local FadeTime = Table.FadeTime or 15
490
	local FadeIn = Table.FadeIn or false
491
	local Material = Table.Material or "Neon"
492
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
493
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
494
	local LIGHTNINGMODEL = IT("Model",Effects)
495
	LIGHTNINGMODEL.Name = "Lightning"
496
	local LastBolt = nil
497
	for E = 1, DISTANCE do
498
		local ExtraSize = 0
499
		if Thicken == true then
500
			ExtraSize = (DISTANCE-E)/15
501
		end
502
		local TRANSPARENCY = 0
503
		if FadeIn == true then
504
			TRANSPARENCY = 1-(E/(DISTANCE/1.5))
505
			if TRANSPARENCY < 0 then
506
				TRANSPARENCY = 0
507
			end
508
		end
509
		local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
510
		PART.Color = Color
511
		MakeForm(PART,"Cyl")
512
		if LastBolt == nil then
513
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
514
		else
515
			PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
516
		end
517
		LastBolt = PART
518
		if Branches == true and E < (DISTANCE-5) then
519
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
520
			if CHOICE == 1 then
521
				local LASTBRANCH = nil
522
				for i = 1, MRANDOM(2,5) do
523
					local ExtraSize2 = 0
524
					if Thicken == true then
525
						ExtraSize = ((DISTANCE-E)/25)/i
526
					end
527
					local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
528
					PART.Color = Color
529
					MakeForm(PART,"Cyl")
530
					if LASTBRANCH == nil then
531
						PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
532
					else
533
						PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
534
					end
535
					LASTBRANCH = PART
536
				end
537
			end
538
		end
539
	end
540
	if Dissapear == true then
541
		coroutine.resume(coroutine.create(function()
542
			for i = 1, FadeTime do
543
				Swait()
544
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
545
					if c.ClassName == "Part" then
546
						c.Transparency = c.Transparency + (i/FadeTime)/10
547
					end
548
				end
549
			end
550
			LIGHTNINGMODEL:remove()
551
		end))
552
	elseif Dissapear == false then
553
		Debris:AddItem(LIGHTNINGMODEL,0.1)
554
	end
555
	return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
556
end
557
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
558
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
559
    wave.Color = COLOR
560
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
561
    wave.CFrame = CFRAME
562
    coroutine.resume(coroutine.create(function(PART)
563
        for i = 1, WAIT do
564
            Swait()
565
            mesh.Scale = mesh.Scale + GROW
566
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
567
            if DOESROT == true then
568
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
569
            end
570
            wave.Transparency = wave.Transparency + (0.5/WAIT)
571
            if wave.Transparency > 0.99 then
572
                wave:remove()
573
            end
574
        end
575
    end))
576
end
577
578
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
579
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
580
    wave.Color = COLOR
581
    local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
582
    wave.CFrame = CFRAME
583
    coroutine.resume(coroutine.create(function(PART)
584
        for i = 1, WAIT do
585
            Swait()
586
            mesh.Scale = mesh.Scale + GROW
587
            wave.Transparency = wave.Transparency + (1/WAIT)
588
            if wave.Transparency > 0.99 then
589
                wave:remove()
590
            end
591
        end
592
    end))
593
end
594
function MakeForm(PART,TYPE)
595
	if TYPE == "Cyl" then
596
		local MSH = IT("BlockMesh",PART)
597
	elseif TYPE == "Ball" then
598
		local MSH = IT("SpecialMesh",PART)
599
		MSH.MeshType = "Sphere"
600
	elseif TYPE == "Cyl2" then
601
		local MSH = IT("CylinderMesh",PART)
602
	elseif TYPE == "Wedge" then
603
		local MSH = IT("SpecialMesh",PART)
604
		MSH.MeshType = "Wedge"
605
	end
606
end
607
608
function SpawnTrail(FROM,TO,BIG)
609
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Light gray", "Trail", VT(0,0,0))
610
	MakeForm(TRAIL,"Cyl")
611
	local DIST = (FROM - TO).Magnitude
612
	if BIG == true then
613
		TRAIL.Size = VT(0.5,DIST,0.5)
614
	else
615
		TRAIL.Size = VT(0.25,DIST,0.25)
616
	end
617
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
618
	coroutine.resume(coroutine.create(function()
619
		for i = 1, 5 do
620
			Swait()
621
			TRAIL.Transparency = TRAIL.Transparency + 0.1
622
		end
623
		TRAIL:remove()
624
	end))
625
end
626
627
Debris = game:GetService("Debris")
628
629
function CastProperRay(StartPos, EndPos, Distance, Ignore)
630
	local DIRECTION = CF(StartPos,EndPos).lookVector
631
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
632
end
633
634
function turnto(position)
635
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
636
end
637
638
--//=================================\\
639
--||	     WEAPON CREATION
640
--\\=================================//
641
642
643
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
644
PRT.Color = C3(0,0,0)
645
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
646
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
647
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
648
PRT.Color = C3(0,0,0)
649
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
650
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
651
for i = 1, 16 do
652
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
653
	FACE.Color = C3(0,0,0)
654
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
655
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
656
end
657
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Violet", "Eyeball", VT(0.15,0,0.15),false)
658
MakeForm(EYE,"Ball")
659
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
660
local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Violet", "Eyeball", VT(0.15,0.15,0.15),false)
661
MakeForm(EYE2,"Ball")
662
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
663
local LASTPART = Head
664
for i = 1, 20 do
665
	local MATH = (1-(i/25))
666
	if LASTPART == Head then
667
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
668
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
669
		LASTPART = Horn
670
		Horn.Color = C3((i*3-3)/153,0,153)
671
	else
672
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
673
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/3, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
674
		LASTPART = Horn
675
		Horn.Color = C3((i*3-3)/153,0,153)
676
	end
677
end
678
local LASTPART = Head
679
for i = 1, 20 do
680
	local MATH = (1-(i/25))
681
	if LASTPART == Head then
682
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
683
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
684
		LASTPART = Horn
685
		Horn.Color = C3((i*3-3)/153,0,153)
686
	else
687
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
688
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/3, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
689
		LASTPART = Horn
690
		Horn.Color = C3((i*3-3)/153,0,153)
691
	end
692
end
693
694
local Eyes = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eyes", VT(0.6,0.1,1)/2,false)
695
MakeForm(Eyes,"Ball")
696
CreateWeldOrSnapOrMotor("Weld", Eyes, Head, Eyes, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
697
local Eyes = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eyes", VT(0.6,0.1,1)/2,false)
698
MakeForm(Eyes,"Ball")
699
CreateWeldOrSnapOrMotor("Weld", Eyes, Head, Eyes, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
700
701
local Particle = IT("ParticleEmitter",nil)
702
Particle.Enabled = false
703
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
704
Particle.LightEmission = 0.5
705
Particle.Rate = 150
706
Particle.ZOffset = 0.2
707
Particle.Rotation = NumberRange.new(-180, 180)
708
Particle.RotSpeed = NumberRange.new(-180, 180)
709
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
710
Particle.Color = ColorSequence.new(C3(0,0,0),C3(0,0,0))
711
712
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
713
function ParticleEmitter(Table)
714
	local PRTCL = Particle:Clone()
715
	local Speed = Table.Speed or 5
716
	local Drag = Table.Drag or 0
717
	local Size1 = Table.Size1 or 1
718
	local Size2 = Table.Size2 or 5
719
	local Lifetime1 = Table.Lifetime1 or 1
720
	local Lifetime2 = Table.Lifetime2 or 1.5
721
	local Parent = Table.Parent or Torso
722
	local Emit = Table.Emit or 100
723
	local Offset = Table.Offset or 360
724
	local Acel = Table.Acel or VT(0,0,0)
725
	local Enabled = Table.Enabled or false
726
	PRTCL.Parent = Parent
727
	PRTCL.Size = NumberSequence.new(Size1,Size2)
728
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
729
	PRTCL.Speed = NumberRange.new(Speed)
730
	PRTCL.VelocitySpread = Offset
731
	PRTCL.Drag = Drag
732
	PRTCL.Acceleration = Acel
733
	if Enabled == false then
734
		PRTCL:Emit(Emit)
735
		Debris:AddItem(PRTCL,Lifetime2)
736
	else
737
		PRTCL.Enabled = true
738
	end
739
	return PRTCL
740
end
741
742
743
local Handle = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.6,0.2),false)
744
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
745
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
746
MakeForm(Part,"Wedge")
747
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
748
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.3,0.2),false)
749
MakeForm(Part,"Wedge")
750
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
751
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.3,0.3),false)
752
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
753
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.5,0.5),false)
754
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
755
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.4,0.4,0.4),false)
756
MakeForm(Part,"Cyl")
757
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
758
for i = 1, 8 do
759
	local Piece = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0,0.35,0.41),false)
760
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
761
end
762
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.38,0.41,0.38),false)
763
MakeForm(Part,"Cyl")
764
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
765
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.37,0.5,0.37),false)
766
MakeForm(Part,"Ball")
767
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
768
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.7,0.4),false)
769
MakeForm(Part,"Wedge")
770
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
771
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.4,0.2),false)
772
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
773
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.35,0.35,0.35),false)
774
MakeForm(Part,"Cyl")
775
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
776
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.5),false)
777
MakeForm(Part,"Cyl")
778
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
779
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.45),false)
780
MakeForm(Part,"Cyl")
781
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
782
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
783
MakeForm(Part,"Wedge")
784
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
785
local LASTPART = Handle
786
for i = 1, 10 do
787
	if LASTPART == Handle then
788
		local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.2,0),false)
789
		LASTPART = Part
790
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
791
	else
792
		local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.05,0),false)
793
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
794
		LASTPART = Part
795
	end
796
end
797
798
local Barrel = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.15,2,0.15),false)
799
MakeForm(Barrel,"Cyl")
800
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
801
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.25,1,0.25),false)
802
MakeForm(Part,"Cyl")
803
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
804
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0.1,0.2),false)
805
MakeForm(Part,"Wedge")
806
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
807
local Hole = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.125,0,0.125),false)
808
MakeForm(Hole,"Cyl")
809
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
810
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0,0),false)
811
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
812
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
813
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0.5, "Light gray", "Eye", VT(0,0,0),false)
814
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
815
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
816
coroutine.resume(coroutine.create(function()
817
	while wait() do
818
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
819
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
820
	end
821
end))
822
823
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)})
824
--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)})
825
826
for _, c in pairs(Weapon:GetDescendants()) do
827
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
828
		c.Material = "Glass"
829
		c.Color = C3(0,0,0)
830
	elseif c.ClassName == "Part" and c.Name == "Eye" then
831
		c.Color = C3(0,0,0)
832
		c.Material = "Neon"
833
	end
834
end
835
836
Weapon.Parent = Character
837
for _, c in pairs(Weapon:GetChildren()) do
838
	if c.ClassName == "Part" then
839
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
840
	end
841
end
842
843
local BODY = {}
844
for _, c in pairs(Character:GetDescendants()) do
845
	if c:IsA("BasePart") and c.Name ~= "Handle" then
846
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
847
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
848
		end
849
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
850
	elseif c:IsA("JointInstance") then
851
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
852
	end
853
end
854
for e = 1, #BODY do
855
	if BODY[e] ~= nil then
856
		local STUFF = BODY[e]
857
		local PART = STUFF[1]
858
		local PARENT = STUFF[2]
859
		local MATERIAL = STUFF[3]
860
		local COLOR = STUFF[4]
861
		local TRANSPARENCY = STUFF[5]
862
		if PART.ClassName == "Part" and PART ~= RootPart then
863
			PART.Material = MATERIAL
864
			PART.Color = COLOR
865
			PART.Transparency = TRANSPARENCY
866
		end
867
		PART.AncestryChanged:Connect(function()
868
			PART.Parent = PARENT
869
		end)
870
	end
871
end
872
function refit()
873
	Character.Parent = workspace
874
	for e = 1, #BODY do
875
		if BODY[e] ~= nil then
876
			local STUFF = BODY[e]
877
			local PART = STUFF[1]
878
			local PARENT = STUFF[2]
879
			local MATERIAL = STUFF[3]
880
			local COLOR = STUFF[4]
881
			local TRANSPARENCY = STUFF[5]
882
			if PART:IsA("BasePart") and PART ~= RootPart then
883
				PART.Material = MATERIAL
884
				PART.Color = COLOR
885
				PART.Transparency = TRANSPARENCY+EXTRATRANS
886
			end
887
			if PART.Parent ~= PARENT then
888
				Humanoid:remove()
889
				PART.Parent = PARENT
890
				Humanoid = IT("Humanoid",Character)
891
			end
892
		end
893
	end
894
end
895
896
Humanoid.Died:connect(function()
897
	refit()
898
end)
899
900
local SKILLTEXTCOLOR = C3(0,0,0)
901
local SKILLFONT = "Antique"
902
local SKILLTEXTSIZE = 7
903
904
Humanoid.Died:connect(function()
905
	ATTACK = true
906
end)
907
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")
908
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")
909
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")
910
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")
911
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")
912
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.100, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
913
914
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Darkness", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0.7, "Text 1")
915
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Death", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0.7, "Text 2")
916
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Break", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
917
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Madness", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
918
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
919
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 1, "Text 5")
920
function printbye(Name)
921
	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, "}
922
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
923
end
924
925
workspace.ChildAdded:connect(function(instance)
926
    for BANISH = 1, #TOBANISH do
927
		if TOBANISH[BANISH] ~= nil then
928
			if instance.Name == TOBANISH[BANISH] then
929
				coroutine.resume(coroutine.create(function()
930
					printbye(instance.Name)
931
					instance:ClearAllChildren()
932
					Debris:AddItem(instance,0.0005)
933
				end))
934
			end
935
		end
936
	end
937
end)
938
939
--//=================================\\
940
--||			DAMAGING
941
--\\=================================//
942
943
local asd = Instance.new("ParticleEmitter")
944
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
945
asd.LightEmission = .1
946
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
947
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
948
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
949
asd.Transparency = bbb
950
asd.Size = aaa
951
asd.ZOffset = .9
952
asd.Acceleration = Vector3.new(0, -15, 0)
953
asd.LockedToPart = false
954
asd.EmissionDirection = "Back"
955
asd.Lifetime = NumberRange.new(1, 2)
956
asd.Rotation = NumberRange.new(-100, 100)
957
asd.RotSpeed = NumberRange.new(-100, 100)
958
asd.Speed = NumberRange.new(10)
959
asd.Enabled = false
960
asd.VelocitySpread = 999
961
function getbloody(victim,amount)
962
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
963
	PART.CFrame = victim.CFrame
964
	local HITPLAYERSOUNDS = {"356551938","264486467"}
965
	Debris:AddItem(PART,5)
966
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
967
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
968
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
969
	local prtcl = asd:Clone()
970
	prtcl.Parent = PART
971
	prtcl:Emit(amount*10)
972
end
973
function Banish(Char)
974
	local NewCharacter = Instance.new("Model",Effects)
975
	NewCharacter.Name = "Ow im ded ;-;"
976
	for _, c in pairs(Char:GetDescendants()) do
977
		if c:IsA("BasePart") and c.Transparency == 0 then
978
			if c.Parent == Char then
979
				getbloody(c,5)
980
			end
981
			c:BreakJoints()
982
			c.Material = "Glass"
983
			c.Color = C3(0.5,0,0)
984
			c.CanCollide = true
985
			c.Transparency = 0.3
986
			if c:FindFirstChildOfClass("SpecialMesh") then
987
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
988
			end
989
			if c.Name == "Head" then
990
				c:ClearAllChildren()
991
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
992
			end
993
			if c.ClassName == "MeshPart" then
994
				c.TextureID = ""
995
			end
996
			if c:FindFirstChildOfClass("BodyPosition") then
997
				c:FindFirstChildOfClass("BodyPosition"):remove()
998
			end
999
			if c:FindFirstChildOfClass("ParticleEmitter") then
1000
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1001
			end
1002
			c.Parent = NewCharacter
1003
			c.Name = "DeadPart"
1004
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1005
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1006
		end
1007
	end
1008
	Char:remove()
1009
	Debris:AddItem(NewCharacter,5)
1010
end
1011
1012
function ApplyAoE(POSITION,RANGE,ISBANISH)
1013
	local CHILDREN = workspace:GetDescendants()
1014
	for index, CHILD in pairs(CHILDREN) do
1015
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1016
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1017
			if HUM then
1018
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1019
				if TORSO then
1020
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1021
						if ISBANISH == true then
1022
							Banish(CHILD)
1023
						else
1024
							if ISBANISH == "Gravity" then
1025
								HUM.PlatformStand = true
1026
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1027
									local grav = Instance.new("BodyPosition",TORSO)
1028
									grav.D = 15
1029
									grav.P = 20000
1030
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1031
									grav.position = TORSO.Position
1032
									grav.Name = "V3BanishForce"..Player.Name
1033
								else
1034
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1035
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1036
								end
1037
							else
1038
								HUM.PlatformStand = false
1039
							end
1040
						end
1041
					elseif ISBANISH == "Gravity" then
1042
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1043
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1044
							HUM.PlatformStand = false
1045
						end
1046
					end
1047
				end
1048
			end
1049
		end
1050
	end
1051
end
1052
function ApplyKill(POSITION,RANGE,BRUTAL)
1053
	local CHILDREN = workspace:GetDescendants()
1054
	for index, CHILD in pairs(CHILDREN) do
1055
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1056
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1057
			if HUM then
1058
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1059
				if TORSO then
1060
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1061
						if BRUTAL == true then
1062
							Banish(CHILD)
1063
						else
1064
							CHILD:BreakJoints()
1065
						end
1066
					end
1067
				end
1068
			end
1069
		end
1070
	end
1071
end
1072
--//=================================\\
1073
--||	ATTACK FUNCTIONS AND STUFF
1074
--\\=================================//
1075
function Kill(Foe)
1076
	if Foe then
1077
		coroutine.resume(coroutine.create(function()
1078
			--if game.Players:FindFirstChild(Foe.Name) then
1079
				table.insert(TOBANISH,Foe.Name)
1080
				printbye(Foe.Name)
1081
			--end
1082
			Foe.Archivable = true
1083
			local CLONE = Foe:Clone()
1084
			Foe:Destroy()
1085
			CLONE.Parent = Effects
1086
			CLONE:BreakJoints()
1087
			local MATERIALS = {"Glass","Neon"}
1088
			for _, c in pairs(CLONE:GetDescendants()) do
1089
				if c:IsA("BasePart") then
1090
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1091
 						CreateSound(340722848, c, 10, 1, false)
1092
					end
1093
					c.Anchored = true
1094
					c.Transparency = c.Transparency + 0.2
1095
					c.Material = MATERIALS[MRANDOM(1,2)]
1096
					c.Color = C3(0,0,0)
1097
					if c.ClassName == "MeshPart" then
1098
						c.TextureID = ""
1099
					end
1100
					if c:FindFirstChildOfClass("SpecialMesh") then
1101
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1102
					end
1103
					if c:FindFirstChildOfClass("Decal") then
1104
						c:FindFirstChildOfClass("Decal"):remove()
1105
					end
1106
					c.Name = "Banished"
1107
					c.CanCollide = false
1108
				else
1109
					c:remove()
1110
				end
1111
			end
1112
			local A = false
1113
			for i = 1, 35 do
1114
				if A == false then
1115
					A = true
1116
				elseif A == true then
1117
					A = false
1118
				end
1119
				for _, c in pairs(CLONE:GetDescendants()) do
1120
					if c:IsA("BasePart") then
1121
						c.Anchored = true
1122
						c.Material = MATERIALS[MRANDOM(1,2)]
1123
						c.Transparency = c.Transparency + 0.8/35
1124
						if A == false then
1125
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1126
						elseif A == true then
1127
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1128
						end
1129
					end
1130
				end
1131
				Swait()
1132
			end
1133
			CLONE:remove()
1134
		end))
1135
	end
1136
end
1137
1138
function Madness()
1139
	ATTACK = true
1140
	Rooted = false
1141
	local GYRO = IT("BodyGyro",RootPart)
1142
	GYRO.D = 750
1143
	GYRO.P = 20000
1144
	GYRO.MaxTorque = VT(0,40000000,0)
1145
	local LOCKED = true
1146
	local SHOT = false
1147
	coroutine.resume(coroutine.create(function()
1148
		for i=0, 1, 0.1 / Animation_Speed do
1149
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1150
			Swait()
1151
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1152
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1153
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1154
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1155
		end
1156
		LOCKED = false
1157
		SHOT = true
1158
		repeat
1159
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1160
			Swait()
1161
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1162
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1163
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1164
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1165
		until HOLD == false and SHOT == false
1166
		for i=0, 0.3, 0.1 / Animation_Speed do
1167
			Swait()
1168
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1169
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1170
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1171
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1172
		end
1173
		GYRO:remove()
1174
		ATTACK = false
1175
		Rooted = false
1176
	end))
1177
	repeat wait() until LOCKED == false
1178
	repeat
1179
		SHOT = true
1180
		wait(0.2)
1181
		SHOT = false
1182
		local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(0,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
1183
		local HIT = BULLET.Hit
1184
		local HITPOS = BULLET.End
1185
		if HIT then
1186
			if HIT.Parent:FindFirstChildOfClass("Humanoid") then
1187
				Kill(HIT.Parent)
1188
			end
1189
		end
1190
		WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1})
1191
		WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2})
1192
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
1193
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
1194
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1195
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1196
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1197
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1198
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1199
	until HOLD == false
1200
end
1201
1202
function Banisher_Bullet()
1203
	ATTACK = true
1204
	Rooted = false
1205
	for i=0, 0.4, 0.1 / Animation_Speed do
1206
		Swait()
1207
		turnto(Mouse.Hit.p)
1208
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1209
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1210
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1211
	end
1212
	repeat
1213
		for i=0, 0.2, 0.1 / Animation_Speed do
1214
			Swait()
1215
			turnto(Mouse.Hit.p)
1216
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1217
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1218
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1219
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1220
		end
1221
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1222
		SpawnTrail(Hole.Position,POS)
1223
		if HIT ~= nil then
1224
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1225
				Banish(HIT.Parent)
1226
			end
1227
		end
1228
		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,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1229
		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,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1230
		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,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1231
		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,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1232
		for i=0, 0.3, 0.1 / Animation_Speed do
1233
			Swait()
1234
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1235
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1236
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1237
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1238
		end
1239
	until KEYHOLD == false
1240
	ATTACK = false
1241
	Rooted = false
1242
end
1243
1244
function AttackTemplate()
1245
	ATTACK = true
1246
	Rooted = false
1247
	for i=0, 1, 0.1 / Animation_Speed do
1248
		Swait()
1249
		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)
1250
		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)
1251
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1252
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1253
		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)
1254
		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)
1255
	end
1256
	ATTACK = false
1257
	Rooted = false
1258
end
1259
1260
function HI()
1261
	ATTACK = true
1262
	Rooted = false
1263
	local LOOP = 0
1264
	for i=0, 0.1, 0.1 / Animation_Speed do
1265
		Swait()
1266
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1267
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1268
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1269
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1270
	end
1271
	for i=0, 3, 0.1 / Animation_Speed do
1272
		Swait()
1273
		LOOP = LOOP + 1
1274
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1275
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1276
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1277
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1278
	end
1279
	for i=0, 0.1, 0.1 / Animation_Speed do
1280
		Swait()
1281
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1282
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1283
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1284
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1285
	end
1286
	ATTACK = false
1287
	Rooted = false
1288
end
1289
1290
function Mercy()
1291
	ATTACK = true
1292
	Rooted = true
1293
	local SPOTS = {}
1294
		for i = 1, 15 do
1295
			Swait()
1296
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1297
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1298
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
1299
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1300
		end
1301
		WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
1302
		for i=0, 0.5, 0.1 / Animation_Speed do
1303
			Swait()
1304
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1305
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1306
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1307
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1308
		end
1309
		local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
1310
		table.insert(SPOTS,HITPOS)
1311
		CreateSound(145080998, Hole, 2, 1, false)
1312
		Lightning({Material = "Neon", FadeIn = false, Color = C3(1,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Hole.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
1313
	coroutine.resume(coroutine.create(function()
1314
		local POS = Mouse.Hit.p
1315
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
1316
		MakeForm(RAY,"Cyl")
1317
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
1318
		MakeForm(SPHERE,"Ball")
1319
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
1320
		MakeForm(SHIELD,"Ball")
1321
		SHIELD.CFrame = CF(POS)
1322
		RAY.CFrame = CF(POS)
1323
		SPHERE.CFrame = CF(POS)
1324
		CreateSound(440145570, SPHERE, 10, 0.8, false)
1325
		CreateSound(415700134, SPHERE, 10, 0.8, false)
1326
		for i = 1, 200 do
1327
			Swait()
1328
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1329
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1330
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*2,5+(i),SPHERE.Size.X*2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1331
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
1332
			SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
1333
			SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
1334
			ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
1335
		end	
1336
		for i = 1, 45 do
1337
			Swait()
1338
			RAY.Transparency = RAY.Transparency + 1/45
1339
			SPHERE.Transparency = RAY.Transparency 
1340
			SHIELD.Transparency = SPHERE.Transparency + 1/45
1341
		end
1342
		RAY:remove()
1343
		SHIELD:remove()
1344
		SPHERE:remove()
1345
	end))
1346
	ATTACK = false
1347
	Rooted = false
1348
end
1349
function Warp()
1350
	for e = 1, #BODY do
1351
		if BODY[e] ~= nil then
1352
			local STUFF = BODY[e]
1353
			local PART = STUFF[1]
1354
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
1355
				local PRT = PART:Clone()
1356
				PRT.Anchored = true
1357
				PRT.CanCollide = false
1358
				PRT.Material = "Neon"
1359
				PRT.Color = C3(0,0,0)
1360
				PRT.Name = "WarpEffect"
1361
				PRT.Parent = Effects
1362
				PRT.CFrame = PART.CFrame
1363
				PRT:BreakJoints()
1364
				if PRT:FindFirstChildOfClass("Sound") then
1365
					PRT:FindFirstChildOfClass("Sound"):remove()
1366
				end
1367
				if PRT:FindFirstChildOfClass("Decal") then
1368
					PRT:FindFirstChildOfClass("Decal"):remove()
1369
				end
1370
				coroutine.resume(coroutine.create(function()
1371
					for i = 1, 100 do
1372
						Swait()
1373
						PRT.Transparency = PRT.Transparency + 1/100
1374
					end
1375
					PRT:remove()
1376
				end))
1377
			end
1378
		end
1379
	end
1380
	CreateSound(217767125, Torso, 10, 1)
1381
	local POS = RootPart.Orientation
1382
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
1383
	RootPart.Orientation = POS
1384
	RootJoint.Parent = RootPart
1385
			WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Eyes.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
1386
	ATTACK = false
1387
	Rooted = false
1388
end
1389
function killnearest(position,range,maxstrength,BRUTAL,RANGE)
1390
    for i,v in ipairs(workspace:GetChildren()) do
1391
    local body = v:GetChildren()
1392
        for part = 1, #body do
1393
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1394
                if(body[part].Position - position).Magnitude < range then
1395
                    if v.ClassName == "Model" then
1396
                        v:BreakJoints()
1397
                    end
1398
                    --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
1399
                    local bv = Instance.new("BodyVelocity")
1400
                    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1401
                    bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
1402
                    bv.Parent = body[part]
1403
                    Debris:AddItem(bv,0.2)
1404
                end
1405
            end
1406
        end
1407
        if v.ClassName == "Part" then
1408
            if v.Anchored == false and (v.Position - position).Magnitude < range then
1409
                --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
1410
                v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
1411
            end
1412
        end
1413
    end
1414
end
1415
function Darkness()
1416
        ATTACK = true
1417
        Rooted = true
1418
        local GYRO = IT("BodyGyro",RootPart)
1419
        GYRO.D = 100
1420
        GYRO.P = 2000
1421
        GYRO.MaxTorque = VT(0,4000000,0)
1422
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1423
        CreateSound("130765520", RightArm, 10, 0.8)
1424
        for i=0, 3.5, 0.1 / Animation_Speed do
1425
            Swait()
1426
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1427
 					WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1428
 				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1429
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1430
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1431
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1432
        end
1433
        GYRO:remove()
1434
        for i=0, 0.15, 0.1 / Animation_Speed do
1435
            Swait()
1436
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1437
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1438
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1439
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1440
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1441
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1442
        end
1443
        local BOMBSPOTS = {}
1444
        for i = 1, 25 do
1445
            local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly black", "Blade", VT(8,1,8))
1446
            SPOT.Color = SKILLTEXTCOLOR
1447
            SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
1448
            table.insert(BOMBSPOTS,SPOT)
1449
            MakeForm(SPOT,"Cyl2")
1450
        end
1451
        for i=0, 0.2, 0.1 / Animation_Speed do
1452
            Swait()
1453
		WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
1454
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1455
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1456
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1457
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1458
        end
1459
        ATTACK = false
1460
        Rooted = false
1461
        coroutine.resume(coroutine.create(function()
1462
            Swait(3)
1463
            for i = 1, #BOMBSPOTS do
1464
                if BOMBSPOTS[i] ~= nil then
1465
                    local E = BOMBSPOTS[i]
1466
                    coroutine.resume(coroutine.create(function()
1467
                        local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly black", "Blade", VT(0,0,0))
1468
                        BLADE.Color = SKILLTEXTCOLOR
1469
                        CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
1470
                        CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
1471
                        BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
1472
                        for i = 1, 10 do
1473
                            Swait()
1474
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(0,50,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BLADE.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
1475
                            killnearest(BLADE.Position,6,80)
1476
                            BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
1477
                            BLADE.Transparency = BLADE.Transparency - 0.1
1478
                        end
1479
                        Swait(45)
1480
                        for i = 1, 100 do
1481
                            Swait()
1482
                            BLADE.Transparency = BLADE.Transparency + 0.01
1483
                            E.Transparency = E.Transparency + 0.01
1484
                        end
1485
                        BLADE:remove()
1486
                        E:remove()
1487
                    end))
1488
                end
1489
            end
1490
        end))
1491
end
1492
function Death()
1493
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1494
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1495
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1496
		if TORSO and HUM.Health > 0 then
1497
			ATTACK = true
1498
			Rooted = true
1499
			local GYRO = IT("BodyGyro",RootPart)
1500
			GYRO.D = 175
1501
			GYRO.P = 20000
1502
			GYRO.MaxTorque = VT(0,40000,0)
1503
				for i=0, 1, 0.1 / Animation_Speed do
1504
					Swait()
1505
					GYRO.cframe = CF(RootPart.Position,TORSO.Position)
1506
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
1507
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
1508
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1509
				end
1510
		WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
1511
		WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
1512
			local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
1513
			MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
1514
			local grav = Instance.new("BodyPosition",TORSO)
1515
			grav.D = 1500
1516
			grav.P = 20000
1517
			grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1518
			grav.position = TORSO.Position+VT(0,15,0)
1519
			Debris:AddItem(grav,10)
1520
			Debris:AddItem(MAGIC,10)
1521
			CreateSound(429459101, Torso, 7, 1, false)
1522
			CreateSound(429459101, TORSO, 7, 1, false)
1523
			GYRO:remove()
1524
			ATTACK = false
1525
			Rooted = false
1526
		end
1527
	end
1528
end
1529
--//=================================\\
1530
--||	  ASSIGN THINGS TO KEYS
1531
--\\=================================//
1532
1533
function MouseDown(Mouse)
1534
	if ATTACK == false then
1535
	end
1536
end
1537
1538
function MouseUp(Mouse)
1539
HOLD = false
1540
end
1541
1542
function KeyDown(Key)
1543
	KEYHOLD = true
1544
	if Key == "c" and ATTACK == false then
1545
		Banisher_Bullet()
1546
	end
1547
1548
	if Key == "b" and ATTACK == false then
1549
		Death()
1550
	end
1551
1552
	if Key == "z" and ATTACK == false then
1553
        Darkness()
1554
	end
1555
1556
	if Key == "v" and ATTACK == false then
1557
        Madness()
1558
	end
1559
1560
	if Key == "x" and ATTACK == false then
1561
        Mercy()
1562
	end
1563
1564
	if Key == "q" and ATTACK == false then
1565
        Warp()
1566
	end
1567
1568
	if Key == "t" and ATTACK == false then
1569
        HI()
1570
	end
1571
end
1572
1573
function KeyUp(Key)
1574
	KEYHOLD = false
1575
end
1576
1577
	Mouse.Button1Down:connect(function(NEWKEY)
1578
		MouseDown(NEWKEY)
1579
	end)
1580
	Mouse.Button1Up:connect(function(NEWKEY)
1581
		MouseUp(NEWKEY)
1582
	end)
1583
	Mouse.KeyDown:connect(function(NEWKEY)
1584
		KeyDown(NEWKEY)
1585
	end)
1586
	Mouse.KeyUp:connect(function(NEWKEY)
1587
		KeyUp(NEWKEY)
1588
	end)
1589
1590
--//=================================\\
1591
--\\=================================//
1592
1593
1594
function unanchor()
1595
	if UNANCHOR == true then
1596
		g = Character:GetChildren()
1597
		for i = 1, #g do
1598
			if g[i].ClassName == "Part" then
1599
				g[i].Anchored = false
1600
			end
1601
		end
1602
	end
1603
end
1604
1605
1606
--//=================================\\
1607
--||	WRAP THE WHOLE SCRIPT UP
1608
--\\=================================//
1609
1610
Humanoid.Changed:connect(function(Jump)
1611
	if Jump == "Jump" and (Disable_Jump == true) then
1612
		Humanoid.Jump = false
1613
	end
1614
end)
1615
1616
local CONNECT = nil
1617
1618
while true do
1619
	Swait()
1620
	ANIMATE.Parent = nil
1621
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1622
		Humanoid = IT("Humanoid",Character)
1623
	end
1624
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1625
	    v:Stop();
1626
	end
1627
	SINE = SINE + CHANGE
1628
	Humanoid.HipHeight = 1.5
1629
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1630
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1631
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1632
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1633
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1634
		elseif TORSOVELOCITY > 1 then
1635
                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
1636
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1637
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1638
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1639
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1640
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1641
	end
1642
	if TORSOVERTICALVELOCITY > 1 then
1643
		ANIM = "Jump"
1644
		if ATTACK == false then
1645
               RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1646
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1647
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1648
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1649
                RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1650
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1651
	    end
1652
	elseif TORSOVERTICALVELOCITY < -1 then
1653
		ANIM = "Fall"
1654
		if ATTACK == false then
1655
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1656
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1657
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1658
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1659
                RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1660
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1661
		end
1662
	elseif TORSOVELOCITY < 1 then
1663
		ANIM = "Idle"
1664
		if ATTACK == false then
1665
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1666
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1667
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1668
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1669
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1670
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1671
		end
1672
	elseif TORSOVELOCITY > 1 then
1673
		ANIM = "Walk"
1674
		if ATTACK == false then
1675
                  RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
1676
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1677
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1678
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1679
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1680
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1681
		end
1682
	end
1683
	unanchor()
1684
	Humanoid.MaxHealth = "inf"
1685
	Humanoid.Health = "inf"
1686
	if Rooted == false then
1687
		Disable_Jump = false
1688
		Humanoid.WalkSpeed = Speed
1689
	elseif Rooted == true then
1690
		Disable_Jump = true
1691
		Humanoid.WalkSpeed = 0
1692
	end
1693
	for _, c in pairs(Character:GetDescendants()) do
1694
			if c == Head then
1695
				if c:FindFirstChild("face") then
1696
					c.face:remove()
1697
				end
1698
			end
1699
end        MagicSphere(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(0,0,0),VT(0,0,0))
1700
	sick:resume()
1701
	sick.Volume = 5
1702
	sick.Pitch = 1
1703
	sick.SoundId = "rbxassetid://924339757"
1704
	sick.Name = "BanishV3Music"
1705
	sick.Playing = PLAYSONG
1706
	Humanoid.PlatformStand = false
1707
	Humanoid.Name = "U ar ded"
1708
	refit()
1709
	for _, c in pairs(Character:GetChildren()) do
1710
		if c:IsA("BasePart") and ATTACK == false then
1711
			for _, e in pairs(c:GetChildren()) do
1712
				if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
1713
					e:remove()
1714
				end
1715
			end
1716
		end
1717
	end
1718
end
1719
1720
1721
--//=================================\\
1722
--\\=================================//
1723
1724
1725
1726
1727
1728
--//====================================================\\--
1729
--||			  		 END OF SCRIPT
1730
--\\====================================================//--