View difference between Paste ID: 2p5mt1Cm and fDJa06VH
SHOW: | | - or go back to the newest paste.
1
--Convert to FD by Bacon Hair!
2
--Original Edit by InfiniteDankWithone.
3
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
4
local Player,game,owner = owner,game
5
local RealPlayer = Player
6
do
7
    print("FE Compatibility code by Mokiros")
8
    local rp = RealPlayer
9
    script.Parent = rp.Character
10
   
11
    --RemoteEvent for communicating
12
    local Event = Instance.new("RemoteEvent")
13
    Event.Name = "UserInput_Event"
14
 
15
    --Fake event to make stuff like Mouse.KeyDown work
16
    local function fakeEvent()
17
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
18
        t.connect = t.Connect
19
        return t
20
    end
21
 
22
    --Creating fake input objects with fake variables
23
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
24
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
25
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
26
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
27
    end}
28
    --Merged 2 functions into one by checking amount of arguments
29
    CAS.UnbindAction = CAS.BindAction
30
 
31
    --This function will trigger the events that have been :Connect()'ed
32
    local function te(self,ev,...)
33
        local t = m[ev]
34
        if t and t._fakeEvent then
35
            for _,f in pairs(t.Functions) do
36
                f(...)
37
            end
38
        end
39
    end
40
    m.TrigEvent = te
41
    UIS.TrigEvent = te
42
 
43
    Event.OnServerEvent:Connect(function(plr,io)
44
        if plr~=rp then return end
45
        m.Target = io.Target
46
        m.Hit = io.Hit
47
        if not io.isMouse then
48
            local b = io.UserInputState == Enum.UserInputState.Begin
49
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
50
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
51
            end
52
            for _,t in pairs(CAS.Actions) do
53
                for _,k in pairs(t.Keys) do
54
                    if k==io.KeyCode then
55
                        t.Function(t.Name,io.UserInputState,io)
56
                    end
57
                end
58
            end
59
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
60
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
61
        end
62
    end)
63
    Event.Parent = NLS([==[
64
    local Player = game:GetService("Players").LocalPlayer
65
    local Event = script:WaitForChild("UserInput_Event")
66
 
67
    local Mouse = Player:GetMouse()
68
    local UIS = game:GetService("UserInputService")
69
    local input = function(io,a)
70
        if a then return end
71
        --Since InputObject is a client-side instance, we create and pass table instead
72
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
73
    end
74
    UIS.InputBegan:Connect(input)
75
    UIS.InputEnded:Connect(input)
76
 
77
    local h,t
78
    --Give the server mouse data 30 times every second, but only if the values changed
79
    --If player is not moving their mouse, client won't fire events
80
    while wait(1/30) do
81
        if h~=Mouse.Hit or t~=Mouse.Target then
82
            h,t=Mouse.Hit,Mouse.Target
83
            Event:FireServer({isMouse=true,Target=t,Hit=h})
84
        end
85
    end]==],Player.Character)
86
 
87
    ----Sandboxed game object that allows the usage of client-side methods and services
88
    --Real game object
89
    local _rg = game
90
 
91
    --Metatable for fake service
92
    local fsmt = {
93
        __index = function(self,k)
94
            local s = rawget(self,"_RealService")
95
            if s then return s[k] end
96
        end,
97
        __newindex = function(self,k,v)
98
            local s = rawget(self,"_RealService")
99
            if s then s[k]=v end
100
        end,
101
        __call = function(self,...)
102
            local s = rawget(self,"_RealService")
103
            if s then return s(...) end
104
        end
105
    }
106
    local function FakeService(t,RealService)
107
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
108
        return setmetatable(t,fsmt)
109
    end
110
 
111
    --Fake game object
112
    local g = {
113
        GetService = function(self,s)
114
            return self[s]
115
        end,
116
        Players = FakeService({
117
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
118
        },"Players"),
119
        UserInputService = FakeService(UIS,"UserInputService"),
120
        ContextActionService = FakeService(CAS,"ContextActionService"),
121
    }
122
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
123
    g.service = g.GetService
124
   
125
    g.RunService = FakeService({
126
        RenderStepped = _rg:GetService("RunService").Heartbeat,
127
        BindToRenderStep = function(self,name,_,fun)
128
 
129
        end,
130
        UnbindFromRenderStep = function(self,name)
131
            self._btrs[name]:Disconnect()
132
        end,
133
    },"RunService")
134
 
135
    setmetatable(g,{
136
        __index=function(self,s)
137
            return _rg:GetService(s) or typeof(_rg[s])=="function"
138
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
139
        end,
140
        __newindex = fsmt.__newindex,
141
        __call = fsmt.__call
142
    })
143
    --Changing owner to fake player object to support owner:GetMouse()
144
    game,owner = g,g.Players.LocalPlayer
145
end
146
147
wait(0.2)
148
149
Player = owner
150
PlayerGui = Player.PlayerGui
151
Cam = workspace.CurrentCamera
152
Backpack = Player.Backpack
153
Character = Player.Character
154
Humanoid = Character.Humanoid
155
Mouse = Player:GetMouse()
156
RootPart = Character["HumanoidRootPart"]
157
Torso = Character["Torso"]
158
Head = Character["Head"]
159
RightArm = Character["Right Arm"]
160
LeftArm = Character["Left Arm"]
161
RightLeg = Character["Right Leg"]
162
LeftLeg = Character["Left Leg"]
163
RootJoint = RootPart["RootJoint"]
164
Neck = Torso["Neck"]
165
RightShoulder = Torso["Right Shoulder"]
166
LeftShoulder = Torso["Left Shoulder"]
167
RightHip = Torso["Right Hip"]
168
LeftHip = Torso["Left Hip"]
169
170
IT = Instance.new
171
CF = CFrame.new
172
VT = Vector3.new
173
RAD = math.rad
174
C3 = Color3.new
175
UD2 = UDim2.new
176
BRICKC = BrickColor.new
177
ANGLES = CFrame.Angles
178
EULER = CFrame.fromEulerAnglesXYZ
179
COS = math.cos
180
ACOS = math.acos
181
SIN = math.sin
182
ASIN = math.asin
183
ABS = math.abs
184
MRANDOM = math.random
185
FLOOR = math.floor
186
187
--//=================================\\
188
--|| 	      USEFUL VALUES
189
--\\=================================//
190
191
Animation_Speed = 3
192
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
193
local Speed = 12
194
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
195
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
196
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
197
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
198
local DAMAGEMULTIPLIER = 1
199
local ANIM = "Idle"
200
local ATTACK = false
201
local EQUIPPED = false
202
local HOLD = false
203
local COMBO = 1
204
local Rooted = false
205
local SINE = 0
206
local KEYHOLD = false
207
local CHANGE = 2 / Animation_Speed
208
local WALKINGANIM = false
209
local VALUE1 = false
210
local VALUE2 = false
211
local ROBLOXIDLEANIMATION = IT("Animation")
212
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
213
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
214
--ROBLOXIDLEANIMATION.Parent = Humanoid
215
local WEAPONGUI = IT("ScreenGui", PlayerGui)
216
WEAPONGUI.Name = "[C R E S C E]"
217
local Effects = IT("Folder", Character)
218
Effects.Name = "Effects"
219
local ANIMATOR = Humanoid.Animator
220
local ANIMATE = Character.Animate
221
local UNANCHOR = true
222
local MODE = "CRES"
223
224
--//=================================\\
225
--\\=================================//
226
227
228
--//=================================\\
229
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
230
--\\=================================//
231
232
ArtificialHB = Instance.new("BindableEvent", script)
233
ArtificialHB.Name = "ArtificialHB"
234
235
script:WaitForChild("ArtificialHB")
236
237
frame = Frame_Speed
238
tf = 0
239
allowframeloss = false
240
tossremainder = false
241
lastframe = tick()
242
script.ArtificialHB:Fire()
243
244
game:GetService("RunService").Heartbeat:connect(function(s, p)
245
	tf = tf + s
246
	if tf >= frame then
247
		if allowframeloss then
248
			script.ArtificialHB:Fire()
249
			lastframe = tick()
250
		else
251
			for i = 1, math.floor(tf / frame) do
252
				script.ArtificialHB:Fire()
253
			end
254
		lastframe = tick()
255
		end
256
		if tossremainder then
257
			tf = 0
258
		else
259
			tf = tf - frame * math.floor(tf / frame)
260
		end
261
	end
262
end)
263
264
--//=================================\\
265
--\\=================================//
266
267
local Speed = 12
268
269
--//=================================\\
270
--|| 	      SOME FUNCTIONS
271
--\\=================================//
272
273
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
274
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
275
end
276
277
function PositiveAngle(NUMBER)
278
	if NUMBER >= 0 then
279
		NUMBER = 0
280
	end
281
	return NUMBER
282
end
283
284
function NegativeAngle(NUMBER)
285
	if NUMBER <= 0 then
286
		NUMBER = 0
287
	end
288
	return NUMBER
289
end
290
291
function Swait(NUMBER)
292
	if NUMBER == 0 or NUMBER == nil then
293
		ArtificialHB.Event:wait()
294
	else
295
		for i = 1, NUMBER do
296
			ArtificialHB.Event:wait()
297
		end
298
	end
299
end
300
301
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
302
	local NEWMESH = IT(MESH)
303
	if MESH == "SpecialMesh" then
304
		NEWMESH.MeshType = MESHTYPE
305
		if MESHID ~= "nil" and MESHID ~= "" then
306
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
307
		end
308
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
309
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
310
		end
311
	end
312
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
313
	NEWMESH.Scale = SCALE
314
	NEWMESH.Parent = PARENT
315
	return NEWMESH
316
end
317
318
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
319
	local NEWPART = IT("Part")
320
	NEWPART.formFactor = FORMFACTOR
321
	NEWPART.Reflectance = REFLECTANCE
322
	NEWPART.Transparency = TRANSPARENCY
323
	NEWPART.CanCollide = false
324
	NEWPART.Locked = true
325
	NEWPART.Anchored = true
326
	if ANCHOR == false then
327
		NEWPART.Anchored = false
328
	end
329
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
330
	NEWPART.Name = NAME
331
	NEWPART.Size = SIZE
332
	NEWPART.Position = Torso.Position
333
	NEWPART.Material = MATERIAL
334
	NEWPART:BreakJoints()
335
	NEWPART.Parent = PARENT
336
	return NEWPART
337
end
338
339
	local function weldBetween(a, b)
340
	    local weldd = Instance.new("ManualWeld")
341
	    weldd.Part0 = a
342
	    weldd.Part1 = b
343
	    weldd.C0 = CFrame.new()
344
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
345
	    weldd.Parent = a
346
	    return weldd
347
	end
348
349
350
function QuaternionFromCFrame(cf)
351
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
352
	local trace = m00 + m11 + m22
353
	if trace > 0 then 
354
		local s = math.sqrt(1 + trace)
355
		local recip = 0.5 / s
356
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
357
	else
358
		local i = 0
359
		if m11 > m00 then
360
			i = 1
361
		end
362
		if m22 > (i == 0 and m00 or m11) then
363
			i = 2
364
		end
365
		if i == 0 then
366
			local s = math.sqrt(m00 - m11 - m22 + 1)
367
			local recip = 0.5 / s
368
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
369
		elseif i == 1 then
370
			local s = math.sqrt(m11 - m22 - m00 + 1)
371
			local recip = 0.5 / s
372
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
373
		elseif i == 2 then
374
			local s = math.sqrt(m22 - m00 - m11 + 1)
375
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
376
		end
377
	end
378
end
379
 
380
function QuaternionToCFrame(px, py, pz, x, y, z, w)
381
	local xs, ys, zs = x + x, y + y, z + z
382
	local wx, wy, wz = w * xs, w * ys, w * zs
383
	local xx = x * xs
384
	local xy = x * ys
385
	local xz = x * zs
386
	local yy = y * ys
387
	local yz = y * zs
388
	local zz = z * zs
389
	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))
390
end
391
 
392
function QuaternionSlerp(a, b, t)
393
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
394
	local startInterp, finishInterp;
395
	if cosTheta >= 0.0001 then
396
		if (1 - cosTheta) > 0.0001 then
397
			local theta = ACOS(cosTheta)
398
			local invSinTheta = 1 / SIN(theta)
399
			startInterp = SIN((1 - t) * theta) * invSinTheta
400
			finishInterp = SIN(t * theta) * invSinTheta
401
		else
402
			startInterp = 1 - t
403
			finishInterp = t
404
		end
405
	else
406
		if (1 + cosTheta) > 0.0001 then
407
			local theta = ACOS(-cosTheta)
408
			local invSinTheta = 1 / SIN(theta)
409
			startInterp = SIN((t - 1) * theta) * invSinTheta
410
			finishInterp = SIN(t * theta) * invSinTheta
411
		else
412
			startInterp = t - 1
413
			finishInterp = t
414
		end
415
	end
416
	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
417
end
418
419
function Clerp(a, b, t)
420
	local qa = {QuaternionFromCFrame(a)}
421
	local qb = {QuaternionFromCFrame(b)}
422
	local ax, ay, az = a.x, a.y, a.z
423
	local bx, by, bz = b.x, b.y, b.z
424
	local _t = 1 - t
425
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
426
end
427
428
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
429
	local frame = IT("Frame")
430
	frame.BackgroundTransparency = TRANSPARENCY
431
	frame.BorderSizePixel = BORDERSIZEPIXEL
432
	frame.Position = POSITION
433
	frame.Size = SIZE
434
	frame.BackgroundColor3 = COLOR
435
	frame.BorderColor3 = BORDERCOLOR
436
	frame.Name = NAME
437
	frame.Parent = PARENT
438
	return frame
439
end
440
441
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
442
	local label = IT("TextLabel")
443
	label.BackgroundTransparency = 1
444
	label.Size = UD2(1, 0, 1, 0)
445
	label.Position = UD2(0, 0, 0, 0)
446
	label.TextColor3 = TEXTCOLOR
447
	label.TextStrokeTransparency = STROKETRANSPARENCY
448
	label.TextTransparency = TRANSPARENCY
449
	label.FontSize = TEXTFONTSIZE
450
	label.Font = TEXTFONT
451
	label.BorderSizePixel = BORDERSIZEPIXEL
452
	label.TextScaled = false
453
	label.Text = TEXT
454
	label.Name = NAME
455
	label.Parent = PARENT
456
	return label
457
end
458
459
function NoOutlines(PART)
460
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
461
end
462
463
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
464
	local NEWWELD = IT(TYPE)
465
	NEWWELD.Part0 = PART0
466
	NEWWELD.Part1 = PART1
467
	NEWWELD.C0 = C0
468
	NEWWELD.C1 = C1
469
	NEWWELD.Parent = PARENT
470
	return NEWWELD
471
end
472
473
local S = IT("Sound")
474
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
475
	local NEWSOUND = nil
476
	coroutine.resume(coroutine.create(function()
477
		NEWSOUND = S:Clone()
478
		NEWSOUND.Parent = PARENT
479
		NEWSOUND.Volume = VOLUME
480
		NEWSOUND.Pitch = PITCH
481
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
482
		NEWSOUND:play()
483
		if DOESLOOP == true then
484
			NEWSOUND.Looped = true
485
		else
486
			repeat wait(1) until NEWSOUND.Playing == false
487
			NEWSOUND:remove()
488
		end
489
	end))
490
	return NEWSOUND
491
end
492
493
function CFrameFromTopBack(at, top, back)
494
	local right = top:Cross(back)
495
	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)
496
end
497
498
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
499
function WACKYEFFECT(Table)
500
	local TYPE = (Table.EffectType or "Sphere")
501
	local SIZE = (Table.Size or VT(1,1,1))
502
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
503
	local TRANSPARENCY = (Table.Transparency or 0)
504
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
505
	local CFRAME = (Table.CFrame or Torso.CFrame)
506
	local MOVEDIRECTION = (Table.MoveToPos or nil)
507
	local ROTATION1 = (Table.RotationX or 0)
508
	local ROTATION2 = (Table.RotationY or 0)
509
	local ROTATION3 = (Table.RotationZ or 0)
510
	local MATERIAL = (Table.Material or "Neon")
511
	local COLOR = (Table.Color or C3(1,1,1))
512
	local TIME = (Table.Time or 45)
513
	local SOUNDID = (Table.SoundID or nil)
514
	local SOUNDPITCH = (Table.SoundPitch or nil)
515
	local SOUNDVOLUME = (Table.SoundVolume or nil)
516
	coroutine.resume(coroutine.create(function()
517
		local PLAYSSOUND = false
518
		local SOUND = nil
519
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
520
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
521
			PLAYSSOUND = true
522
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
523
		end
524
		EFFECT.Color = COLOR
525
		local MSH = nil
526
		if TYPE == "Sphere" then
527
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
528
		elseif TYPE == "Block" or TYPE == "Box" then
529
			MSH = IT("BlockMesh",EFFECT)
530
			MSH.Scale = SIZE
531
		elseif TYPE == "Wave" then
532
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
533
		elseif TYPE == "Ring" then
534
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
535
		elseif TYPE == "Slash" then
536
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
537
		elseif TYPE == "Round Slash" then
538
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
539
		elseif TYPE == "Swirl" then
540
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
541
		elseif TYPE == "Skull" then
542
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
543
		elseif TYPE == "Crystal" then
544
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
545
		end
546
		if MSH ~= nil then
547
			local MOVESPEED = nil
548
			if MOVEDIRECTION ~= nil then
549
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
550
			end
551
			local GROWTH = SIZE - ENDSIZE
552
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
553
			if TYPE == "Block" then
554
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
555
			else
556
				EFFECT.CFrame = CFRAME
557
			end
558
			for LOOP = 1, TIME+1 do
559
				Swait()
560
				MSH.Scale = MSH.Scale - GROWTH/TIME
561
				if TYPE == "Wave" then
562
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
563
				end
564
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
565
				if TYPE == "Block" then
566
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
567
				else
568
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
569
				end
570
				if MOVEDIRECTION ~= nil then
571
					local ORI = EFFECT.Orientation
572
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
573
					EFFECT.Orientation = ORI
574
				end
575
			end
576
			if PLAYSSOUND == false then
577
				EFFECT:remove()
578
			else
579
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
580
				EFFECT:remove()
581
			end
582
		else
583
			if PLAYSSOUND == false then
584
				EFFECT:remove()
585
			else
586
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
587
				EFFECT:remove()
588
			end
589
		end
590
	end))
591
end
592
593
Debris = game:GetService("Debris")
594
595
function CharacterFade(COLOR,TIMER)
596
	coroutine.resume(coroutine.create(function()
597
		local FADE = IT("Model",Effects)
598
		FADE.Name = "FadingEffect"
599
		for _, c in pairs(Character:GetChildren()) do
600
			if c.ClassName == "Part" and c ~= RootPart then
601
				local FADER = c:Clone()
602
				FADER.Color = COLOR
603
				FADER.CFrame = c.CFrame
604
				FADER.Parent = FADE
605
				FADER.Anchored = true
606
				FADER.Transparency = 0.25+c.Transparency
607
				FADER:BreakJoints()
608
				FADER.Material = "Neon"
609
				if FADER.Name == "Head" then
610
					FADER:ClearAllChildren()
611
					FADER.Size = VT(1,1,1)
612
				end
613
				FADER.CanCollide = false
614
			end
615
		end
616
		local TRANS = 0.75/TIMER
617
		for i = 1, TIMER do
618
			Swait()
619
			for _, c in pairs(FADE:GetChildren()) do
620
				if c.ClassName == "Part" then
621
					c.Transparency = c.Transparency + TRANS
622
				end
623
			end
624
		end
625
		FADE:remove()
626
	end))
627
end
628
629
function Chunks(PART)
630
	for i = 1, MRANDOM(3,5) do
631
		coroutine.resume(coroutine.create(function()
632
			local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false)
633
			CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
634
			local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6)
635
			CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65)
636
			wait(0.1)
637
			CHUNK.CanCollide = true
638
			wait(MRANDOM(15,25)/5)
639
			for i = 1, 25 do
640
				Swait()
641
				CHUNK.Transparency = CHUNK.Transparency + 1/25
642
			end
643
			CHUNK:remove()
644
		end))
645
	end
646
end
647
648
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
649
	if FLOOR ~= nil then
650
		for i = 1, AMOUNT do
651
			local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
652
			DEBREE.Material = FLOOR.Material
653
			DEBREE.Color = FLOOR.Color
654
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
655
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
656
			coroutine.resume(coroutine.create(function()
657
				Swait(15)
658
				DEBREE.Parent = workspace
659
				DEBREE.CanCollide = true
660
				Debris:AddItem(DEBREE,SWAIT)
661
			end))
662
		end
663
	end
664
end
665
666
--//=================================\\
667
--||	    GUIS AND MISC
668
--\\=================================//
669
670
local BODY = {}
671
for _, c in pairs(Character:GetDescendants()) do
672
	if c:IsA("BasePart") and c.Name ~= "Handle" then
673
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
674
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
675
		end
676
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
677
	elseif c:IsA("JointInstance") then
678
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
679
	end
680
end
681
for e = 1, #BODY do
682
	if BODY[e] ~= nil then
683
		local STUFF = BODY[e]
684
		local PART = STUFF[1]
685
		local PARENT = STUFF[2]
686
		local MATERIAL = STUFF[3]
687
		local COLOR = STUFF[4]
688
		local TRANSPARENCY = STUFF[5]
689
		if PART.ClassName == "Part" and PART ~= RootPart then
690
			PART.Material = MATERIAL
691
			PART.Color = COLOR
692
			PART.Transparency = TRANSPARENCY
693
		end
694
		PART.AncestryChanged:Connect(function()
695
			PART.Parent = PARENT
696
		end)
697
	end
698
end
699
700
function refit()
701
	Character.Parent = workspace
702
	for e = 1, #BODY do
703
		if BODY[e] ~= nil then
704
			local STUFF = BODY[e]
705
			local PART = STUFF[1]
706
			local PARENT = STUFF[2]
707
			local MATERIAL = STUFF[3]
708
			local COLOR = STUFF[4]
709
			local TRANSPARENCY = STUFF[5]
710
			if PART:IsA("BasePart") and PART ~= RootPart then
711
				PART.Material = MATERIAL
712
				PART.Color = COLOR
713
				PART.Transparency = TRANSPARENCY+EXTRATRANS
714
			end
715
			if PART.Parent ~= PARENT then
716
				Humanoid:remove()
717
				PART.Parent = PARENT
718
				Humanoid = IT("Humanoid",Character)
719
			end
720
		end
721
	end
722
end
723
724
local Particle = IT("ParticleEmitter",nil)
725
Particle.Enabled = false
726
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
727
Particle.LightEmission = 0.5
728
Particle.Rate = 150
729
Particle.ZOffset = 0.2
730
Particle.Rotation = NumberRange.new(-180, 180)
731
Particle.RotSpeed = NumberRange.new(-180, 180)
732
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
733
Particle.Color = ColorSequence.new(C3(255,0,0),C3(0,0,155),C3(0,255,255),C3(255,0,255),C3(255,255,0),C3(150,0,0),C3(0,191,0),C3(0,0,150))
734
735
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
736
function ParticleEmitter(Table)
737
	local PRTCL = Particle:Clone()
738
	local Speed = Table.Speed or 5
739
	local Drag = Table.Drag or 0
740
	local Size1 = Table.Size1 or 1
741
	local Size2 = Table.Size2 or 5
742
	local Lifetime1 = Table.Lifetime1 or 1
743
	local Lifetime2 = Table.Lifetime2 or 1.5
744
	local Parent = Table.Parent or Torso
745
	local Emit = Table.Emit or 100
746
	local Offset = Table.Offset or 360
747
	local Acel = Table.Acel or VT(0,0,0)
748
	local Enabled = Table.Enabled or false
749
	PRTCL.Parent = Parent
750
	PRTCL.Size = NumberSequence.new(Size1,Size2)
751
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
752
	PRTCL.Speed = NumberRange.new(Speed)
753
	PRTCL.VelocitySpread = Offset
754
	PRTCL.Drag = Drag
755
	PRTCL.Acceleration = Acel
756
	if Enabled == false then
757
		PRTCL:Emit(Emit)
758
		Debris:AddItem(PRTCL,Lifetime2)
759
	else
760
		PRTCL.Enabled = true
761
	end
762
	return PRTCL
763
end
764
765
function MakeForm(PART,TYPE)
766
	if TYPE == "Cyl" then
767
		local MSH = IT("CylinderMesh",PART)
768
	elseif TYPE == "Ball" then
769
		local MSH = IT("SpecialMesh",PART)
770
		MSH.MeshType = "Sphere"
771
	elseif TYPE == "Wedge" then
772
		local MSH = IT("SpecialMesh",PART)
773
		MSH.MeshType = "Wedge"
774
	end
775
end
776
777
for i = 1, 35 do
778
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
779
	FACE.Color = C3(0,0,0)
780
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
781
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
782
end
783
784
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,1.2,0.2),false)
785
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
786
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.8,0.2),false)
787
MakeForm(Part,"Wedge")
788
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
789
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.6),false)
790
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
791
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
792
MakeForm(Part,"Cyl")
793
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
794
for i = 1, 8 do
795
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
796
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
797
end
798
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
799
MakeForm(Part,"Wedge")
800
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
801
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.39,0.41,0.39),false)
802
MakeForm(Part,"Cyl")
803
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
804
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
805
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
806
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.5),false)
807
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
808
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0,0.6),false)
809
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
810
local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.28,5,0.28),false)
811
MakeForm(RightBarrel,"Cyl")
812
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
813
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0,0.2,0.2),false)
814
MakeForm(Part,"Wedge")
815
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
816
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.2,0,0.2),false)
817
MakeForm(RightHole,"Cyl")
818
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
819
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,1.2,0.2),false)
820
local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
821
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.8,0.2),false)
822
MakeForm(Part,"Wedge")
823
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
824
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.6),false)
825
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
826
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
827
MakeForm(Part,"Cyl")
828
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
829
for i = 1, 8 do
830
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
831
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
832
end
833
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
834
MakeForm(Part,"Wedge")
835
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
836
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.39,0.41,0.39),false)
837
MakeForm(Part,"Cyl")
838
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
839
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
840
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
841
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.5),false)
842
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
843
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0,0.6),false)
844
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
845
local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.28,5,0.28),false)
846
MakeForm(LeftBarrel,"Cyl")
847
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
848
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0,0.2,0.2),false)
849
MakeForm(Part,"Wedge")
850
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
851
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.2,0,0.2),false)
852
MakeForm(LeftHole,"Cyl")
853
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
854
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
855
MakeForm(Eye,"Ball")
856
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
857
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
858
MakeForm(Eye,"Ball")
859
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
860
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
861
MakeForm(Eye,"Ball")
862
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
863
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
864
MakeForm(Eye,"Ball")
865
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
866
867
868
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = RightHole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
869
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = LeftHole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
870
871
local sick = IT("Sound",RootPart)
872
873
warn("YOU KNOW WHAT YOU DID")
874
warn("YOU WANT MORE OF IT DONT YOU")
875
warn("LOOK WHAT YOU DID WITH ALL THIS POWER")
876
877
--//=================================\\
878
--||		    INSANITY
879
--\\=================================//
880
881
local FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "MURDER")
882
local FACEME = {"DAS","IST","WAS","DU","VöLKERMORD","HABEN","WOLLTEST"}
883
local INSANITYGUIS = {}
884
for e = 1, 28 do
885
	for i = 1, 22 do
886
		local MURDERFRAME = FRAME:Clone()
887
		MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0)
888
		MURDERFRAME.Parent = WEAPONGUI
889
		table.insert(INSANITYGUIS,MURDERFRAME)
890
	end
891
end
892
coroutine.resume(coroutine.create(function()
893
	while true do
894
		wait()
895
		coroutine.resume(coroutine.create(function()
896
			local COLOR = C3(MRANDOM(100,255)/155,155,155)
897
			local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)]
898
			local SHOW = ""
899
			for i = 1,string.len(APPEARTEXT),1 do
900
				local STRING = string.sub(APPEARTEXT,i,i)
901
				if MRANDOM(1,2) == 1 then
902
					SHOW = SHOW..string.lower(STRING)
903
				else
904
					SHOW = SHOW..STRING
905
				end
906
			end
907
			local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)]
908
			local TEXT = CreateLabel(PARENT, SHOW, COLOR, 14, SKILLFONT, 1, 2, 1, "YOUMADEMEDOTHIS")
909
			for i = 1, 15 do
910
				Swait()
911
				TEXT.Rotation = MRANDOM(-15,15)
912
				TEXT.TextTransparency = TEXT.TextTransparency - 1/15
913
			end
914
			for i = 1, 15 do
915
				Swait()
916
				TEXT.Rotation = MRANDOM(-15,15)
917
				TEXT.TextTransparency = TEXT.TextTransparency + 1/15
918
			end
919
			TEXT:Remove()
920
		end))
921
	end
922
end))
923
FRAME:remove()
924
925
--//=================================\\
926
--||			DAMAGING
927
--\\=================================//
928
929
function ApplyDamage(Humanoid,Damage,OneShot)
930
	Damage = Damage * DAMAGEMULTIPLIER
931
	local DEAD = false
932
	if Humanoid.Health < 2000 and OneShot == false then
933
		if Humanoid.Health - Damage > 0 then
934
			Humanoid.Health = Humanoid.Health - Damage
935
		else
936
			Banish(Humanoid.Parent)
937
			DEAD = true
938
		end
939
	else
940
		DEAD = true
941
		Banish(Humanoid.Parent)
942
	end
943
	if DEAD == true then
944
		local PARTS = {}
945
		for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
946
			if CHILD:IsA("BasePart") then
947
				table.insert(PARTS,CHILD)
948
			end
949
		end
950
		coroutine.resume(coroutine.create(function()
951
			wait(2)
952
			repeat
953
				Swait()
954
				local PIECE = nil
955
				if MRANDOM(1,5) == 1 then
956
					for E = 1, #PARTS do
957
						if MRANDOM(1,5) == 1 then
958
							PIECE = PARTS[E]
959
							table.remove(PARTS,E)
960
							break
961
						end
962
					end
963
				end
964
				if PIECE ~= nil then
965
					if PIECE.Name == "Head" then
966
						WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
967
					else
968
						WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
969
					end
970
					PIECE:remove()
971
				end
972
			until #PARTS == 0
973
		end))
974
	end
975
end
976
977
--//=================================\\
978
--||          SOME TAG EDIT
979
--\\=================================//
980
981
m = game.Players.LocalPlayer
982
char = m.Character
983
local txt = Instance.new("BillboardGui", char)
984
txt.Adornee = char.Head
985
txt.Name = "_status"
986
txt.Size = UDim2.new(2, 0, 1.2, 0)
987
txt.StudsOffset = Vector3.new(-9, 8, 0)
988
local text = Instance.new("TextLabel", txt)
989
text.Size = UDim2.new(10, 0, 7, 0)
990
text.FontSize = "Size24"
991
text.TextScaled = true
992
text.TextTransparency = 0
993
text.BackgroundTransparency = 1
994
text.TextTransparency = 0
995
text.TextStrokeTransparency = 0
996
text.Font = "Arcade"
997
text.TextStrokeColor3 = Color3.new(0, 0, 0)
998
v = Instance.new("Part")
999
v.Name = "ColorBrick"
1000
v.Parent = m.Character
1001
v.FormFactor = "Symmetric"
1002
v.Anchored = true
1003
v.CanCollide = false
1004
v.BottomSurface = "Smooth"
1005
v.TopSurface = "Smooth"
1006
v.Size = Vector3.new(10, 5, 3)
1007
v.Transparency = 1
1008
v.CFrame = char.Torso.CFrame
1009
v.BrickColor = BrickColor.new("Really black")
1010
v.Transparency = 1
1011
v.Shape = "Block"
1012
spawn(function()
1013
local TweenService = game:GetService("TweenService")
1014
local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,0,255),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(150,0,175),Color3.fromRGB(0,0,0),Color3.fromRGB(100,100,100),Color3.fromRGB(0,0,0)}
1015
local Int = 0
1016
while wait(0.5) do
1017
    if Int == #Colours then Int = 0 end
1018
    Int = Int+1
1019
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
1020
end
1021
end)
1022
text.Text = "Ləgəñđāŕý Ćŕə§ćəñđıāć"
1023
1024
local SONG = 779838221
1025
local PLAYSONG = true
1026
1027
--//=================================\\
1028
--||	ATTACK FUNCTIONS AND STUFF
1029
--\\=================================//
1030
1031
local TOBANISH = {}
1032
1033
function swait(num)
1034
	if num == 0 or num == nil then
1035
		ArtificialHB.Event:wait()
1036
	else
1037
		for i = 0, num do
1038
			ArtificialHB.Event:wait()
1039
		end
1040
	end
1041
end
1042
1043
function chatfunc(text)
1044
	local chat = coroutine.wrap(function()
1045
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
1046
		Character:FindFirstChild("TalkingBillBoard"):destroy()
1047
	end
1048
	local Bill = Instance.new("BillboardGui",Character)
1049
	Bill.Size = UDim2.new(0,100,0,40)
1050
	Bill.StudsOffset = Vector3.new(0,3,0)
1051
	Bill.Adornee = Character.Head
1052
	Bill.Name = "TalkingBillBoard"
1053
	local Hehe = Instance.new("TextLabel",Bill)
1054
	Hehe.BackgroundTransparency = 1
1055
	Hehe.BorderSizePixel = 0
1056
	Hehe.Text = ""
1057
	Hehe.Font = "Fantasy"
1058
	Hehe.TextSize = 40
1059
	Hehe.TextStrokeTransparency = 0
1060
	Hehe.Size = UDim2.new(1,0,0.5,0)
1061
	coroutine.resume(coroutine.create(function()
1062
		while Hehe ~= nil do
1063
			swait()	
1064
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
1065
			Hehe.Rotation = math.random(-5,5)
1066
			Hehe.TextColor3 = Color3.new(50,15,15)
1067
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
1068
		end
1069
	end))
1070
	for i = 1,string.len(text),1 do
1071
		swait()
1072
		Hehe.Text = string.sub(text,1,i)
1073
	end
1074
	swait(90)--Re[math.random(1, 93)]
1075
	for i = 0, 1, .025 do
1076
		swait()
1077
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
1078
		Hehe.TextStrokeTransparency = i
1079
		Hehe.TextTransparency = i
1080
	end
1081
	Bill:Destroy()
1082
	end)
1083
chat()
1084
end
1085
1086
function onChatted(msg)
1087
	chatfunc(msg)
1088
end
1089
1090
Player.Chatted:connect(onChatted)
1091
1092
function printbye(Name)
1093
	local MESSAGES = {"BE GONE FROM HERE AND DONT RETURN, "}
1094
	chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1095
end
1096
1097
workspace.ChildAdded:connect(function(instance)
1098
    for BANISH = 1, #TOBANISH do
1099
		if TOBANISH[BANISH] ~= nil then
1100
			if instance.Name == TOBANISH[BANISH] then
1101
				coroutine.resume(coroutine.create(function()
1102
					printbye(instance.Name)
1103
					instance:ClearAllChildren()
1104
					Debris:AddItem(instance,0.0005)
1105
				end))
1106
			end
1107
		end
1108
	end
1109
end)
1110
1111
function Banish(Foe)
1112
	if Foe then
1113
		coroutine.resume(coroutine.create(function()
1114
			--if game.Players:FindFirstChild(Foe.Name) then
1115
				table.insert(TOBANISH,Foe.Name)
1116
				printbye(Foe.Name)
1117
			--end
1118
			Foe.Archivable = true
1119
			local CLONE = Foe:Clone()
1120
			Foe:Destroy()
1121
			CLONE.Parent = Effects
1122
			CLONE:BreakJoints()
1123
			local MATERIALS = {"Glass","Neon"}
1124
			for _, c in pairs(CLONE:GetDescendants()) do
1125
				if c:IsA("BasePart") then
1126
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1127
 						CreateSound(340722848, c, 10, 1, false)
1128
					end
1129
					c.Anchored = true
1130
					c.Transparency = c.Transparency + 0.2
1131
					c.Material = MATERIALS[MRANDOM(1,2)]
1132
					c.Color = C3(0,255,0)
1133
					if c.ClassName == "MeshPart" then
1134
						c.TextureID = ""
1135
					end
1136
					if c:FindFirstChildOfClass("SpecialMesh") then
1137
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1138
					end
1139
					if c:FindFirstChildOfClass("Decal") then
1140
						c:FindFirstChildOfClass("Decal"):remove()
1141
					end
1142
					c.Name = "Banished"
1143
					c.CanCollide = false
1144
				else
1145
					c:remove()
1146
				end
1147
			end
1148
			local A = false
1149
			for i = 1, 35 do
1150
				if A == false then
1151
					A = true
1152
				elseif A == true then
1153
					A = false
1154
				end
1155
				for _, c in pairs(CLONE:GetDescendants()) do
1156
					if c:IsA("BasePart") then
1157
						c.Anchored = true
1158
						c.Material = MATERIALS[MRANDOM(1,2)]
1159
						c.Transparency = c.Transparency + 0.8/35
1160
						if A == false then
1161
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1162
						elseif A == true then
1163
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1164
						end
1165
					end
1166
				end
1167
				Swait()
1168
			end
1169
			CLONE:remove()
1170
		end))
1171
	end
1172
end
1173
1174
function ChangeSanity()
1175
	ATTACK = true
1176
	Rooted = true
1177
	if MODE == "CRES" then
1178
		for i=0, 0.3, 0.1 / Animation_Speed do
1179
			Swait()
1180
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1181
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1182
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1183
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1184
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1185
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1186
		end
1187
		for i=0, 1, 0.1 / Animation_Speed do
1188
			Swait()
1189
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1190
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1191
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1192
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1193
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1194
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1195
		end
1196
		CreateSound(363808674, Torso, 6, 1, false)
1197
		for i=0, 0.6, 0.1 / Animation_Speed do
1198
			Swait()
1199
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1200
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1201
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1202
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1203
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1204
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1205
		end
1206
		CreateSound(363808674, Torso, 6, 1, false)
1207
		for i=0, 0.6, 0.1 / Animation_Speed do
1208
			Swait()
1209
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1210
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1211
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1212
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1213
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1214
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1215
		end
1216
		SONG = 1547875818
1217
		text.Text = "Ģøđ Øf Țımə"
1218
		MODE = "RR"
1219
	elseif MODE == "RR" then
1220
		CreateSound(147722227, Torso, 4, 1.3, false)
1221
		for i=0, 0.3, 0.1 / Animation_Speed do
1222
			Swait()
1223
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1224
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1225
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1226
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1227
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1228
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1229
		end
1230
		SONG = 779838221
1231
		text.Text = "Łəgəñđāŕý Ćŕə§ćəñđıāć"
1232
		MODE = "CRES"
1233
	end
1234
	ATTACK = false
1235
	Rooted = false
1236
end
1237
1238
function ChangeSanityMadness()
1239
	ATTACK = true
1240
	Rooted = true
1241
	if MODE == "CRES" then
1242
		for i=0, 0.3, 0.1 / Animation_Speed do
1243
			Swait()
1244
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1245
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1246
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1247
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1248
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1249
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1250
		end
1251
						MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(500,500,500))
1252
		ApplyAoE6(Torso.Position, 9999, 0, 0, 0, true)
1253
		CreateSound(363808674, Torso, 6, 1, false)
1254
		CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
1255
		CreateSound(363808674, Torso, 6, 1, false)
1256
		for i=0, 1, 0.1 / Animation_Speed do
1257
			Swait()
1258
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1259
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1260
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1261
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1262
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1263
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1264
		end
1265
						MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(500,500,500))
1266
		ApplyAoE6(Torso.Position, 9999, 0, 0, 0, true)
1267
		CreateSound(363808674, Torso, 6, 1, false)
1268
		CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
1269
		CreateSound(363808674, Torso, 6, 1, false)
1270
		CreateSound(363808674, Torso, 6, 1, false)
1271
		for i=0, 0.6, 0.1 / Animation_Speed do
1272
			Swait()
1273
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1274
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1275
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1276
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1277
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1278
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1279
		end
1280
				MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(500,500,500))
1281
		ApplyAoE6(Torso.Position, 9999, 0, 0, 0, true)
1282
		CreateSound(363808674, Torso, 6, 1, false)
1283
		CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
1284
		CreateSound(363808674, Torso, 6, 1, false)
1285
		for i=0, 0.6, 0.1 / Animation_Speed do
1286
			Swait()
1287
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1288
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1289
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1290
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1291
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1292
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1293
		end
1294
						MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(500,500,500))
1295
		ApplyAoE6(Torso.Position, 9999, 0, 0, 0, true)
1296
		CreateSound(363808674, Torso, 6, 1, false)
1297
		CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
1298
		CreateSound(363808674, Torso, 6, 1, false)
1299
		SONG = 725718078
1300
		text.Text = "Çøŕŕūpţəđ Çhāø§"
1301
		MODE = "GC"
1302
	elseif MODE == "GC" then
1303
		CreateSound(147722227, Torso, 4, 1.3, false)
1304
		for i=0, 0.3, 0.1 / Animation_Speed do
1305
			Swait()
1306
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1307
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1308
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1309
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1310
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1311
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1312
		end
1313
		SONG = 779838221
1314
		text.Text = "Ləgəñđāŕý Ćŕə§ćəñđıāć"
1315
		MODE = "CRES"
1316
	end
1317
	ATTACK = false
1318
	Rooted = false
1319
end
1320
1321
function BreakSanity()
1322
	ATTACK = true
1323
	Rooted = true
1324
	if MODE == "CRES" then
1325
		for i=0, 0.3, 0.1 / Animation_Speed do
1326
			Swait()
1327
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1328
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1329
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1330
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1331
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1332
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1333
		end
1334
		for i=0, 1, 0.1 / Animation_Speed do
1335
			Swait()
1336
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1337
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1338
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1339
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1340
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1341
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1342
		end
1343
		CreateSound(363808674, Torso, 6, 1, false)
1344
		for i=0, 0.6, 0.1 / Animation_Speed do
1345
			Swait()
1346
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1347
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1348
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1349
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1350
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1351
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1352
		end
1353
		MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
1354
		ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
1355
		CreateSound(363808674, Torso, 6, 1, false)
1356
		CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(100,100,100))
1357
		for i=0, 0.6, 0.1 / Animation_Speed do
1358
			Swait()
1359
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1360
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1361
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1362
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1363
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1364
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1365
		end
1366
		MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
1367
		ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
1368
		CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(100,100,100))
1369
		SONG = 779838221
1370
		text.Text = "Đəāțh Ŕəāpəŕ"
1371
		MODE = "SR"			
1372
		elseif MODE == "SR" then
1373
		CreateSound(147722270, Torso, 4, 1.3, false)
1374
		for i=0, 0.3, 0.1 / Animation_Speed do
1375
			Swait()
1376
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1377
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1378
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1379
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1380
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1381
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1382
		end
1383
		SONG = 779838221
1384
		text.Text = "Ləgəñđāŕý Çŕə§ćəñđıāć"
1385
		MODE = "CRES"
1386
	end
1387
	ATTACK = false
1388
	Rooted = false
1389
end
1390
1391
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1392
	local DIRECTION = CF(StartPos,EndPos).lookVector
1393
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1394
end
1395
1396
function SpawnTrail(FROM,TO,BIG)
1397
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Trail", VT(0,0,0))
1398
	MakeForm(TRAIL,"Cyl")
1399
	local DIST = (FROM - TO).Magnitude
1400
	if BIG == true then
1401
		TRAIL.Size = VT(0.15,DIST,0.15)
1402
	else
1403
		TRAIL.Size = VT(0.45,DIST,0.45)
1404
	end
1405
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1406
	coroutine.resume(coroutine.create(function()
1407
		for i = 1, 5 do
1408
			Swait()
1409
			TRAIL.Transparency = TRAIL.Transparency + 0.1
1410
		end
1411
		TRAIL:remove()
1412
	end))
1413
end
1414
1415
local asd = Instance.new("ParticleEmitter")
1416
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
1417
asd.LightEmission = .1
1418
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
1419
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
1420
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1421
asd.Transparency = bbb
1422
asd.Size = aaa
1423
asd.ZOffset = .9
1424
asd.Acceleration = Vector3.new(0, -15, 0)
1425
asd.LockedToPart = false
1426
asd.EmissionDirection = "Back"
1427
asd.Lifetime = NumberRange.new(1, 2)
1428
asd.Rotation = NumberRange.new(-100, 100)
1429
asd.RotSpeed = NumberRange.new(-100, 100)
1430
asd.Speed = NumberRange.new(10)
1431
asd.Enabled = false
1432
asd.VelocitySpread = 999
1433
1434
function getbloody(victim,amount)
1435
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really black", "Blood", victim.Size)
1436
	PART.CFrame = victim.CFrame
1437
	local HITPLAYERSOUNDS = {"356551938","264486467"}
1438
	Debris:AddItem(PART,5)
1439
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1440
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1441
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1442
	local prtcl = asd:Clone()
1443
	prtcl.Parent = PART
1444
	prtcl:Emit(amount*10)
1445
end
1446
1447
function Kill2(Char)
1448
	local NewCharacter = IT("Model",Effects)
1449
	NewCharacter.Name = "Ow im ded ;-;"
1450
	for _, c in pairs(Char:GetDescendants()) do
1451
		if c:IsA("BasePart") and c.Transparency == 0 then
1452
			if c.Parent == Char then
1453
				getbloody(c,5)
1454
			end
1455
			c:BreakJoints()
1456
			c.Material = "Glass"
1457
			c.Color = C3(0.5,0.3,0)
1458
			c.CanCollide = true
1459
			c.Transparency = 0.3
1460
			if c:FindFirstChildOfClass("SpecialMesh") then
1461
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1462
			end
1463
			if c.Name == "Head" then
1464
				c:ClearAllChildren()
1465
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1466
			end
1467
			if c.ClassName == "MeshPart" then
1468
				c.TextureID = ""
1469
			end
1470
			if c:FindFirstChildOfClass("BodyPosition") then
1471
				c:FindFirstChildOfClass("BodyPosition"):remove()
1472
			end
1473
			if c:FindFirstChildOfClass("ParticleEmitter") then
1474
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1475
			end
1476
			c.Parent = NewCharacter
1477
			c.Name = "DeadPart"
1478
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1479
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1480
		end
1481
	end
1482
	Char:remove()
1483
	Debris:AddItem(NewCharacter,5)
1484
end
1485
1486
function BulletDetection(FROM,TO,BRUTAL)
1487
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
1488
	coroutine.resume(coroutine.create(function()
1489
		if AIMHIT ~= nil then
1490
			if AIMHIT.Parent ~= Character then
1491
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1492
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
1493
						if BRUTAL == true then
1494
							Kill2(AIMHIT.Parent)
1495
						else
1496
							getbloody(AIMHIT,15)
1497
							AIMHIT.Parent:BreakJoints()
1498
							if AIMHIT.Name == "Head" then
1499
								AIMHIT.Name = "HEADSHOT"
1500
								AIMHIT:remove()
1501
							end
1502
						end
1503
					else
1504
						if BRUTAL == true then
1505
							Kill2(AIMHIT.Parent.Parent)
1506
							else
1507
							Banish(AIMHIT.Parent.Parent)
1508
						end
1509
					end
1510
				end
1511
			end
1512
		end
1513
	end))
1514
	SpawnTrail(FROM,AIMPOS)
1515
	return AIMHIT,AIMPOS,NORMAL
1516
end
1517
1518
function BulletDetection2(FROM,TO,BRUTAL)
1519
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
1520
	coroutine.resume(coroutine.create(function()
1521
		if AIMHIT ~= nil then
1522
			if AIMHIT.Parent ~= Character then
1523
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1524
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
1525
						if BRUTAL == true then
1526
							Banish(AIMHIT.Parent)
1527
						else
1528
							getbloody(AIMHIT,15)
1529
							AIMHIT.Parent:BreakJoints()
1530
							if AIMHIT.Name == "Head" then
1531
								AIMHIT.Name = "HEADSHOT"
1532
								AIMHIT:remove()
1533
							end
1534
						end
1535
					else
1536
						if BRUTAL == true then
1537
							Banish(AIMHIT.Parent.Parent)
1538
							else
1539
							Kill2(AIMHIT.Parent.Parent)
1540
						end
1541
					end
1542
				end
1543
			end
1544
		end
1545
	end))
1546
	SpawnTrail(FROM,AIMPOS)
1547
	return AIMHIT,AIMPOS,NORMAL
1548
end
1549
1550
function ApplyAoE2(POSITION,RANGE,ISBANISH)
1551
	local CHILDREN = workspace:GetDescendants()
1552
	for index, CHILD in pairs(CHILDREN) do
1553
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1554
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1555
			if HUM then
1556
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1557
				if TORSO then
1558
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1559
						if ISBANISH == true then
1560
							Banish(CHILD)
1561
						else
1562
							if ISBANISH == "Gravity" then
1563
								HUM.PlatformStand = true
1564
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1565
									local grav = Instance.new("BodyPosition",TORSO)
1566
									grav.D = 15
1567
									grav.P = 20000
1568
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1569
									grav.position = TORSO.Position
1570
									grav.Name = "V3BanishForce"..Player.Name
1571
								else
1572
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1573
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1574
								end
1575
							else
1576
								HUM.PlatformStand = false
1577
							end
1578
						end
1579
					elseif ISBANISH == "Gravity" then
1580
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1581
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1582
							HUM.PlatformStand = false
1583
						end
1584
					end
1585
				end
1586
			end
1587
		end
1588
	end
1589
end
1590
1591
function CORRUPTEDBURNINGBULLETS()
1592
    ATTACK = true
1593
    Rooted = false
1594
    repeat
1595
        local GYRO = IT("BodyGyro",RootPart)
1596
        GYRO.D = 175
1597
        GYRO.P = 20000
1598
        GYRO.MaxTorque = VT(0,40000,0)
1599
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1600
        if COMBO == 1 then
1601
            COMBO = 2
1602
            for i=0, 0, 0.1 / Animation_Speed do
1603
                Swait()
1604
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1605
                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)
1606
                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)
1607
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1608
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1609
                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)
1610
                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)
1611
            end
1612
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1613
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1614
            CreateSound(275326592, LeftHole, 7, 1, false)
1615
            BulletDetection2(LeftHole.Position,Mouse.Hit.p,true)
1616
            for i=0, 0, 0.1 / Animation_Speed do
1617
                Swait()
1618
                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)
1619
                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)
1620
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1621
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1622
                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)
1623
                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)
1624
            end
1625
        elseif COMBO == 2 then
1626
            COMBO = 1
1627
            for i=0, 0.1, 0.1 / Animation_Speed do
1628
                Swait()
1629
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1630
                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)
1631
                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)
1632
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1633
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1634
                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)
1635
                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)
1636
            end
1637
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1638
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1639
            CreateSound(275326592, RightHole, 7, 1, false)
1640
            BulletDetection2(RightHole.Position,Mouse.Hit.p,true)
1641
            for i=0, 0.1, 0.1 / Animation_Speed do
1642
                Swait()
1643
                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)
1644
                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)
1645
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1646
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1647
                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)
1648
                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)
1649
            end
1650
        end
1651
        GYRO:remove()
1652
    until KEYHOLD == false
1653
    ATTACK = false
1654
    Rooted = false
1655
end
1656
1657
function CORRUPTEDLETHALBULLETS()
1658
    ATTACK = true
1659
    Rooted = false
1660
    repeat
1661
        local GYRO = IT("BodyGyro",RootPart)
1662
        GYRO.D = 175
1663
        GYRO.P = 20000
1664
        GYRO.MaxTorque = VT(0,40000,0)
1665
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1666
        if COMBO == 1 then
1667
            COMBO = 2
1668
            for i=0, 0, 0.1 / Animation_Speed do
1669
                Swait()
1670
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1671
                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)
1672
                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)
1673
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1674
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1675
                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)
1676
                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)
1677
            end
1678
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1679
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1680
            CreateSound(1590205662, LeftHole, 7, 1, false)
1681
            BulletDetection(LeftHole.Position,Mouse.Hit.p,true)
1682
            for i=0, 0, 0.1 / Animation_Speed do
1683
                Swait()
1684
                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)
1685
                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)
1686
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1687
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1688
                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)
1689
                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)
1690
            end
1691
        elseif COMBO == 2 then
1692
            COMBO = 1
1693
            for i=0, 0.1, 0.1 / Animation_Speed do
1694
                Swait()
1695
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1696
                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)
1697
                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)
1698
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1699
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1700
                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)
1701
                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)
1702
            end
1703
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1704
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1705
            CreateSound(1590205662, RightHole, 7, 1, false)
1706
            BulletDetection(RightHole.Position,Mouse.Hit.p,true)
1707
            for i=0, 0.1, 0.1 / Animation_Speed do
1708
                Swait()
1709
                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)
1710
                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)
1711
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1712
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1713
                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)
1714
                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)
1715
            end
1716
        end
1717
        GYRO:remove()
1718
    until KEYHOLD == false
1719
    ATTACK = false
1720
    Rooted = false
1721
end
1722
1723
function Corrupted_Burn()
1724
	ATTACK = true
1725
	Rooted = true
1726
	for i=0, 1, 0.1 / Animation_Speed do
1727
		Swait()
1728
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1729
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1730
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1731
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1732
		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)
1733
		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)
1734
	end	
1735
	coroutine.resume(coroutine.create(function()
1736
		local POS = Mouse.Hit.p
1737
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
1738
		MakeForm(RAY,"Cyl")
1739
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Hot pink", "Strike", VT(0,0,0))
1740
		MakeForm(SPHERE,"Ball")
1741
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Strike", VT(0,0,0))
1742
		MakeForm(SHIELD,"Ball")
1743
		SHIELD.CFrame = CF(POS)
1744
		RAY.CFrame = CF(POS)
1745
		SPHERE.CFrame = CF(POS)
1746
		CreateSound(440145570, SPHERE, 10, 0.8, false)
1747
		CreateSound(415700134, SPHERE, 10, 0.8, false)
1748
		for i = 1, 200 do
1749
			Swait()
1750
			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(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1751
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
1752
			SPHERE.Size = SPHERE.Size + VT(5,5,5)
1753
			SHIELD.Size = SPHERE.Size + VT(10,10,10)
1754
			ApplyAoE2(SPHERE.Position,SPHERE.Size.X/5,true)
1755
		end	
1756
		for i = 1, 45 do
1757
			Swait()
1758
			RAY.Transparency = RAY.Transparency + 1/45
1759
			SPHERE.Transparency = RAY.Transparency 
1760
			SHIELD.Transparency = SPHERE.Transparency + 1/45
1761
		end
1762
		RAY:remove()
1763
		SHIELD:remove()
1764
		SPHERE:remove()
1765
	end))
1766
	for i=0, 1, 0.1 / Animation_Speed do
1767
		Swait()
1768
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1769
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1770
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1771
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1772
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1773
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1774
	end
1775
	ATTACK = false
1776
	Rooted = false
1777
end
1778
1779
local Weapon = IT("Model")
1780
Weapon.Name = "Adds"
1781
1782
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0,0,0),false)
1783
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1784
1785
function MagicSpheres(SIZE,WAIT,CFRAME,COLOR,GROW)
1786
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1787
	local mesh = IT("SpecialMesh",wave)
1788
	mesh.MeshType = "Sphere"
1789
	mesh.Scale = SIZE
1790
	mesh.Offset = VT(0,0,0)
1791
	wave.CFrame = CFRAME
1792
	coroutine.resume(coroutine.create(function(PART)
1793
		for i = 1, WAIT do
1794
			Swait()
1795
			mesh.Scale = mesh.Scale + GROW
1796
			wave.Transparency = wave.Transparency + (1/WAIT)
1797
			if wave.Transparency > 0.99 then
1798
				wave:remove()
1799
			end
1800
		end
1801
	end))
1802
end
1803
1804
function Warp()
1805
	ATTACK = true
1806
	Rooted = true
1807
	UNANCHOR = false
1808
	RootPart.Anchored = true
1809
	MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Toothpaste",VT(2,2,2))
1810
	MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Cyan",VT(2,2,2))
1811
	for i=0, 0.5, 0.1 / Animation_Speed do
1812
		Swait()
1813
				WACKYEFFECT({
1814
					Time = 5,
1815
					EffectType = "Round Slash",
1816
					Size = VT(0, 0, 0),
1817
					Size2 = VT(0.01, 0, 0.01),
1818
					Transparency = 0.5,
1819
					Transparency2 = 1,
1820
					CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1821
					MoveToPos = nil,
1822
					RotationX = MRANDOM(-50, 50) / 10,
1823
					RotationY = MRANDOM(-50, 50) / 10,
1824
					RotationZ = MRANDOM(-50, 50) / 10,
1825
					Material = "Neon",
1826
					Color = C3(1, 0, 0),
1827
					SoundID = nil,
1828
					SoundPitch = nil,
1829
					SoundVolume = nil
1830
				})
1831
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
1832
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1833
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1834
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1835
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1836
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1837
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1838
	end
1839
	for i = 1, 10 do
1840
		Swait()
1841
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Deep orange",VT(0.5,0,0.5))
1842
	end
1843
	for i=0, 1, 0.1 / Animation_Speed do
1844
		Swait()
1845
				WACKYEFFECT({
1846
					Time = 5,
1847
					EffectType = "Round Slash",
1848
					Size = VT(0, 0, 0),
1849
					Size2 = VT(0.01, 0, 0.01),
1850
					Transparency = 0.5,
1851
					Transparency2 = 1,
1852
					CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1853
					MoveToPos = nil,
1854
					RotationX = MRANDOM(-50, 50) / 10,
1855
					RotationY = MRANDOM(-50, 50) / 10,
1856
					RotationZ = MRANDOM(-50, 50) / 10,
1857
					Material = "Neon",
1858
					Color = C3(1, 0, 0),
1859
					SoundID = nil,
1860
					SoundPitch = nil,
1861
					SoundVolume = nil
1862
				})
1863
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Crimson",VT(0.5,0,0.5))
1864
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1865
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1866
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1867
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1868
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1869
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1870
	end
1871
	local ORIGIN = RootPart.Position
1872
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
1873
	for i=0, 1, 0.1 / Animation_Speed do
1874
		Swait()
1875
				WACKYEFFECT({
1876
					Time = 5,
1877
					EffectType = "Round Slash",
1878
					Size = VT(0, 0, 0),
1879
					Size2 = VT(0.01, 0, 0.01),
1880
					Transparency = 0.5,
1881
					Transparency2 = 1,
1882
					CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1883
					MoveToPos = nil,
1884
					RotationX = MRANDOM(-50, 50) / 10,
1885
					RotationY = MRANDOM(-50, 50) / 10,
1886
					RotationZ = MRANDOM(-50, 50) / 10,
1887
					Material = "Neon",
1888
					Color = C3(1, 0, 0),
1889
					SoundID = nil,
1890
					SoundPitch = nil,
1891
					SoundVolume = nil
1892
				})
1893
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
1894
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1895
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1896
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1897
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1898
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1899
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1900
	end
1901
	UNANCHOR = true
1902
	RootPart.Anchored = false
1903
	for i = 1, 10 do
1904
		Swait()
1905
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Hot pink",VT(0.5,0,0.5))
1906
	end
1907
	ATTACK = false
1908
	Rooted = false
1909
end
1910
1911
function Neckless()
1912
	local TARGET = Mouse.Target
1913
	if TARGET ~= nil then
1914
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
1915
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
1916
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
1917
			if ROOT and HUM.Health > 0 then
1918
				local FOE = Mouse.Target.Parent
1919
				local HEAD = FOE:FindFirstChild("Head")
1920
				if HEAD then
1921
					ATTACK = true
1922
					Rooted = false
1923
					CharacterFade(C3(0,0,0),150)
1924
					RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
1925
					for _, c in pairs(FOE:GetChildren()) do
1926
						if c.ClassName == "Part" then
1927
							c.Anchored = true
1928
						end
1929
					end
1930
					CreateSound(235097614, Torso, 2, 3, false)
1931
					for i=0, 0.5, 0.1 / Animation_Speed do
1932
						Swait()
1933
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1934
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1935
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1936
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1937
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1938
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1939
					end
1940
					if ROOT.Name == "HumanoidRootPart" then
1941
						ROOT:remove()
1942
					end
1943
					FOE:BreakJoints()
1944
					ApplyDamage(HUM,0,true)
1945
					CreateSound(363808674, HEAD, 5, 1, false)
1946
					ROOT.Anchored = false
1947
					for i=0, 0.5, 0.1 / Animation_Speed do
1948
						Swait()
1949
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1950
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1951
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.65, -1.5) * ANGLES(RAD(130), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1952
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1953
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1954
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1955
					end
1956
					for _, c in pairs(FOE:GetChildren()) do
1957
						if c.ClassName == "Part" then
1958
							c.Anchored = false
1959
						end
1960
					end
1961
					ATTACK = false
1962
					Rooted = false
1963
				end
1964
			end
1965
		end
1966
	end
1967
end
1968
function BraveSpeed()
1969
	CreateSound(235097614, Torso, 0.2, 3, false)
1970
	for i = 1, 7 do
1971
		CharacterFade(C3(0,0,0),25+(i*10))
1972
		RootPart.CFrame = RootPart.CFrame*CF(0,0,-4)
1973
	end
1974
end
1975
function Slashed()
1976
	local TARGET = Mouse.Target
1977
	if TARGET ~= nil then
1978
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
1979
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
1980
			local ROOT = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
1981
			if ROOT and HUM.Health > 0 then
1982
				local FOE = Mouse.Target.Parent
1983
				ATTACK = true
1984
				coroutine.resume(coroutine.create(function()
1985
					repeat
1986
						Swait()
1987
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.05, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1988
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
1989
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.1) * ANGLES(RAD(50), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1990
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1991
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1992
					until ATTACK == false
1993
				end))
1994
				for i=0, 0.2, 0.1 / Animation_Speed do
1995
					Swait()
1996
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1997
				end
1998
				for i=0, 1.2, 0.1 / Animation_Speed do
1999
					Swait()
2000
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2001
				end
2002
				CreateSound(971125740, LeftArm, 5, 1, false)
2003
				for i=0, 0.1, 0.1 / Animation_Speed do
2004
					Swait()
2005
					WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(1,2,1), Size2 = VT(1,2,1), Transparency = 0.2, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2006
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2007
				end
2008
				ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(-15), RAD(0), RAD(15))
2009
				WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
2010
				WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
2011
				coroutine.resume(coroutine.create(function()
2012
					for i = 1, 5 do
2013
						Chunks(ROOT)
2014
					end
2015
					local FAKEROOT1 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
2016
					FAKEROOT1.CanCollide = true
2017
					local FAKEROOT2 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
2018
					FAKEROOT2.CanCollide = true
2019
					FAKEROOT1.CFrame = ROOT.CFrame*CF(0,ROOT.Size.Y/4,0)
2020
					FAKEROOT2.CFrame = ROOT.CFrame*CF(0,-ROOT.Size.Y/4,0)
2021
					ROOT:Remove()
2022
					ApplyDamage(HUM,0,true)
2023
				end))
2024
				for i=0, 0.4, 0.1 / Animation_Speed do
2025
					Swait()
2026
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2027
				end
2028
				ATTACK = false
2029
			end
2030
		end
2031
	end
2032
end
2033
function Dirtface()
2034
	local TARGET = Mouse.Target
2035
	if TARGET ~= nil then
2036
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
2037
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
2038
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
2039
			if ROOT and HUM.Health > 0 then
2040
				local FOE = Mouse.Target.Parent
2041
				local HEAD = FOE:FindFirstChild("Head")
2042
				local HITFLOOR = Raycast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE)
2043
				if HEAD and HITFLOOR then
2044
					ATTACK = true
2045
					Rooted = true
2046
					CharacterFade(C3(0,0,0),150)
2047
					RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
2048
					ROOT.Anchored = true
2049
					CreateSound(235097614, Torso, 2, 3, false)
2050
					for i=0, 0.4, 0.1 / Animation_Speed do
2051
						Swait()
2052
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
2053
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
2054
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2055
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2056
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2057
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2058
					end
2059
					for i=0, 0.1, 0.1 / Animation_Speed do
2060
						Swait()
2061
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
2062
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
2063
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2064
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2065
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2066
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2067
					end
2068
					ROOT.Anchored = false
2069
					UNANCHOR = false
2070
					local DEAD = false
2071
					local CFRAME = RootPart.CFrame
2072
					CreateSound(260411131, Torso, 2, 3, false)
2073
					coroutine.resume(coroutine.create(function()
2074
						repeat
2075
							Swait()
2076
							RootPart.CFrame = CFRAME
2077
							HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0))
2078
							HEAD.Velocity = VT(0,0,0)
2079
							HUM.PlatformStand = true
2080
						until DEAD == true
2081
					end))
2082
					for i=0, 0.2, 0.1 / Animation_Speed do
2083
						Swait()
2084
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
2085
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
2086
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
2087
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2088
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2089
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2090
					end
2091
					for i=0, 1, 0.1 / Animation_Speed do
2092
						Swait()
2093
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
2094
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * COS(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
2095
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1, 0) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2096
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2097
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2098
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2099
					end
2100
					local ERUPT = function()
2101
						local HITFLOOR,HITPOS = Raycast(HEAD.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.X, FOE)
2102
						if HITFLOOR then
2103
							for i = 1, 5 do
2104
								CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85))
2105
							end
2106
							Chunks(HEAD)
2107
							WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(15,0,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4})
2108
						end
2109
					end
2110
					local ATE = false
2111
					local DEPTH = 1
2112
					coroutine.resume(coroutine.create(function()
2113
						repeat
2114
							Swait()
2115
							RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed)
2116
							Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(-15)), 1 / Animation_Speed)
2117
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1-DEPTH/5, -DEPTH/8) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2118
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2119
							RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2120
							LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2121
						until ATE == true
2122
					end))
2123
					wait()
2124
					ERUPT()
2125
					wait(2)
2126
					ERUPT()
2127
					DEPTH = 2
2128
					wait(2)
2129
					ERUPT()
2130
					DEPTH = 2.5
2131
					wait(3)
2132
					ERUPT()
2133
					ERUPT()
2134
					HEAD:remove()
2135
					DEAD = true
2136
					ApplyDamage(HUM,0,true)
2137
					wait(0.2)
2138
					ATE = true
2139
					UNANCHOR = true
2140
					ATTACK = false
2141
					Rooted = false
2142
				end
2143
			end
2144
		end
2145
	end
2146
end
2147
2148
2149
function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH)
2150
	local CHILDREN = workspace:GetDescendants()
2151
	for index, CHILD in pairs(CHILDREN) do
2152
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2153
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2154
			if HUM then
2155
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2156
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
2157
					if EBANISH == true then
2158
						Banish(CHILD)
2159
					else
2160
						local DMG = MRANDOM(MINDMG, MAXDMG)
2161
						ApplyDamage(HUM, DMG, TORSO)
2162
					end
2163
					if FLING > 0 then
2164
						for _, c in pairs(CHILD:GetChildren()) do
2165
							if c:IsA("BasePart") then
2166
								local bv = Instance.new("BodyVelocity")
2167
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2168
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
2169
								bv.Parent = c
2170
								Debris:AddItem(bv, 0.05)
2171
							end
2172
						end
2173
					end
2174
				end
2175
			end
2176
		end
2177
	end
2178
end
2179
2180
local A = IT("Attachment",RightBarrel)
2181
A.Position = VT(0,-2.5,0)
2182
local B = IT("Attachment",RightBarrel)
2183
B.Position = VT(0,2.5,0)
2184
local Trail = IT("Trail",RightBarrel)
2185
Trail.Attachment0 = A
2186
Trail.Attachment1 = B
2187
Trail.Lifetime = 0.2
2188
Trail.Color = ColorSequence.new(BRICKC"Crimson".Color)
2189
Trail.Transparency = NumberSequence.new(0, 1)
2190
Trail.Enabled = false
2191
2192
function Execute()
2193
	ATTACK = true
2194
	Rooted = false
2195
	local Part = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Part", VT(0,1,4),false)
2196
	Part.Color = C3(0,0,0)
2197
	MakeForm(Part,"Wedge")
2198
	Part.CanCollide = true
2199
	CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
2200
	for i=0, 1, 0.1 / Animation_Speed do
2201
		Swait()
2202
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
2203
		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)
2204
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2205
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2206
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2207
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2208
	end
2209
	Trail.Enabled = true
2210
	CreateSound(541909867, RightBarrel, 7, 1, false)
2211
	local TOCH = Part.Touched:Connect(function(hit)
2212
		if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
2213
			Banish(hit.Parent)
2214
		end
2215
	end)
2216
	for i=0, 0.35, 0.1 / Animation_Speed do
2217
		Swait()
2218
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
2219
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
2220
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2221
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2222
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2223
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2224
	end
2225
	TOCH:disconnect()
2226
	Trail.Enabled = false
2227
	for i=0, 0.35, 0.1 / Animation_Speed do
2228
		Swait()
2229
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
2230
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
2231
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2232
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2233
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2234
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2235
	end
2236
	Part:remove()
2237
	ATTACK = false
2238
	Rooted = false
2239
end
2240
2241
local DECAL = IT("Decal")
2242
function MakeRing()
2243
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
2244
	local MSH = IT("BlockMesh", RING)
2245
	local TOP = DECAL:Clone()
2246
	local BOTTOM = DECAL:Clone()
2247
	TOP.Parent = RING
2248
	BOTTOM.Parent = RING
2249
	TOP.Face = "Top"
2250
	BOTTOM.Face = "Bottom"
2251
	TOP.Texture = "http://www.roblox.com/asset/?id=647661410"
2252
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=647661410"
2253
	local function REMOVE()
2254
		coroutine.resume(coroutine.create(function()
2255
			local SIZE = MSH.Scale.X
2256
			for i = 1, 35 do
2257
				Swait()
2258
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
2259
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
2260
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
2261
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
2262
			end
2263
			RING:remove()
2264
		end))
2265
	end
2266
	return RING, MSH, REMOVE
2267
end
2268
2269
function ApplyAoE(POSITION,RANGE,ISBANISH)
2270
	local CHILDREN = workspace:GetDescendants()
2271
	for index, CHILD in pairs(CHILDREN) do
2272
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2273
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2274
			if HUM then
2275
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2276
				if TORSO then
2277
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2278
						if ISBANISH == true then
2279
							Banish(CHILD)
2280
						else
2281
							if ISBANISH == "Gravity" then
2282
								HUM.PlatformStand = true
2283
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2284
									local grav = Instance.new("BodyPosition",TORSO)
2285
									grav.D = 15
2286
									grav.P = 20000
2287
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2288
									grav.position = TORSO.Position
2289
									grav.Name = "V3BanishForce"..Player.Name
2290
								else
2291
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
2292
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
2293
								end
2294
							else
2295
								HUM.PlatformStand = false
2296
							end
2297
						end
2298
					elseif ISBANISH == "Gravity" then
2299
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2300
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
2301
							HUM.PlatformStand = false
2302
						end
2303
					end
2304
				end
2305
			end
2306
		end
2307
	end
2308
end
2309
2310
function Smite()
2311
	local RING, MESH, DELET = MakeRing()
2312
	local POS = Mouse.Hit.p
2313
	RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
2314
	for i = 1, 45 do
2315
		Swait()
2316
		MESH.Scale = MESH.Scale + VT(12, 0, 12)
2317
		RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2318
	end
2319
	local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
2320
	if HITFLOOR then
2321
		local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really black"), "Beam", VT(0, 0, 0), true)
2322
		MakeForm(BEAM, "Cyl")
2323
		local DIST = (RING.Position - HITPOS).Magnitude
2324
		BEAM.Size = VT(0, DIST, 0)
2325
		BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
2326
		for i = 1, 5 do
2327
			WACKYEFFECT({
2328
				EffectType = "Wave",
2329
				Size = VT(25, 0, 25),
2330
				Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
2331
				Transparency = 0,
2332
				Transparency2 = 1,
2333
				CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
2334
				MoveToPos = nil,
2335
				RotationX = 0,
2336
				RotationY = 3,
2337
				RotationZ = 0,
2338
				Material = "Neon",
2339
				Color = C3(1, 0, 0),
2340
				SoundID = nil,
2341
				SoundPitch = nil,
2342
				SoundVolume = nil
2343
			})
2344
			WACKYEFFECT({
2345
				EffectType = "Round Slash",
2346
				Size = VT(3, 0, 3) / 13,
2347
				Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
2348
				Transparency = 0,
2349
				Transparency2 = 1,
2350
				CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
2351
				MoveToPos = nil,
2352
				RotationX = 0,
2353
				RotationY = 0,
2354
				RotationZ = 0,
2355
				Material = "Neon",
2356
			    Color = C3(1, 0, 1),
2357
				SoundID = nil,
2358
				SoundPitch = nil,
2359
				SoundVolume = nil
2360
			})
2361
			WACKYEFFECT({
2362
				Time = 35,
2363
				EffectType = "Sphere",
2364
				Size = VT(22, 22, 22),
2365
				Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
2366
				Transparency = 0,
2367
				Transparency2 = 1,
2368
				CFrame = CF(HITPOS),
2369
				MoveToPos = nil,
2370
				RotationX = 0,
2371
				RotationY = 0,
2372
				RotationZ = 0,
2373
				Material = "Neon",
2374
				Color = C3(0, .7, 0),
2375
				SoundID = 459523898,
2376
				SoundPitch = MRANDOM(9, 12) / 10,
2377
				SoundVolume = 10
2378
			})
2379
		end
2380
		ApplyAoE(HITPOS, 50, true)
2381
		for i = 1, 25 do
2382
			Swait()
2383
			BEAM.Size = BEAM.Size + VT(0.15, 0, 0.15)
2384
			BEAM.Transparency = BEAM.Transparency + 0.04
2385
		end
2386
		BEAM:remove()
2387
	end
2388
	wait(0.2)
2389
	DELET()
2390
end
2391
2392
function CorruptedBurningBeam()
2393
	ATTACK = true
2394
	Rooted = false
2395
	chatfunc("Do You Feel, Your Death Approaching?")
2396
	local GYRO = IT("BodyGyro", RootPart)
2397
	GYRO.D = 20
2398
	GYRO.P = 4000
2399
	GYRO.MaxTorque = VT(0, 40000, 0)
2400
	local RING, MESH, DELET = MakeRing()
2401
	local POS = RootPart.Position + VT(0, 25, 0)
2402
	RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
2403
	CreateSound(459523787, RING, 8, 1, false)
2404
	local BLASTS = {468991944, 468991990}
2405
	coroutine.resume(coroutine.create(function()
2406
		local E = 0
2407
		repeat
2408
			E = E + 5
2409
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
2410
			Swait()
2411
			RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(E), RAD(0))
2412
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
2413
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1 / Animation_Speed)
2414
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2415
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2416
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2417
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2418
		until ATTACK == false
2419
		GYRO:remove()
2420
		DELET()
2421
	end))
2422
	for i = 1, 50 do
2423
		Swait()
2424
		MESH.Scale = MESH.Scale + VT(22, 0, 22)
2425
	end
2426
	for i = 1, 25 do
2427
		Swait()
2428
		WACKYEFFECT({
2429
			Time = 15,
2430
			EffectType = "Sphere",
2431
			Size = VT(4, 4, 4),
2432
			Size2 = VT(0, 0, 0),
2433
			Transparency = 1,
2434
			Transparency2 = 0,
2435
			CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
2436
			MoveToPos = RING.Position,
2437
			RotationX = 0,
2438
			RotationY = 0,
2439
			RotationZ = 0,
2440
			Material = "Neon",
2441
			Color = C3(1, 0, 0),
2442
			SoundID = nil,
2443
			SoundPitch = nil,
2444
			SoundVolume = nil
2445
		})
2446
	end
2447
	local LOOP = 0
2448
	local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Dark indigo"), "Beam", VT(0, 0, 0), true)
2449
	MakeForm(BEAM, "Cyl")
2450
	CreateSound(BLASTS[MRANDOM(1, #BLASTS)], RING, 5, MRANDOM(9, 11) / 10, false)
2451
	repeat
2452
		local DISTANCE = (RING.Position - Mouse.Hit.p).Magnitude
2453
		if DISTANCE < 2000 then
2454
			BEAM.Size = VT(10 + 2 * COS(SINE / 4), DISTANCE, 10 + 2 * COS(SINE / 4))
2455
			BEAM.CFrame = CF(RING.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
2456
			ApplyAoE(Mouse.Hit.p, 35, true)
2457
			WACKYEFFECT({
2458
				Time = 35,
2459
				EffectType = "Sphere",
2460
				Size = VT(10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4)) * 2,
2461
				Size2 = VT(5, 75, 5),
2462
				Transparency = 0,
2463
				Transparency2 = 1,
2464
				CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2465
				MoveToPos = nil,
2466
				RotationX = 0,
2467
				RotationY = 0,
2468
				RotationZ = 0,
2469
				Material = "Neon",
2470
				Color = C3(0, 0, 0),
2471
				SoundID = nil,
2472
				SoundPitch = MRANDOM(9, 12) / 10,
2473
				SoundVolume = 10
2474
			})
2475
			Swait()
2476
			LOOP = LOOP + 1
2477
		end
2478
	until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
2479
	coroutine.resume(coroutine.create(function()
2480
		for i = 1, 15 do
2481
			Swait()
2482
			BEAM.Size = BEAM.Size - VT(0.8, 0, 0.8)
2483
			BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
2484
		end
2485
		BEAM:remove()
2486
	end))
2487
	ATTACK = false
2488
	Rooted = false
2489
end
2490
2491
function PlanetaryDevastation()
2492
	ATTACK = true
2493
	Rooted = true
2494
	chatfunc("Begone!")
2495
	local SIZE = 1
2496
	local GYRO = IT("BodyGyro", RootPart)
2497
	GYRO.D = 20
2498
	GYRO.P = 4000
2499
	GYRO.MaxTorque = VT(0, 40000, 0)
2500
	local RING, MESH, DELET = MakeRing()
2501
	local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
2502
	RING.CFrame = CF(HITPOS)
2503
	for i = 0, 0.6, 0.1 / Animation_Speed do
2504
		GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
2505
		Swait()
2506
		MESH.Scale = MESH.Scale + VT(53, 0, 53)
2507
		RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2508
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2509
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2510
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
2511
	end
2512
	local BLASTS = {468991944, 468991990}
2513
	coroutine.resume(coroutine.create(function()
2514
		local CFRAME = RootPart.CFrame
2515
		for i = 1, 100 do
2516
			CFRAME = CFRAME * CF(0, 0, -35)
2517
			do
2518
				local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
2519
				if HITFLOOR then
2520
					Swait()
2521
					do
2522
						local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
2523
						coroutine.resume(coroutine.create(function()
2524
							local RING, MESH, DELET = MakeRing()
2525
							RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
2526
							for i = 1, 25 do
2527
								Swait()
2528
								MESH.Scale = MESH.Scale + VT(42, 0, 42)
2529
								RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2530
							end
2531
							ApplyAoE(RING.Position, 65, true)
2532
							local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
2533
							WACKYEFFECT({
2534
								Time = 25,
2535
								EffectType = "Sphere",
2536
								Size = VT(22, 22, 22),
2537
								Size2 = VT(85, 85, 85),
2538
								Transparency = 0,
2539
								Transparency2 = 1,
2540
								CFrame = CF(RING.Position),
2541
								MoveToPos = nil,
2542
								RotationX = 0,
2543
								RotationY = 0,
2544
								RotationZ = 0,
2545
								Material = "Neon",
2546
								Color = C3(1, 0, 0),
2547
								SoundID = BLASTS[MRANDOM(1, #BLASTS)],
2548
								SoundPitch = MRANDOM(9, 12) / 10,
2549
								SoundVolume = 10
2550
							})
2551
							for e = 1, 3 do
2552
								WACKYEFFECT({
2553
									EffectType = "Wave",
2554
									Size = VT(25, 0, 25),
2555
									Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
2556
									Transparency = 0,
2557
									Transparency2 = 1,
2558
									CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
2559
									MoveToPos = nil,
2560
									RotationX = 0,
2561
									RotationY = 3,
2562
									RotationZ = 0,
2563
									Material = "Neon",
2564
									Color = C3(1, 0, 1),
2565
									SoundID = nil,
2566
									SoundPitch = nil,
2567
									SoundVolume = nil
2568
								})
2569
								WACKYEFFECT({
2570
									Time = 35,
2571
									EffectType = "Sphere",
2572
									Size = VT(22, 45, 22),
2573
									Size2 = VT(25, 45 + e * 75, 25),
2574
									Transparency = 0,
2575
									Transparency2 = 1,
2576
									CFrame = CF(RING.Position) * TURN,
2577
									MoveToPos = nil,
2578
									RotationX = 0,
2579
									RotationY = 0,
2580
									RotationZ = 0,
2581
									Material = "Neon",
2582
									Color = C3(0, .5, 0),
2583
									SoundID = nil,
2584
									SoundPitch = MRANDOM(9, 12) / 10,
2585
									SoundVolume = 10
2586
								})
2587
							end
2588
							wait(0.3)
2589
							DELET()
2590
						end))
2591
					end
2592
				end
2593
			end
2594
		end
2595
	end))
2596
	Rooted = false
2597
	DELET()
2598
	GYRO:remove()
2599
	ATTACK = false
2600
	Rooted = false
2601
end
2602
2603
function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
2604
	if FLOOR ~= nil then
2605
		for i = 1, AMOUNT do
2606
			do
2607
				local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
2608
				DEBREE.Material = FLOOR.Material
2609
				DEBREE.Color = FLOOR.Color
2610
				DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
2611
				DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
2612
				coroutine.resume(coroutine.create(function()
2613
					Swait(15)
2614
					DEBREE.Parent = workspace
2615
					DEBREE.CanCollide = true
2616
					Debris:AddItem(DEBREE, SWAIT)
2617
				end))
2618
			end
2619
		end
2620
	end
2621
end
2622
2623
function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
2624
	if FLOOR ~= nil then
2625
		for i = 1, AMOUNT do
2626
			local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Debree", BLOCKSIZE, false)
2627
			DEBREE.Material = FLOOR.Material
2628
			DEBREE.Color = FLOOR.Color
2629
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
2630
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
2631
			coroutine.resume(coroutine.create(function()
2632
				Swait(15)
2633
				DEBREE.Parent = workspace
2634
				DEBREE.CanCollide = true
2635
				Debris:AddItem(DEBREE,SWAIT)
2636
			end))
2637
		end
2638
	end
2639
end
2640
2641
function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
2642
	if FLOOR ~= nil then
2643
		coroutine.resume(coroutine.create(function()
2644
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
2645
			PART.CFrame = CF(POSITION)
2646
			for i = 1, 45 do
2647
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
2648
				RingPiece.Material = FLOOR.Material
2649
				RingPiece.Color = FLOOR.Color
2650
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
2651
				Debris:AddItem(RingPiece,SWAIT)
2652
			end
2653
			PART:remove()
2654
		end))
2655
	end
2656
end
2657
2658
function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
2659
	if FLOOR ~= nil then
2660
		coroutine.resume(coroutine.create(function()
2661
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
2662
			PART.CFrame = CF(POSITION)
2663
			for i = 1, 45 do
2664
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
2665
				RingPiece.Material = FLOOR.Material
2666
				RingPiece.Color = FLOOR.Color
2667
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
2668
				Debris:AddItem(RingPiece, SWAIT)
2669
			end
2670
			PART:remove()
2671
		end))
2672
	end
2673
end
2674
2675
function BIGSMASH()
2676
	local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 10, 0), Mouse.Hit.p - VT(0, 10, 0)).lookVector, 25, Character)
2677
	chatfunc("Die HAHAHAHAHAMUAHAHAHA")
2678
	if HITFLOOR then
2679
		local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
2680
		CreateSound("1295446488", Torso, 5, 1)
2681
		for i = 1, 5 do
2682
			WACKYEFFECT({
2683
				Time = MRANDOM(15, 35),
2684
				EffectType = "Round Slash",
2685
				Size = VT(0, 0, 0),
2686
				Size2 = VT(0.3, 0, 0.3),
2687
				Transparency = 0.5,
2688
				Transparency2 = 1,
2689
				CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
2690
				MoveToPos = nil,
2691
				RotationX = MRANDOM(-50, 50) / 10,
2692
				RotationY = MRANDOM(-50, 50) / 10,
2693
				RotationZ = MRANDOM(-50, 50) / 10,
2694
				Material = "Neon",
2695
				Color = C3(1, 1, 1),
2696
				SoundID = nil,
2697
				SoundPitch = nil,
2698
				SoundVolume = nil
2699
			})
2700
		end
2701
		ATTACK = true
2702
		Rooted = true
2703
		UNANCHOR = false
2704
		RootPart.Anchored = true
2705
		RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
2706
		for i = 1, 5 do
2707
			WACKYEFFECT({
2708
				Time = MRANDOM(15, 35),
2709
				EffectType = "Round Slash",
2710
				Size = VT(0, 0, 0),
2711
				Size2 = VT(0.3, 0, 0.3),
2712
				Transparency = 0.5,
2713
				Transparency2 = 1,
2714
				CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
2715
				MoveToPos = nil,
2716
				RotationX = MRANDOM(-50, 50) / 10,
2717
				RotationY = MRANDOM(-50, 50) / 10,
2718
				RotationZ = MRANDOM(-50, 50) / 10,
2719
				Material = "Neon",
2720
				Color = C3(1, 1, 1),
2721
				SoundID = nil,
2722
				SoundPitch = nil,
2723
				SoundVolume = nil
2724
			})
2725
		end
2726
		for i = 0, 0.2, 0.1 / Animation_Speed do
2727
			Swait()
2728
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
2729
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2730
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2731
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2732
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2733
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
2734
		end
2735
		for i = 0, 1, 0.1 / Animation_Speed do
2736
			Swait()
2737
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
2738
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
2739
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
2740
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
2741
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
2742
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
2743
		end
2744
		for i = 1, 10 do
2745
			Swait()
2746
			RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
2747
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
2748
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
2749
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
2750
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
2751
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
2752
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
2753
		end
2754
		for i = 0, 0.2, 0.1 / Animation_Speed do
2755
			Swait()
2756
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
2757
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
2758
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
2759
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
2760
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
2761
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
2762
		end
2763
		local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
2764
		if HITFLOOR then
2765
			if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
2766
				local CHILDREN = HITFLOOR.Parent:GetDescendants()
2767
				for index, CHILD in pairs(CHILDREN) do
2768
					if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
2769
						for i = 1, 5 do
2770
							CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
2771
							CHILD:remove()
2772
						end
2773
					end
2774
				end
2775
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
2776
				SOUNDPART.CFrame = CF(HITPOS)
2777
				Debris:AddItem(SOUNDPART, 5)
2778
				CreateSound("130972023", SOUNDPART, 6, 3)
2779
				CreateSound("182765513", SOUNDPART, 6, 1)
2780
				WACKYEFFECT({
2781
					EffectType = "Ring",
2782
					Size = VT(0, 0, 0),
2783
					Size2 = VT(1, 1, 0),
2784
					Transparency = 0.7,
2785
					Transparency2 = 1,
2786
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
2787
					MoveToPos = nil,
2788
					RotationX = 0,
2789
					RotationY = 0,
2790
					RotationZ = 0,
2791
					Material = "Neon",
2792
					Color = C3(1, 1, 1),
2793
					SoundID = nil,
2794
					SoundPitch = nil,
2795
					SoundVolume = nil
2796
				})
2797
			elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2798
				local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
2799
				for index, CHILD in pairs(CHILDREN) do
2800
					if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
2801
						for i = 1, 5 do
2802
							CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
2803
							CHILD:remove()
2804
						end
2805
					end
2806
				end
2807
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
2808
				SOUNDPART.CFrame = CF(HITPOS)
2809
				Debris:AddItem(SOUNDPART, 5)
2810
				CreateSound("130972023", SOUNDPART, 6, 3)
2811
				CreateSound("182765513", SOUNDPART, 6, 1)
2812
				WACKYEFFECT({
2813
					EffectType = "Ring",
2814
					Size = VT(0, 0, 0),
2815
					Size2 = VT(1, 1, 0),
2816
					Transparency = 0.7,
2817
					Transparency2 = 1,
2818
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
2819
					MoveToPos = nil,
2820
					RotationX = 0,
2821
					RotationY = 0,
2822
					RotationZ = 0,
2823
					Material = "Neon",
2824
					Color = C3(1, 1, 1),
2825
					SoundID = nil,
2826
					SoundPitch = nil,
2827
					SoundVolume = nil
2828
				})
2829
			elseif HITFLOOR.Anchored == false then
2830
				if HITFLOOR.Parent ~= workspace then
2831
					local CHILDREN = HITFLOOR.Parent:GetDescendants()
2832
					for index, CHILD in pairs(CHILDREN) do
2833
						if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
2834
							for i = 1, 5 do
2835
								CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
2836
							end
2837
							CHILD:remove()
2838
						end
2839
					end
2840
				else
2841
					for i = 1, 5 do
2842
						CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
2843
					end
2844
					HITFLOOR:remove()
2845
				end
2846
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
2847
				SOUNDPART.CFrame = CF(HITPOS)
2848
				Debris:AddItem(SOUNDPART, 5)
2849
				CreateSound("130972023", SOUNDPART, 10, 3)
2850
				CreateSound("178452217", SOUNDPART, 6, 1)
2851
				WACKYEFFECT({
2852
					EffectType = "Ring",
2853
					Size = VT(0, 0, 0),
2854
					Size2 = VT(1, 1, 0),
2855
					Transparency = 0.7,
2856
					Transparency2 = 1,
2857
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
2858
					MoveToPos = nil,
2859
					RotationX = 0,
2860
					RotationY = 0,
2861
					RotationZ = 0,
2862
					Material = "Neon",
2863
					Color = C3(1, 1, 1),
2864
					SoundID = nil,
2865
					SoundPitch = nil,
2866
					SoundVolume = nil
2867
				})
2868
			else
2869
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
2870
				SOUNDPART.CFrame = CF(HITPOS)
2871
				Debris:AddItem(SOUNDPART, 5)
2872
				CreateSound("130972023", SOUNDPART, 10, 1)
2873
				CreateSound("130972023", SOUNDPART, 6, 0.7)
2874
				CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
2875
				CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
2876
				ApplyAoE5(HITPOS, 15, 45, 75, 75, true)
2877
				ApplyAoE5(HITPOS, 25, 25, 35, 35, true)
2878
				for i = 1, 5 do
2879
					CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
2880
				end
2881
				for i = 1, 5 do
2882
					CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
2883
				end
2884
			end
2885
		end
2886
		for i = 0, 1.2, 0.1 / Animation_Speed do
2887
			Swait()
2888
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
2889
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
2890
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
2891
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
2892
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
2893
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
2894
		end
2895
		ATTACK = false
2896
		Rooted = false
2897
		UNANCHOR = true
2898
		RootPart.Anchored = false
2899
	end
2900
end
2901
2902
function calamity()
2903
	ATTACK = true
2904
	Rooted = true
2905
	local GYRO = IT("BodyGyro", RootPart)
2906
	GYRO.D = 15
2907
	GYRO.P = 2000
2908
	GYRO.MaxTorque = VT(0, 4000000, 0)
2909
	CreateSound("341301115", Head, 5, 1.1)
2910
	CreateSound("93724183", Head, 6, 1)
2911
	for i = 1, 200 do
2912
		Swait()
2913
		WACKYEFFECT({
2914
			Time = MRANDOM(5, 15),
2915
			EffectType = "Round Slash",
2916
			Size = VT(0, 0, 0),
2917
			Size2 = VT(0.12, 0, 0.12),
2918
			Transparency = 0.5,
2919
			Transparency2 = 1,
2920
			CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
2921
			MoveToPos = nil,
2922
			RotationX = MRANDOM(-50, 50) / 50,
2923
			RotationY = MRANDOM(-50, 50) / 10,
2924
			RotationZ = MRANDOM(-50, 50) / 50,
2925
			Material = "Neon",
2926
			Color = C3(0, 0, 0),
2927
			SoundID = nil,
2928
			SoundPitch = nil,
2929
			SoundVolume = nil
2930
		})
2931
		WACKYEFFECT({
2932
			Time = MRANDOM(5, 15),
2933
			EffectType = "Round Slash",
2934
			Size = VT(0, 0, 0),
2935
			Size2 = VT(0.1, 0, 0.1),
2936
			Transparency = 0.5,
2937
			Transparency2 = 1,
2938
			CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
2939
			MoveToPos = nil,
2940
			RotationX = MRANDOM(-50, 50) / 50,
2941
			RotationY = MRANDOM(-50, 50) / 10,
2942
			RotationZ = MRANDOM(-50, 50) / 50,
2943
			Material = "Neon",
2944
			Color = C3(.2, 0, 0),
2945
			SoundID = nil,
2946
			SoundPitch = nil,
2947
			SoundVolume = nil
2948
		})
2949
		WACKYEFFECT({
2950
			Time = MRANDOM(5, 15),
2951
			EffectType = "Round Slash",
2952
			Size = VT(0, 0, 0),
2953
			Size2 = VT(0.16, 0, 0.16),
2954
			Transparency = 0.5,
2955
			Transparency2 = 1,
2956
			CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
2957
			MoveToPos = nil,
2958
			RotationX = MRANDOM(-50, 50) / 50,
2959
			RotationY = MRANDOM(-50, 50) / 10,
2960
			RotationZ = MRANDOM(-50, 50) / 50,
2961
			Material = "Neon",
2962
			Color = C3(.3, 0, 0),
2963
			SoundID = nil,
2964
			SoundPitch = nil,
2965
			SoundVolume = nil
2966
		})
2967
		WACKYEFFECT({
2968
			Time = 5,
2969
			EffectType = "Sphere",
2970
			Size = VT(i, i, i) / 150,
2971
			Size2 = VT(0, 0, 0),
2972
			Transparency = 0.5,
2973
			Transparency2 = 1,
2974
			CFrame = Head.CFrame * CF(0, -0.25, -1),
2975
			MoveToPos = nil,
2976
			RotationX = 0,
2977
			RotationY = 0,
2978
			RotationZ = 0,
2979
			Material = "Neon",
2980
			Color = C3(.4, 0, 0),
2981
			SoundID = nil,
2982
			SoundPitch = nil,
2983
			SoundVolume = nil
2984
		})
2985
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2986
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
2987
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
2988
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
2989
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
2990
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
2991
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
2992
	end
2993
	GYRO:remove()
2994
	for i = 0, 0.3, 0.1 / Animation_Speed do
2995
		Swait()
2996
		WACKYEFFECT({
2997
			Time = 25,
2998
			EffectType = "Sphere",
2999
			Size = VT(200, 200, 200) / 150,
3000
			Size2 = VT(0, 0, 0),
3001
			Transparency = 0.5,
3002
			Transparency2 = 1,
3003
			CFrame = Head.CFrame * CF(0, -0.25, -1),
3004
			MoveToPos = nil,
3005
			RotationX = 0,
3006
			RotationY = 0,
3007
			RotationZ = 0,
3008
			Material = "Neon",
3009
			Color = C3(.5, 0, .5),
3010
			SoundID = nil,
3011
			SoundPitch = nil,
3012
			SoundVolume = nil
3013
		})
3014
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3015
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3016
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3017
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3018
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3019
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3020
	end
3021
	coroutine.resume(coroutine.create(function()
3022
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Dark Orange", "DOOM", VT(1, 1, 1))
3023
		MakeForm(FIREBALL, "Ball")
3024
		local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
3025
		FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
3026
		for i = 1, 500 do
3027
			Swait()
3028
			FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
3029
			local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
3030
			if HITFLOOR ~= nil then
3031
				break
3032
			end
3033
		end
3034
		CreateSound(325132788, Effects, 8, 1, false)
3035
		for i = 1, 120 do
3036
			Swait()
3037
			WACKYEFFECT({
3038
				Time = 85,
3039
				EffectType = "Sphere",
3040
				Size = FIREBALL.Size,
3041
				Size2 = VT(0, 9000, 0),
3042
				Transparency = 0.5,
3043
				Transparency2 = 1,
3044
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3045
				MoveToPos = nil,
3046
				RotationX = MRANDOM(-50, 50) / 10,
3047
				RotationY = MRANDOM(-50, 50) / 10,
3048
				RotationZ = MRANDOM(-50, 50) / 10,
3049
				Material = "Neon",
3050
				Color = C3(.6, 0, .6),
3051
				SoundID = nil,
3052
				SoundPitch = nil,
3053
				SoundVolume = nil
3054
			})
3055
			FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
3056
		end
3057
		Swait(5)
3058
		ApplyAoE5(FIREBALL.Position, 435, 65, 65, 600, true)
3059
		for i = 1, 10 do
3060
			WACKYEFFECT({
3061
				Time = 85 + 5 * i,
3062
				EffectType = "Slash",
3063
				Size = VT(9, 0, 9),
3064
				Size2 = VT(32, 0, 32),
3065
				Transparency = 0.5,
3066
				Transparency2 = 1,
3067
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3068
				MoveToPos = nil,
3069
				RotationX = MRANDOM(-50, 50) / 50,
3070
				RotationY = MRANDOM(-50, 50) / 10,
3071
				RotationZ = MRANDOM(-50, 50) / 50,
3072
				Material = "Neon",
3073
				Color = C3(0, 0, 0),
3074
				SoundID = nil,
3075
				SoundPitch = nil,
3076
				SoundVolume = nil
3077
			})
3078
			WACKYEFFECT({
3079
				Time = 185 + 5 * i,
3080
				EffectType = "Swirl",
3081
				Size = VT(25, 25, 25),
3082
				Size2 = VT(900, 900, 900) + VT(35, 35, 35) * i,
3083
				Transparency = 0.5,
3084
				Transparency2 = 1,
3085
				CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
3086
				MoveToPos = nil,
3087
				RotationX = MRANDOM(-50, 50) / 50,
3088
				RotationY = MRANDOM(-50, 50) / 10,
3089
				RotationZ = MRANDOM(-50, 50) / 50,
3090
				Material = "Neon",
3091
				Color = C3(1, 0.5, 0.5),
3092
				SoundID = nil,
3093
				SoundPitch = nil,
3094
				SoundVolume = nil
3095
			})
3096
			WACKYEFFECT({
3097
				Time = 285 + 5 * i,
3098
				EffectType = "Round Slash",
3099
				Size = VT(6, 0, 6),
3100
				Size2 = VT(22, 0, 22),
3101
				Transparency = 0.5,
3102
				Transparency2 = 1,
3103
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3104
				MoveToPos = nil,
3105
				RotationX = MRANDOM(-50, 50) / 50,
3106
				RotationY = MRANDOM(-50, 50) / 10,
3107
				RotationZ = MRANDOM(-50, 50) / 50,
3108
				Material = "Neon",
3109
				Color = C3(1, 1, 0),
3110
				SoundID = nil,
3111
				SoundPitch = nil,
3112
				SoundVolume = nil
3113
			})
3114
			WACKYEFFECT({
3115
				Time = 285 + 5 * i,
3116
				EffectType = "Sphere",
3117
				Size = VT(850, 850, 850),
3118
				Size2 = VT(1050, 1050, 1050) + VT(35, 35, 35) * i,
3119
				Transparency = 0.5,
3120
				Transparency2 = 1,
3121
				CFrame = FIREBALL.CFrame,
3122
				MoveToPos = nil,
3123
				RotationX = 0,
3124
				RotationY = 0,
3125
				RotationZ = 0,
3126
				Material = "Neon",
3127
				Color = C3(0, 1, 1),
3128
				SoundID = nil,
3129
				SoundPitch = 0,
3130
				SoundVolume = 0
3131
			})
3132
		end
3133
		wait(1)
3134
		WACKYEFFECT({
3135
			Time = 75,
3136
			EffectType = "Sphere",
3137
			Size = VT(550, 550, 550),
3138
			Size2 = VT(6500, 6500, 6500),
3139
			Transparency = 0.8,
3140
			Transparency2 = 1,
3141
			CFrame = FIREBALL.CFrame,
3142
			MoveToPos = nil,
3143
			RotationX = 0,
3144
			RotationY = 0,
3145
			RotationZ = 0,
3146
			Material = "Neon",
3147
			Color = C3(1, 1, 1),
3148
			SoundID = nil,
3149
			SoundPitch = 0,
3150
			SoundVolume = 0
3151
		})
3152
		for i = 1, 15 do
3153
			Swait()
3154
			ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
3155
			WACKYEFFECT({
3156
				Time = 85,
3157
				EffectType = "Sphere",
3158
				Size = VT(95, 95, 95),
3159
				Size2 = VT(0, 6500, 0),
3160
				Transparency = 0.5,
3161
				Transparency2 = 1,
3162
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3163
				MoveToPos = nil,
3164
				RotationX = MRANDOM(-50, 50) / 10,
3165
				RotationY = MRANDOM(-50, 50) / 10,
3166
				RotationZ = MRANDOM(-50, 50) / 10,
3167
				Material = "Neon",
3168
				Color = C3(0, 0, 0),
3169
				SoundID = nil,
3170
				SoundPitch = nil,
3171
				SoundVolume = nil
3172
			})
3173
		end
3174
		FIREBALL:remove()
3175
	end))
3176
	WACKYEFFECT({
3177
		Time = 25,
3178
		EffectType = "Ring",
3179
		Size = VT(0, 0, 0),
3180
		Size2 = VT(9.75, 9.75, 0),
3181
		Transparency = 0.7,
3182
		Transparency2 = 1,
3183
		CFrame = Head.CFrame * CF(0, -0.25, -0.75),
3184
		MoveToPos = nil,
3185
		RotationX = 0,
3186
		RotationY = 0,
3187
		RotationZ = 0,
3188
		Material = "Neon",
3189
		Color = C3(1, 0, 0),
3190
		SoundID = nil,
3191
		SoundPitch = nil,
3192
		SoundVolume = nil
3193
	})
3194
	WACKYEFFECT({
3195
		Time = 50,
3196
		EffectType = "Ring",
3197
		Size = VT(0, 0, 0),
3198
		Size2 = VT(35, 35, 0),
3199
		Transparency = 0.7,
3200
		Transparency2 = 1,
3201
		CFrame = Head.CFrame * CF(0, -0.25, -0.75),
3202
		MoveToPos = nil,
3203
		RotationX = 0,
3204
		RotationY = 0,
3205
		RotationZ = 0,
3206
		Material = "Neon",
3207
		Color = C3(.4, .1, 0),
3208
		SoundID = nil,
3209
		SoundPitch = nil,
3210
		SoundVolume = nil
3211
	})
3212
	for i = 0, 0.3, 0.1 / Animation_Speed do
3213
		Swait()
3214
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3215
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3216
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3217
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3218
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3219
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3220
	end
3221
	ATTACK = false
3222
	Rooted = false
3223
end
3224
3225
function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
3226
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
3227
	local mesh = IT("SpecialMesh",wave)
3228
	mesh.MeshType = "Sphere"
3229
	mesh.Scale = SIZE
3230
	mesh.Offset = VT(0,0,0)
3231
	wave.CFrame = CFRAME
3232
	coroutine.resume(coroutine.create(function(PART)
3233
		for i = 1, WAIT do
3234
			Swait()
3235
			mesh.Scale = mesh.Scale + GROW
3236
			wave.Transparency = wave.Transparency + (1/WAIT)
3237
			if wave.Transparency > 0.99 then
3238
				wave:remove()
3239
			end
3240
		end
3241
	end))
3242
end
3243
3244
function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
3245
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
3246
	local mesh = IT("SpecialMesh",wave)
3247
	mesh.MeshType = "FileMesh"
3248
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
3249
	mesh.Scale = SIZE
3250
	mesh.Offset = VT(0,0,0)
3251
	wave.CFrame = CFRAME
3252
	coroutine.resume(coroutine.create(function(PART)
3253
		for i = 1, WAIT do
3254
			Swait()
3255
			mesh.Scale = mesh.Scale + GROW
3256
			if DOESROT == true then
3257
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
3258
			end
3259
			wave.Transparency = wave.Transparency + (0.5/WAIT)
3260
			if wave.Transparency > 0.99 then
3261
				wave:remove()
3262
			end
3263
		end
3264
	end))
3265
end
3266
3267
3268
function ApplyAoE4(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
3269
	local CHILDREN = workspace:GetDescendants()
3270
	for index, CHILD in pairs(CHILDREN) do
3271
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3272
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3273
			if HUM then
3274
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3275
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
3276
					if IZBANISH == true then
3277
						Banish(CHILD)
3278
					else
3279
						local DMG = MRANDOM(MINDMG, MAXDMG)
3280
						ApplyDamage(HUM, DMG, TORSO)
3281
					end
3282
					if FLING > 0 then
3283
						for _, c in pairs(CHILD:GetChildren()) do
3284
							if c:IsA("BasePart") then
3285
								local bv = Instance.new("BodyVelocity")
3286
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
3287
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
3288
								bv.Parent = c
3289
								Debris:AddItem(bv, 0.05)
3290
							end
3291
						end
3292
					end
3293
				end
3294
			end
3295
		end
3296
	end
3297
end
3298
3299
function ApplyAoE6(POSITION, RANGE, MINDMG, MAXDMG, FLING, KILLD)
3300
	local CHILDREN = workspace:GetDescendants()
3301
	for index, CHILD in pairs(CHILDREN) do
3302
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3303
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3304
			if HUM then
3305
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3306
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
3307
					if KILLD == true then
3308
						Kill2(CHILD)
3309
					else
3310
						local DMG = MRANDOM(MINDMG, MAXDMG)
3311
						ApplyDamage(HUM, DMG, TORSO)
3312
					end
3313
					if FLING > 0 then
3314
						for _, c in pairs(CHILD:GetChildren()) do
3315
							if c:IsA("BasePart") then
3316
								local bv = Instance.new("BodyVelocity")
3317
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
3318
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
3319
								bv.Parent = c
3320
								Debris:AddItem(bv, 0.05)
3321
							end
3322
						end
3323
					end
3324
				end
3325
			end
3326
		end
3327
	end
3328
end
3329
3330
function Complete_Control()
3331
ATTACK = true
3332
Rooted = true
3333
        chatfunc("Do Not Try To Get Evade This.")
3334
        CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(100,100,100))
3335
	    CreateSound("1137548130", Effects, 10, 1)
3336
	    MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
3337
		ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
3338
ATTACK = false
3339
Rooted = false
3340
end
3341
3342
function TrustIssues()
3343
	ATTACK = true
3344
	Rooted = false
3345
	CreateSound(649634100,Head,10,0.5,false)
3346
	for i=1, 80 do
3347
		Swait()
3348
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15* COS(i / 5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3349
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
3350
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3351
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3352
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3353
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3354
	end
3355
	ATTACK = false
3356
	Rooted = false
3357
end
3358
3359
--//=================================\\
3360
--||	  ASSIGN THINGS TO KEYS
3361
--\\=================================//
3362
3363
function MouseDown(Mouse)
3364
	if ATTACK == false then
3365
	end
3366
end
3367
3368
function MouseUp(Mouse)
3369
HOLD = false
3370
end
3371
3372
function KeyDown(Key)
3373
	KEYHOLD = true
3374
	if Key == "e" and ATTACK == false then
3375
		ChangeSanity()
3376
	end
3377
	
3378
	if Key == "m" and ATTACK == false then
3379
		BreakSanity()
3380
	end
3381
	
3382
	if Key == "q" and ATTACK == false then
3383
		ChangeSanityMadness()
3384
	end
3385
	
3386
	if Key == "n" and ATTACK == false then
3387
		if MODE == "SR" then
3388
			if Speed == 12 then
3389
			Speed = 50
3390
		elseif Speed == 50 then
3391
			Speed = 12
3392
		end
3393
	end
3394
	end
3395
	
3396
	if Key == "z" and ATTACK == false then
3397
		if MODE == "CRES" then
3398
		CORRUPTEDBURNINGBULLETS()
3399
		elseif MODE == "RR" then
3400
		BIGSMASH()
3401
		elseif MODE == "GC" then
3402
		Smite()		
3403
	end
3404
	end
3405
	
3406
	if Key == "c" and ATTACK == false then
3407
		if MODE == "CRES" then
3408
		CORRUPTEDLETHALBULLETS()
3409
		elseif MODE == "RR" then
3410
		Complete_Control()
3411
		elseif MODE == "GC" then
3412
		CorruptedBurningBeam()	
3413
	end
3414
	end
3415
	
3416
	if Key == "g" and ATTACK == false then
3417
		if MODE == "CRES" then
3418
		Warp()
3419
		elseif MODE == "RR" then
3420
		Execute()
3421
		elseif MODE == "GC" then
3422
		PlanetaryDevastation()	
3423
	end
3424
	end
3425
	
3426
	if Key == "v" and ATTACK == false then
3427
		if MODE == "CRES" then
3428
		Corrupted_Burn()
3429
		elseif MODE == "RR" then
3430
		chatfunc("You Are Free Of My Hell.")
3431
		TOBANISH = {}
3432
		elseif MODE == "GC" then
3433
		calamity()	
3434
	end
3435
	end
3436
3437
	if Key == "t" and ATTACK == false then
3438
		TrustIssues()
3439
	end
3440
end
3441
3442
function KeyUp(Key)
3443
	KEYHOLD = false
3444
end
3445
3446
	Mouse.Button1Down:connect(function(NEWKEY)
3447
		MouseDown(NEWKEY)
3448
	end)
3449
	Mouse.Button1Up:connect(function(NEWKEY)
3450
		MouseUp(NEWKEY)
3451
	end)
3452
	Mouse.KeyDown:connect(function(NEWKEY)
3453
		KeyDown(NEWKEY)
3454
	end)
3455
	Mouse.KeyUp:connect(function(NEWKEY)
3456
		KeyUp(NEWKEY)
3457
	end)
3458
3459
--//=================================\\
3460
--\\=================================//
3461
3462
function unanchor()
3463
	for _, c in pairs(Character:GetChildren()) do
3464
		if c:IsA("BasePart") and c ~= RootPart then
3465
			c.Anchored = false
3466
		end
3467
	end
3468
	if UNANCHOR == true then
3469
		RootPart.Anchored = false
3470
	else
3471
		RootPart.Anchored = true
3472
	end
3473
end
3474
3475
--//=================================\\
3476
--||	WRAP THE WHOLE SCRIPT UP
3477
--\\=================================//
3478
3479
Humanoid.Changed:connect(function(Jump)
3480
	if Jump == "Jump" and (Disable_Jump == true) then
3481
		Humanoid.Jump = false
3482
	end
3483
end)
3484
3485
while true do
3486
	Swait()
3487
	script.Parent = WEAPONGUI
3488
	ANIMATE.Parent = nil
3489
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
3490
	    v:Stop();
3491
	end
3492
	SINE = SINE + CHANGE
3493
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
3494
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
3495
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3496
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
3497
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
3498
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3499
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3500
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
3501
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
3502
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
3503
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3504
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3505
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3506
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3507
		end
3508
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
3509
		ANIM = "Jump"
3510
		if ATTACK == false then
3511
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3512
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
3513
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3514
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3515
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3516
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3517
		end
3518
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
3519
		ANIM = "Fall"
3520
		if ATTACK == false then
3521
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
3522
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
3523
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3524
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3525
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3526
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3527
		end
3528
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
3529
		ANIM = "Idle"
3530
		if ATTACK == false then
3531
			if MODE == "CRES" then
3532
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
3533
			if MRANDOM(1,7) == 1 then
3534
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3535
			end
3536
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3537
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3538
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
3539
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
3540
			elseif MODE == "RR" then
3541
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3542
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3543
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3544
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3545
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3546
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3547
			end
3548
			elseif MODE == "GC" then
3549
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
3550
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3551
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3552
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3553
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
3554
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
3555
			end
3556
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3557
		ANIM = "Walk"
3558
		if ATTACK == false then
3559
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(-15-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
3560
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(15+7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
3561
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3562
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3563
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(105), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3564
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3565
		end
3566
		end
3567
	unanchor()
3568
	Humanoid.MaxHealth = 1e+1000000
3569
	Humanoid.Health = 1e+1000000
3570
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
3571
	if Rooted == false then
3572
		Disable_Jump = false
3573
		Humanoid.WalkSpeed = Speed
3574
	elseif Rooted == true then
3575
		Disable_Jump = true
3576
		Humanoid.WalkSpeed = 0
3577
	end
3578
	sick.SoundId = "rbxassetid://"..SONG
3579
	sick.Looped = false
3580
	sick.Pitch = 1
3581
	sick.Volume = 1
3582
	sick.Parent = Effects
3583
	sick.Playing = PLAYSONG
3584
	end
3585
	Humanoid.Name = "NONHUM"
3586
3587
--//=================================\\
3588
--\\=================================//
3589
3590
3591
3592
3593
3594
--//====================================================\\--
3595
--||			  		 END OF SCRIPT
3596
--\\====================================================//--