View difference between Paste ID: eDcpxmp0 and dr7pA8nr
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
2
do
3
    script.Parent = owner.Character
4
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5
    local function NewFakeEvent()
6
        local Bind = Instance.new("BindableEvent")
7
        local Fake;Fake = {Connections = {},
8
        fakeEvent=true;
9
        Connect=function(self,Func)
10
            Bind.Event:connect(Func)
11
            self.Connections[Bind] = true
12
            return setmetatable({Connected = true},{
13
            __index = function (self,Index)
14
                if Index:lower() == "disconnect" then
15
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
16
                end
17
                return Fake[Index]
18
            end;
19
            __tostring = function() return "Connection" end;
20
        })
21
        end}
22
        Fake.connect = Fake.Connect;return Fake;
23
    end
24
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
    local function TriggerEvent(self,Event,...)
30
        local Trigger = Mouse[Event]
31
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
        end
34
    end
35
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
    Event.OnServerEvent:Connect(function(FiredBy,Input)
37
        if FiredBy.Name ~= owner.Name then return end
38
        if Input.MouseEvent then
39
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
        else
41
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
            for _,Action in pairs(ContextActionService.Actions) do
44
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
            end
46
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
        end
49
    end)
50
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
    Event.Parent = NLS([[
52
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
        local Input = function(Input,gameProcessedEvent)
54
            if gameProcessedEvent then return end
55
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
        end
57
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
        local Hit,Target
59
        while wait(1/30) do
60
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
            end
63
        end
64
    ]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
    __index = function (self,Index)
68
        local Sandbox = function (Thing)
69
            if Thing:IsA("Player") then
70
                local RealPlayer = Thing
71
                return setmetatable({},{
72
                    __index = function (self,Index)
73
                        local Type = type(RealPlayer[Index])
74
                        if Type == "function" then
75
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
                                return function (self)return InternalData["Mouse"] end
77
                            end
78
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
                        end
80
                        return RealPlayer[Index]
81
                    end;
82
                    __tostring = function(self) return RealPlayer.Name end
83
                })
84
            end
85
        end
86
        if RealGame[Index] then
87
            local Type = type(RealGame[Index])
88
            if Type == "function" then
89
                if Index:lower() == "getservice" or Index:lower() == "service" then
90
                    return function (self,Service)
91
                        local FakeServices = {
92
                            ["players"] = function()
93
                                return setmetatable({},{
94
                                    __index = function (self2,Index2)
95
                                        local RealService = RealGame:GetService(Service)
96
                                        local Type2 = type(Index2)
97
                                        if Type2 == "function" then
98
                                            return function (self,...) return RealService[Index2](RealService,...)end
99
                                        else
100
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
                                            return RealService[Index2]
102
                                        end
103
                                    end;
104
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
105
                                })
106
                            end;
107
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
109
                            ["runservice"] = function()
110
                                return setmetatable({},{
111
                                    __index = function(self2,Index2)
112
                                        local RealService = RealGame:GetService(Service)
113
                                        local Type2 = type(Index2)
114
                                        if Type2 == "function" then
115
                                            return function (self,...) return RealService[Index2](RealService,...) end
116
                                        else
117
                                            local RunServices = {
118
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
                                                ["renderstepped"] = function() return RealService["Stepped"] end
120
                                            }
121
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
                                            return RealService[Index2]
123
                                        end
124
                                    end
125
                                })
126
                            end
127
                        }
128
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
                        return RealGame:GetService(Service)
130
                    end
131
                end
132
                return function (self,...) return RealGame[Index](RealGame,...) end
133
            else
134
                if game:GetService(Index) then return game:GetService(Index) end
135
                return RealGame[Index]
136
            end
137
        end
138
        return nil
139
    end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
141
142
-- Synapse Decompiler
143
-- Purchase Here: https://brack4712.xyz/synapse/purchase/
144
-- Edit by Chara/jone1233 =D
145
146
wait(0.2)
147
Player = game:GetService("Players").LocalPlayer
148
PlayerGui = Player.PlayerGui
149
Cam = workspace.CurrentCamera
150
Backpack = Player.Backpack
151
Character = Player.Character
152
Humanoid = Character.Humanoid
153
Mouse = Player:GetMouse()
154
RootPart = Character.HumanoidRootPart
155
Torso = Character.Torso
156
Head = Character.Head
157
RightArm = Character["Right Arm"]
158
LeftArm = Character["Left Arm"]
159
RightLeg = Character["Right Leg"]
160
LeftLeg = Character["Left Leg"]
161
RootJoint = RootPart.RootJoint
162
Neck = Torso.Neck
163
RightShoulder = Torso["Right Shoulder"]
164
LeftShoulder = Torso["Left Shoulder"]
165
RightHip = Torso["Right Hip"]
166
LeftHip = Torso["Left Hip"]
167
local sick = Instance.new("Sound", Character)
168
IT = Instance.new
169
CF = CFrame.new
170
VT = Vector3.new
171
RAD = math.rad
172
C3 = Color3.new
173
UD2 = UDim2.new
174
BRICKC = BrickColor.new
175
ANGLES = CFrame.Angles
176
EULER = CFrame.fromEulerAnglesXYZ
177
COS = math.cos
178
ACOS = math.acos
179
SIN = math.sin
180
ASIN = math.asin
181
ABS = math.abs
182
MRANDOM = math.random
183
FLOOR = math.floor
184
Animation_Speed = 3
185
Frame_Speed = 0.016666666666666666
186
local Speed = 16
187
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
188
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
189
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
190
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
191
local DAMAGEMULTIPLIER = 1
192
local ANIM = "Idle"
193
local ATTACK = false
194
local EQUIPPED = false
195
local HOLD = false
196
local COMBO = 1
197
local Rooted = false
198
local SINE = 0
199
local KEYHOLD = false
200
local CHANGE = 2 / Animation_Speed
201
local WALKINGANIM = false
202
local VALUE1 = false
203
local VALUE2 = false
204
local ROBLOXIDLEANIMATION = IT("Animation")
205
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
206
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
207
local ATANIM = IT("Animation")
208
ATANIM.Name = "Attack Animation"
209
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
210
local WEAPONGUI = IT("ScreenGui", PlayerGui)
211
WEAPONGUI.Name = "Weapon GUI"
212
script.Parent = WEAPONGUI
213
Character.Archivable = true
214
local SHADOW = Character:Clone()
215
SHADOW.Parent = nil
216
RootPart2 = SHADOW.HumanoidRootPart
217
Torso2 = SHADOW.Torso
218
Head2 = SHADOW.Head
219
RightArm2 = SHADOW["Right Arm"]
220
LeftArm2 = SHADOW["Left Arm"]
221
RightLeg2 = SHADOW["Right Leg"]
222
LeftLeg2 = SHADOW["Left Leg"]
223
RootJoint2 = RootPart2.RootJoint
224
Neck2 = Torso2.Neck
225
RightShoulder2 = Torso2["Right Shoulder"]
226
LeftShoulder2 = Torso2["Left Shoulder"]
227
RightHip2 = Torso2["Right Hip"]
228
LeftHip2 = Torso2["Left Hip"]
229
SHADOW.PrimaryPart = RootPart2
230
Character.Archivable = false
231
SHADOW.Name = Player.Name .. "'s War"
232
local Effects = IT("Folder", Character)
233
Effects.Name = "Effects"
234
local ANIMATOR = Humanoid.Animator
235
local ANIMATE = Character.Animate
236
local UNANCHOR = true
237
local ROAR = 528589078
238
local E = 1.32
239
local PLAYSONG = true
240
local REPLAY = false
241
local Weapon = IT("Model")
242
local FIRE1 = false
243
local FROZ1 = false
244
local VOID1 = false
245
local VOI = false
246
local SVAL = false
247
local VALUE2 = false
248
ArtificialHB = Instance.new("BindableEvent", script)
249
ArtificialHB.Name = "ArtificialHB"
250
script:WaitForChild("ArtificialHB")
251
frame = Frame_Speed
252
allowframeloss = false
253
tossremainder = false
254
lastframe = tick()
255
script.ArtificialHB:Fire()
256
tf = 0
257
game:GetService("RunService").Heartbeat:connect(function(s, p)
258
	tf = 0 + s
259
	if tf >= frame then
260
		if allowframeloss then
261
			script.ArtificialHB:Fire()
262
			lastframe = tick()
263
		else
264
			for i = 1, math.floor(tf / frame) do
265
				script.ArtificialHB:Fire()
266
			end
267
			lastframe = tick()
268
		end
269
		if tossremainder then
270
			tf = 0
271
		else
272
			tf = tf - frame * math.floor(tf / frame)
273
		end
274
	end
275
end)
276
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
277
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
278
end
279
function PositiveAngle(NUMBER)
280
	if NUMBER >= 0 then
281
		NUMBER = 0
282
	end
283
	return NUMBER
284
end
285
function NegativeAngle(NUMBER)
286
	if NUMBER <= 0 then
287
		NUMBER = 0
288
	end
289
	return NUMBER
290
end
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
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
301
	local NEWMESH = IT(MESH)
302
	if MESH == "SpecialMesh" then
303
		NEWMESH.MeshType = MESHTYPE
304
		if MESHID ~= "nil" and MESHID ~= "" then
305
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
306
		end
307
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
308
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
309
		end
310
	end
311
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
312
	NEWMESH.Scale = SCALE
313
	NEWMESH.Parent = PARENT
314
	return NEWMESH
315
end
316
317
318
319
320
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
321
	local NEWPART = IT("Part")
322
	NEWPART.formFactor = FORMFACTOR
323
	NEWPART.Reflectance = REFLECTANCE
324
	NEWPART.Transparency = TRANSPARENCY
325
	NEWPART.CanCollide = false
326
	NEWPART.Locked = true
327
	NEWPART.Anchored = true
328
	if ANCHOR == false then
329
		NEWPART.Anchored = false
330
	end
331
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
332
	NEWPART.Name = NAME
333
	NEWPART.Size = SIZE
334
	NEWPART.Position = Torso.Position
335
	NEWPART.Material = MATERIAL
336
	NEWPART:BreakJoints()
337
	NEWPART.Parent = PARENT
338
	return NEWPART
339
end
340
local weldBetween = function(a, b)
341
	local weldd = Instance.new("ManualWeld")
342
	weldd.Part0 = a
343
	weldd.Part1 = b
344
	weldd.C0 = CFrame.new()
345
	weldd.C1 = b.CFrame:inverse() * a.CFrame
346
	weldd.Parent = a
347
	return weldd
348
end
349
function QuaternionFromCFrame(cf)
350
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
351
	local trace = m00 + m11 + m22
352
	if trace > 0 then
353
		local s = math.sqrt(1 + trace)
354
		local recip = 0.5 / s
355
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
356
	else
357
		local i = 0
358
		if m00 < m11 then
359
			i = 1
360
		end
361
		if m22 > (i == 0 and m00 or m11) then
362
			i = 2
363
		end
364
		if i == 0 then
365
			local s = math.sqrt(m00 - m11 - m22 + 1)
366
			local recip = 0.5 / s
367
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
368
		elseif i == 1 then
369
			local s = math.sqrt(m11 - m22 - m00 + 1)
370
			local recip = 0.5 / s
371
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
372
		elseif i == 2 then
373
			local s = math.sqrt(m22 - m00 - m11 + 1)
374
			local recip = 0.5 / s
375
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
376
		end
377
	end
378
end
379
function QuaternionToCFrame(px, py, pz, x, y, z, w)
380
	local xs, ys, zs = x + x, y + y, z + z
381
	local wx, wy, wz = w * xs, w * ys, w * zs
382
	local xx = x * xs
383
	local xy = x * ys
384
	local xz = x * zs
385
	local yy = y * ys
386
	local yz = y * zs
387
	local zz = z * zs
388
	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))
389
end
390
function QuaternionSlerp(a, b, t)
391
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
392
	local startInterp, finishInterp
393
	if cosTheta >= 1.0E-4 then
394
		if 1 - cosTheta > 1.0E-4 then
395
			local theta = ACOS(cosTheta)
396
			local invSinTheta = 1 / SIN(theta)
397
			startInterp = SIN((1 - t) * theta) * invSinTheta
398
			finishInterp = SIN(t * theta) * invSinTheta
399
		else
400
			startInterp = 1 - t
401
			finishInterp = t
402
		end
403
	elseif 1 + cosTheta > 1.0E-4 then
404
		local theta = ACOS(-cosTheta)
405
		local invSinTheta = 1 / SIN(theta)
406
		startInterp = SIN((t - 1) * theta) * invSinTheta
407
		finishInterp = SIN(t * theta) * invSinTheta
408
	else
409
		startInterp = t - 1
410
		finishInterp = t
411
	end
412
	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
413
end
414
function Clerp(a, b, t)
415
	local qa = {
416
		QuaternionFromCFrame(a)
417
	}
418
	local qb = {
419
		QuaternionFromCFrame(b)
420
	}
421
	local ax, ay, az = a.x, a.y, a.z
422
	local bx, by, bz = b.x, b.y, b.z
423
	local _t = 1 - t
424
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
425
end
426
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
427
	local frame = IT("Frame")
428
	frame.BackgroundTransparency = TRANSPARENCY
429
	frame.BorderSizePixel = BORDERSIZEPIXEL
430
	frame.Position = POSITION
431
	frame.Size = SIZE
432
	frame.BackgroundColor3 = COLOR
433
	frame.BorderColor3 = BORDERCOLOR
434
	frame.Name = NAME
435
	frame.Parent = PARENT
436
	return frame
437
end
438
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
439
	local label = IT("TextLabel")
440
	label.BackgroundTransparency = 1
441
	label.Size = UD2(1, 0, 1, 0)
442
	label.Position = UD2(0, 0, 0, 0)
443
	label.TextColor3 = TEXTCOLOR
444
	label.TextStrokeTransparency = STROKETRANSPARENCY
445
	label.TextTransparency = TRANSPARENCY
446
	label.FontSize = TEXTFONTSIZE
447
	label.Font = TEXTFONT
448
	label.BorderSizePixel = BORDERSIZEPIXEL
449
	label.TextScaled = false
450
	label.Text = TEXT
451
	label.Name = NAME
452
	label.Parent = PARENT
453
	return label
454
end
455
function NoOutlines(PART)
456
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
457
end
458
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
459
	local NEWWELD = IT(TYPE)
460
	NEWWELD.Part0 = PART0
461
	NEWWELD.Part1 = PART1
462
	NEWWELD.C0 = C0
463
	NEWWELD.C1 = C1
464
	NEWWELD.Parent = PARENT
465
	return NEWWELD
466
end
467
local S = IT("Sound")
468
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
469
	local NEWSOUND
470
	coroutine.resume(coroutine.create(function()
471
		NEWSOUND = S:Clone()
472
		NEWSOUND.EmitterSize = VOLUME * 5
473
		NEWSOUND.Parent = PARENT
474
		NEWSOUND.Volume = VOLUME
475
		NEWSOUND.Pitch = PITCH
476
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
477
		NEWSOUND:play()
478
		if DOESLOOP == true then
479
			NEWSOUND.Looped = true
480
		else
481
			repeat
482
				wait(1)
483
			until NEWSOUND.Playing == false
484
			NEWSOUND:remove()
485
		end
486
	end))
487
	return NEWSOUND
488
end
489
function CFrameFromTopBack(at, top, back)
490
	local right = top:Cross(back)
491
	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)
492
end
493
function WACKYEFFECT(Table)
494
	local TYPE = Table.EffectType or "Sphere"
495
	local SIZE = Table.Size or VT(1, 1, 1)
496
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
497
	local TRANSPARENCY = Table.Transparency or 0
498
	local ENDTRANSPARENCY = Table.Transparency2 or 1
499
	local CFRAME = Table.CFrame or Torso.CFrame
500
	local MOVEDIRECTION = Table.MoveToPos or nil
501
	local ROTATION1 = Table.RotationX or 0
502
	local ROTATION2 = Table.RotationY or 0
503
	local ROTATION3 = Table.RotationZ or 0
504
	local MATERIAL = Table.Material or "Neon"
505
	local COLOR = Table.Color or C3(0, 0, 0)
506
	local TIME = Table.Time or 45
507
	local SOUNDID = Table.SoundID or nil
508
	local SOUNDPITCH = Table.SoundPitch or nil
509
	local SOUNDVOLUME = Table.SoundVolume or nil
510
	coroutine.resume(coroutine.create(function()
511
		local PLAYSSOUND = false
512
		local SOUND
513
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
514
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
515
			PLAYSSOUND = true
516
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
517
		end
518
		EFFECT.Color = COLOR
519
		local MSH
520
		if TYPE == "Sphere" then
521
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
522
		elseif TYPE == "Block" or TYPE == "Box" then
523
			MSH = IT("BlockMesh", EFFECT)
524
			MSH.Scale = SIZE
525
		elseif TYPE == "Wave" then
526
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
527
		elseif TYPE == "Ring" then
528
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
529
		elseif TYPE == "Slash" then
530
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
531
		elseif TYPE == "Round Slash" then
532
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
533
		elseif TYPE == "Swirl" then
534
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
535
		elseif TYPE == "Skull" then
536
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
537
		elseif TYPE == "Crystal" then
538
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
539
		end
540
		if MSH ~= nil then
541
			local MOVESPEED
542
			if MOVEDIRECTION ~= nil then
543
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
544
			end
545
			local GROWTH = SIZE - ENDSIZE
546
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
547
			if TYPE == "Block" then
548
				EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
549
			else
550
				EFFECT.CFrame = CFRAME
551
			end
552
			for LOOP = 1, TIME + 1 do
553
				Swait()
554
				MSH.Scale = MSH.Scale - GROWTH / TIME
555
				if TYPE == "Wave" then
556
					MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
557
				end
558
				EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
559
				if TYPE == "Block" then
560
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
561
				else
562
					EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
563
				end
564
				if MOVEDIRECTION ~= nil then
565
					local ORI = EFFECT.Orientation
566
					EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
567
					EFFECT.Orientation = ORI
568
				end
569
			end
570
			if PLAYSSOUND == false then
571
				EFFECT:remove()
572
			else
573
				repeat
574
					Swait()
575
				until SOUND.Playing == false
576
				EFFECT:remove()
577
			end
578
		elseif PLAYSSOUND == false then
579
			EFFECT:remove()
580
		else
581
			repeat
582
				Swait()
583
			until SOUND.Playing == false
584
			EFFECT:remove()
585
		end
586
	end))
587
end
588
function MakeForm(PART, TYPE)
589
	if TYPE == "Cyl" then
590
		local MSH = IT("CylinderMesh", PART)
591
	elseif TYPE == "Ball" then
592
		local MSH = IT("SpecialMesh", PART)
593
		MSH.MeshType = "Sphere"
594
	elseif TYPE == "Wedge" then
595
		local MSH = IT("SpecialMesh", PART)
596
		MSH.MeshType = "Wedge"
597
	end
598
end
599
Debris = game:GetService("Debris")
600
function CastProperRay(StartPos, EndPos, Distance, Ignore)
601
	local DIRECTION = CF(StartPos, EndPos).lookVector
602
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
603
end
604
function GetRoot(MODEL, ROOT)
605
	if ROOT == true then
606
		return MODEL:FindFirstChild("HumanoidRootPart") or MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
607
	else
608
		return MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
609
	end
610
end
611
function FacialShadow()
612
	local SHADOWS = {}
613
	for i = 1, 16 do
614
		local FACE = CreatePart(3, Effects, "Fabric", 0, 0 + (i - 1) / 16.2, "Really red", "FaceGradient", VT(1.01, 0.65, 1.01), false)
615
		FACE.Color = C3(0, 0, 0)
616
		Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
617
		CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0, 0.45 - (i - 1) / 25, 0), CF(0, 0, 0))
618
		table.insert(SHADOWS, FACE)
619
	end
620
	local function UNDO()
621
		for i = 1, #SHADOWS do
622
			SHADOWS[i]:remove()
623
		end
624
	end
625
	return UNDO
626
end
627
function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
628
	if FLOOR ~= nil then
629
		for i = 1, AMOUNT do
630
			do
631
				local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Really red", "Debree", BLOCKSIZE, false)
632
				DEBREE.Material = FLOOR.Material
633
				DEBREE.Color = FLOOR.Color
634
				DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
635
				DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
636
				coroutine.resume(coroutine.create(function()
637
					Swait(15)
638
					DEBREE.Parent = workspace
639
					DEBREE.CanCollide = true
640
					Debris:AddItem(DEBREE, SWAIT)
641
				end))
642
			end
643
		end
644
	end
645
end
646
local SIZE = 2
647
RootPart2.Size = RootPart.Size * SIZE
648
Torso2.Size = Torso.Size * SIZE
649
RightArm2.Size = RightArm.Size * SIZE
650
RightLeg2.Size = RightLeg.Size * SIZE
651
LeftArm2.Size = LeftArm.Size * SIZE
652
LeftLeg2.Size = LeftLeg.Size * SIZE
653
RootJoint2.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
654
RootJoint2.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
655
Neck2.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
656
Neck2.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
657
RightShoulder2.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
658
LeftShoulder2.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
659
RightHip2.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
660
LeftHip2.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
661
RightHip2.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
662
LeftHip2.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
663
Head2.Size = VT(1, 1, 1) * SIZE
664
RootJoint2.Parent = RootPart
665
Neck2.Parent = Torso
666
RightShoulder2.Parent = Torso
667
LeftShoulder2.Parent = Torso
668
RightHip2.Parent = Torso
669
LeftHip2.Parent = Torso
670
local SKILLTEXTCOLOR = C3(255, 0, 0)
671
local SKILLFONT = "Fantasy"
672
local SKILLTEXTSIZE = 6
673
local ATTACKS = {
674
	"Z-Teror Punch",
675
	"E-Void Impact",
676
	"R-Uppercut",
677
    "X-Void's TERROR",
678
    "C-Void's Wave",
679
    "V-Void's strike",
680
    "B-Void's Fall",
681
    "N-Void's erROr",
682
    "M-Void's Strike",
683
    "F-False TERROR",
684
    "G-Void's Storm",
685
    "H-Void's Cold",
686
    "J-Gaster's Spy",
687
    "K-Gaster's Help"
688
}
689
local GUIS = {}
690
for i = 1, #ATTACKS do
691
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.05, 0, 0.9 - 0.04 * i, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Frame")
692
	local SKILLTEXT = CreateLabel(SKILLFRAME, "[" .. ATTACKS[i] .. "]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
693
	SKILLTEXT.TextXAlignment = "Left"
694
	table.insert(GUIS, SKILLTEXT)
695
end
696
function ApplyDamage(Humanoid, Damage)
697
	Damage = Damage * DAMAGEMULTIPLIER
698
	if Humanoid.Health < 2000 then
699
		if Humanoid.Health - Damage > 0 then
700
			Humanoid.Health = Humanoid.Health - Damage
701
		else
702
			Humanoid.Parent:BreakJoints()
703
		end
704
	else
705
		Humanoid.Parent:BreakJoints()
706
	end
707
end
708
709
New = function(Object, Parent, Name, Data)
710
    local Object = Instance.new(Object)
711
    for Index, Value in pairs(Data or {}) do
712
        Object[Index] = Value
713
    end
714
    Object.Parent = Parent
715
    Object.Name = Name
716
    return Object
717
end
718
 
719
local LASTPART = Head
720
for i = 1, 20 do
721
    local MATH = (1-(i/25))
722
    if LASTPART == Head then
723
        local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.37,0.25*MATH),false)
724
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
725
        LASTPART = Horn
726
        Horn.Color = C3((i*3-3)/150,0,0)
727
    else
728
local Aura = Instance.new('ParticleEmitter')
729
Aura.Name = "Aura"
730
Aura.Texture = "rbxassetid://242997264"
731
Aura.Parent = Horn
732
Aura.LightEmission = 0.8
733
Aura.Transparency = NumberSequence.new(0,0.6,1)
734
Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0))
735
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
736
Aura.LockedToPart = true
737
Aura.Lifetime = NumberRange.new(2)
738
Aura.Rate = 25
739
Aura.Speed = NumberRange.new(0.1)
740
Aura.EmissionDirection = "Top"
741
        local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Horn", VT(0.25*MATH,0.37,0.25*MATH),false)
742
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
743
        LASTPART = Horn
744
        Horn.Color = C3((i*3-3)/150,0,0)
745
local Aura = Instance.new('ParticleEmitter')
746
Aura.Name = "Aura"
747
Aura.Texture = "rbxassetid://242997264"
748
Aura.Parent = Horn
749
Aura.LightEmission = 0.8
750
Aura.Transparency = NumberSequence.new(0,0.6,1)
751
Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0))
752
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
753
Aura.LockedToPart = true
754
Aura.Lifetime = NumberRange.new(2)
755
Aura.Rate = 25
756
Aura.Speed = NumberRange.new(0.1)
757
Aura.EmissionDirection = "Top"
758
    end
759
end
760
local LASTPART = Head
761
for i = 1, 20 do
762
    local MATH = (1-(i/25))
763
    if LASTPART == Head then
764
        local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.37,0.25*MATH),false)
765
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
766
        LASTPART = Horn
767
        Horn.Color = C3((i*3-3)/0,0,150)
768
local Aura = Instance.new('ParticleEmitter')
769
Aura.Name = "Aura"
770
Aura.Texture = "rbxassetid://242997264"
771
Aura.Parent = Horn
772
Aura.LightEmission = 0.8
773
Aura.Transparency = NumberSequence.new(0,0.6,1)
774
Aura.Color = ColorSequence.new(Color3.new(0,0,150),Color3.new(0/0,0,150))
775
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
776
Aura.LockedToPart = true
777
Aura.Lifetime = NumberRange.new(2)
778
Aura.Rate = 25
779
Aura.Speed = NumberRange.new(0.1)
780
Aura.EmissionDirection = "Top"
781
    else
782
        local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.37,0.25*MATH),false)
783
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
784
        LASTPART = Horn
785
        Horn.Color = C3((i*3-3)/0,0,150)
786
local Aura = Instance.new('ParticleEmitter')
787
Aura.Name = "Aura"
788
Aura.Texture = "rbxassetid://242997264"
789
Aura.Parent = Horn
790
Aura.LightEmission = 0.8
791
Aura.Transparency = NumberSequence.new(0,0.6,1)
792
Aura.Color = ColorSequence.new(Color3.new(0,0,150),Color3.new(0/0,0,150))
793
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
794
Aura.LockedToPart = true
795
Aura.Lifetime = NumberRange.new(2)
796
Aura.Rate = 25
797
Aura.Speed = NumberRange.new(0.1)
798
Aura.EmissionDirection = "Top"
799
    end
800
end
801
 
802
803
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
804
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
805
MakeForm(Part,"Wedge")
806
 
807
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
808
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
809
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
810
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
811
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
812
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
813
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
814
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
815
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
816
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
817
 
818
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,1.1),false)
819
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
820
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.55,0.7,1.1),false)
821
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
822
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,0.525),false)
823
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.28, 0, 0) * ANGLES(RAD(180), RAD(90), RAD(0)), CF(0, 0, 0))
824
MakeForm(Part,"Wedge")
825
 
826
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
827
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
828
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
829
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
830
 
831
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),})
832
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
833
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
834
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
835
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
836
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
837
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
838
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
839
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
840
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
841
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
842
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
843
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
844
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
845
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),})
846
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
847
 
848
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Stone grey"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),})
849
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
850
 
851
 
852
 
853
 
854
local BasePart = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(1.01,0.3,1.01),false)
855
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
856
 
857
for i = 1, 3 do
858
    local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.2,1.02,0.2),false)
859
    CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
860
    MakeForm(Part,"Cyl")
861
end
862
local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.51,0.6,0.25),false)
863
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
864
MakeForm(Part,"Wedge")
865
local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.51,0.6,0.25),false)
866
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
867
MakeForm(Part,"Wedge")
868
local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
869
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
870
MakeForm(Part,"Wedge")
871
local Part = CreatePart(3, Weapon, "DiamondPlate", 1, 1, "Stone grey", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
872
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
873
MakeForm(Part,"Wedge")
874
 
875
    BODY = {}
876
    for _, c in pairs(Character:GetDescendants()) do
877
        if c:IsA("BasePart") then
878
            table.insert(BODY, {
879
                c,
880
                c.Parent,
881
                c.Material,
882
                c.Color
883
            })
884
        elseif c:IsA("JointInstance") then
885
            table.insert(BODY, {
886
                c,
887
                c.Parent,
888
                nil,
889
                nil
890
            })
891
        end
892
    end
893
for _, c in pairs(Weapon:GetChildren()) do
894
    if c.ClassName == "Part" then
895
        c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
896
    end
897
end
898
for _, c in pairs(Character:GetDescendants()) do
899
    if c:IsA("BasePart") then
900
        table.insert(BODY, {
901
            c,
902
            c.Parent,
903
            c.Material,
904
            c.Color
905
        })
906
    elseif c:IsA("JointInstance") then
907
        table.insert(BODY, {
908
            c,
909
            c.Parent,
910
            nil,
911
            nil
912
        })
913
    end
914
end
915
for e = 1, #BODY do
916
    if BODY[e] ~= nil then
917
        do
918
            local STUFF = BODY[e]
919
            local PART = STUFF[1]
920
            local PARENT = STUFF[2]
921
            local MATERIAL = STUFF[3]
922
            local COLOR = STUFF[4]
923
            PART.AncestryChanged:Connect(function()
924
                if PART.ClassName == "Part" then
925
                    PART.Material = MATERIAL
926
                    PART.Color = COLOR
927
                end
928
                PART.Parent = PARENT
929
            end)
930
        end
931
    end
932
end
933
function refit()
934
    Weapon.Parent = Character
935
    Character.Parent = workspace
936
    for e = 1, #BODY do
937
        if BODY[e] ~= nil then
938
            local STUFF = BODY[e]
939
            local PART = STUFF[1]
940
            local PARENT = STUFF[2]
941
            local MATERIAL = STUFF[3]
942
            local COLOR = STUFF[4]
943
            if PART.Parent ~= PARENT then
944
                Humanoid:remove()
945
                if PART.ClassName == "Part" then
946
                    PART.Material = MATERIAL
947
                    PART.Color = COLOR
948
                end
949
                PART.Parent = PARENT
950
                Humanoid = IT("Humanoid", Character)
951
            end
952
        end
953
    end
954
end
955
956
function Kill(Char)
957
    local NewCharacter = IT("Model",Effects)
958
    NewCharacter.Name = "Ow im ded ;-;"
959
    for _, c in pairs(Char:GetDescendants()) do
960
        if c:IsA("BasePart") and c.Transparency == 0 then
961
            if c.Parent == Char then
962
                getbloody(c,5)
963
            end
964
            c:BreakJoints()
965
            c.Material = "Glass"
966
            c.Color = C3(0.5,0,0)
967
            c.CanCollide = true
968
            c.Transparency = 0.3
969
            if c:FindFirstChildOfClass("SpecialMesh") then
970
                c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
971
            end
972
            if c.Name == "Head" then
973
                c:ClearAllChildren()
974
                c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
975
            end
976
            if c.ClassName == "MeshPart" then
977
                c.TextureID = ""
978
            end
979
            if c:FindFirstChildOfClass("BodyPosition") then
980
                c:FindFirstChildOfClass("BodyPosition"):remove()
981
            end
982
            if c:FindFirstChildOfClass("ParticleEmitter") then
983
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
984
            end
985
            c.Parent = NewCharacter
986
            c.Name = "DeadPart"
987
            c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
988
            c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
989
        end
990
    end
991
    Char:remove()
992
    Debris:AddItem(NewCharacter,5)
993
end
994
 
995
function killnearest(position,range,maxstrength,direction)
996
    for i,v in ipairs(workspace:GetChildren()) do
997
    local body = v:GetChildren()
998
        for part = 1, #body do
999
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1000
                if(body[part].Position - position).Magnitude < range then
1001
                    if v.ClassName == "Model" then
1002
                        --v:BreakJoints()
1003
                    end
1004
                    local POS = position
1005
                    coroutine.resume(coroutine.create(function()
1006
                        body[part].Anchored = true
1007
                        body[part].Parent = Effects
1008
                        body[part].CanCollide = true
1009
                        local SIZE = body[part].Size
1010
                        body[part].Material = "Neon"
1011
                        CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
1012
                        for i = 1, 75 do
1013
                            Swait()
1014
                            body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1015
                            body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1016
                        end
1017
                        coroutine.resume(coroutine.create(function()
1018
                            while true do
1019
                                Swait()
1020
                                body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1021
                                body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1022
                            end
1023
                        end))
1024
                        body[part].Anchored = false
1025
                        body[part].Velocity = direction.lookVector*maxstrength
1026
                    end))
1027
                end
1028
            end
1029
        end
1030
        if v.ClassName == "Part" then
1031
            if v.Anchored == false and (v.Position - position).Magnitude < range then
1032
                local POS = position
1033
                coroutine.resume(coroutine.create(function()
1034
                    v.Anchored = true
1035
                    v.Parent = Effects
1036
                    local SIZE = v.Size
1037
                    v.Material = "Neon"
1038
                    CreateSound("0", v, 2, MRANDOM(7, 12) / 10)
1039
                    for i = 1, 75 do
1040
                        Swait()
1041
                        v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1042
                        v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1043
                    end
1044
                    coroutine.resume(coroutine.create(function()
1045
                        while true do
1046
                            Swait()
1047
                            v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1048
                            v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1049
                        end
1050
                    end))
1051
                    v.Anchored = false
1052
                    v.Velocity = direction.lookVector*maxstrength
1053
                end))
1054
            end
1055
        end
1056
    end
1057
end
1058
 
1059
1060
function Banish(Foe)
1061
    if Foe then
1062
        coroutine.resume(coroutine.create(function()
1063
            --if game.Players:FindFirstChild(Foe.Name) then
1064
                table.insert(TOBANISH,Foe.Name)
1065
                printbye(Foe.Name)
1066
            --end
1067
            Foe.Archivable = true
1068
            local CLONE = Foe:Clone()
1069
            Foe:Destroy()
1070
            CLONE.Parent = Effects
1071
            CLONE:BreakJoints()
1072
            local MATERIALS = {"Glass","Neon"}
1073
            for _, c in pairs(CLONE:GetDescendants()) do
1074
                if c:IsA("BasePart") then
1075
                    if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1076
                        CreateSound(340722848, c, 10, 1, false)
1077
                    end
1078
                    c.Anchored = true
1079
                    c.Transparency = c.Transparency + 0.2
1080
                    c.Material = MATERIALS[MRANDOM(1,2)]
1081
                    c.Color = C3(1,0,0)
1082
                    if c.ClassName == "MeshPart" then
1083
                        c.TextureID = ""
1084
                    end
1085
                    if c:FindFirstChildOfClass("SpecialMesh") then
1086
                        c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1087
                    end
1088
                    if c:FindFirstChildOfClass("Decal") then
1089
                        c:FindFirstChildOfClass("Decal"):remove()
1090
                    end
1091
                    c.Name = "Banished"
1092
                    c.CanCollide = false
1093
                else
1094
                    c:remove()
1095
                end
1096
            end
1097
            local A = false
1098
            for i = 1, 35 do
1099
                if A == false then
1100
                    A = true
1101
                elseif A == true then
1102
                    A = false
1103
                end
1104
                for _, c in pairs(CLONE:GetDescendants()) do
1105
                    if c:IsA("BasePart") then
1106
                        c.Anchored = true
1107
                        c.Material = MATERIALS[MRANDOM(1,2)]
1108
                        c.Transparency = c.Transparency + 0.8/35
1109
                        if A == false then
1110
                            c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1111
                        elseif A == true then
1112
                            c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                       
1113
                        end
1114
                    end
1115
                end
1116
                Swait()
1117
            end
1118
            CLONE:remove()
1119
        end))
1120
    end
1121
end
1122
1123
Humanoid.DisplayDistanceType = "None"
1124
local naeeym2 = IT("BillboardGui",Character)
1125
naeeym2.AlwaysOnTop = true
1126
naeeym2.Size = UDim2.new(5,35,2,15)
1127
naeeym2.StudsOffset = Vector3.new(0,2,0)
1128
naeeym2.MaxDistance = 75
1129
naeeym2.Adornee = Character.Head
1130
naeeym2.Name = "Name"
1131
local tecks2 = IT("TextLabel",naeeym2)
1132
tecks2.BackgroundTransparency = 1
1133
tecks2.TextScaled = true
1134
tecks2.BorderSizePixel = 0
1135
tecks2.Text = "Gaster's Revenge"
1136
tecks2.Font = "Fantasy"
1137
tecks2.TextSize = 30
1138
tecks2.TextStrokeTransparency = 0
1139
tecks2.TextColor3 = C3(0,0,0)
1140
tecks2.TextStrokeColor3 = C3(200/255, 0/255, 0/255)
1141
tecks2.Size = UDim2.new(1,0,0.5,0)
1142
tecks2.Parent = naeeym2
1143
local top = Instance.new("Shirt")
1144
top.ShirtTemplate = "rbxassetid://1266598324"
1145
top.Parent = Character
1146
top.Name = "Cloth"
1147
local bottom = Instance.new("Pants")
1148
bottom.PantsTemplate = "rbxassetid://1255927712"
1149
bottom.Parent = Character
1150
bottom.Name = "Cloth"
1151
1152
function ApplyAoE(POSITION,RANGE,BRUTAL)
1153
    local CHILDREN = workspace:GetDescendants()
1154
    for index, CHILD in pairs(CHILDREN) do
1155
        if CHILD.ClassName == "Model" and CHILD ~= Character then
1156
            local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1157
            if HUM then
1158
                local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1159
                if TORSO then
1160
                    if (TORSO.Position - POSITION).Magnitude <= RANGE then
1161
                        if BRUTAL == true then
1162
                            Kill(CHILD)
1163
                        else
1164
                            CHILD:BreakJoints()
1165
                        end
1166
                    end
1167
                end
1168
            end
1169
        end
1170
    end
1171
end
1172
1173
1174
for i = 1, 15 do
1175
    local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
1176
    FACE.Color = C3(0,0,0)
1177
    Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1178
    CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
1179
end
1180
1181
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
1182
    PRT.Color = C3(0,0,0)
1183
    local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
1184
    CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
1185
 
1186
    local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
1187
    PRT.Color = C3(100,0,0)
1188
    CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
1189
    CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
1190
1191
1192
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1193
local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
1194
MakeForm(Eye,"Ball")
1195
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1196
1197
function Intro()
1198
	EQUIPPED = true
1199
	ATTACK = true
1200
	Rooted = true
1201
	if Rooted == false then
1202
		Disable_Jump = false
1203
		Humanoid.WalkSpeed = Speed
1204
	elseif Rooted == true then
1205
		Disable_Jump = true
1206
		Humanoid.WalkSpeed = 0
1207
	end
1208
	coroutine.resume(coroutine.create(function()
1209
		repeat
1210
			Swait()
1211
			RootPart2.Anchored = true
1212
			for _, c in pairs(SHADOW:GetChildren()) do
1213
				if c:IsA("Part") then
1214
					c.Color = C3(0, 0, 0)
1215
					if c ~= RootPart2 then
1216
						c.Transparency = E + 0.15 * SIN(SINE / 12)
1217
					end
1218
					if c:FindFirstChildOfClass("Decal") then
1219
						c:ClearAllChildren()
1220
					end
1221
					c.CanCollide = false
1222
					c.Material = "Neon"
1223
				else
1224
					c:remove()
1225
				end
1226
			end
1227
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-35)), 1 / Animation_Speed)
1228
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
1229
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1230
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1231
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-12), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1232
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1233
		until ATTACK == false
1234
	end))
1235
	wait(1)
1236
	SHADOW.Parent = Character
1237
	SHADOW:SetPrimaryPartCFrame(RootPart.CFrame * CF(0, -20, 5))
1238
	local HIT, POS = Raycast(RootPart.CFrame * CF(0, 0, 5).p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character)
1239
	for i = 1, 250 do
1240
		Swait()
1241
		E = E - 0.0032
1242
		local AREA = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(2, 18))
1243
		local TIMER = MRANDOM(20, 80)
1244
		WACKYEFFECT({
1245
			Time = TIMER,
1246
			EffectType = "Sphere",
1247
			Size = VT(1, 1, 1),
1248
			Size2 = VT(0, 45, 0),
1249
			Transparency = 0,
1250
			Transparency2 = 0,
1251
			CFrame = AREA,
1252
			MoveToPos = AREA.p + VT(0, MRANDOM(35, 160), 0),
1253
			RotationX = 0,
1254
			RotationY = 0,
1255
			RotationZ = 0,
1256
			Material = "Neon",
1257
			Color = C3(0, 0, 0),
1258
			SoundID = nil,
1259
			SoundPitch = 0.8,
1260
			SoundVolume = 5
1261
		})
1262
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.01)
1263
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1264
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1265
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-15), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1266
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-15), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1267
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1268
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1269
	end
1270
	for i = 0, 0.6, 0.1 / Animation_Speed do
1271
		Swait()
1272
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
1273
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1274
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1275
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(140), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1276
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(140), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1277
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1278
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1279
	end
1280
	CreateSound(ROAR, Head2, 10, 1, false)
1281
	for i = 0, 4, 0.1 / Animation_Speed do
1282
		Swait()
1283
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
1284
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1285
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1286
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1287
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1288
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1289
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1290
	end
1291
	ATTACK = false
1292
	Rooted = false
1293
end
1294
function Roar(TABLE)
1295
	ATTACK = true
1296
	Rooted = true
1297
	local E = false
1298
	coroutine.resume(coroutine.create(function()
1299
		repeat
1300
			Swait()
1301
			RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 8, 0), 0.1)
1302
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1303
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1304
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.65, 0) * ANGLES(RAD(170), RAD(0), RAD(-22)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1305
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.65, 0) * ANGLES(RAD(170), RAD(0), RAD(22)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1306
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1307
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1308
		until E == true
1309
	end))
1310
	for i = 0, 1, 0.1 / Animation_Speed do
1311
		Swait()
1312
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1313
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1314
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.15 * SIZE, 0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(140), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1315
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.15 * SIZE, 0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(140), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1316
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1317
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1318
	end
1319
	CreateSound(ROAR, Effects, 4, 1, false)
1320
	if TABLE then
1321
		for E = 1, #TABLE do
1322
			if TABLE[E]:FindFirstChildOfClass("Humanoid") then
1323
				local ROOT = GetRoot(TABLE[E], true)
1324
				if ROOT then
1325
					ApplyDamage(TABLE[E]:FindFirstChildOfClass("Humanoid"), MRANDOM(25, 50))
1326
					local bv = Instance.new("BodyVelocity")
1327
					bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1328
					bv.velocity = CF(RootPart.Position, ROOT.Position).lookVector * 150
1329
					bv.Parent = ROOT
1330
					Debris:AddItem(bv, 0.05)
1331
				end
1332
			end
1333
		end
1334
	end
1335
	for i = 0, 6, 0.1 / Animation_Speed do
1336
		Swait()
1337
		local HITFLOOR, HITPOS = Raycast(RootPart2.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
1338
		if HITFLOOR then
1339
			CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(1, 1, 1) * MRANDOM(7, 15) / 10, 5, 60)
1340
		end
1341
		WACKYEFFECT({
1342
			EffectType = "Wave",
1343
			Size = VT(20, 1, 20),
1344
			Size2 = VT(25 + MRANDOM(0, 8), 7, 25 + MRANDOM(0, 8)),
1345
			Transparency = 0.9,
1346
			Transparency2 = 1,
1347
			CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1348
			MoveToPos = nil,
1349
			RotationX = 0,
1350
			RotationY = 5,
1351
			RotationZ = 0,
1352
			Material = "Neon",
1353
			Color = C3(0, 0, 0),
1354
			SoundID = nil,
1355
			SoundPitch = nil,
1356
			SoundVolume = nil
1357
		})
1358
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1359
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-3, 3)), RAD(MRANDOM(-3, 3))), 1 / Animation_Speed)
1360
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1361
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1362
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1363
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1364
	end
1365
	E = true
1366
	if TABLE then
1367
		CreateSound(1535995263, Head, 10, 1, false)
1368
		for i = 0, 2.2, 0.1 / Animation_Speed do
1369
			Swait()
1370
			RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
1371
			RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0.25 * COS(SINE / 12)) * ANGLES(RAD(-5 + 2 * SIN(SINE / 12)), RAD(15), RAD(35)), 0.5 / Animation_Speed)
1372
			Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 2 * SIN(SINE / 12)), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
1373
			RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1374
			LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1375
			RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1376
			LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.3 * SIZE, -0.6 * SIZE) * ANGLES(RAD(-25), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1377
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1378
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), 0.15 / Animation_Speed)
1379
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1380
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1381
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1382
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1383
		end
1384
	end
1385
	ATTACK = false
1386
	Rooted = false
1387
end
1388
function Punch()
1389
	ATTACK = true
1390
	Rooted = false
1391
	local HITS = {}
1392
	Speed = 5
1393
	for i = 0, 1, 0.1 / Animation_Speed do
1394
		Swait()
1395
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
1396
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
1397
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1398
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, -0.25 * SIZE) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1399
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1400
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(50 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1401
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1402
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
1403
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1404
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1405
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1406
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1407
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1408
	end
1409
	CreateSound(588693579, RightArm2, 6, MRANDOM(8, 12) / 10, false)
1410
	for i = 0, 0.3, 0.1 / Animation_Speed do
1411
		Swait()
1412
		WACKYEFFECT({
1413
			EffectType = "Box",
1414
			Size = RightArm2.Size,
1415
			Size2 = RightArm2.Size,
1416
			Transparency = RightArm2.Transparency,
1417
			Transparency2 = 1,
1418
			CFrame = RightArm2.CFrame,
1419
			MoveToPos = nil,
1420
			RotationX = 0,
1421
			RotationY = 0,
1422
			RotationZ = 0,
1423
			Material = "Neon",
1424
			Color = C3(0, 0, 0),
1425
			SoundID = nil,
1426
			SoundPitch = nil,
1427
			SoundVolume = nil
1428
		})
1429
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 3, -5), 0.4)
1430
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1431
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
1432
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.25 * SIZE, 0.5 * SIZE, -0.25 * SIZE) * ANGLES(RAD(135), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1433
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1434
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(50 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1435
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1436
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1437
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
1438
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1439
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1440
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1441
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1442
	end
1443
	for index, CHILD in pairs(workspace:GetDescendants()) do
1444
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1445
			do
1446
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1447
				if HUM then
1448
					do
1449
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1450
						if TORSO and (TORSO.Position - RightArm2.CFrame * CF(0, -2, 0).p).Magnitude <= 15 then
1451
							table.insert(HITS, CHILD)
1452
							coroutine.resume(coroutine.create(function()
1453
								CreateSound(260430117, TORSO, 3, MRANDOM(8, 12) / 10, false)
1454
								TORSO.Anchored = true
1455
								local POS = TORSO.CFrame
1456
								for i = 1, 35 do
1457
									Swait()
1458
									ApplyDamage(HUM, MRANDOM(1, 1))
1459
									TORSO.CFrame = POS * CF(MRANDOM(-2, 2) / 10, MRANDOM(-2, 2) / 10, MRANDOM(-2, 2) / 10)
1460
								end
1461
								TORSO.Anchored = false
1462
							end))
1463
						end
1464
					end
1465
				end
1466
			end
1467
		end
1468
	end
1469
	for i = 0, 0.2, 0.1 / Animation_Speed do
1470
		Swait()
1471
		WACKYEFFECT({
1472
			EffectType = "Box",
1473
			Size = RightArm2.Size,
1474
			Size2 = RightArm2.Size,
1475
			Transparency = RightArm2.Transparency,
1476
			Transparency2 = 1,
1477
			CFrame = RightArm2.CFrame,
1478
			MoveToPos = nil,
1479
			RotationX = 0,
1480
			RotationY = 0,
1481
			RotationZ = 0,
1482
			Material = "Neon",
1483
			Color = C3(0, 0, 0),
1484
			SoundID = nil,
1485
			SoundPitch = nil,
1486
			SoundVolume = nil
1487
		})
1488
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 3, -5), 0.5)
1489
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1490
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
1491
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.25 * SIZE, 0.5 * SIZE, -0.25 * SIZE) * ANGLES(RAD(135), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1492
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1493
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(50 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1494
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1495
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1496
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
1497
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1498
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1499
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1500
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1501
	end
1502
	if #HITS > 0 then
1503
		for i = 0, 0.5, 0.1 / Animation_Speed do
1504
			Swait()
1505
			RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 3, -5), 0.5)
1506
			RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1507
			Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
1508
			RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.25 * SIZE, 0.5 * SIZE, -0.25 * SIZE) * ANGLES(RAD(135), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1509
			LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1510
			RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(50 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1511
			LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1512
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1513
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
1514
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1515
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1516
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1517
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1518
		end
1519
		Roar(HITS)
1520
	end
1521
	Speed = 16
1522
	ATTACK = false
1523
	Rooted = false
1524
end
1525
function Throw()
1526
	ATTACK = true
1527
	Rooted = false
1528
	local DEBREE = {}
1529
	for i = 0, 1, 0.1 / Animation_Speed do
1530
		Swait()
1531
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 1, 2), 0.2)
1532
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1533
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1534
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1535
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1536
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1537
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1538
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1539
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1540
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1541
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1542
		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 / Animation_Speed)
1543
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1544
	end
1545
	local CFRAME = RootPart2.CFrame * CF(0, 50, 0)
1546
	Humanoid.PlatformStand = true
1547
	UNANCHOR = false
1548
	for i = 0, 1, 0.1 / Animation_Speed do
1549
		Swait()
1550
		RootPart2.CFrame = Clerp(RootPart2.CFrame, CF(CFRAME.p, VT(Mouse.Hit.p.X, RootPart2.Position.Y, Mouse.Hit.p.Z)), 0.2)
1551
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1552
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1553
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1554
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1555
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1556
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1557
		RootPart.CFrame = RootPart2.CFrame * CF(0, -1, -2)
1558
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1559
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1560
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1561
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1562
		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 / Animation_Speed)
1563
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1564
	end
1565
	local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm2, RightArm2, Torso, CF(0, -2, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1566
	for i = 0, 0.4, 0.1 / Animation_Speed do
1567
		Swait()
1568
		RootPart2.CFrame = Clerp(RootPart2.CFrame, CF(CFRAME.p, VT(Mouse.Hit.p.X, RootPart2.Position.Y, Mouse.Hit.p.Z)), 0.2)
1569
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1570
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1571
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1572
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1573
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.5 * SIZE, -0.5) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1574
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1575
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1576
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1577
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1578
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, -0.3) * ANGLES(RAD(80), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1579
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1580
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.4, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1581
	end
1582
	local IMPACT = false
1583
	WELD:remove()
1584
	RootPart.CFrame = CF(RightArm2.CFrame * CF(0, -3, 0).p, Mouse.Hit.p)
1585
	CreateSound(588693579, RightArm2, 6, MRANDOM(8, 12) / 10, false)
1586
	for i = 0, 0.4, 0.1 / Animation_Speed do
1587
		Swait()
1588
		WACKYEFFECT({
1589
			EffectType = "Box",
1590
			Size = RightArm2.Size,
1591
			Size2 = RightArm2.Size,
1592
			Transparency = RightArm2.Transparency,
1593
			Transparency2 = 1,
1594
			CFrame = RightArm2.CFrame,
1595
			MoveToPos = nil,
1596
			RotationX = 0,
1597
			RotationY = 0,
1598
			RotationZ = 0,
1599
			Material = "Neon",
1600
			Color = C3(0, 0, 0),
1601
			SoundID = nil,
1602
			SoundPitch = nil,
1603
			SoundVolume = nil
1604
		})
1605
		RootPart2.CFrame = Clerp(RootPart2.CFrame, CF(CFRAME.p, VT(Mouse.Hit.p.X, RootPart2.Position.Y, Mouse.Hit.p.Z)), 0.2)
1606
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1607
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1608
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1609
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1610
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.5 * SIZE, -0.5) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1611
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1612
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1613
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1614
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1615
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, -0.3) * ANGLES(RAD(80), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1616
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1617
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.4, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1618
	end
1619
	coroutine.resume(coroutine.create(function()
1620
		repeat
1621
			Swait()
1622
			RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1623
			Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1624
			RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1625
			LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1626
			RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.5 * SIZE, -0.5) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1627
			LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1628
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 1 / Animation_Speed)
1629
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1630
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1631
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, -0.3) * ANGLES(RAD(80), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1632
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1633
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.4, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1634
		until IMPACT == true or ATTACK == false
1635
	end))
1636
	local FLOOR
1637
	for i = 1, 80 do
1638
		Swait()
1639
		local HIT, POS = Raycast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
1640
		if HIT then
1641
			FLOOR = HIT
1642
			IMPACT = true
1643
			local ORI = VT(0, RootPart.Orientation.Y, 0)
1644
			RootPart.CFrame = CF(POS + VT(0, 3.5, 0))
1645
			RootPart.Orientation = ORI
1646
			RootJoint.Parent = RootPart
1647
			break
1648
		else
1649
			RootPart.CFrame = RootPart.CFrame * CF(0, 0, -6)
1650
		end
1651
	end
1652
	UNANCHOR = true
1653
	if FLOOR then
1654
		do
1655
			local PLAYING = false
1656
			Humanoid.PlatformStand = false
1657
			local REPLAY = true
1658
			local FLING = false
1659
			coroutine.resume(coroutine.create(function()
1660
				local ROCKS = MRANDOM(8, 13)
1661
				for i = 1, ROCKS do
1662
					local DEBREEPART = CreatePart(3, Effects, FLOOR.Material, 0, 0, FLOOR.BrickColor, "Debree", VT(1, 1, 1) * MRANDOM(2, 7), true)
1663
					DEBREEPART.CFrame = CF(RootPart.Position - VT(0, 7, 0)) * ANGLES(RAD(0), RAD(360 / ROCKS * i), RAD(0)) * CF(0, 0, MRANDOM(20, 28)) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
1664
					table.insert(DEBREE, {
1665
						DEBREEPART,
1666
						DEBREEPART.Orientation,
1667
						CF(DEBREEPART.Position + VT(0, MRANDOM(3, 7) + 8, 0))
1668
					})
1669
				end
1670
				repeat
1671
					Swait()
1672
					for E = 1, #DEBREE do
1673
						local ROCK = DEBREE[E][1]
1674
						ROCK.CFrame = Clerp(ROCK.CFrame, DEBREE[E][3], 0.3)
1675
						ROCK.Orientation = DEBREE[E][2]
1676
					end
1677
				until FLING == true or ATTACK == false
1678
				if FLING == false then
1679
					for E = 1, #DEBREE do
1680
						local ROCK = DEBREE[E][1]
1681
						ROCK.Anchored = false
1682
						Debris:AddItem(ROCK, 4)
1683
					end
1684
				else
1685
					for E = 1, #DEBREE do
1686
						do
1687
							local ROCK = DEBREE[E][1]
1688
							ROCK.CFrame = CF(ROCK.Position, Mouse.Hit.p)
1689
							coroutine.resume(coroutine.create(function()
1690
								for i = 1, 150 do
1691
									Swait()
1692
									local HIT, POS, NORMAL = Raycast(ROCK.Position, ROCK.CFrame.lookVector, 3, Character)
1693
									if HIT then
1694
										break
1695
									else
1696
										ROCK.CFrame = ROCK.CFrame * CF(0, 0, -3)
1697
									end
1698
								end
1699
								ApplyAoE(ROCK.Position, 22, 10, 15, 70, false)
1700
								WACKYEFFECT({
1701
									EffectType = "Box",
1702
									Size = ROCK.Size,
1703
									Size2 = ROCK.Size * 1.2,
1704
									Transparency = 0,
1705
									Transparency2 = 1,
1706
									CFrame = ROCK.CFrame,
1707
									MoveToPos = nil,
1708
									RotationX = 0,
1709
									RotationY = 0,
1710
									RotationZ = 0,
1711
									Material = "Neon",
1712
									Color = C3(0, 0, 0),
1713
									SoundID = nil,
1714
									SoundPitch = nil,
1715
									SoundVolume = nil
1716
								})
1717
								WACKYEFFECT({
1718
									Time = 15,
1719
									EffectType = "Sphere",
1720
									Size = ROCK.Size,
1721
									Size2 = VT(35, 35, 35),
1722
									Transparency = 0.8,
1723
									Transparency2 = 1,
1724
									CFrame = CF(ROCK.Position),
1725
									MoveToPos = nil,
1726
									RotationX = 0,
1727
									RotationY = 0,
1728
									RotationZ = 0,
1729
									Material = "Neon",
1730
									Color = C3(0, 0, 0),
1731
									SoundID = 174580476,
1732
									SoundPitch = 1,
1733
									SoundVolume = 3
1734
								})
1735
								ROCK:remove()
1736
							end))
1737
							Swait(5)
1738
						end
1739
					end
1740
				end
1741
			end))
1742
			local UNDO = FacialShadow()
1743
			CreateSound(765590102, Torso, 2, MRANDOM(8, 12) / 10, false)
1744
			KEY = Mouse.KeyDown:connect(function(NEWKEY)
1745
				if NEWKEY == "e" then
1746
					KEY:Disconnect()
1747
					PLAYING = true
1748
				end
1749
			end)
1750
			for i = 0, 2, 0.1 / Animation_Speed do
1751
				Swait()
1752
				if PLAYING == true then
1753
					break
1754
				end
1755
				RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
1756
				RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0.25 * COS(SINE / 12)) * ANGLES(RAD(-5 + 2 * SIN(SINE / 12)), RAD(15), RAD(35)), 0.5 / Animation_Speed)
1757
				Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 2 * SIN(SINE / 12)), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
1758
				RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1759
				LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1760
				RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1761
				LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.3 * SIZE, -0.6 * SIZE) * ANGLES(RAD(-25), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1762
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1763
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1764
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1765
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1766
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1767
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1768
			end
1769
			if KEY then
1770
				KEY:Disconnect()
1771
			end
1772
			if PLAYING == true then
1773
				for i = 0, 0.3, 0.1 / Animation_Speed do
1774
					Swait()
1775
					RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
1776
					RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
1777
					Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
1778
					RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.25 * SIZE, 0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1779
					LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1780
					RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1781
					LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1782
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1783
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1784
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1785
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1786
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1787
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1788
				end
1789
				FLING = true
1790
				for i = 0, 1, 0.1 / Animation_Speed do
1791
					Swait()
1792
					RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
1793
					RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / Animation_Speed)
1794
					Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 2 / Animation_Speed)
1795
					RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1796
					LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1797
					RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1798
					LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1799
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1800
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1801
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1802
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1803
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1804
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1805
				end
1806
			end
1807
			UNDO()
1808
		end
1809
	end
1810
	REPLAY = false
1811
	ATTACK = false
1812
	Rooted = false
1813
end
1814
function Uppercut()
1815
	ATTACK = true
1816
	Rooted = false
1817
	local HITS = {}
1818
	Speed = 12
1819
	for i = 0, 1, 0.1 / Animation_Speed do
1820
		Swait()
1821
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
1822
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
1823
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1824
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, -0.25 * SIZE) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1825
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1826
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(50 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1827
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1828
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
1829
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1830
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1831
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1832
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1833
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1834
	end
1835
	CreateSound(588693579, RightArm2, 6, MRANDOM(8, 12) / 10, false)
1836
	for i = 0, 0.3, 0.1 / Animation_Speed do
1837
		Swait()
1838
		WACKYEFFECT({
1839
			EffectType = "Box",
1840
			Size = RightArm2.Size,
1841
			Size2 = RightArm2.Size,
1842
			Transparency = RightArm2.Transparency,
1843
			Transparency2 = 1,
1844
			CFrame = RightArm2.CFrame,
1845
			MoveToPos = nil,
1846
			RotationX = 0,
1847
			RotationY = 0,
1848
			RotationZ = 0,
1849
			Material = "Neon",
1850
			Color = C3(0, 0, 0),
1851
			SoundID = nil,
1852
			SoundPitch = nil,
1853
			SoundVolume = nil
1854
		})
1855
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 3, -5), 0.4)
1856
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1857
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
1858
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.25 * SIZE, 0.5 * SIZE, -0.25 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1859
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1860
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(50 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1861
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1862
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1863
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
1864
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1865
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1866
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1867
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1868
	end
1869
	for index, CHILD in pairs(workspace:GetDescendants()) do
1870
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1871
			do
1872
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1873
				if HUM then
1874
					do
1875
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1876
						if TORSO and (TORSO.Position - RightArm2.CFrame * CF(0, -2, 0).p).Magnitude <= 15 then
1877
							coroutine.resume(coroutine.create(function()
1878
								CreateSound(260430117, TORSO, 3, MRANDOM(8, 12) / 10, false)
1879
								local grav = Instance.new("BodyPosition", TORSO)
1880
								grav.D = 1500
1881
								grav.P = 20000
1882
								grav.maxForce = Vector3.new(math.huge, math.huge, math.huge)
1883
								grav.position = TORSO.Position + VT(0, 25, 0)
1884
								TORSO.RotVelocity = VT(MRANDOM(-25, 25), MRANDOM(-25, 25), MRANDOM(-25, 25))
1885
								table.insert(HITS, {CHILD, grav})
1886
								ApplyDamage(HUM, MRANDOM(12, 22))
1887
							end))
1888
						end
1889
					end
1890
				end
1891
			end
1892
		end
1893
	end
1894
	if #HITS > 0 then
1895
		coroutine.resume(coroutine.create(function()
1896
			repeat
1897
				Swait()
1898
			until ATTACK == false
1899
			for E = 1, #HITS do
1900
				HITS[E][2]:remove()
1901
			end
1902
		end))
1903
	end
1904
	REPLAY = true
1905
	local PLAYING = false
1906
	local WHACK = false
1907
	local HITTING = 0
1908
	local PAYDOWN = 200
1909
	local UNDO = FacialShadow()
1910
	for i = 0, 0.5, 0.1 / Animation_Speed do
1911
		Swait()
1912
		if PLAYING == true then
1913
			break
1914
		end
1915
		WACKYEFFECT({
1916
			EffectType = "Box",
1917
			Size = RightArm2.Size,
1918
			Size2 = RightArm2.Size,
1919
			Transparency = RightArm2.Transparency,
1920
			Transparency2 = 1,
1921
			CFrame = RightArm2.CFrame,
1922
			MoveToPos = nil,
1923
			RotationX = 0,
1924
			RotationY = 0,
1925
			RotationZ = 0,
1926
			Material = "Neon",
1927
			Color = C3(0, 0, 0),
1928
			SoundID = nil,
1929
			SoundPitch = nil,
1930
			SoundVolume = nil
1931
		})
1932
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 3, -5), 0.5)
1933
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1934
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
1935
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.25 * SIZE, 0.5 * SIZE, -0.25 * SIZE) * ANGLES(RAD(185), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1936
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1937
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(50 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1938
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1939
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1940
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
1941
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1942
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1943
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1944
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1945
	end
1946
	if #HITS > 0 then
1947
		KEY = Mouse.KeyDown:connect(function(NEWKEY)
1948
			if NEWKEY == "r" and WHACK == false then
1949
				if PLAYING == false then
1950
					PLAYING = true
1951
				end
1952
				WHACK = true
1953
				PAYDOWN = 70
1954
				HITTING = HITTING + 1
1955
				for E = 1, #HITS do
1956
					if HITS[E][1] then
1957
						local ROOT = GetRoot(HITS[E][1], true)
1958
						if ROOT then
1959
							local HUM = HITS[E][1]:FindFirstChildOfClass("Humanoid")
1960
							if HUM and HUM.Health > 0 then
1961
								HUM.PlatformStand = true
1962
								CreateSound(260430117, ROOT, 3, MRANDOM(8, 12) / 10, false)
1963
								local HIT, POS = Raycast(ROOT.Position + VT(0, 5, 0), CF(RootPart.Position, RootPart.Position - VT(0, 5, 0)).lookVector, 60, HITS[E][1])
1964
								ROOT.CFrame = CF(POS)
1965
								ApplyDamage(HUM, MRANDOM(12, 18))
1966
								ROOT.RotVelocity = VT(MRANDOM(-25, 25), MRANDOM(-25, 25), MRANDOM(-25, 25)) * 4
1967
								if HIT then
1968
									CreateFlyingDebree(HIT, CF(POS), 5, VT(1, 1, 1) * MRANDOM(7, 15) / 20, 5, 30)
1969
								end
1970
							end
1971
						end
1972
					end
1973
				end
1974
				CreateSound(217767125, RightArm, 10, 1, false)
1975
				for i = 0, 0.25, 0.1 / Animation_Speed do
1976
					Swait()
1977
					RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
1978
					RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1979
					Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1980
					RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1981
					LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-15 - 1 * SIN(SINE / 6))) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1982
					RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1983
					LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1984
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1985
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1986
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1987
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0.4) * ANGLES(RAD(-25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1988
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1989
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1990
				end
1991
				WHACK = false
1992
			end
1993
		end)
1994
	end
1995
	for i = 0, 1, 0.1 / Animation_Speed do
1996
		Swait()
1997
		if PLAYING == true then
1998
			break
1999
		end
2000
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 3, -5), 0.5)
2001
		RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.5 / Animation_Speed)
2002
		Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
2003
		RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.25 * SIZE, 0.5 * SIZE, -0.25 * SIZE) * ANGLES(RAD(185), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2004
		LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2005
		RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(50 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2006
		LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2007
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
2008
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
2009
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2010
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2011
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
2012
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
2013
	end
2014
	if PLAYING == true then
2015
		Rooted = true
2016
		repeat
2017
			Swait()
2018
			if WHACK == false then
2019
				PAYDOWN = PAYDOWN - 1
2020
				if PAYDOWN <= 0 then
2021
					PLAYING = false
2022
				end
2023
				RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
2024
				RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2025
				Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2026
				RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(120)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2027
				LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-15 - 1 * SIN(SINE / 6))) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2028
				RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2029
				LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2030
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2031
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2032
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(120)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2033
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0.4) * ANGLES(RAD(-25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2034
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2035
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2036
			end
2037
		until PLAYING == false
2038
	end
2039
	if KEY then
2040
		KEY:Disconnect()
2041
	end
2042
	if HITTING > 4 then
2043
		CreateSound(1535994137, Head, 10, 1, false)
2044
		for i = 0, 2.4, 0.1 / Animation_Speed do
2045
			Swait()
2046
			RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
2047
			RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0.25 * COS(SINE / 12)) * ANGLES(RAD(-5 + 2 * SIN(SINE / 12)), RAD(15), RAD(35)), 0.5 / Animation_Speed)
2048
			Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 2 * SIN(SINE / 12)), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
2049
			RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2050
			LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2051
			RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2052
			LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.3 * SIZE, -0.6 * SIZE) * ANGLES(RAD(-25), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2053
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2054
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(15), RAD(15)), 1 / Animation_Speed)
2055
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65, 0) * ANGLES(RAD(170), RAD(0), RAD(-13)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2056
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2057
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
2058
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
2059
		end
2060
	end
2061
	UNDO()
2062
	Speed = 16
2063
	REPLAY = false
2064
	ATTACK = false
2065
	Rooted = false
2066
end
2067
function TakeOn()
2068
	ATTACK = true
2069
	Rooted = true
2070
	coroutine.resume(coroutine.create(function()
2071
		repeat
2072
			Swait()
2073
			RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0.25 * COS(SINE / 12)) * ANGLES(RAD(-5 + 2 * SIN(SINE / 12)), RAD(15), RAD(35)), 0.5 / Animation_Speed)
2074
			Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 2 * SIN(SINE / 12)), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
2075
			RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2076
			LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2077
			RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2078
			LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.3 * SIZE, -0.6 * SIZE) * ANGLES(RAD(-25), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2079
		until ATTACK == false
2080
	end))
2081
	CreateSound(1535994669, Head, 10, 1, false)
2082
	for i = 0, 1, 0.1 / Animation_Speed do
2083
		Swait()
2084
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2085
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2086
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2087
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, 0.2) * ANGLES(RAD(-25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2088
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2089
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), 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) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2094
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-10), RAD(0), RAD(35)), 1 / Animation_Speed)
2095
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2096
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, 0.2) * ANGLES(RAD(-25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2097
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2098
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2099
	end
2100
	ATTACK = false
2101
	Rooted = false
2102
end
2103
2104
local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Hat", VT(1,1,1),false)
2105
PRT.Color = C3(0,0,0)
2106
2107
2108
function getbloody(victim,amount)
2109
    local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really black", "Blood", victim.Size)
2110
    PART.CFrame = victim.CFrame
2111
    local HITPLAYERSOUNDS = {"356551938","264486467"}
2112
    Debris:AddItem(PART,5)
2113
    CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2114
    CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2115
    CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2116
    local prtcl = asd:Clone()
2117
    prtcl.Parent = PART
2118
    prtcl:Emit(amount*10)
2119
end
2120
2121
2122
function sandbox(var,func)
2123
	local env = getfenv(func)
2124
	local newenv = setmetatable({},{
2125
		__index = function(self,k)
2126
			if k=="script" then
2127
				return var
2128
			else
2129
				return env[k]
2130
			end
2131
		end,
2132
	})
2133
	setfenv(func,newenv)
2134
	return func
2135
end
2136
cors = {}
2137
mas = Instance.new("Model",game:GetService("Lighting"))
2138
Part0 = Instance.new("Part")
2139
SpecialMesh1 = Instance.new("SpecialMesh")
2140
Script2 = Instance.new("Script")
2141
Part0.Name = "MainSky"
2142
Part0.Parent = mas
2143
Part0.CFrame = CFrame.new(-8.5, 2.5, 87.5, 0, 1, 0, 0, 0, 1, 1, 0, 0)
2144
Part0.Orientation = Vector3.new(-90, -90, 0)
2145
Part0.Position = Vector3.new(-8.5, 2.5, 87.5)
2146
Part0.Rotation = Vector3.new(-90, 0, -90)
2147
Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
2148
Part0.Size = Vector3.new(1, 1, 1)
2149
Part0.Anchored = true
2150
Part0.BottomSurface = Enum.SurfaceType.Smooth
2151
Part0.BrickColor = BrickColor.new("Black")
2152
Part0.Locked = true
2153
Part0.Reflectance = 0.10000000149012
2154
Part0.TopSurface = Enum.SurfaceType.Smooth
2155
Part0.brickColor = BrickColor.new("Black")
2156
Part0.FormFactor = Enum.FormFactor.Symmetric
2157
Part0.formFactor = Enum.FormFactor.Symmetric
2158
Part0.Shape = Enum.PartType.Ball
2159
SpecialMesh1.Parent = Part0
2160
SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=1185246"
2161
SpecialMesh1.Scale = Vector3.new(-4700, -4700, -4700)
2162
SpecialMesh1.VertexColor = Vector3.new(0.600000024, -1, 1)
2163
SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=123629402"
2164
SpecialMesh1.MeshType = Enum.MeshType.FileMesh
2165
Script2.Name = "Spin"
2166
Script2.Parent = Part0
2167
table.insert(cors,sandbox(Script2,function()
2168
spinning = script.Parent
2169
2170
while true do
2171
spinning.CFrame = spinning.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.05)
2172
wait(0.00)
2173
end
2174
2175
end))
2176
for i,v in pairs(mas:GetChildren()) do
2177
	v.Parent = workspace
2178
	pcall(function() v:MakeJoints() end)
2179
end
2180
mas:Destroy()
2181
for i,v in pairs(cors) do
2182
	spawn(function()
2183
		pcall(v)
2184
	end)
2185
end
2186
2187
2188
CFuncs = {
2189
    Part = {
2190
        Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2191
            local Part = Create("Part")({
2192
                Parent = Parent,
2193
                Reflectance = Reflectance,
2194
                Transparency = Transparency,
2195
                CanCollide = false,
2196
                Locked = true,
2197
                BrickColor = BrickColor.new(tostring(BColor)),
2198
                Name = Name,
2199
                Size = Size,
2200
                Material = Material
2201
            })
2202
            RemoveOutlines(Part)
2203
            return Part
2204
        end
2205
    },
2206
    Mesh = {
2207
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2208
            local Msh = Create(Mesh)({
2209
                Parent = Part,
2210
                Offset = OffSet,
2211
                Scale = Scale
2212
            })
2213
            if Mesh == "SpecialMesh" then
2214
                Msh.MeshType = MeshType
2215
                Msh.MeshId = MeshId
2216
            end
2217
            return Msh
2218
        end
2219
    },
2220
    Mesh = {
2221
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2222
            local Msh = Create(Mesh)({
2223
                Parent = Part,
2224
                Offset = OffSet,
2225
                Scale = Scale
2226
            })
2227
            if Mesh == "SpecialMesh" then
2228
                Msh.MeshType = MeshType
2229
                Msh.MeshId = MeshId
2230
            end
2231
            return Msh
2232
        end
2233
    },
2234
    Weld = {
2235
        Create = function(Parent, Part0, Part1, C0, C1)
2236
            local Weld = Create("Weld")({
2237
                Parent = Parent,
2238
                Part0 = Part0,
2239
                Part1 = Part1,
2240
                C0 = C0,
2241
                C1 = C1
2242
            })
2243
            return Weld
2244
        end
2245
    },
2246
    Sound = {
2247
        Create = function(id, par, vol, pit)
2248
            coroutine.resume(coroutine.create(function()
2249
                local S = Create("Sound")({
2250
                    Volume = vol,
2251
                    Pitch = pit or 1,
2252
                    SoundId = id,
2253
                    Parent = par or workspace
2254
                })
2255
                wait()
2256
                S:play()
2257
                game:GetService("Debris"):AddItem(S, 10)
2258
            end))
2259
        end
2260
    },
2261
    LongSound = {
2262
        Create = function(id, par, vol, pit)
2263
            coroutine.resume(coroutine.create(function()
2264
                local S = Create("Sound")({
2265
                    Volume = vol,
2266
                    Pitch = pit or 1,
2267
                    SoundId = id,
2268
                    Parent = par or workspace
2269
                })
2270
                wait()
2271
                S:play()
2272
                game:GetService("Debris"):AddItem(S, 30)
2273
            end))
2274
        end
2275
    },
2276
    ParticleEmitter = {
2277
        Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
2278
            local fp = Create("ParticleEmitter")({
2279
                Parent = Parent,
2280
                Color = ColorSequence.new(Color1, Color2),
2281
                LightEmission = LightEmission,
2282
                Size = Size,
2283
                Texture = Texture,
2284
                Transparency = Transparency,
2285
                ZOffset = ZOffset,
2286
                Acceleration = Accel,
2287
                Drag = Drag,
2288
                LockedToPart = LockedToPart,
2289
                VelocityInheritance = VelocityInheritance,
2290
                EmissionDirection = EmissionDirection,
2291
                Enabled = Enabled,
2292
                Lifetime = LifeTime,
2293
                Rate = Rate,
2294
                Rotation = Rotation,
2295
                RotSpeed = RotSpeed,
2296
                Speed = Speed,
2297
                VelocitySpread = VelocitySpread
2298
            })
2299
            return fp
2300
        end
2301
    },
2302
    CreateTemplate = {}
2303
}
2304
2305
function Swait(NUMBER)
2306
	if NUMBER == 0 or NUMBER == nil then
2307
		ArtificialHB.Event:wait()
2308
	else
2309
		for i = 1, NUMBER do
2310
			ArtificialHB.Event:wait()
2311
		end
2312
	end
2313
end
2314
2315
function swait(NUMBER)
2316
	if NUMBER == 0 or NUMBER == nil then
2317
		ArtificialHB.Event:wait()
2318
	else
2319
		for i = 1, NUMBER do
2320
			ArtificialHB.Event:wait()
2321
		end
2322
	end
2323
end
2324
2325
function chatfunc(text)
2326
	local chat = coroutine.wrap(function()
2327
		if Character:FindFirstChild("TalkingBillBoard") ~= nil then
2328
			Character:FindFirstChild("TalkingBillBoard"):destroy()
2329
		end
2330
		local naeeym2 = Instance.new("BillboardGui", Character)
2331
		naeeym2.Size = UDim2.new(0, 100, 0, 40)
2332
		naeeym2.StudsOffset = Vector3.new(0, 3, 0)
2333
		naeeym2.Adornee = Character.Head
2334
		naeeym2.Name = "TalkingBillBoard"
2335
		local tecks2 = Instance.new("TextLabel", naeeym2)
2336
		tecks2.BackgroundTransparency = 1
2337
		tecks2.BorderSizePixel = 0
2338
		tecks2.Text = ""
2339
		tecks2.Font = "Garamond"
2340
		tecks2.TextSize = 30
2341
		tecks2.TextStrokeTransparency = 0
2342
		tecks2.TextColor3 = Color3.new(0, 0, 0)
2343
		tecks2.TextStrokeColor3 = Color3.new(0.5, 0, 0)
2344
		tecks2.Size = UDim2.new(1, 0, 0.5, 0)
2345
		local tecks3 = Instance.new("TextLabel", naeeym2)
2346
		tecks3.BackgroundTransparency = 1
2347
		tecks3.BorderSizePixel = 0
2348
		tecks3.Text = ""
2349
		tecks3.Font = "Garamond"
2350
		tecks3.TextSize = 30
2351
		tecks3.TextStrokeTransparency = 0
2352
		tecks3.TextColor3 = Color3.new(0, 0, 0)
2353
		tecks3.TextStrokeColor3 = Color3.new(0, 0, 0)
2354
		tecks3.Size = UDim2.new(1, 0, 0.5, 0)
2355
		coroutine.resume(coroutine.create(function()
2356
			while true do
2357
				swait(1)
2358
				if chaosmode == true then
2359
					tecks2.TextColor3 = BrickColor.new("Really black")().Color
2360
					tecks3.TextStrokeColor3 = BrickColor.new("Really black")().Color
2361
				end
2362
				tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
2363
				tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
2364
				tecks2.Rotation = math.random(-5, 5)
2365
				tecks3.Rotation = math.random(-5, 5)
2366
			end
2367
		end))
2368
		for i = 1, string.len(text) do
2369
			CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
2370
			tecks2.Text = string.sub(text, 1, i)
2371
			tecks3.Text = string.sub(text, 1, i)
2372
			swait(1)
2373
		end
2374
		wait(1)
2375
		local randomrot = math.random(1, 2)
2376
		if randomrot == 1 then
2377
			for i = 1, 50 do
2378
				swait()
2379
				tecks2.Rotation = tecks2.Rotation - 0.75
2380
				tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
2381
				tecks2.TextTransparency = tecks2.TextTransparency + 0.04
2382
				tecks3.Rotation = tecks2.Rotation + 0.75
2383
				tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
2384
				tecks3.TextTransparency = tecks2.TextTransparency + 0.04
2385
			end
2386
		elseif randomrot == 2 then
2387
			for i = 1, 50 do
2388
				swait()
2389
				tecks2.Rotation = tecks2.Rotation + 0.75
2390
				tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
2391
				tecks2.TextTransparency = tecks2.TextTransparency + 0.04
2392
				tecks3.Rotation = tecks2.Rotation - 0.75
2393
				tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
2394
				tecks3.TextTransparency = tecks2.TextTransparency + 0.04
2395
			end
2396
		end
2397
		naeeym2:Destroy()
2398
	end)
2399
	chat()
2400
end
2401
2402
function onChatted(msg)
2403
chatfunc(msg)
2404
end
2405
Player.Chatted:connect(onChatted)
2406
2407
function Taunt()
2408
    ATTACK = true
2409
    Rooted = true
2410
    local TAUNT = CreateSound(159882635, Torso, 7, .75, false)
2411
    repeat
2412
        Swait()
2413
        TAUNT.Parent = Torso
2414
        TAUNT.Playing = true
2415
        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)
2416
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
2417
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2418
        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)
2419
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2420
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2421
    until TAUNT.TimePosition >= 1.25
2422
    for i=0, 1.6, 0.1 / Animation_Speed do
2423
        Swait()
2424
        TAUNT.Parent = Torso
2425
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
2426
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
2427
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2428
        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)
2429
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2430
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2431
    end
2432
    ATTACK = false
2433
    Rooted = false
2434
end
2435
2436
function Orbital_Devastor()
2437
    local HITBODIES = {}
2438
    local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0, 0, 0))
2439
    local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character)
2440
    CENTER.CFrame = CF(ECH)
2441
    local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Laser01", VT(25, 99999, 25))
2442
    MakeForm(RAY, "Cyl")
2443
    local RAY2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Laser01", VT(28, 99999, 28))
2444
    MakeForm(RAY2, "Cyl")
2445
    RAY.CFrame = CF(ECH)
2446
    RAY2.CFrame = CF(ECH)
2447
    CreateSound("1368573150", CENTER, 10, 0.8)
2448
    for i = 1, 100 do
2449
        Swait()
2450
        RAY.Transparency = RAY.Transparency - 0.01
2451
        RAY.Size = RAY.Size - VT(0.25, 0, 0.25)
2452
        RAY2.Transparency = RAY2.Transparency - 0.012
2453
        RAY2.Size = RAY2.Size - VT(0.28, 0, 0.28)
2454
    end
2455
    for i = 1, 5 do
2456
        CreateRing(VT(i / 10, i / 10, 0), false, 0, 25, CF(ECH) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(MRANDOM(0, 0) / 0, 0, 0), VT(i / 5, i / 5, 0))
2457
    end
2458
    RAY:remove()
2459
    RAY2:remove()
2460
    CreateSound("1368637781", CENTER, 10, 0.8)
2461
    MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Really blue", VT(8, 8, 8))
2462
    MagicSphere(VT(1, 1, 1), 25, CF(ECH), "Really black", VT(8, 8, 8))
2463
    AddChildrenToTable(ECH, workspace, 80, HITBODIES)
2464
    Debris:AddItem(CENTER, 5)
2465
    CreateSound("414517163", CENTER, 10, 0.8)
2466
    for i = 1, 5 do
2467
        Slice("Round", 0, 35, CF(ECH) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really black", VT(0.5, 0, 0.5))
2468
    end
2469
    for e = 1, #HITBODIES do
2470
        if HITBODIES[e] ~= nil then
2471
            local BOD = HITBODIES[e]
2472
            local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
2473
            if TORS then
2474
                BOD:BreakJoints()
2475
                for _, c in pairs(BOD:GetChildren()) do
2476
                    if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2477
                        local bv = Instance.new("BodyVelocity")
2478
                        bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2479
                        bv.velocity = CF(ECH, c.Position).lookVector * 250
2480
                        bv.Parent = c
2481
                        Debris:AddItem(bv, 0.2)
2482
                    end
2483
                end
2484
            end
2485
        end
2486
    end
2487
end
2488
 
2489
local ATTACKEDTAUNTS = {
2490
    "907332040",
2491
    "907332525",
2492
    "907330011"
2493
}
2494
local ATTACKTAUNTS = {
2495
    "907329893",
2496
    "907329532",
2497
    "907333294",
2498
    "907332856"
2499
}
2500
local ULTTAUNTS = {
2501
    "907332997",
2502
    "907332670",
2503
    "907330103"
2504
}
2505
 
2506
function Orb()
2507
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
2508
    if HITFLOOR ~= nil then
2509
        do
2510
            local HITBODIES = {}
2511
            ATTACK = true
2512
            Rooted = true
2513
            local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "ABSOLUTEUM", VT(0, 0, 0))
2514
            MakeForm(ABSOLUTE, "Ball")
2515
            CreateSound("416200578", RootPart, 10, 0.7)
2516
            for i = 0, 8, 0.1 / Animation_Speed do
2517
                Swait()
2518
                ABSOLUTE.Size = ABSOLUTE.Size + VT(0.75, 0.75, 0.75)
2519
                ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
2520
                ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
2521
                local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "ABSOLUTEUM", VT(3, 3, 3))
2522
                MakeForm(CHARGE, "Ball")
2523
                CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
2524
                FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
2525
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2526
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2527
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2528
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2529
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
2530
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
2531
            end
2532
            CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Torso, 10, 0.9)
2533
            CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
2534
            for i = 1, 45 do
2535
                Swait()
2536
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2537
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2538
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2539
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2540
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
2541
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
2542
            end
2543
            coroutine.resume(coroutine.create(function()
2544
                local IMPACT = false
2545
                local BULLET = ABSOLUTE
2546
                MakeForm(BULLET, "Ball")
2547
                BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
2548
                for i = 1, 500 do
2549
                    Swait()
2550
                    BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
2551
                    local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
2552
                    MagicSphere(VT(1000, 1000, 1000), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really blue", VT(-100, -100, -100) / 55)
2553
                    if HIT ~= nil then
2554
                        IMPACT = true
2555
                        break
2556
                    end
2557
                end
2558
                if IMPACT == false then
2559
                    for i = 1, 40 do
2560
                        Swait()
2561
                        BULLET.Size = BULLET.Size * 0.9
2562
                    end
2563
                    BULLET:remove()
2564
                else
2565
                    CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
2566
                    for i = 1, 175 do
2567
                        Swait()
2568
                        BULLET.Size = BULLET.Size * 0.99
2569
                        Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really black", VT(i, 0, i) / 85)
2570
                    end
2571
                    CreateSound("438666001", BULLET, 10, 3)
2572
                    Swait(35)
2573
                    BULLET.Transparency = 1
2574
                    for i = 1, 20 do
2575
                        for e = 1, 5 do
2576
                            MagicSphere(VT(20, 20, 20), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
2577
                            Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3)
2578
                        end
2579
                        AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
2580
                        CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
2581
                        CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
2582
                        MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 150, 0, 0), VT(i, i, i) * 2)
2583
                        Swait(5)
2584
                        for e = 1, #HITBODIES do
2585
                            if HITBODIES[e] ~= nil then
2586
                                local BOD = HITBODIES[e]
2587
                                local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
2588
                                if TORS then
2589
                                    BOD:BreakJoints()
2590
                                    Petrify(BOD)
2591
                                    C3(0,0,0)
2592
                                    for _, c in pairs(BOD:GetChildren()) do
2593
                                        if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2594
                                            local bv = Instance.new("BodyVelocity")
2595
                                            bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2596
                                            bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
2597
                                            bv.Parent = c
2598
                                            Debris:AddItem(bv, 0.2)
2599
                                        end
2600
                                    end
2601
                                end
2602
                            end
2603
                        end
2604
                        CreateWave(VT(0, 200, 0), 75, CF(BULLET.Position), true, -15, "Really red", VT(i, 0, i) * 2)
2605
                    end
2606
                    MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(150, 0, 0), VT(120, 120, 120))
2607
                    Debris:AddItem(BULLET, 10)
2608
                end
2609
            end))
2610
            ATTACK = false
2611
            Rooted = false
2612
        end
2613
    end
2614
end
2615
 
2616
function turnto(position)
2617
    RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
2618
end
2619
 
2620
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
2621
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
2622
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
2623
    wave.CFrame = CFRAME
2624
    coroutine.resume(coroutine.create(function(PART)
2625
        for i = 1, WAIT do
2626
            Swait()
2627
            mesh.Scale = mesh.Scale + GROW
2628
            mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
2629
            if DOESROT == true then
2630
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
2631
            end
2632
            wave.Transparency = wave.Transparency + 0.5 / WAIT
2633
            if wave.Transparency > 0.99 then
2634
                wave:remove()
2635
            end
2636
        end
2637
    end))
2638
end
2639
 
2640
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
2641
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
2642
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
2643
    wave.CFrame = CFRAME
2644
    coroutine.resume(coroutine.create(function(PART)
2645
        for i = 1, WAIT do
2646
            Swait()
2647
            mesh.Scale = mesh.Scale + GROW
2648
            if DOESROT == true then
2649
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
2650
            end
2651
            wave.Transparency = wave.Transparency + 0.5 / WAIT
2652
            if wave.Transparency > 0.99 then
2653
                wave:remove()
2654
            end
2655
        end
2656
    end))
2657
end
2658
 
2659
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
2660
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
2661
    local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
2662
    wave.CFrame = CFRAME
2663
    coroutine.resume(coroutine.create(function(PART)
2664
        for i = 1, WAIT do
2665
            Swait()
2666
            mesh.Scale = mesh.Scale + GROW
2667
            wave.Transparency = wave.Transparency + 1 / WAIT
2668
            if wave.Transparency > 0.99 then
2669
                wave:remove()
2670
            end
2671
        end
2672
    end))
2673
end
2674
 
2675
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
2676
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
2677
    local mesh
2678
    if KIND == "Base" then
2679
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
2680
    elseif KIND == "Thin" then
2681
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
2682
    elseif KIND == "Round" then
2683
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
2684
    end
2685
    wave.CFrame = CFRAME
2686
    coroutine.resume(coroutine.create(function(PART)
2687
        for i = 1, WAIT do
2688
            Swait()
2689
            mesh.Scale = mesh.Scale + GROW / 10
2690
            wave.Transparency = wave.Transparency + 0.5 / WAIT
2691
            if wave.Transparency > 0.99 then
2692
                wave:remove()
2693
            end
2694
        end
2695
    end))
2696
end
2697
 
2698
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
2699
    for _, c in pairs(PARENT:GetChildren()) do
2700
        if c.ClassName == "Model" then
2701
            if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
2702
                local HUMANOID = c:FindFirstChildOfClass("Humanoid")
2703
                local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
2704
                if DIST > (TORSO.Position - FROM).Magnitude then
2705
                    table.insert(TABLE, c)
2706
                end
2707
                AddChildrenToTable(FROM, c, DIST, TABLE)
2708
            elseif c.ClassName == "Folder" then
2709
                AddChildrenToTable(FROM, c, DIST, TABLE)
2710
            end
2711
        end
2712
    end
2713
end
2714
 
2715
Player_Size = 1 --Size of the player.
2716
 
2717
function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
2718
    if DoesCourontine == false then
2719
        local Direction = CF(Part.Position,ToLocation)
2720
        local Distance = (Part.Position - ToLocation).magnitude
2721
        for i = 1, AmountOfTime do
2722
            Swait()
2723
            Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
2724
            Direction = Part.CFrame
2725
        end
2726
        Part:remove()
2727
    elseif DoesCourontine == true then
2728
        coroutine.resume(coroutine.create(function()
2729
            local Direction = CF(Part.Position,ToLocation)
2730
            local Distance = (Part.Position - ToLocation).magnitude
2731
            for i = 1, AmountOfTime do
2732
                Swait()
2733
                Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
2734
                Direction = Part.CFrame
2735
            end
2736
            Part:remove()
2737
        end))
2738
    end
2739
end
2740
2741
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
2742
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
2743
    wave.Color = COLOR
2744
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
2745
    wave.CFrame = CFRAME
2746
    coroutine.resume(coroutine.create(function(PART)
2747
        for i = 1, WAIT do
2748
            Swait()
2749
            mesh.Scale = mesh.Scale + GROW
2750
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
2751
            if DOESROT == true then
2752
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
2753
            end
2754
            wave.Transparency = wave.Transparency + (0.5/WAIT)
2755
            if wave.Transparency > 0.99 then
2756
                wave:remove()
2757
            end
2758
        end
2759
    end))
2760
end
2761
 
2762
function Endless_Pain()
2763
    local HITBODIES = {}
2764
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
2765
    if HITFLOOR ~= nil then
2766
        CreateSound("463598785", RootPart, 10, 0.8)
2767
        ATTACK = true
2768
        Rooted = true
2769
        VALUE1 = true
2770
        for i = 1, 500 do
2771
            Swait()
2772
            AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
2773
            Slice("Round", 0.5 + i / 50, 35, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(0.001, 0, 0.001))
2774
            Slice("Round", 0.5 + i / 50, 45, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Really black", VT(0, 0, 0))
2775
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2776
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2777
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2778
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2779
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2780
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2781
            for e = 1, #HITBODIES do
2782
                if HITBODIES[e] ~= nil then
2783
                    local BOD = HITBODIES[e]
2784
                    local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
2785
                    if TORS and TORS:FindFirstChild("BV") == nil then
2786
                        local bv = Instance.new("BodyVelocity")
2787
                        bv.Name = "BV"
2788
                        bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2789
                        bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
2790
                        bv.Parent = TORS
2791
                        Debris:AddItem(bv, 0.1)
2792
                    end
2793
                end
2794
            end
2795
        end
2796
        coroutine.resume(coroutine.create(function()
2797
            for e = 1, #HITBODIES do
2798
                Swait()
2799
                if HITBODIES[e] ~= nil then
2800
                    local BOD = HITBODIES[e]
2801
                    for i = 1, #HITBODIES do
2802
                        if HITBODIES[i] == BOD and i ~= e then
2803
                            table.remove(HITBODIES, i)
2804
                        end
2805
                    end
2806
                    local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
2807
                    if TORS then
2808
                        TORS.Anchored = false
2809
                        CreateSound("92597369", TORS, 10, 0.8)
2810
                        Slice("Thin", 1, 35, CF(TORS.Position, HITPOS) * ANGLES(RAD(0), RAD(-90), RAD(0)), "Really blue", VT(0.01, 0, 0.01))
2811
                        BOD:BreakJoints()
2812
                        for _, c in pairs(BOD:GetChildren()) do
2813
                            if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2814
                                local bv = Instance.new("BodyVelocity")
2815
                                bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2816
                                bv.velocity = CF(HITPOS, c.Position).lookVector * 250
2817
                                bv.Parent = c
2818
                                Debris:AddItem(bv, 0.2)
2819
                            end
2820
                        end
2821
                    end
2822
                end
2823
            end
2824
        end))
2825
        VALUE1 = false
2826
        ATTACK = false
2827
        Rooted = false
2828
    end
2829
end
2830
2831
function Pure_Night()
2832
    ATTACK = true
2833
    Rooted = true
2834
    local AIMPOS = Mouse.Hit.p
2835
    local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
2836
    coroutine.resume(coroutine.create(function()
2837
        local RAYS = {}
2838
        for i = 1, 4 do
2839
            local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Ray", VT(50,2000,50))
2840
            MakeForm(RAY,"Cyl")
2841
            RAY.Mesh.Scale = VT(1,1.1,1)
2842
            table.insert(RAYS,RAY)
2843
        end
2844
        CreateSound(348663022, Effects, 2, 1.2, false)
2845
        for i = 1, 100 do
2846
            Swait()
2847
            for e = 1, #RAYS do
2848
                if RAYS[e] ~= nil then
2849
                    local RAY = RAYS[e]
2850
                    RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
2851
                    RAY.Transparency = RAY.Transparency - 0.01
2852
                end
2853
            end
2854
        end
2855
        for i = 1, 20 do
2856
            Swait()
2857
            for e = 1, #RAYS do
2858
                if RAYS[e] ~= nil then
2859
                    local RAY = RAYS[e]
2860
                    RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
2861
                end
2862
            end
2863
        end
2864
        wait(0.3)
2865
        for i = 1, 16 do
2866
            local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
2867
            SpawnTrail(POS+VT(0,200,0),POS)
2868
        end
2869
        for i = 1, 4 do
2870
            CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
2871
        end
2872
 
2873
        CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
2874
        CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
2875
        CreateSound(130972023, Effects, 2, 1, false)
2876
        local POS = Mouse.Hit.p
2877
        local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
2878
        MakeForm(RAY,"Cyl")
2879
        local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(130,130,130))
2880
        MakeForm(SPHERE,"Ball")
2881
        local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(120,120,120))
2882
        MakeForm(SHIELD,"Ball")
2883
        SHIELD.CFrame = CF(AIMPOS)
2884
        RAY.CFrame = CF(AIMPOS)
2885
        SPHERE.CFrame = CF(AIMPOS)
2886
        local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2887
        CreateSound(415700134, SPHERE, 10, 0.8, false)
2888
        for i = 1, 200 do
2889
            Swait()
2890
        WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(150,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
2891
    MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really red",VT(5,20,5))
2892
            RAY.Size = RAY.Size + VT(0,0,0)
2893
            SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
2894
            SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
2895
            ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
2896
        end
2897
        for i = 1, 45 do
2898
            Swait()
2899
            RAY.Transparency = RAY.Transparency + 1/45
2900
            SPHERE.Transparency = RAY.Transparency
2901
            SHIELD.Transparency = SPHERE.Transparency + 1/45
2902
        end
2903
        RAY:remove()
2904
        SHIELD:remove()
2905
        SPHERE:remove()
2906
    end))
2907
    ATTACK = false
2908
    Rooted = false
2909
end
2910
2911
function HCore()
2912
    ATTACK = true
2913
        COR1 = true
2914
    Rooted = true
2915
    UNANCHOR = false
2916
    RootPart.Anchored = true
2917
     sick:Stop()
2918
    for i=0, 5, 0.1 / Animation_Speed do
2919
        Swait()
2920
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2921
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
2922
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2923
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2924
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
2925
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
2926
            WACKYEFFECT({
2927
                Time = 85,
2928
                EffectType = "Sphere",
2929
                Size = VT(0.2,0.2,0.2),
2930
                Size2 = VT(0, 1000, 0),
2931
                Transparency = 0.5,
2932
                Transparency2 = 1,
2933
                CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2934
                MoveToPos = nil,
2935
                RotationX = MRANDOM(-50, 50) / 10,
2936
                RotationY = MRANDOM(-50, 50) / 10,
2937
                RotationZ = MRANDOM(-50, 50) / 10,
2938
                Material = "Neon",
2939
                Color = C3(150,0,0),
2940
                SoundID = nil,
2941
                SoundPitch = nil,
2942
                SoundVolume = nil
2943
            })
2944
    end
2945
    local HITFLOOR, HITPOS = Raycast(VT(0,250,0), (CF(Eon.Position, Eon.Position + VT(0, -1, 0))).lookVector, 500, Character)
2946
    CreateSound("1368598393", Effects, 10, 1)
2947
    for i=0, 2, 0.1 / Animation_Speed do
2948
        Swait()
2949
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2950
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
2951
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2952
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2953
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
2954
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
2955
        WACKYEFFECT({
2956
            Time = 15,
2957
            EffectType = "Sphere",
2958
            Size = VT(4, 4, 4),
2959
            Size2 = VT(0, 0, 0),
2960
            Transparency = 1,
2961
            Transparency2 = 0,
2962
            CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
2963
            MoveToPos = Eon.Position,
2964
            RotationX = 0,
2965
            RotationY = 0,
2966
            RotationZ = 0,
2967
            Material = "Neon",
2968
            Color = C3(0, 0, 0),
2969
            SoundID = nil,
2970
            SoundPitch = nil,
2971
            SoundVolume = nil
2972
        })
2973
    end
2974
        WACKYEFFECT({
2975
            Time = 15,
2976
            EffectType = "Sphere",
2977
            Size = VT(4, 4, 4),
2978
            Size2 = VT(0, 0, 0),
2979
            Transparency = 1,
2980
            Transparency2 = 0,
2981
            CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
2982
            MoveToPos = Eon.Position,
2983
            RotationX = 0,
2984
            RotationY = 0,
2985
            RotationZ = 0,
2986
            Material = "Neon",
2987
            Color = C3(150, 0, 0),
2988
            SoundID = nil,
2989
            SoundPitch = nil,
2990
            SoundVolume = nil
2991
        })
2992
    local CORE = CreatePart(3, Effects, "Cobblestone", 0, 0, BRICKC("Really red"), "CORE", VT(10,10,10))
2993
    MakeForm(CORE, "Ball")
2994
    CORE.CFrame = Eon.CFrame
2995
    local AURA = CreatePart(3, Effects, "Neon", 0, 0.7, BRICKC("Really blue"), "AURA", VT(10.1,10.1,10.1))
2996
    MakeForm(AURA, "Ball")
2997
    AURA.CFrame = Eon.CFrame
2998
    local AURA1 = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC("Really black"), "AURA1", VT(12,12,12))
2999
    MakeForm(AURA1, "Ball")
3000
    AURA1.CFrame = Eon.CFrame
3001
    CreateSound("1368583274", Effects, 10, 1)
3002
    for i=0, 6, 0.1 / Animation_Speed do
3003
        Swait()
3004
        local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
3005
        MagicSphere(VT(0,0,0),15,CFRAME,C3(150,0,0),VT(0.1,0.1,55))
3006
        MagicSphere(VT(0,0,0),15,CFRAME,C3(0,0,0),VT(2,2,2))
3007
        MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,C3(150,0,0),VT(0.1,0.1,55))
3008
        WACKYEFFECT({
3009
            Time = 15,
3010
            EffectType = "Sphere",
3011
            Size = VT(4, 4, 4),
3012
            Size2 = VT(0, 0, 0),
3013
            Transparency = 1,
3014
            Transparency2 = 0,
3015
            CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
3016
            MoveToPos = Eon.Position,
3017
            RotationX = 0,
3018
            RotationY = 0,
3019
            RotationZ = 0,
3020
            Material = "Neon",
3021
            Color = C3(0, 0, 0),
3022
            SoundID = nil,
3023
            SoundPitch = nil,
3024
            SoundVolume = nil
3025
        })
3026
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3027
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
3028
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3029
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3030
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
3031
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
3032
    end
3033
    Swait(175)
3034
    CreateSound("1368605755", Effects, 10, 1)
3035
    CreateSound("1368637781", Effects, 10, 1)
3036
    MagicSphere(VT(0,0,0),45,Torso.CFrame,C3(150,0,0),VT(5,5,5))
3037
    for i=0, 1, 0.1 / Animation_Speed do
3038
        Swait()
3039
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3040
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
3041
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3042
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3043
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
3044
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
3045
    end
3046
repeat
3047
Swait()
3048
            local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really black", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
3049
            SPHERE.CFrame = CF(Eon.Position) * CF(MRANDOM(-15,15),-10,MRANDOM(-15,15))
3050
            MakeForm(SPHERE,"Ball")
3051
            coroutine.resume(coroutine.create(function()
3052
                for i = 1, 100 do
3053
                    Swait()
3054
                    SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
3055
                    SPHERE.Transparency = (i/100)
3056
                end
3057
                SPHERE:remove()
3058
            end))
3059
        CORE.Size = VT(10 + 0.3 * COS(SINE / 4),  10 + 0.3 * COS(SINE / 4), 10 + 0.3 * COS(SINE / 4))
3060
        AURA.Size = VT(10.1 + 0.4 * COS(SINE / 4),  10.1 + 0.4 * COS(SINE / 4), 10.1 + 0.4 * COS(SINE / 4))
3061
        AURA1.Size = VT(12 + 0.09 * COS(SINE / 4),  12 + 0.09 * COS(SINE / 4), 12 + 0.09 * COS(SINE / 4))
3062
        ApplyAoE(CORE.Position, 15,true,false)
3063
                WACKYEFFECT({
3064
                    Time = 5,
3065
                    EffectType = "Round Slash",
3066
                    Size = VT(0, 0, 0),
3067
                    Size2 = VT(0.01, 0, 0.01),
3068
                    Transparency = 0.5,
3069
                    Transparency2 = 1,
3070
                    CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3071
                    MoveToPos = nil,
3072
                    RotationX = MRANDOM(-50, 50) / 10,
3073
                    RotationY = MRANDOM(-50, 50) / 10,
3074
                    RotationZ = MRANDOM(-50, 50) / 10,
3075
                    Material = "Neon",
3076
                    Color = C3(150, 0, 0),
3077
                    SoundID = nil,
3078
                    SoundPitch = nil,
3079
                    SoundVolume = nil
3080
                })
3081
                WACKYEFFECT({
3082
                    Time = MRANDOM(15, 85),
3083
                    EffectType = "Round Slash",
3084
                    Size = VT(0, 0, 0),
3085
                    Size2 = VT(0.3, 0, 0.3),
3086
                    Transparency = 0.5,
3087
                    Transparency2 = 1,
3088
                    CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3089
                    MoveToPos = nil,
3090
                    RotationX = MRANDOM(-50, 50) / 10,
3091
                    RotationY = MRANDOM(-50, 50) / 10,
3092
                    RotationZ = MRANDOM(-50, 50) / 10,
3093
                    Material = "Neon",
3094
                    Color = C3(0, 0, 0),
3095
                    SoundID = nil,
3096
                    SoundPitch = nil,
3097
                    SoundVolume = nil
3098
                })
3099
                WACKYEFFECT({
3100
                    Time = 5,
3101
                    EffectType = "Round Slash",
3102
                    Size = VT(0, 0, 0),
3103
                    Size2 = VT(0.01, 0, 0.01),
3104
                    Transparency = 0.5,
3105
                    Transparency2 = 1,
3106
                    CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3107
                    MoveToPos = nil,
3108
                    RotationX = MRANDOM(-50, 50) / 10,
3109
                    RotationY = MRANDOM(-50, 50) / 10,
3110
                    RotationZ = MRANDOM(-50, 50) / 10,
3111
                    Material = "Neon",
3112
                    Color = C3(150, 0, 0),
3113
                    SoundID = nil,
3114
                    SoundPitch = nil,
3115
                    SoundVolume = nil
3116
                })
3117
until FIRE1 == true
3118
if FIRE1 == true then
3119
CreateSound("276848267", Effects, 35, 0.5)
3120
SOUND = CreateSound("1371567007", CORE, 0, 1)
3121
repeat
3122
Swait()
3123
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3124
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
3125
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3126
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3127
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
3128
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
3129
        CORE.Size = CORE.Size - VT(0.05,0.05,0.05)
3130
        AURA.Size = AURA.Size + VT(0.1,0.1,0.1)
3131
        AURA1.Size = AURA1.Size + VT(0.1,0.1,0.1)
3132
        AURA.Transparency = 0.7
3133
        AURA1.Transparency = 0.8
3134
        Slice("Round", 0, 35, CF(Eon.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really red", VT(1, 0, 1) / 3)
3135
            WACKYEFFECT({
3136
                EffectType = "Wave",
3137
                Size = VT(25, 0, 25),
3138
                Size2 = VT(40, 0, 40) + VT(1 * 6, 1 / 5, 1 * 6),
3139
                Transparency = 0,
3140
                Transparency2 = 1,
3141
                CFrame = CF(RootPart.Position-VT(0,2.8,0)) * ANGLES(RAD(0), RAD(72 * 1), RAD(0)),
3142
                MoveToPos = nil,
3143
                RotationX = 0,
3144
                RotationY = 3,
3145
                RotationZ = 0,
3146
                Material = "Neon",
3147
                Color = C3(0, 0, 0),
3148
                SoundID = nil,
3149
                SoundPitch = nil,
3150
                SoundVolume = nil
3151
            })
3152
            WACKYEFFECT({
3153
                Time = 85,
3154
                EffectType = "Sphere",
3155
                Size = VT(0.05,0.05,0.05),
3156
                Size2 = VT(0, 1000, 0),
3157
                Transparency = 0.5,
3158
                Transparency2 = 1,
3159
                CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3160
                MoveToPos = nil,
3161
                RotationX = MRANDOM(-50, 50) / 10,
3162
                RotationY = MRANDOM(-50, 50) / 10,
3163
                RotationZ = MRANDOM(-50, 50) / 10,
3164
                Material = "Neon",
3165
                Color = C3(150,0,0),
3166
                SoundID = nil,
3167
                SoundPitch = nil,
3168
                SoundVolume = nil
3169
            })
3170
        WACKYEFFECT({
3171
            Time = 15,
3172
            EffectType = "Sphere",
3173
            Size = VT(6,6,6),
3174
            Size2 = VT(1, 1, 1),
3175
            Transparency = 1,
3176
            Transparency2 = 0,
3177
            CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
3178
            MoveToPos = Eon.Position,
3179
            RotationX = 0,
3180
            RotationY = 0,
3181
            RotationZ = 0,
3182
            Material = "Neon",
3183
            Color = C3(0, 0, 0),
3184
            SoundID = nil,
3185
            SoundPitch = nil,
3186
            SoundVolume = nil
3187
        })
3188
until SOUND.Playing == false
3189
AURA:remove()
3190
AURA1:remove()
3191
wait(0.5)
3192
        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)
3193
        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)
3194
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3195
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(45), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3196
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
3197
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
3198
            WACKYEFFECT({
3199
                Time = 285 + 5 * 1,
3200
                EffectType = "Sphere",
3201
                Size = VT(650, 650, 650),
3202
                Size2 = VT(750, 750, 750) + VT(15, 15, 15) * 1,
3203
                Transparency = 0.5,
3204
                Transparency2 = 1,
3205
                CFrame = Eon.CFrame,
3206
                MoveToPos = nil,
3207
                RotationX = 0,
3208
                RotationY = 0,
3209
                RotationZ = 0,
3210
                Material = "Neon",
3211
                Color = C3(150, 0, 0),
3212
                SoundID = nil,
3213
                SoundPitch = 0,
3214
                SoundVolume = 0
3215
            })
3216
        WACKYEFFECT({
3217
            Time = 75,
3218
            EffectType = "Sphere",
3219
            Size = VT(350, 350, 350),
3220
            Size2 = VT(4500, 4500, 4500),
3221
            Transparency = 0.8,
3222
            Transparency2 = 1,
3223
            CFrame = Eon.CFrame,
3224
            MoveToPos = nil,
3225
            RotationX = 0,
3226
            RotationY = 0,
3227
            RotationZ = 0,
3228
            Material = "Neon",
3229
            Color = C3(0, 0, 0),
3230
            SoundID = nil,
3231
            SoundPitch = 0,
3232
            SoundVolume = 0
3233
        })
3234
        MagicSphere(VT(5,5,5), 35, Eon.CFrame, C3(MRANDOM(0, 10) / 150, 0, 0), VT(1, 1, 1) * 2)
3235
            WACKYEFFECT({Time = 285 + 5 * 1, EffectType = "Round Slash", Size = VT(3, 0, 3), Size2 = VT(12, 0, 12), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX = MRANDOM(-50, 50) / 50, RotationY = MRANDOM(-50, 50) / 10, RotationZ = MRANDOM(-50, 50) / 50, Material = "Neon", Color = C3(0, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3236
            WACKYEFFECT({Time = 285 + 5 * 1, EffectType = "Round Slash", Size = VT(3, 0, 3), Size2 = VT(12, 0, 12), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX = MRANDOM(-50, 50) / 50, RotationY = MRANDOM(-50, 50) / 10, RotationZ = MRANDOM(-50, 50) / 50, Material = "Neon", Color = C3(0, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3237
            WACKYEFFECT({Time = 285 + 5 * 1, EffectType = "Round Slash", Size = VT(3, 0, 3), Size2 = VT(12, 0, 12), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX = MRANDOM(-50, 50) / 50, RotationY = MRANDOM(-50, 50) / 10, RotationZ = MRANDOM(-50, 50) / 50, Material = "Neon", Color = C3(150, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3238
            WACKYEFFECT({
3239
                Time = 285 + 5 * 1,
3240
                EffectType = "Sphere",
3241
                Size = VT(650, 650, 650),
3242
                Size2 = VT(750, 750, 750) + VT(15, 15, 15) * 1,
3243
                Transparency = 0.5,
3244
                Transparency2 = 1,
3245
                CFrame = Eon.CFrame,
3246
                MoveToPos = nil,
3247
                RotationX = 0,
3248
                RotationY = 0,
3249
                RotationZ = 0,
3250
                Material = "Neon",
3251
                Color = C3(150, 0, 0),
3252
                SoundID = nil,
3253
                SoundPitch = 0,
3254
                SoundVolume = 0
3255
            })
3256
        end
3257
        WACKYEFFECT({
3258
            Time = 75,
3259
            EffectType = "Sphere",
3260
            Size = VT(350, 350, 350),
3261
            Size2 = VT(4500, 4500, 4500),
3262
            Transparency = 0.8,
3263
            Transparency2 = 1,
3264
            CFrame = Eon.CFrame,
3265
            MoveToPos = nil,
3266
            RotationX = 0,
3267
            RotationY = 0,
3268
            RotationZ = 0,
3269
            Material = "Neon",
3270
            Color = C3(0, 0, 0),
3271
            SoundID = nil,
3272
            SoundPitch = 0,
3273
            SoundVolume = 0
3274
        })
3275
        for i = 1, 15 do
3276
            Swait()
3277
                MagicSphere(VT(300,300,300),25,CF(Eon.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
3278
                MagicSphere(VT(300,300,300),45,CF(Eon.Position),C3(155,0,0),VT(i,i,i))      
3279
                MagicSphere(VT(290,290,290),25,CF(Eon.Position),BRICKC"Relly black".Color,VT(i,i,i)/1.1)
3280
                MagicSphere(VT(290,290,290),45,CF(Eon.Position),C3(0,0,0),VT(i,i,i))      
3281
                MagicSphere(VT(280,280,280),25,CF(Eon.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
3282
                MagicSphere(VT(280,280,280),45,CF(Eon.Position),C3(255,0,0),VT(i,i,i))           MagicSphere(VT(1,1,1),15,CF(Eon.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,0,0),VT(0,0,0))
3283
            WACKYEFFECT({
3284
                Time = 85,
3285
                EffectType = "Sphere",
3286
                Size = VT(75, 75, 75),
3287
                Size2 = VT(0, 2500, 0),
3288
                Transparency = 0.5,
3289
                Transparency2 = 1,
3290
                CFrame =Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3291
                MoveToPos = nil,
3292
                RotationX = MRANDOM(-50, 50) / 10,
3293
                RotationY = MRANDOM(-50, 50) / 10,
3294
                RotationZ = MRANDOM(-50, 50) / 10,
3295
                Material = "Neon",
3296
                Color = C3(0, 0, 0),
3297
                SoundID = nil,
3298
                SoundPitch = nil,
3299
                SoundVolume = nil
3300
            })
3301
            WACKYEFFECT({
3302
                Time = 85,
3303
                EffectType = "Sphere",
3304
                Size = VT(75, 75, 75),
3305
                Size2 = VT(0, 2500, 0),
3306
                Transparency = 0.5,
3307
                Transparency2 = 1,
3308
                CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3309
                MoveToPos = nil,
3310
                RotationX = MRANDOM(-50, 50) / 10,
3311
                RotationY = MRANDOM(-50, 50) / 10,
3312
                RotationZ = MRANDOM(-50, 50) / 10,
3313
                Material = "Neon",
3314
                Color = C3(150, 0, 0),
3315
                SoundID = nil,
3316
                SoundPitch = nil,
3317
                SoundVolume = nil
3318
            })
3319
            WACKYEFFECT({
3320
                EffectType = "Wave",
3321
                Size = VT(100, 0, 100),
3322
                Size2 = VT(140, 0, 140) + VT(1 * 6, 1 / 5, 1 * 6),
3323
                Transparency = 0,
3324
                Transparency2 = 1,
3325
                CFrame = CF(RootPart.Position-VT(0,2.8,0)) * ANGLES(RAD(0), RAD(50 * 1), RAD(0)),
3326
                MoveToPos = nil,
3327
                RotationX = 0,
3328
                RotationY = 3,
3329
                RotationZ = 0,
3330
                Material = "Neon",
3331
                Color = C3(0, 0, 0),
3332
                SoundID = nil,
3333
                SoundPitch = nil,
3334
                SoundVolume = nil
3335
            })
3336
            ApplyAoE(Eon.Position, 435 + 85 * 1,true)
3337
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3338
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3339
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(-145)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3340
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(145)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3341
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
3342
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
3343
FIRE1 = false
3344
CORE:remove()
3345
end
3346
    UNANCHOR = true
3347
    RootPart.Anchored = false
3348
    COR1 = false
3349
    CORMODE = false
3350
    ATTACK = false
3351
    Rooted = false
3352
end
3353
 
3354
function VoidCore()
3355
    ATTACK = true
3356
    Rooted = true
3357
    COR1 = true
3358
        CHOSENBRICK = "Dark indigo"
3359
    local CHARGE = false
3360
    local BLASTS = {468991944, 468991990}
3361
    for i = 1, 30 do
3362
        wait(0.01)
3363
        local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
3364
        local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
3365
        if HITFLOOR then
3366
            ApplyAoE(HITPOS, 65)
3367
            local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
3368
            WACKYEFFECT({EffectType = "Sphere", Size = VT(1*20,0,1*20), Size2 = VT(0,1*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
3369
            WACKYEFFECT({
3370
                Time = 25,
3371
                EffectType = "Sphere",
3372
                Size = VT(22, 22, 22),
3373
                Size2 = VT(85, 85, 85),
3374
                Transparency = 0,
3375
                Transparency2 = 1,
3376
                CFrame = CF(HITPOS),
3377
                MoveToPos = Torso.Position,
3378
                RotationX = 0,
3379
                RotationY = 0,
3380
                RotationZ = 0,
3381
                Material = "Neon",
3382
                Color = C3(0, 0, 0),
3383
                SoundID = BLASTS[MRANDOM(1, #BLASTS)],
3384
                SoundPitch = MRANDOM(9, 12) / 10,
3385
                SoundVolume = 10
3386
            })
3387
            for e = 1, 3 do
3388
                WACKYEFFECT({
3389
                    EffectType = "Wave",
3390
                    Size = VT(25, 0, 25),
3391
                    Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
3392
                    Transparency = 0,
3393
                    Transparency2 = 1,
3394
                    CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
3395
                    MoveToPos = nil,
3396
                    RotationX = 0,
3397
                    RotationY = 0,
3398
                    RotationZ = 0,
3399
                    Material = "Neon",
3400
                    Color = C3(0, 0, 0),
3401
                    SoundID = nil,
3402
                    SoundPitch = nil,
3403
                    SoundVolume = nil
3404
                })
3405
                WACKYEFFECT({
3406
                    Time = 35,
3407
                    EffectType = "Sphere",
3408
                    Size = VT(22, 45, 22),
3409
                    Size2 = VT(25, 45 + e * 75, 25),
3410
                    Transparency = 0,
3411
                    Transparency2 = 1,
3412
                    CFrame = CF(HITPOS) * TURN,
3413
                    MoveToPos = Torso.Position,
3414
                    RotationX = 0,
3415
                    RotationY = 0,
3416
                    RotationZ = 0,
3417
                    Material = "Neon",
3418
                    Color = C3(150, 0, 0),
3419
                    SoundID = nil,
3420
                    SoundPitch = MRANDOM(9, 12) / 10,
3421
                    SoundVolume = 10
3422
                })
3423
            end
3424
        end
3425
    end
3426
        repeat
3427
            Swait()
3428
            WACKYEFFECT({
3429
                Time = 15,
3430
                EffectType = "Sphere",
3431
                Size = VT(60, 60, 60),
3432
                Size2 = VT(5, 5, 5),
3433
                Transparency = 1,
3434
                Transparency2 = 0,
3435
                CFrame = CF(Torso.Position) + Torso.CFrame.upVector*MRANDOM(10,20) + Torso.CFrame.rightVector*MRANDOM(-5,5),
3436
                MoveToPos = nil,
3437
                RotationX = MRANDOM(-5,5),
3438
                RotationY = MRANDOM(-5,5),
3439
                RotationZ = MRANDOM(-5,5),
3440
                Material = "Neon",
3441
                Color = C3(0, 0, 0),
3442
                SoundID = nil,
3443
                SoundPitch = nil,
3444
                SoundVolume = nil
3445
            })
3446
            Swait()
3447
            WACKYEFFECT({
3448
                Time = 15,
3449
                EffectType = "Sphere",
3450
                Size = VT(60, 60, 60),
3451
                Size2 = VT(0, 0, 0),
3452
                Transparency = 1,
3453
                Transparency2 = 0.7,
3454
                CFrame = CF(RootPart.Position),
3455
                MoveToPos = nil,
3456
                RotationX = 0,
3457
                RotationY = 0,
3458
                RotationZ = 0,
3459
                Material = "Neon",
3460
                Color = C3(150, 0, 0),
3461
                SoundID = nil,
3462
                SoundPitch = nil,
3463
                SoundVolume = nil
3464
            })
3465
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
3466
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3467
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3468
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3469
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3470
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3471
        until VOID1 == true
3472
 
3473
                if VOID1 == true then
3474
            local POS = RootPart.Position
3475
            wait(0.2)
3476
            for i = 1, 5 do
3477
                WACKYEFFECT({
3478
                    Time = 65,
3479
                    EffectType = "Sphere",
3480
                    Size = VT(2, 2, 2),
3481
                    Size2 = VT(0, 0, 500),
3482
                    Transparency = 1,
3483
                    Transparency2 = 0,
3484
                    CFrame = CF(POS),
3485
                    MoveToPos = nil,
3486
                    RotationX = MRANDOM(-2, 2),
3487
                    RotationY = MRANDOM(-12, 12),
3488
                    RotationZ = MRANDOM(-2, 2),
3489
                    Material = "Neon",
3490
                    Color = C3(150, 0, 0),
3491
                    SoundID = nil,
3492
                    SoundPitch = nil,
3493
                    SoundVolume = nil
3494
                })
3495
                WACKYEFFECT({
3496
                    Time = 65,
3497
                    EffectType = "Sphere",
3498
                    Size = VT(2, 2, 2),
3499
                    Size2 = VT(0, 0, 500),
3500
                    Transparency = 1,
3501
                    Transparency2 = 0,
3502
                    CFrame = CF(POS),
3503
                    MoveToPos = nil,
3504
                    RotationX = MRANDOM(-2, 2),
3505
                    RotationY = MRANDOM(-12, 12),
3506
                    RotationZ = MRANDOM(-2, 2),
3507
                    Material = "Neon",
3508
                    Color = C3(0, 0, 0),
3509
                    SoundID = nil,
3510
                    SoundPitch = nil,
3511
                    SoundVolume = nil
3512
                })
3513
                WACKYEFFECT({
3514
                    Time = 65,
3515
                    EffectType = "Sphere",
3516
                    Size = VT(2, 2, 2),
3517
                    Size2 = VT(0, 0, 500),
3518
                    Transparency = 1,
3519
                    Transparency2 = 0,
3520
                    CFrame = CF(POS),
3521
                    MoveToPos = nil,
3522
                    RotationX = MRANDOM(-2, 2),
3523
                    RotationY = MRANDOM(-12, 12),
3524
                    RotationZ = MRANDOM(-2, 2),
3525
                    Material = "Neon",
3526
                    Color = C3(150, 0, 0),
3527
                    SoundID = nil,
3528
                    SoundPitch = nil,
3529
                    SoundVolume = nil
3530
                })
3531
                WACKYEFFECT({
3532
                    Time = 65,
3533
                    EffectType = "Sphere",
3534
                    Size = VT(2, 2, 2),
3535
                    Size2 = VT(0, 0, 500),
3536
                    Transparency = 1,
3537
                    Transparency2 = 0,
3538
                    CFrame = CF(POS),
3539
                    MoveToPos = nil,
3540
                    RotationX = MRANDOM(-2, 2),
3541
                    RotationY = MRANDOM(-12, 12),
3542
                    RotationZ = MRANDOM(-2, 2),
3543
                    Material = "Neon",
3544
                    Color = C3(0, 0, 0),
3545
                    SoundID = nil,
3546
                    SoundPitch = nil,
3547
                    SoundVolume = nil
3548
                })
3549
                WACKYEFFECT({
3550
                    Time = 65,
3551
                    EffectType = "Sphere",
3552
                    Size = VT(2, 2, 2),
3553
                    Size2 = VT(0, 0, 500),
3554
                    Transparency = 1,
3555
                    Transparency2 = 0,
3556
                    CFrame = CF(POS),
3557
                    MoveToPos = nil,
3558
                    RotationX = MRANDOM(-2, 2),
3559
                    RotationY = MRANDOM(-12, 12),
3560
                    RotationZ = MRANDOM(-2, 2),
3561
                    Material = "Neon",
3562
                    Color = C3(150, 0, 0),
3563
                    SoundID = nil,
3564
                    SoundPitch = nil,
3565
                    SoundVolume = nil
3566
                })
3567
                WACKYEFFECT({
3568
                    Time = 65,
3569
                    EffectType = "Sphere",
3570
                    Size = VT(2, 2, 2),
3571
                    Size2 = VT(0, 0, 500),
3572
                    Transparency = 1,
3573
                    Transparency2 = 0,
3574
                    CFrame = CF(POS),
3575
                    MoveToPos = nil,
3576
                    RotationX = MRANDOM(-2, 2),
3577
                    RotationY = MRANDOM(-12, 12),
3578
                    RotationZ = MRANDOM(-2, 2),
3579
                    Material = "Neon",
3580
                    Color = C3(0, 0, 0),
3581
                    SoundID = nil,
3582
                    SoundPitch = nil,
3583
                    SoundVolume = nil
3584
                })
3585
                WACKYEFFECT({
3586
                    Time = 65,
3587
                    EffectType = "Sphere",
3588
                    Size = VT(2, 2, 2),
3589
                    Size2 = VT(0, 0, 500),
3590
                    Transparency = 1,
3591
                    Transparency2 = 0,
3592
                    CFrame = CF(POS),
3593
                    MoveToPos = nil,
3594
                    RotationX = MRANDOM(-2, 2),
3595
                    RotationY = MRANDOM(-12, 12),
3596
                    RotationZ = MRANDOM(-2, 2),
3597
                    Material = "Neon",
3598
                    Color = C3(150, 0, 0),
3599
                    SoundID = nil,
3600
                    SoundPitch = nil,
3601
                    SoundVolume = nil
3602
                })
3603
                WACKYEFFECT({
3604
                    Time = 65,
3605
                    EffectType = "Sphere",
3606
                    Size = VT(2, 2, 2),
3607
                    Size2 = VT(0, 0, 500),
3608
                    Transparency = 1,
3609
                    Transparency2 = 0,
3610
                    CFrame = CF(POS),
3611
                    MoveToPos = nil,
3612
                    RotationX = MRANDOM(-2, 2),
3613
                    RotationY = MRANDOM(-12, 12),
3614
                    RotationZ = MRANDOM(-2, 2),
3615
                    Material = "Neon",
3616
                    Color = C3(0, 0, 0),
3617
                    SoundID = nil,
3618
                    SoundPitch = nil,
3619
                    SoundVolume = nil
3620
                })
3621
                WACKYEFFECT({
3622
                    Time = 65,
3623
                    EffectType = "Sphere",
3624
                    Size = VT(2, 2, 2),
3625
                    Size2 = VT(0, 0, 500),
3626
                    Transparency = 1,
3627
                    Transparency2 = 0,
3628
                    CFrame = CF(POS),
3629
                    MoveToPos = nil,
3630
                    RotationX = MRANDOM(-2, 2),
3631
                    RotationY = MRANDOM(-12, 12),
3632
                    RotationZ = MRANDOM(-2, 2),
3633
                    Material = "Neon",
3634
                    Color = C3(150, 0, 0),
3635
                    SoundID = nil,
3636
                    SoundPitch = nil,
3637
                    SoundVolume = nil
3638
                })
3639
                WACKYEFFECT({
3640
                    Time = 65,
3641
                    EffectType = "Sphere",
3642
                    Size = VT(2, 2, 2),
3643
                    Size2 = VT(0, 0, 500),
3644
                    Transparency = 1,
3645
                    Transparency2 = 0,
3646
                    CFrame = CF(POS),
3647
                    MoveToPos = nil,
3648
                    RotationX = MRANDOM(-2, 2),
3649
                    RotationY = MRANDOM(-12, 12),
3650
                    RotationZ = MRANDOM(-2, 2),
3651
                    Material = "Neon",
3652
                    Color = C3(0, 0, 0),
3653
                    SoundID = nil,
3654
                    SoundPitch = nil,
3655
                    SoundVolume = nil
3656
                })
3657
                WACKYEFFECT({
3658
                    Time = 65,
3659
                    EffectType = "Sphere",
3660
                    Size = VT(2, 2, 2),
3661
                    Size2 = VT(0, 0, 500),
3662
                    Transparency = 1,
3663
                    Transparency2 = 0,
3664
                    CFrame = CF(POS),
3665
                    MoveToPos = nil,
3666
                    RotationX = MRANDOM(-2, 2),
3667
                    RotationY = MRANDOM(-12, 12),
3668
                    RotationZ = MRANDOM(-2, 2),
3669
                    Material = "Neon",
3670
                    Color = C3(150, 0, 0),
3671
                    SoundID = nil,
3672
                    SoundPitch = nil,
3673
                    SoundVolume = nil
3674
                })
3675
                WACKYEFFECT({
3676
                    Time = 65,
3677
                    EffectType = "Sphere",
3678
                    Size = VT(2, 2, 2),
3679
                    Size2 = VT(0, 0, 500),
3680
                    Transparency = 1,
3681
                    Transparency2 = 0,
3682
                    CFrame = CF(POS),
3683
                    MoveToPos = nil,
3684
                    RotationX = MRANDOM(-2, 2),
3685
                    RotationY = MRANDOM(-12, 12),
3686
                    RotationZ = MRANDOM(-2, 2),
3687
                    Material = "Neon",
3688
                    Color = C3(0, 0, 0),
3689
                    SoundID = nil,
3690
                    SoundPitch = nil,
3691
                    SoundVolume = nil
3692
                })
3693
                WACKYEFFECT({
3694
                    Time = 65,
3695
                    EffectType = "Sphere",
3696
                    Size = VT(2, 2, 2),
3697
                    Size2 = VT(0, 0, 500),
3698
                    Transparency = 1,
3699
                    Transparency2 = 0,
3700
                    CFrame = CF(POS),
3701
                    MoveToPos = nil,
3702
                    RotationX = MRANDOM(-2, 2),
3703
                    RotationY = MRANDOM(-12, 12),
3704
                    RotationZ = MRANDOM(-2, 2),
3705
                    Material = "Neon",
3706
                    Color = C3(0, 0, 0),
3707
                    SoundID = nil,
3708
                    SoundPitch = nil,
3709
                    SoundVolume = nil
3710
                })
3711
                WACKYEFFECT({
3712
                    Time = 65,
3713
                    EffectType = "Sphere",
3714
                    Size = VT(2, 2, 2),
3715
                    Size2 = VT(0, 0, 500),
3716
                    Transparency = 1,
3717
                    Transparency2 = 0,
3718
                    CFrame = CF(POS),
3719
                    MoveToPos = nil,
3720
                    RotationX = MRANDOM(-2, 2),
3721
                    RotationY = MRANDOM(-12, 12),
3722
                    RotationZ = MRANDOM(-2, 2),
3723
                    Material = "Neon",
3724
                    Color = C3(150, 0, 0),
3725
                    SoundID = nil,
3726
                    SoundPitch = nil,
3727
                    SoundVolume = nil
3728
                })
3729
                WACKYEFFECT({
3730
                    Time = 65,
3731
                    EffectType = "Sphere",
3732
                    Size = VT(2, 2, 2),
3733
                    Size2 = VT(0, 0, 500),
3734
                    Transparency = 1,
3735
                    Transparency2 = 0,
3736
                    CFrame = CF(POS),
3737
                    MoveToPos = nil,
3738
                    RotationX = MRANDOM(-2, 2),
3739
                    RotationY = MRANDOM(-12, 12),
3740
                    RotationZ = MRANDOM(-2, 2),
3741
                    Material = "Neon",
3742
                    Color = C3(0, 0, 0),
3743
                    SoundID = nil,
3744
                    SoundPitch = nil,
3745
                    SoundVolume = nil
3746
                })
3747
            WACKYEFFECT({
3748
                Time = 85,
3749
                EffectType = "Sphere",
3750
                Size = VT(0.2,0.2,0.2),
3751
                Size2 = VT(0, 1000, 0),
3752
                Transparency = 0.5,
3753
                Transparency2 = 1,
3754
                CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3755
                MoveToPos = nil,
3756
                RotationX = MRANDOM(-50, 50) / 10,
3757
                RotationY = MRANDOM(-50, 50) / 10,
3758
                RotationZ = MRANDOM(-50, 50) / 10,
3759
                Material = "Neon",
3760
                Color = C3(150,0,0),
3761
                SoundID = nil,
3762
                SoundPitch = nil,
3763
                SoundVolume = nil
3764
            })
3765
            WACKYEFFECT({
3766
                Time = 85,
3767
                EffectType = "Sphere",
3768
                Size = VT(0.2,0.2,0.2),
3769
                Size2 = VT(0, 1000, 0),
3770
                Transparency = 0.5,
3771
                Transparency2 = 1,
3772
                CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3773
                MoveToPos = nil,
3774
                RotationX = MRANDOM(-50, 50) / 10,
3775
                RotationY = MRANDOM(-50, 50) / 10,
3776
                RotationZ = MRANDOM(-50, 50) / 10,
3777
                Material = "Neon",
3778
                Color = C3(0,0,0),
3779
                SoundID = nil,
3780
                SoundPitch = nil,
3781
                SoundVolume = nil
3782
            })
3783
            WACKYEFFECT({
3784
                Time = 85,
3785
                EffectType = "Sphere",
3786
                Size = VT(0.2,0.2,0.2),
3787
                Size2 = VT(0, 1000, 0),
3788
                Transparency = 0.5,
3789
                Transparency2 = 1,
3790
                CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3791
                MoveToPos = nil,
3792
                RotationX = MRANDOM(-50, 50) / 10,
3793
                RotationY = MRANDOM(-50, 50) / 10,
3794
                RotationZ = MRANDOM(-50, 50) / 10,
3795
                Material = "Neon",
3796
                Color = C3(150,0,0),
3797
                SoundID = nil,
3798
                SoundPitch = nil,
3799
                SoundVolume = nil
3800
            })
3801
            local POS = RootPart.Position
3802
        WACKYEFFECT({
3803
            Time = 15,
3804
            EffectType = "Sphere",
3805
            Size = VT(2,2,2),
3806
            Size2 = VT(0, 0, 0),
3807
            Transparency = 1,
3808
            Transparency2 = 0,
3809
            CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
3810
            MoveToPos = Eon.Position,
3811
            RotationX = 0,
3812
            RotationY = 0,
3813
            RotationZ = 0,
3814
            Material = "Neon",
3815
            Color = C3(150,0,0),
3816
            SoundID = nil,
3817
            SoundPitch = nil,
3818
            SoundVolume = nil
3819
        })
3820
                end
3821
            wait(1)
3822
            ApplyAoE(POS, 450, true)
3823
                            for i = 1, 5 do
3824
                                Swait()
3825
                                WACKYEFFECT({
3826
                                    Time = 85,
3827
                                    EffectType = "Wave",
3828
                                    Size = VT(25, 0, 25),
3829
                                    Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6) * 15,
3830
                                    Transparency = 0,
3831
                                    Transparency2 = 1,
3832
                                    CFrame = CF(POS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
3833
                                    MoveToPos = nil,
3834
                                    RotationX = 0,
3835
                                    RotationY = 3,
3836
                                    RotationZ = 0,
3837
                                    Material = "Neon",
3838
                                    Color = C3(0,0,0),
3839
                                    SoundID = nil,
3840
                                    SoundPitch = nil,
3841
                                    SoundVolume = nil
3842
                                })
3843
                                WACKYEFFECT({
3844
                                    Time = 85,
3845
                                    EffectType = "Round Slash",
3846
                                    Size = VT(3, 0, 3) / 13,
3847
                                    Size2 = (VT(3, 0, 3) + VT(i, 0, i)) * 2,
3848
                                    Transparency = 0,
3849
                                    Transparency2 = 1,
3850
                                    CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
3851
                                    MoveToPos = nil,
3852
                                    RotationX = 0,
3853
                                    RotationY = 0,
3854
                                    RotationZ = 0,
3855
                                    Material = "Neon",
3856
                                    Color = C3(0,0,0),
3857
                                    SoundID = nil,
3858
                                    SoundPitch = nil,
3859
                                    SoundVolume = nil
3860
                                })
3861
                                WACKYEFFECT({
3862
                                    Time = 75,
3863
                                    EffectType = "Sphere",
3864
                                    Size = VT(22, 22, 22),
3865
                                    Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5) * 7,
3866
                                    Transparency = 0,
3867
                                    Transparency2 = 1,
3868
                                    CFrame = CF(POS),
3869
                                    MoveToPos = nil,
3870
                                    RotationX = 0,
3871
                                    RotationY = 0,
3872
                                    RotationZ = 0,
3873
                                    Material = "Neon",
3874
                                    Color = C3(150,0,0),
3875
                                    SoundID = nil,
3876
                                    SoundPitch = nil,
3877
                                    SoundVolume = nil
3878
                                })
3879
                            end
3880
            WACKYEFFECT({
3881
                Time = 85,
3882
                EffectType = "Sphere",
3883
                Size = VT(120, 120, 120),
3884
                Size2 = VT(350, 350, 350),
3885
                Transparency = 0,
3886
                Transparency2 = 1,
3887
                CFrame = CF(POS),
3888
                MoveToPos = nil,
3889
                RotationX = 0,
3890
                RotationY = 0,
3891
                RotationZ = 0,
3892
                Material = "Neon",
3893
                Color = C3(0, 0, 0),
3894
                SoundID = nil,
3895
                SoundPitch = 1,
3896
                SoundVolume = 10
3897
            })
3898
            for i = 1, 20 do
3899
                WACKYEFFECT({
3900
                    Time = 85,
3901
                    EffectType = "Sphere",
3902
                    Size = VT(120, 120, 120),
3903
                    Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
3904
                    Transparency = 0.8,
3905
                    Transparency2 = 1,
3906
                    CFrame = CF(POS),
3907
                    MoveToPos = nil,
3908
                    RotationX = 0,
3909
                    RotationY = 0,
3910
                    RotationZ = 0,
3911
                    Material = "Neon",
3912
                    Color = C3(150, 0, 0),
3913
                    SoundID = nil,
3914
                    SoundPitch = 1,
3915
                    SoundVolume = 10
3916
                })
3917
                WACKYEFFECT({
3918
                    Time = 100,
3919
                    EffectType = "Wave",
3920
                    Size = VT(25, 2, 25),
3921
                    Size2 = VT(400, 0, 400) * 1.2,
3922
                    Transparency = 0,
3923
                    Transparency2 = 1,
3924
                    CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3925
                    MoveToPos = nil,
3926
                    RotationX = 0,
3927
                    RotationY = 0,
3928
                    RotationZ = 0,
3929
                    Material = "Neon",
3930
                    Color = C3(0, 0, 0),
3931
                    SoundID = nil,
3932
                    SoundPitch = nil,
3933
                    SoundVolume = nil
3934
                })
3935
            end
3936
            local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
3937
            for i = 1, 5 do
3938
                CreateSound(438666077, Effects, 15, 1 - i / 15, false)
3939
                WACKYEFFECT({
3940
                    Time = 120,
3941
                    EffectType = "Wave",
3942
                    Size = VT(150, 2, 150),
3943
                    Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
3944
                    Transparency = 0,
3945
                    Transparency2 = 1,
3946
                    CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
3947
                    MoveToPos = nil,
3948
                    RotationX = 0,
3949
                    RotationY = 0,
3950
                    RotationZ = 0,
3951
                    Material = "Neon",
3952
                    Color = C3(0, 0, 0),
3953
                    SoundID = nil,
3954
                    SoundPitch = nil,
3955
                    SoundVolume = nil
3956
                })
3957
            end
3958
        for i = 0, 1, 0.1 / Animation_Speed do
3959
            Swait()
3960
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
3961
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3962
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3963
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3964
            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)
3965
            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)
3966
        end
3967
        ATTACK = false
3968
        Rooted = false
3969
    end
3970
    COR1 = false
3971
    CORMODE = false
3972
    CHOSENBRICK = "Really red"
3973
    CHARGE = true
3974
        VOID1 = false
3975
end
3976
3977
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
3978
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
3979
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
3980
    wave.CFrame = CFRAME
3981
    coroutine.resume(coroutine.create(function(PART)
3982
        for i = 1, WAIT do
3983
            Swait()
3984
            mesh.Scale = mesh.Scale + GROW
3985
            if DOESROT == true then
3986
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
3987
            end
3988
            wave.Transparency = wave.Transparency + 0.5 / WAIT
3989
            if wave.Transparency > 0.99 then
3990
                wave:remove()
3991
            end
3992
        end
3993
    end))
3994
end
3995
 
3996
function MakeForm(PART,TYPE)
3997
    if TYPE == "Cyl" then
3998
        local MSH = IT("CylinderMesh",PART)
3999
    elseif TYPE == "Ball" then
4000
        local MSH = IT("SpecialMesh",PART)
4001
        MSH.MeshType = "Sphere"
4002
    elseif TYPE == "Wedge" then
4003
        local MSH = IT("SpecialMesh",PART)
4004
        MSH.MeshType = "Wedge"
4005
    end
4006
end
4007
 
4008
function CreateDebreeRing1(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
4009
    if FLOOR ~= nil then
4010
        coroutine.resume(coroutine.create(function()
4011
            local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
4012
            PART.CFrame = CF(POSITION)
4013
            for i = 1, 45 do
4014
                local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
4015
                RingPiece.Material = FLOOR.Material
4016
                RingPiece.Color = FLOOR.Color
4017
                RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
4018
                Debris:AddItem(RingPiece,SWAIT)
4019
            end
4020
            PART:remove()
4021
        end))
4022
    end
4023
end
4024
 
4025
function CreateFlyingDebree1(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
4026
    if FLOOR ~= nil then
4027
        for i = 1, AMOUNT do
4028
            local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
4029
            DEBREE.Material = FLOOR.Material
4030
            DEBREE.Color = FLOOR.Color
4031
            DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
4032
            DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
4033
            coroutine.resume(coroutine.create(function()
4034
                Swait(15)
4035
                DEBREE.Parent = workspace
4036
                DEBREE.CanCollide = true
4037
                Debris:AddItem(DEBREE,SWAIT)
4038
            end))
4039
        end
4040
    end
4041
end
4042
 
4043
function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
4044
    if FLOOR ~= nil then
4045
        coroutine.resume(coroutine.create(function()
4046
            local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really black", "DebreeCenter", VT(0,0,0))
4047
            PART.CFrame = CF(POSITION)
4048
            for i = 1, 45 do
4049
                local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really black", "DebreePart", BLOCKSIZE)
4050
                RingPiece.Material = FLOOR.Material
4051
                RingPiece.Color = FLOOR.Color
4052
                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)))
4053
                Debris:AddItem(RingPiece,SWAIT)
4054
            end
4055
            PART:remove()
4056
        end))
4057
    end
4058
end
4059
 
4060
function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
4061
    if FLOOR ~= nil then
4062
        for i = 1, AMOUNT do
4063
            local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
4064
            DEBREE.Material = FLOOR.Material
4065
            DEBREE.Color = FLOOR.Color
4066
            DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
4067
            DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
4068
            coroutine.resume(coroutine.create(function()
4069
                Swait(15)
4070
                DEBREE.Parent = workspace
4071
                DEBREE.CanCollide = true
4072
                Debris:AddItem(DEBREE,SWAIT)
4073
            end))
4074
        end
4075
    end
4076
end
4077
 
4078
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
4079
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
4080
    local mesh = IT("SpecialMesh",wave)
4081
    mesh.MeshType = "FileMesh"
4082
    mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
4083
    mesh.Scale = SIZE
4084
    mesh.Offset = VT(0,0,0)
4085
    wave.CFrame = CFRAME
4086
    coroutine.resume(coroutine.create(function(PART)
4087
        for i = 1, WAIT do
4088
            Swait()
4089
            mesh.Scale = mesh.Scale + GROW
4090
            if DOESROT == true then
4091
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
4092
            end
4093
            wave.Transparency = wave.Transparency + (0.5/WAIT)
4094
            if wave.Transparency > 0.99 then
4095
                wave:remove()
4096
            end
4097
        end
4098
    end))
4099
end
4100
 
4101
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
4102
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
4103
    local mesh = IT("SpecialMesh",wave)
4104
    mesh.MeshType = "Sphere"
4105
    mesh.Scale = SIZE
4106
    mesh.Offset = VT(0,0,0)
4107
    wave.CFrame = CFRAME
4108
    coroutine.resume(coroutine.create(function(PART)
4109
        for i = 1, WAIT do
4110
            Swait()
4111
            mesh.Scale = mesh.Scale + GROW
4112
            wave.Transparency = wave.Transparency + (1/WAIT)
4113
            if wave.Transparency > 0.99 then
4114
                wave:remove()
4115
            end
4116
        end
4117
    end))
4118
end
4119
function MagicSpheres(size,waitt,cframe,color)
4120
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
4121
    local mesh = IT("SpecialMesh",wave)
4122
    mesh.MeshType = "Sphere"
4123
    mesh.Scale = VT(size,size,size)
4124
    mesh.Offset = VT(0,0,0)
4125
    wave.CFrame = cframe
4126
    coroutine.resume(coroutine.create(function(PART)
4127
        for i = 1, waitt do
4128
            Swait()
4129
            mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
4130
            wave.Transparency = wave.Transparency + (1/waitt)
4131
            if wave.Transparency > 0.99 then
4132
                wave:remove()
4133
            end
4134
        end
4135
    end))
4136
end
4137
 
4138
function MagicSpheres2(size,waitt,cframe,color)
4139
    local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
4140
    local mesh = IT("SpecialMesh",wave)
4141
    mesh.MeshType = "Sphere"
4142
    mesh.Scale = VT(size,size,size)
4143
    mesh.Offset = VT(0,0,0)
4144
    wave.CFrame = cframe
4145
    coroutine.resume(coroutine.create(function(PART)
4146
        for i = 1, waitt do
4147
            Swait()
4148
            mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
4149
            wave.Transparency = wave.Transparency - (1/waitt)
4150
        end
4151
        wave:remove()
4152
    end))
4153
end
4154
 
4155
function MagicBlock(size,waitt,part,offset,color)
4156
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
4157
    local mesh = IT("BlockMesh",wave)
4158
    wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
4159
    coroutine.resume(coroutine.create(function(PART)
4160
        for i = 1, waitt do
4161
            Swait()
4162
            mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
4163
            wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
4164
            wave.Transparency = wave.Transparency + (1/waitt)
4165
            if wave.Transparency > 0.99 then
4166
                wave:remove()
4167
            end
4168
        end
4169
    end))
4170
end
4171
 
4172
function SpawnTrail(FROM,TO,BIG)
4173
    local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
4174
    MakeForm(TRAIL,"Cyl")
4175
    local DIST = (FROM - TO).Magnitude
4176
    if BIG == true then
4177
        TRAIL.Size = VT(0.5,DIST,0.5)
4178
    else
4179
        TRAIL.Size = VT(0.25,DIST,0.25)
4180
    end
4181
    TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
4182
    coroutine.resume(coroutine.create(function()
4183
        for i = 1, 5 do
4184
            Swait()
4185
            TRAIL.Transparency = TRAIL.Transparency + 0.1
4186
        end
4187
        TRAIL:remove()
4188
    end))
4189
end
4190
 
4191
Debris = game:GetService("Debris")
4192
 
4193
function CastProperRay(StartPos, EndPos, Distance, Ignore)
4194
    local DIRECTION = CF(StartPos,EndPos).lookVector
4195
    return Raycast(StartPos, DIRECTION, Distance, Ignore)
4196
end
4197
 
4198
function turnto(position)
4199
    RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
4200
end
4201
 
4202
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
4203
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
4204
    local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
4205
    wave.CFrame = CFRAME
4206
    coroutine.resume(coroutine.create(function(PART)
4207
        for i = 1, WAIT do
4208
            Swait()
4209
            mesh.Scale = mesh.Scale + GROW
4210
            wave.Transparency = wave.Transparency + 1 / WAIT
4211
            if wave.Transparency > 0.99 then
4212
                wave:remove()
4213
            end
4214
        end
4215
    end))
4216
end
4217
4218
function a()
4219
        FIRE1 = true
4220
end
4221
function s()
4222
        FROZ1 = true
4223
end
4224
function d()
4225
        VOID1 = true
4226
end
4227
4228
function Taunt4()
4229
    ATTACK = true
4230
    RELAX2 = true
4231
        Rooted = true
4232
    repeat
4233
    Swait()
4234
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-60 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
4235
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4236
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.50 + 0.05 * COS(SINE / 12), 0.4) * ANGLES(RAD(-160), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4237
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.50 + 0.05 * COS(SINE / 12), 0.4) * ANGLES(RAD(-160), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4238
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.05) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4239
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 12), -0.05) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4240
        WACKYEFFECT({
4241
            EffectType = "Wave",
4242
            Size = VT(4, 1, 4),
4243
            Size2 = VT(4 + MRANDOM(0, 8), 3, 4 + MRANDOM(0, 8)),
4244
            Transparency = 0.9,
4245
            Transparency2 = 1,
4246
            CFrame = CF(RootPart.Position-VT(0,3.2,0)) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
4247
            MoveToPos = nil,
4248
            RotationX = 0,
4249
            RotationY = 5,
4250
            RotationZ = 0,
4251
            Material = "Neon",
4252
            Color = C3(0, 0, 0),
4253
            SoundID = nil,
4254
            SoundPitch = nil,
4255
            SoundVolume = nil
4256
        })
4257
    until RELAX2 == false
4258
    ATTACK = false
4259
        Rooted = false
4260
end
4261
local KEY = Mouse.KeyDown:connect(function(NEWKEY)
4262
        if NEWKEY == "p" then
4263
            RELAX2 = false
4264
        end
4265
    end)
4266
 
4267
4268
function Ruler()
4269
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4270
    if HITFLOOR ~= nil then
4271
        do
4272
            local HITBODIES = {}
4273
            ATTACK = true
4274
            Rooted = true
4275
            local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Red", "SuperNova", VT(0, 0, 0))
4276
            ABSOLUTE.Color = SKILLTEXTCOLOR
4277
            MakeForm(ABSOLUTE, "Ball")
4278
            CreateSound("814168787", ABSOLUTE, 10, 0.3)
4279
            for i = 0, 4, 0.1 / Animation_Speed do
4280
                Swait()
4281
                ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
4282
                ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
4283
                ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
4284
                local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Star", VT(1, 1, 1))
4285
                MakeForm(CHARGE, "Ball")
4286
                CHARGE.Color = C3(0, 0, 0)
4287
                CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
4288
                FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
4289
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
4290
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4291
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4292
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4293
                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)
4294
                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)
4295
            end
4296
            CreateSound("907333406", Head, 10, 1)
4297
            for i = 0, 2, 0.1 / Animation_Speed do
4298
                Swait()
4299
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
4300
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4301
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4302
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4303
                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)
4304
                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)
4305
            end
4306
            coroutine.resume(coroutine.create(function()
4307
                local PITS = {}
4308
                CreateSound("178452217", ABSOLUTE, 10, 0.7)
4309
                for i = 1, 6 do
4310
                    for i = 1, 10 do
4311
                        Swait()
4312
                        Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really red", VT(-0.01, 0, -0.01))
4313
                        ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4314
                    end
4315
                    for i = 1, 10 do
4316
                        Swait()
4317
                        ABSOLUTE.Size = ABSOLUTE.Size * 1.12
4318
                    end
4319
                end
4320
                CreateSound("215395388", ABSOLUTE, 10, 0.6)
4321
                CreateSound("215395388", ABSOLUTE, 10, 0.65)
4322
                CreateSound("215395388", ABSOLUTE, 10, 0.7)
4323
                for i = 1, 75 do
4324
                    Swait()
4325
                    local ICICLE = IT("CornerWedgePart", Effects)
4326
                    ICICLE.Locked = true
4327
                    ICICLE.CanCollide = false
4328
                    ICICLE.Anchored = true
4329
                    ICICLE.Color = C3(0, 0, 0)
4330
                    ICICLE.Material = "Neon"
4331
                    ICICLE.Size = VT(i / 3, i * 2, i / 3)
4332
                    ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
4333
                    table.insert(PITS, ICICLE)
4334
                    killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
4335
                    ABSOLUTE.Size = ABSOLUTE.Size * 1.03
4336
                    killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
4337
                    for i = 1, 3 do
4338
                        Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
4339
                    end
4340
                    CreateWave(VT(ABSOLUTE.Size.X / 1.5, 35, ABSOLUTE.Size.X / 1.5), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), false, 0, C3(0, 0, 0), VT(i / 3, 0, i / 3))
4341
                end
4342
                ABSOLUTE.Transparency = 0
4343
                for i = 1, 10 do
4344
                    Swait()
4345
                    ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4346
                    ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
4347
                end
4348
                Debris:AddItem(ABSOLUTE, 5)
4349
                Swait(50)
4350
                for i = 1, 10 do
4351
                    Swait()
4352
                    for e = 1, #PITS do
4353
                        if PITS[e] ~= nil then
4354
                            local E = PITS[e]
4355
                            E.Transparency = E.Transparency + 0.1
4356
                        end
4357
                    end
4358
                end
4359
                for e = 1, #PITS do
4360
                    if PITS[e] ~= nil then
4361
                        local E = PITS[e]
4362
                        E:remove()
4363
                    end
4364
                end
4365
            end))
4366
            ATTACK = false
4367
            Rooted = false
4368
        end
4369
    end
4370
end
4371
4372
function killnearest(position,range,maxstrength,direction)
4373
    for i,v in ipairs(workspace:GetChildren()) do
4374
    local body = v:GetChildren()
4375
        for part = 1, #body do
4376
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
4377
                if(body[part].Position - position).Magnitude < range then
4378
                    if v.ClassName == "Model" then
4379
                        --v:BreakJoints()
4380
                    end
4381
                    local POS = position
4382
                    coroutine.resume(coroutine.create(function()
4383
                        body[part].Anchored = true
4384
                        body[part].Parent = Effects
4385
                        body[part].CanCollide = true
4386
                        local SIZE = body[part].Size
4387
                        body[part].Material = "Neon"
4388
                        CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
4389
                        for i = 1, 75 do
4390
                            Swait()
4391
                            body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
4392
                            body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
4393
                        end
4394
                        coroutine.resume(coroutine.create(function()
4395
                            while true do
4396
                                Swait()
4397
                                body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
4398
                                body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
4399
                            end
4400
                        end))
4401
                        body[part].Anchored = false
4402
                        body[part].Velocity = direction.lookVector*maxstrength
4403
                    end))
4404
                end
4405
            end
4406
        end
4407
        if v.ClassName == "Part" then
4408
            if v.Anchored == false and (v.Position - position).Magnitude < range then
4409
                local POS = position
4410
                coroutine.resume(coroutine.create(function()
4411
                    v.Anchored = true
4412
                    v.Parent = Effects
4413
                    local SIZE = v.Size
4414
                    v.Material = "Neon"
4415
                    CreateSound("0", v, 2, MRANDOM(7, 12) / 10)
4416
                    for i = 1, 75 do
4417
                        Swait()
4418
                        v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
4419
                        v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
4420
                    end
4421
                    coroutine.resume(coroutine.create(function()
4422
                        while true do
4423
                            Swait()
4424
                            v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
4425
                            v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
4426
                        end
4427
                    end))
4428
                    v.Anchored = false
4429
                    v.Velocity = direction.lookVector*maxstrength
4430
                end))
4431
            end
4432
        end
4433
    end
4434
end
4435
 
4436
function Final_Limit()
4437
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4438
	if HITFLOOR ~= nil then
4439
		do
4440
			local HITBODIES = {}
4441
			ATTACK = true
4442
			Rooted = true
4443
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
4444
			ABSOLUTE.Color = C3(0, 0, 0)
4445
			MakeForm(ABSOLUTE, "Ball")
4446
			CreateSound("814168787", ABSOLUTE, 10, 0.3)
4447
			CreateSound("1177785010", ABSOLUTE, 10, 0.4)
4448
			for i = 0, 4, 0.1 / Animation_Speed do
4449
				Swait()
4450
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
4451
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
4452
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
4453
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
4454
				MakeForm(CHARGE, "Ball")
4455
				CHARGE.Color = C3(0, 0, 0)
4456
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
4457
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
4458
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4459
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4460
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4461
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4462
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
4463
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
4464
			end
4465
			local WING = CreatePart(3, ABSOLUTE, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
4466
			WING.Color = C3(0, 0, 0)
4467
			WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
4468
			local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 2, 0))
4469
			for i = 1, 15 do
4470
				Swait()
4471
				WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
4472
				WING.Transparency = WING.Transparency - 0.06666666666666667
4473
				MSH.Scale = MSH.Scale + VT(0.6, 0.4, 0)
4474
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4475
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4476
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4477
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4478
				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)
4479
				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)
4480
			end
4481
			for i = 1, 15 do
4482
				Swait()
4483
				WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
4484
				WING.Transparency = WING.Transparency - 0.06666666666666667
4485
				MSH.Scale = MSH.Scale + VT(0.65, -0.03, 0.8)
4486
				MSH.Offset = MSH.Offset + VT(0, 0, 0.8)
4487
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4488
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4489
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4490
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4491
				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)
4492
				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)
4493
			end
4494
			coroutine.resume(coroutine.create(function()
4495
				local LOOP = 0
4496
				local ech = 0
4497
				for i = 1, 250 do
4498
					LOOP = LOOP + 1
4499
					Swait()
4500
					ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -0.15)
4501
					WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
4502
					CreateRing(VT(0, 0, 0), false, 0, 25, CF(ABSOLUTE.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, 0, 0), VT(LOOP, LOOP, 0) / 45)
4503
					if LOOP == 25 then
4504
						LOOP = 0
4505
						ech = ech + 1
4506
						killnearest(VT(ABSOLUTE.Position.X, HITPOS.Y, ABSOLUTE.Position.Z), 25 * ech, 25)
4507
						CreateSound("201858087", ABSOLUTE, 10, 0.6)
4508
						for i = 1, 5 do
4509
							Slice("Thin", 2 * ech, 35, CF(VT(ABSOLUTE.Position.X, HITPOS.Y + 0.1, ABSOLUTE.Position.Z)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), C3(0, 0, 0), VT(0.001, 0, 0.001))
4510
							Slice("Round", 2 * ech, 45, CF(VT(ABSOLUTE.Position.X, HITPOS.Y + 0.1, ABSOLUTE.Position.Z)) * ANGLES(RAD(0), RAD(MRANDOM(-180, 180)), RAD(0)), C3(0, 0, 0), VT(0, 0, 0))
4511
						end
4512
					end
4513
				end
4514
				for i = 1, 10 do
4515
					Swait()
4516
					WING.Transparency = WING.Transparency + 0.1
4517
				end
4518
				WING:remove()
4519
				for i = 1, 10 do
4520
					Swait()
4521
					ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
4522
				end
4523
				ABSOLUTE:remove()
4524
			end))
4525
			ATTACK = false
4526
			Rooted = false
4527
		end
4528
	end
4529
end
4530
4531
function freezenearest(position, range)
4532
	for i, v in ipairs(workspace:GetChildren()) do
4533
		local body = v:GetChildren()
4534
		for part = 1, #body do
4535
			if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" and v:FindFirstChildOfClass("Humanoid") then
4536
				v:BreakJoints()
4537
				body[part].Material = "Ice"
4538
				body[part].BrickColor = BRICKC("Medium blue")
4539
				body[part].Anchored = true
4540
			end
4541
		end
4542
	end
4543
end
4544
4545
function Sheer_Cold()
4546
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4547
	if HITFLOOR ~= nil then
4548
		local HITBODIES = {}
4549
		ATTACK = true
4550
		Rooted = true
4551
		CreateSound("1225684085", RightArm, 10, 3)
4552
		for i = 1, 120 do
4553
			Swait()
4554
			Slice("Round", 0, 45, CF(RightArm.CFrame * CF(0, MRANDOM(-3, -2), 0).p) * ANGLES(RAD(0), RAD(MRANDOM(-180, 180)), RAD(0)), "Pearl", VT(0.01, 0, 0.01) * MRANDOM(2, 3))
4555
			MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0, 0, 0), VT(1, 0.1, 0.1))
4556
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4557
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4558
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4559
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4560
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
4561
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
4562
		end
4563
		CreateSound("160772554", RightArm, 10, 0.7)
4564
		for i = 1, 25 do
4565
			Swait()
4566
			freezenearest(RootPart.Position, 80)
4567
			Slice("Round", 0, 45, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(150, 0, 0) * MRANDOM(2, 3))
4568
			Slice("Thin", 0, 65, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really black", VT(0.1, 0, 0.1) * MRANDOM(2, 3))
4569
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4570
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4571
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4572
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4573
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
4574
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
4575
		end
4576
		ATTACK = false
4577
		Rooted = false
4578
	end
4579
end
4580
4581
function Bat_Wave()
4582
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
4583
	if HITFLOOR ~= nil then
4584
		ATTACK = true
4585
		Rooted = true
4586
		do
4587
			local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
4588
			BAT.Color = C3(0, 0, 0)
4589
			MakeForm(BAT, "Ball")
4590
			CreateSound("1177785010", BAT, 10, 1)
4591
			for i = 1, 25 do
4592
				Swait()
4593
				BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
4594
				BAT.Transparency = BAT.Transparency - 0.04
4595
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4596
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4597
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4598
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4599
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
4600
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
4601
			end
4602
			local GYRO = IT("BodyGyro", RootPart)
4603
			GYRO.D = 100
4604
			GYRO.P = 2000
4605
			GYRO.MaxTorque = VT(0, 4000000, 0)
4606
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4607
			local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
4608
			WING.Color = C3(0, 0, 0)
4609
			WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
4610
			local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
4611
			for i = 1, 15 do
4612
				Swait()
4613
				BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
4614
				WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
4615
				GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4616
				WING.Transparency = WING.Transparency - 0.06666666666666667
4617
				MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
4618
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4619
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4620
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4621
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4622
				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)
4623
				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)
4624
			end
4625
			coroutine.resume(coroutine.create(function()
4626
				local LOOP = 0
4627
				for i = 1, 70 do
4628
					LOOP = LOOP + 1
4629
					Swait()
4630
					if i < 18 then
4631
						MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
4632
						MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
4633
					end
4634
					BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
4635
					WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
4636
					if LOOP == 15 then
4637
						LOOP = 0
4638
						killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
4639
						CreateSound("201858087", BAT, 10, 1)
4640
						CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z)) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
4641
					end
4642
				end
4643
				killnearest(BAT.Position, 35, 250)
4644
				MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
4645
				CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(BAT.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
4646
				CreateSound("178452217", BAT, 10, 1)
4647
				WING:remove()
4648
				BAT.Transparency = 1
4649
				Debris:AddItem(BAT, 5)
4650
			end))
4651
			GYRO:remove()
4652
			ATTACK = false
4653
			Rooted = false
4654
		end
4655
	end
4656
end
4657
--skids dont u dare
4658
function killnearest(position, range, maxstrength)
4659
	for i, v in ipairs(workspace:GetChildren()) do
4660
		local body = v:GetChildren()
4661
		for part = 1, #body do
4662
			if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
4663
				if v.ClassName == "Model" then
4664
					v:BreakJoints()
4665
				end
4666
				local bv = Instance.new("BodyVelocity")
4667
				bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
4668
				bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
4669
				bv.Parent = body[part]
4670
				Debris:AddItem(bv, 0.2)
4671
			end
4672
		end
4673
		if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
4674
			v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
4675
		end
4676
	end
4677
end
4678
function Transparency(TRANS)
4679
	tecks2.TextTransparency = TRANS
4680
	tecks2.TextStrokeTransparency = TRANS
4681
	for _, c in pairs(Character:GetChildren()) do
4682
		if c.ClassName == "Part" and c ~= RootPart then
4683
			c.Transparency = TRANS
4684
			if c:FindFirstChildOfClass("Decal") then
4685
				c:FindFirstChildOfClass("Decal").Transparency = TRANS
4686
			end
4687
		elseif c.ClassName == "Accessory" then
4688
			c.Handle.Transparency = TRANS
4689
		elseif c.ClassName == "Model" then
4690
			for _, q in pairs(c:GetChildren()) do
4691
				if q.ClassName == "Part" then
4692
					q.Transparency = TRANS
4693
					if q:FindFirstChildOfClass("Decal") then
4694
						q:FindFirstChildOfClass("Decal").Transparency = TRANS
4695
					end
4696
				end
4697
			end
4698
		end
4699
	end
4700
end
4701
4702
function Blizzard()
4703
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4704
	if HITFLOOR ~= nil then
4705
		ATTACK = true
4706
		Rooted = true
4707
		local GYRO = IT("BodyGyro", RootPart)
4708
		GYRO.D = 100
4709
		GYRO.P = 2000
4710
		GYRO.MaxTorque = VT(0, 4000000, 0)
4711
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4712
		for i = 0, 3.5, 0.1 / Animation_Speed do
4713
			Swait()
4714
			MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0, 0, 0), VT(1, 0.1, 0.1) / 2)
4715
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4716
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4717
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4718
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4719
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4720
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
4721
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
4722
		end
4723
		CreateSound("160772554", RightArm, 10, 0.7)
4724
		for i = 0, 0.15, 0.1 / Animation_Speed do
4725
			Swait()
4726
			MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(150, 0, 0), VT(1, 0.1, 0.1) / 2)
4727
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4728
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4729
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4730
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4731
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4732
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
4733
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
4734
		end
4735
		coroutine.resume(coroutine.create(function()
4736
			local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0))
4737
			CENTER.CFrame = RootPart.CFrame
4738
			for i = 1, 200 do
4739
				Swait()
4740
				CENTER.CFrame = CENTER.CFrame * CF(0, 0, -0.7)
4741
				for i = 1, 2 do
4742
					Slice("Round", 0, 45, CF(CENTER.Position + VT(0, MRANDOM(-15, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(0.1, 0, 0.1) * MRANDOM(5, 15) / 10)
4743
				end
4744
				freezenearest(CENTER.Position, 25)
4745
			end
4746
			CENTER:remove()
4747
		end))
4748
		for i = 0, 1, 0.1 / Animation_Speed do
4749
			Swait()
4750
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4751
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4752
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4753
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4754
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
4755
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
4756
		end
4757
		Rooted = true
4758
		GYRO:remove()
4759
		ATTACK = false
4760
		Rooted = false
4761
	end
4762
end
4763
4764
function MouseDown(Mouse)
4765
	if ATTACK == false then
4766
	end
4767
end
4768
function MouseUp(Mouse)
4769
	HOLD = false
4770
end
4771
function KeyDown(Key)
4772
	KEYHOLD = true
4773
	if Key == "z" and ATTACK == false then
4774
		Punch()
4775
	end
4776
    
4777
	if Key == "e" and ATTACK == false and REPLAY == false then
4778
		Throw()
4779
	end
4780
			
4781
	if Key == "r" and ATTACK == false and REPLAY == false then
4782
		Uppercut()
4783
	end
4784
	if Key == "t" and ATTACK == false then
4785
		Roar()
4786
	end
4787
   if Key == "v" and ATTACK == false then
4788
		Orbital_Devastor()
4789
	end
4790
   if Key == "x" and ATTACK == false then
4791
		Orb()
4792
	end
4793
   if Key == "c" and ATTACK == false then
4794
 		 Endless_Pain()
4795
	end
4796
	if Key == "y" and ATTACK == false then
4797
		TakeOn()
4798
	end
4799
4800
   if Key == "n" and COR1 == true and SVAL == false then  
4801
        a()
4802
    end
4803
    if Key == "p" and COR1 == true and SVAL == false then
4804
        s()
4805
    end
4806
    if Key == "b" and COR1 == true and SVAL == false then
4807
        d()
4808
    end
4809
4810
4811
    if Key == "m" and ATTACK == false then
4812
        Pure_Night()
4813
    end
4814
4815
  if Key == "b" and ATTACK == false then  
4816
        VoidCore()
4817
    end
4818
 
4819
 if Key == "n" and ATTACK == false then
4820
        HCore()
4821
    end
4822
4823
   if Key == "u" and ATTACK == false then
4824
        Taunt4()
4825
    end
4826
4827
   if Key == "f" and ATTACK == false then
4828
        Ruler()
4829
    end
4830
    
4831
  if Key == "g" and ATTACK == false then
4832
        Blizzard()
4833
    end
4834
4835
4836
if Key == "h" and ATTACK == false then   
4837
        Sheer_Cold()
4838
    end
4839
4840
4841
    if Key == "j" and ATTACK == false then   
4842
        Bat_Wave()
4843
    end
4844
4845
4846
    if Key == "k" and ATTACK == false then
4847
        Final_Limit()
4848
    end
4849
4850
end
4851
function KeyUp(Key)
4852
	KEYHOLD = false
4853
end
4854
Mouse.Button1Down:connect(function(NEWKEY)
4855
	MouseDown(NEWKEY)
4856
end)
4857
Mouse.Button1Up:connect(function(NEWKEY)
4858
	MouseUp(NEWKEY)
4859
end)
4860
Mouse.KeyDown:connect(function(NEWKEY)
4861
	KeyDown(NEWKEY)
4862
end)
4863
Mouse.KeyUp:connect(function(NEWKEY)
4864
	KeyUp(NEWKEY)
4865
end)
4866
function unanchor()
4867
	for _, c in pairs(Character:GetChildren()) do
4868
		if c:IsA("BasePart") and c ~= RootPart then
4869
			c.Anchored = false
4870
		end
4871
	end
4872
	if UNANCHOR == true then
4873
		RootPart.Anchored = false
4874
	else
4875
		RootPart.Anchored = true
4876
	end
4877
end
4878
Humanoid.Changed:connect(function(Jump)
4879
	if Jump == "Jump" and Disable_Jump == true then
4880
		Humanoid.Jump = false
4881
	end
4882
end)
4883
coroutine.resume(coroutine.create(function()
4884
	while true do
4885
		Swait()
4886
		SINE = SINE + CHANGE
4887
	end
4888
end))
4889
while true do
4890
	Swait()
4891
	script.Parent = WEAPONGUI
4892
	ANIMATE.Parent = nil
4893
	for _, v in next, Humanoid:GetPlayingAnimationTracks() do
4894
		v:Stop()
4895
	end
4896
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
4897
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
4898
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character)
4899
	local WALKSPEEDVALUE = 4
4900
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
4901
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4902
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4903
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2), -0.125 * COS(SINE / WALKSPEEDVALUE) + 0.2 - 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.4 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4904
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2), 0.125 * COS(SINE / WALKSPEEDVALUE) + 0.2 + 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.4 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4905
	elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
4906
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4907
		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)
4908
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4909
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4910
	end
4911
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
4912
		ANIM = "Jump"
4913
		if ATTACK == false then
4914
			RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
4915
			Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
4916
			RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4917
			LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4918
			RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.4 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
4919
			LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.4 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
4920
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
4921
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
4922
			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)
4923
			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)
4924
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
4925
			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)
4926
		end
4927
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
4928
		ANIM = "Fall"
4929
		if ATTACK == false then
4930
			RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
4931
			Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
4932
			RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4933
			LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4934
			RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -0.4 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
4935
			LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.4 * SIZE, -0.5 * SIZE) * ANGLES(RAD(-25), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
4936
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
4937
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
4938
			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)
4939
			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)
4940
			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)
4941
			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)
4942
		end
4943
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
4944
		ANIM = "Idle"
4945
		if ATTACK == false then
4946
			RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0.25 * COS(SINE / 12)) * ANGLES(RAD(-5 + 2 * SIN(SINE / 12)), RAD(15), RAD(35)), 0.5 / Animation_Speed)
4947
			Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 2 * SIN(SINE / 12)), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
4948
			RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4949
			LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4950
			RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4951
			LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.3 * SIZE, -0.6 * SIZE) * ANGLES(RAD(-25), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4952
			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)
4953
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
4954
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4955
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, 0.2) * ANGLES(RAD(-25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4956
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1, -1 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4957
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(-2), RAD(0)), 1 / Animation_Speed)
4958
		end
4959
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
4960
		ANIM = "Walk"
4961
		if ATTACK == false then
4962
			RootJoint2.C0 = Clerp(RootJoint2.C0, ROOTC0 * CF(0, 0, 0.25 * COS(SINE / 12)) * ANGLES(RAD(35 + 2 * SIN(SINE / 12)), RAD(0), RAD(35)), 0.5 / Animation_Speed)
4963
			Neck2.C0 = Clerp(Neck2.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(-25 - 2 * SIN(SINE / 12)), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
4964
			RightShoulder2.C0 = Clerp(RightShoulder2.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4965
			LeftShoulder2.C0 = Clerp(LeftShoulder2.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0) * ANGLES(RAD(-35 + 15 * SIN(SINE / 12)), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4966
			RightHip2.C0 = Clerp(RightHip2.C0, CF(1 * SIZE, -1 * SIZE, 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4967
			LeftHip2.C0 = Clerp(LeftHip2.C0, CF(-1 * SIZE, -0.5 * SIZE, -0.3 * SIZE) * ANGLES(RAD(-25), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4968
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
4969
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1 / Animation_Speed)
4970
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4971
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4972
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
4973
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
4974
		end
4975
	end
4976
	if ATTACK == false then
4977
		RootPart2.CFrame = Clerp(RootPart2.CFrame, RootPart.CFrame * CF(0, 6, 5), 0.1)
4978
	end
4979
4980
     if Head:FindFirstChild("face") then
4981
          Head.face.Texture = "rbxassetid://120463437"
4982
     end
4983
4984
4985
  
4986
4987
     local Player = game:service'Players'.localPlayer
4988
local chara = Player.Character
4989
4990
   
4991
      shirt= Instance.new("Shirt", Character)
4992
        shirt.Name = "Shirt"
4993
        pants = Instance.new("Pants", Character)
4994
        pants.Name = "Pants"
4995
        chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=415270465"
4996
        chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=415270658"
4997
4998
    local p = game:service'Players'.LocalPlayer
4999
local char = p.Character
5000
5001
chara:WaitForChild"Body Colors"
5002
char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
5003
char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
5004
char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
5005
char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
5006
char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
5007
char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
5008
5009
   
5010
	unanchor()
5011
	RootPart2.Anchored = true
5012
	Humanoid.MaxHealth = 200
5013
	Humanoid.Health = 200
5014
	if Rooted == false then
5015
		Disable_Jump = false
5016
		Humanoid.WalkSpeed = Speed
5017
	elseif Rooted == true then
5018
		Disable_Jump = true
5019
		Humanoid.WalkSpeed = 0
5020
	end
5021
	for _, c in pairs(SHADOW:GetChildren()) do
5022
		if c:IsA("Part") then
5023
			c.Color = C3(0, 0, 0)
5024
			if c ~= RootPart2 then
5025
				c.Transparency = E + 0.15 * SIN(SINE / 12)
5026
			end
5027
			if c:FindFirstChildOfClass("Decal") then
5028
				c:ClearAllChildren()
5029
			end
5030
			c.CanCollide = false
5031
			c.Material = "Neon"
5032
		else
5033
			c:remove()
5034
		end
5035
	end
5036
	sick.SoundId = "rbxassetid://1594398842"
5037
	sick.Looped = true
5038
	sick.Pitch = 1
5039
	sick.Volume = 1.5
5040
	sick.Parent = Character
5041
	sick.Playing = PLAYSONG
5042
	if EQUIPPED == false then
5043
		Intro()
5044
	end
5045
end
5046
function sandbox(var,func)
5047
	local env = getfenv(func)
5048
	local newenv = setmetatable({},{
5049
		__index = function(self,k)
5050
			if k=="script" then
5051
				return var
5052
			else
5053
				return env[k]
5054
			end
5055
		end,
5056
	})
5057
	setfenv(func,newenv)
5058
	return func
5059
end