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