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