View difference between Paste ID: kpDqMWkD and pS6C48T4
SHOW: | | - or go back to the newest paste.
1-
LocalScript1.Name = "TerraGod"
1+
2-
LocalScript1.Parent = ModuleScript1
2+
3-
table.insert(cors,sandbox(LocalScript1,function()
3+
4
5
wait(0.2)
6
7
Player = game:GetService("Players").LocalPlayer
8
PlayerGui = Player.PlayerGui
9
Cam = workspace.CurrentCamera
10
Backpack = Player.Backpack
11
Character = Player.Character
12
Humanoid = Character.Humanoid
13
Mouse = Player:GetMouse()
14
RootPart = Character["HumanoidRootPart"]
15
Torso = Character["Torso"]
16
Head = Character["Head"]
17
RightArm = Character["Right Arm"]
18
LeftArm = Character["Left Arm"]
19
RightLeg = Character["Right Leg"]
20
LeftLeg = Character["Left Leg"]
21
RootJoint = RootPart["RootJoint"]
22
Neck = Torso["Neck"]
23
RightShoulder = Torso["Right Shoulder"]
24
LeftShoulder = Torso["Left Shoulder"]
25
RightHip = Torso["Right Hip"]
26
LeftHip = Torso["Left Hip"]
27
28
IT = Instance.new
29
CF = CFrame.new
30
VT = Vector3.new
31
RAD = math.rad
32
C3 = Color3.new
33
UD2 = UDim2.new
34
BRICKC = BrickColor.new
35
ANGLES = CFrame.Angles
36
EULER = CFrame.fromEulerAnglesXYZ
37
COS = math.cos
38
ACOS = math.acos
39
SIN = math.sin
40
ASIN = math.asin
41
ABS = math.abs
42
MRANDOM = math.random
43
FLOOR = math.floor
44
45
--//=================================\\
46
--|| 	      USEFUL VALUES
47
--\\=================================//
48
49
Animation_Speed = 3
50
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
51
local Speed = 35
52
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
53
local NECKC0 = CF(0, 1.75, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
54
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
55
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
56
local DAMAGEMULTIPLIER = 1
57
local ANIM = "Idle"
58
local ATTACK = false
59
local EQUIPPED = false
60
local HOLD = false
61
local COMBO = 1
62
local Rooted = false
63
local SINE = 0
64
local KEYHOLD = false
65
local CHANGE = 2 / Animation_Speed
66
local WALKINGANIM = false
67
local VALUE1 = false
68
local VALUE2 = false
69
local ROBLOXIDLEANIMATION = IT("Animation")
70
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
71
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
72
--ROBLOXIDLEANIMATION.Parent = Humanoid
73
local WEAPONGUI = IT("ScreenGui", PlayerGui)
74
WEAPONGUI.Name = "Weapon GUI"
75
local Effects = IT("Folder", Character)
76
Effects.Name = "Effects"
77
local ANIMATOR = Humanoid.Animator
78
local ANIMATE = Character.Animate
79
local UNANCHOR = true
80
local PLAYSONG = true
81
local EXTRATRANS = 0
82
83
--//=================================\\
84
--\\=================================//
85
86
87
--//=================================\\
88
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
89
--\\=================================//
90
91
ArtificialHB = Instance.new("BindableEvent", script)
92
ArtificialHB.Name = "ArtificialHB"
93
94
script:WaitForChild("ArtificialHB")
95
96
frame = Frame_Speed
97
tf = 0
98
allowframeloss = false
99
tossremainder = false
100
lastframe = tick()
101
script.ArtificialHB:Fire()
102
103
game:GetService("RunService").Heartbeat:connect(function(s, p)
104
	tf = tf + s
105
	if tf >= frame then
106
		if allowframeloss then
107
			script.ArtificialHB:Fire()
108
			lastframe = tick()
109
		else
110
			for i = 1, math.floor(tf / frame) do
111
				script.ArtificialHB:Fire()
112
			end
113
		lastframe = tick()
114
		end
115
		if tossremainder then
116
			tf = 0
117
		else
118
			tf = tf - frame * math.floor(tf / frame)
119
		end
120
	end
121
end)
122
123
--//=================================\\
124
--\\=================================//
125
126
--//=================================\\
127
--|| 	      SOME FUNCTIONS
128
--\\=================================//
129
130
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
131
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
132
end
133
134
function PositiveAngle(NUMBER)
135
	if NUMBER >= 0 then
136
		NUMBER = 0
137
	end
138
	return NUMBER
139
end
140
141
function NegativeAngle(NUMBER)
142
	if NUMBER <= 0 then
143
		NUMBER = 0
144
	end
145
	return NUMBER
146
end
147
148
function Swait(NUMBER)
149
	if NUMBER == 0 or NUMBER == nil then
150
		ArtificialHB.Event:wait()
151
	else
152
		for i = 1, NUMBER do
153
			ArtificialHB.Event:wait()
154
		end
155
	end
156
end
157
158
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
159
	local NEWMESH = IT(MESH)
160
	if MESH == "SpecialMesh" then
161
		NEWMESH.MeshType = MESHTYPE
162
		if MESHID ~= "nil" and MESHID ~= "" then
163
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
164
		end
165
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
166
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
167
		end
168
	end
169
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
170
	NEWMESH.Scale = SCALE
171
	NEWMESH.Parent = PARENT
172
	return NEWMESH
173
end
174
175
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
176
	local NEWPART = IT("Part")
177
	NEWPART.formFactor = FORMFACTOR
178
	NEWPART.Reflectance = REFLECTANCE
179
	NEWPART.Transparency = TRANSPARENCY
180
	NEWPART.CanCollide = false
181
	NEWPART.Locked = true
182
	NEWPART.Anchored = true
183
	if ANCHOR == false then
184
		NEWPART.Anchored = false
185
	end
186
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
187
	NEWPART.Name = NAME
188
	NEWPART.Size = SIZE
189
	NEWPART.Position = Torso.Position
190
	NEWPART.Material = MATERIAL
191
	NEWPART:BreakJoints()
192
	NEWPART.Parent = PARENT
193
	return NEWPART
194
end
195
196
	local function weldBetween(a, b)
197
	    local weldd = Instance.new("ManualWeld")
198
	    weldd.Part0 = a
199
	    weldd.Part1 = b
200
	    weldd.C0 = CFrame.new()
201
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
202
	    weldd.Parent = a
203
	    return weldd
204
	end
205
206
207
function QuaternionFromCFrame(cf)
208
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
209
	local trace = m00 + m11 + m22
210
	if trace > 0 then 
211
		local s = math.sqrt(1 + trace)
212
		local recip = 0.5 / s
213
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
214
	else
215
		local i = 0
216
		if m11 > m00 then
217
			i = 1
218
		end
219
		if m22 > (i == 0 and m00 or m11) then
220
			i = 2
221
		end
222
		if i == 0 then
223
			local s = math.sqrt(m00 - m11 - m22 + 1)
224
			local recip = 0.5 / s
225
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
226
		elseif i == 1 then
227
			local s = math.sqrt(m11 - m22 - m00 + 1)
228
			local recip = 0.5 / s
229
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
230
		elseif i == 2 then
231
			local s = math.sqrt(m22 - m00 - m11 + 1)
232
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
233
		end
234
	end
235
end
236
 
237
function QuaternionToCFrame(px, py, pz, x, y, z, w)
238
	local xs, ys, zs = x + x, y + y, z + z
239
	local wx, wy, wz = w * xs, w * ys, w * zs
240
	local xx = x * xs
241
	local xy = x * ys
242
	local xz = x * zs
243
	local yy = y * ys
244
	local yz = y * zs
245
	local zz = z * zs
246
	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))
247
end
248
 
249
function QuaternionSlerp(a, b, t)
250
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
251
	local startInterp, finishInterp;
252
	if cosTheta >= 0.0001 then
253
		if (1 - cosTheta) > 0.0001 then
254
			local theta = ACOS(cosTheta)
255
			local invSinTheta = 1 / SIN(theta)
256
			startInterp = SIN((1 - t) * theta) * invSinTheta
257
			finishInterp = SIN(t * theta) * invSinTheta
258
		else
259
			startInterp = 1 - t
260
			finishInterp = t
261
		end
262
	else
263
		if (1 + cosTheta) > 0.0001 then
264
			local theta = ACOS(-cosTheta)
265
			local invSinTheta = 1 / SIN(theta)
266
			startInterp = SIN((t - 1) * theta) * invSinTheta
267
			finishInterp = SIN(t * theta) * invSinTheta
268
		else
269
			startInterp = t - 1
270
			finishInterp = t
271
		end
272
	end
273
	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
274
end
275
276
function Clerp(a, b, t)
277
	local qa = {QuaternionFromCFrame(a)}
278
	local qb = {QuaternionFromCFrame(b)}
279
	local ax, ay, az = a.x, a.y, a.z
280
	local bx, by, bz = b.x, b.y, b.z
281
	local _t = 1 - t
282
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
283
end
284
285
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
286
	local frame = IT("Frame")
287
	frame.BackgroundTransparency = TRANSPARENCY
288
	frame.BorderSizePixel = BORDERSIZEPIXEL
289
	frame.Position = POSITION
290
	frame.Size = SIZE
291
	frame.BackgroundColor3 = COLOR
292
	frame.BorderColor3 = BORDERCOLOR
293
	frame.Name = NAME
294
	frame.Parent = PARENT
295
	return frame
296
end
297
298
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
299
	local label = IT("TextLabel")
300
	label.BackgroundTransparency = 1
301
	label.Size = UD2(1, 0, 1, 0)
302
	label.Position = UD2(0, 0, 0, 0)
303
	label.TextColor3 = TEXTCOLOR
304
	label.TextStrokeTransparency = STROKETRANSPARENCY
305
	label.TextTransparency = TRANSPARENCY
306
	label.FontSize = TEXTFONTSIZE
307
	label.Font = TEXTFONT
308
	label.BorderSizePixel = BORDERSIZEPIXEL
309
	label.TextScaled = false
310
	label.Text = TEXT
311
	label.Name = NAME
312
	label.Parent = PARENT
313
	return label
314
end
315
316
function NoOutlines(PART)
317
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
318
end
319
320
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
321
	local NEWWELD = IT(TYPE)
322
	NEWWELD.Part0 = PART0
323
	NEWWELD.Part1 = PART1
324
	NEWWELD.C0 = C0
325
	NEWWELD.C1 = C1
326
	NEWWELD.Parent = PARENT
327
	return NEWWELD
328
end
329
330
local S = IT("Sound")
331
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
332
	local NEWSOUND = nil
333
	coroutine.resume(coroutine.create(function()
334
		NEWSOUND = S:Clone()
335
		NEWSOUND.Parent = PARENT
336
		NEWSOUND.Volume = VOLUME
337
		NEWSOUND.Pitch = PITCH
338
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
339
		NEWSOUND:play()
340
		if DOESLOOP == true then
341
			NEWSOUND.Looped = true
342
		else
343
			repeat wait(1) until NEWSOUND.Playing == false
344
			NEWSOUND:remove()
345
		end
346
	end))
347
	return NEWSOUND
348
end
349
350
function CFrameFromTopBack(at, top, back)
351
	local right = top:Cross(back)
352
	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)
353
end
354
355
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
356
function WACKYEFFECT(Table)
357
	local TYPE = (Table.EffectType or "Sphere")
358
	local SIZE = (Table.Size or VT(1,1,1))
359
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
360
	local TRANSPARENCY = (Table.Transparency or 0)
361
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
362
	local CFRAME = (Table.CFrame or Torso.CFrame)
363
	local MOVEDIRECTION = (Table.MoveToPos or nil)
364
	local ROTATION1 = (Table.RotationX or 0)
365
	local ROTATION2 = (Table.RotationY or 0)
366
	local ROTATION3 = (Table.RotationZ or 0)
367
	local MATERIAL = (Table.Material or "Neon")
368
	local COLOR = (Table.Color or C3(1,1,1))
369
	local TIME = (Table.Time or 45)
370
	local SOUNDID = (Table.SoundID or nil)
371
	local SOUNDPITCH = (Table.SoundPitch or nil)
372
	local SOUNDVOLUME = (Table.SoundVolume or nil)
373
	coroutine.resume(coroutine.create(function()
374
		local PLAYSSOUND = false
375
		local SOUND = nil
376
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
377
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
378
			PLAYSSOUND = true
379
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
380
		end
381
		EFFECT.Color = COLOR
382
		local MSH = nil
383
		if TYPE == "Sphere" then
384
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
385
		elseif TYPE == "Block" then
386
			MSH = IT("BlockMesh",EFFECT)
387
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
388
		elseif TYPE == "Wave" then
389
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
390
		elseif TYPE == "Ring" then
391
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
392
		elseif TYPE == "Slash" then
393
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
394
		elseif TYPE == "Round Slash" then
395
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
396
		elseif TYPE == "Swirl" then
397
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
398
		elseif TYPE == "Skull" then
399
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
400
		elseif TYPE == "Crystal" then
401
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
402
		end
403
		if MSH ~= nil then
404
			local MOVESPEED = nil
405
			if MOVEDIRECTION ~= nil then
406
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
407
			end
408
			local GROWTH = SIZE - ENDSIZE
409
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
410
			if TYPE == "Block" then
411
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
412
			else
413
				EFFECT.CFrame = CFRAME
414
			end
415
			for LOOP = 1, TIME+1 do
416
				Swait()
417
				MSH.Scale = MSH.Scale - GROWTH/TIME
418
				if TYPE == "Wave" then
419
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
420
				end
421
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
422
				if TYPE == "Block" then
423
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
424
				else
425
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
426
				end
427
				if MOVEDIRECTION ~= nil then
428
					local ORI = EFFECT.Orientation
429
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
430
					EFFECT.Orientation = ORI
431
				end
432
			end
433
			if PLAYSSOUND == false then
434
				EFFECT:remove()
435
			else
436
				repeat Swait() until EFFECT:FindFirstChild("Sound") == nil
437
				EFFECT:remove()
438
			end
439
		else
440
			if PLAYSSOUND == false then
441
				EFFECT:remove()
442
			else
443
				repeat Swait() until EFFECT:FindFirstChild("Sound") == nil
444
				EFFECT:remove()
445
			end
446
		end
447
	end))
448
end
449
450
function MakeForm(PART,TYPE)
451
	if TYPE == "Cyl" then
452
		local MSH = IT("CylinderMesh",PART)
453
	elseif TYPE == "Ball" then
454
		local MSH = IT("SpecialMesh",PART)
455
		MSH.MeshType = "Sphere"
456
	elseif TYPE == "Wedge" then
457
		local MSH = IT("SpecialMesh",PART)
458
		MSH.MeshType = "Wedge"
459
	end
460
end
461
462
Debris = game:GetService("Debris")
463
464
function CastProperRay(StartPos, EndPos, Distance, Ignore)
465
	local DIRECTION = CF(StartPos,EndPos).lookVector
466
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
467
end
468
469
local ROCK = script.Rock
470
ROCK.Parent = nil
471
function GetRock(FLOOROBJECT)
472
	local Rock = ROCK:Clone()
473
	Rock.Parent = Effects
474
	if FLOOROBJECT ~= nil then
475
		if FLOOROBJECT.Material ~= Enum.Material.Grass and FLOOROBJECT.Material ~= Enum.Material.Fabric then
476
			Rock.Material = FLOOROBJECT.Material
477
			Rock.Color = FLOOROBJECT.Color
478
		else
479
			Rock.Material = "Slate"
480
			Rock.Color = BRICKC"Dirt brown".Color
481
		end
482
	else
483
		Rock.Material = "Slate"
484
		Rock.Color = BRICKC"Dirt brown".Color
485
	end
486
	Rock.Core.Emit.Color = ColorSequence.new(Rock.Color)
487
	return Rock
488
end
489
490
local SPIKE = script.RockSpike
491
SPIKE.Parent = nil
492
function GetSpike(FLOOROBJECT)
493
	local Rock = SPIKE:Clone()
494
	Rock.Parent = Effects
495
	if FLOOROBJECT ~= nil then
496
		if FLOOROBJECT.Material ~= Enum.Material.Grass and FLOOROBJECT.Material ~= Enum.Material.Fabric then
497
			Rock.Material = FLOOROBJECT.Material
498
			Rock.Color = FLOOROBJECT.Color
499
		else
500
			Rock.Material = "Slate"
501
			Rock.Color = BRICKC"Dirt brown".Color
502
		end
503
	else
504
		Rock.Material = "Slate"
505
		Rock.Color = BRICKC"Dirt brown".Color
506
	end
507
	return Rock
508
end
509
510
local SHIELD = script.Shield
511
SHIELD.Parent = nil
512
function GetShield(FLOOROBJECT)
513
	local Rock = SHIELD:Clone()
514
	Rock.Parent = Effects
515
	if FLOOROBJECT ~= nil then
516
		Rock.Material = FLOOROBJECT.Material
517
		Rock.Color = FLOOROBJECT.Color
518
	else
519
		Rock.Material = "Slate"
520
		Rock.Color = BRICKC"Dirt brown".Color
521
	end
522
	return Rock
523
end
524
525
function RespondToImpact(Object,Rock)
526
	local BREAKABLEMATERIALS = {{Enum.Material.Glass,5,1571353313},{Enum.Material.Ice,2,151284431},{Enum.Material.Wood,1.3,131144461},{Enum.Material.WoodPlanks,1,131144461},{Enum.Material.Cobblestone,0.2,130972023}}
527
	for i = 1, #BREAKABLEMATERIALS do
528
		local MATERIAL = BREAKABLEMATERIALS[i]
529
		if Object.Material == MATERIAL[1] then
530
			local A = Rock.Size.Magnitude
531
			local B = Object.Size.Magnitude
532
			if B < A*MATERIAL[2] then
533
				WaveParticles(Object.Position,B*3,Object.Color)
534
				Object:remove()
535
				CreateSound(MATERIAL[3], Rock, 5, MRANDOM(8,12)/10, false)
536
			end
537
		end
538
	end
539
end
540
541
function WaveParticles(Position,Size,Color)
542
	local BASE = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Shockwave", VT(0,0,0), true)
543
	BASE.CFrame = CF(Position)
544
	local A = IT("Attachment",BASE)
545
	local WAVE = script.Wave:Clone()
546
	WAVE.Parent = A
547
	WAVE.Size = NumberSequence.new(0,Size)
548
	WAVE.Color = ColorSequence.new(Color)
549
	Debris:AddItem(BASE,0.5)
550
	WAVE:Emit(1)
551
end
552
553
--//=================================\\
554
--||	     WEAPON CREATION
555
--\\=================================//
556
557
local sick = Instance.new("Sound",Character)
558
559
local PILLAR = script.Pillar
560
PILLAR.Parent = nil
561
local HOOD = script.Hood
562
HOOD.Parent = Character
563
HOOD.CFrame = Torso.CFrame*CFrame.new(0,2.2,0)
564
weldBetween(Torso,HOOD)
565
Head:ClearAllChildren()
566
Head.Transparency = 1
567
local EYE = script.Eye
568
EYE.Parent = Character
569
EYE.CFrame = Head.CFrame*CF(0,0,0)
570
EYE.Anchored = false
571
weldBetween(EYE,Head)
572
local COLLAR = script.Collar
573
COLLAR.Parent = Character
574
COLLAR.CFrame = Torso.CFrame*CF(0,1,0) * ANGLES(RAD(90), RAD(0), RAD(0))
575
weldBetween(Torso,COLLAR)
576
local BONE = script.SpinePart
577
BONE.Parent = nil
578
local TAIL = {}
579
local LASTPART = Torso
580
local SIZE = BONE.Size
581
for i = 1, 23 do
582
	local PART = BONE:Clone()
583
	PART.Anchored = false
584
	PART.Parent = Character
585
	PART.Size = SIZE*((25-i)/10)/1.6
586
	if LASTPART == Torso then
587
		local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-0.8,0.6)* ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
588
		LASTPART = PART
589
		table.insert(TAIL,WELD)
590
	else
591
		local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-PART.Size.Y/1.2,-0.01), CF(0, 0, 0))
592
		LASTPART = PART
593
		table.insert(TAIL,WELD)
594
	end
595
end
596
for _, c in pairs(Character:GetChildren()) do
597
	if c:IsA("BasePart") then
598
		if c:FindFirstChildOfClass("ParticleEmitter") then
599
			c:FindFirstChildOfClass("ParticleEmitter"):remove()
600
		end
601
		if c == Head then
602
			if c:FindFirstChild("face") then
603
				c.face:remove()
604
			end
605
		end
606
	elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
607
		c:remove()
608
	end
609
end
610
local BODY = {}
611
for _, c in pairs(Character:GetDescendants()) do
612
	if c:IsA("BasePart") and c.Name ~= "Handle" then
613
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
614
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
615
		end
616
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
617
	elseif c:IsA("JointInstance") then
618
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
619
	end
620
end
621
for e = 1, #BODY do
622
	if BODY[e] ~= nil then
623
		local STUFF = BODY[e]
624
		local PART = STUFF[1]
625
		local PARENT = STUFF[2]
626
		local MATERIAL = STUFF[3]
627
		local COLOR = STUFF[4]
628
		local TRANSPARENCY = STUFF[5]
629
		if PART.ClassName == "Part" and PART ~= RootPart then
630
			PART.Material = MATERIAL
631
			PART.Color = COLOR
632
			PART.Transparency = TRANSPARENCY
633
		end
634
		PART.AncestryChanged:Connect(function()
635
			PART.Parent = PARENT
636
		end)
637
	end
638
end
639
function refit()
640
	Character.Parent = workspace
641
	for e = 1, #BODY do
642
		if BODY[e] ~= nil then
643
			local STUFF = BODY[e]
644
			local PART = STUFF[1]
645
			local PARENT = STUFF[2]
646
			local MATERIAL = STUFF[3]
647
			local COLOR = STUFF[4]
648
			local TRANSPARENCY = STUFF[5]
649
			if PART:IsA("BasePart") and PART ~= RootPart then
650
				PART.Material = MATERIAL
651
				PART.Color = COLOR
652
				PART.Transparency = TRANSPARENCY+EXTRATRANS
653
			end
654
			if PART.Parent ~= PARENT then
655
				Humanoid:remove()
656
				PART.Parent = PARENT
657
				Humanoid = IT("Humanoid",Character)
658
			end
659
		end
660
	end
661
end
662
663
Humanoid.Died:connect(function()
664
	refit()
665
end)
666
667
--//=================================\\
668
--||			DAMAGING
669
--\\=================================//
670
671
function ApplyDamage(Humanoid,Damage,TorsoPart)
672
	Damage = Damage * DAMAGEMULTIPLIER
673
	if Humanoid.Health ~= 0 then
674
		Humanoid.Health = Humanoid.Health - Damage
675
	end
676
end
677
678
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,ROCK)
679
	local CHILDREN = workspace:GetDescendants()
680
	for index, CHILD in pairs(CHILDREN) do
681
		if CHILD.ClassName == "Model" and CHILD ~= Character then
682
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
683
			if HUM then
684
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
685
				if TORSO then
686
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
687
						if INSTAKILL == true or HUM.MaxHealth > 5000 then
688
							CHILD:BreakJoints()
689
						else
690
							local DMG = MRANDOM(MINDMG,MAXDMG)
691
							ApplyDamage(HUM,DMG,TORSO)
692
						end
693
						if FLING > 0 then
694
							for _, c in pairs(CHILD:GetChildren()) do
695
								if c:IsA("BasePart") then
696
									local bv = Instance.new("BodyVelocity",c) 
697
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
698
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
699
									Debris:AddItem(bv,0.05)
700
								end
701
							end
702
						end
703
					end
704
				end
705
			end
706
		elseif CHILD:IsA("BasePart") and ROCK ~= nil then
707
			if (CHILD.Position - POSITION).Magnitude <= RANGE then
708
				RespondToImpact(CHILD,ROCK)
709
			end
710
		end
711
	end
712
end
713
714
--//=================================\\
715
--||	ATTACK FUNCTIONS AND STUFF
716
--\\=================================//
717
718
function RockExplosion(Rock,Multiplier,Survive)
719
	local EXPLOSION = Rock.Core:FindFirstChildOfClass("ParticleEmitter")
720
	EXPLOSION.Color = ColorSequence.new(Rock.Color)
721
	local SIZE = (Rock.Size.Y*4)*Multiplier
722
	EXPLOSION.Enabled = false
723
	EXPLOSION.Speed = NumberRange.new(0,SIZE*5)
724
	EXPLOSION.Size = NumberSequence.new(SIZE/15,0)
725
	EXPLOSION:Emit(200,300)
726
	WaveParticles(Rock.Position,SIZE*2,Rock.Color)
727
	coroutine.resume(coroutine.create(function()
728
		Rock:BreakJoints()
729
		if Survive == nil then
730
			Rock.Transparency = 1
731
			Rock.CanCollide = false
732
			Rock.Anchored = true
733
			Debris:AddItem(Rock,5)
734
		end
735
		CreateSound(165970126, Rock, 2, MRANDOM(8,12)/10, false)
736
		ApplyAoE(Rock.Position,SIZE,25,30,35,false,Rock)
737
		local HITFLOOR,HITPOS = Raycast(Rock.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, Rock.Size.Y/2, Character)
738
		Swait()
739
		if HITFLOOR then
740
			WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SIZE*7,3,SIZE*7), Transparency = 0.7, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = HITFLOOR.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
741
		end
742
		for i = 1, 5 do
743
			WACKYEFFECT({Time = MRANDOM(15,55), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SIZE*5,0.2,SIZE*5), Transparency = 0.95, Transparency2 = 1, CFrame = CF(Rock.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Rock.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
744
		end
745
	end))
746
end
747
748
function Bullet()
749
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
750
	ATTACK = true
751
	Rooted = true
752
	local GYRO = IT("BodyGyro",RootPart)
753
	GYRO.D = 2
754
	GYRO.P = 2000
755
	GYRO.MaxTorque = VT(0,4000000,0)
756
	coroutine.resume(coroutine.create(function()
757
		repeat
758
			Swait()
759
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
760
		until ATTACK == false
761
		GYRO:Remove()
762
	end))
763
	local FLOOR = false
764
	if HITFLOOR then
765
		if HITFLOOR.Material ~= Enum.Material.Foil and HITFLOOR.Material ~= Enum.Material.Glass then
766
			FLOOR = true
767
		end
768
	end
769
	if FLOOR == true then
770
		for i=0, 0.5, 0.1 / Animation_Speed do
771
			Swait()
772
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
773
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
774
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
775
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
776
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(-30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
777
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
778
		end
779
		for i=0, 0.25, 0.1 / Animation_Speed do
780
			Swait()
781
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
782
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
783
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
784
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
785
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
786
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
787
		end
788
		local ROCKPLACED = false
789
		local Rock = nil
790
		if HITFLOOR.Anchored == true then
791
			Rock = GetRock(HITFLOOR)
792
			Rock.Core.Emit.Enabled = true
793
			Rock.Size = VT(6,6,6)
794
			Rock.CFrame = CF(RootPart.CFrame*CF(0,-9,-6).p,Mouse.Hit.p)
795
			CreateSound(130972023, Rock, 2, MRANDOM(5,8)/10, false)
796
			coroutine.resume(coroutine.create(function()
797
				for i = 1, 30 do
798
					Swait()
799
					Rock.CFrame = Clerp(Rock.CFrame, CF(RootPart.CFrame*CF(0,1,-6).p,Mouse.Hit.p), 0.8 / Animation_Speed)
800
				end
801
				ROCKPLACED = true
802
				Rock.Core.Emit.Enabled = false
803
			end))
804
		else
805
			if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
806
				local TORSO = HITFLOOR.Parent:FindFirstChild("Torso") or HITFLOOR.Parent:FindFirstChild("UpperTorso")
807
				if TORSO then
808
					Rock = TORSO
809
					ROCK.Core:Clone().Parent = Rock
810
				else
811
					Rock = HITFLOOR
812
					ROCK.Core:Clone().Parent = Rock
813
				end
814
			elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
815
				local TORSO = HITFLOOR.Parent.Parent:FindFirstChild("Torso") or HITFLOOR.Parent.Parent:FindFirstChild("UpperTorso")
816
				if TORSO then
817
					Rock = TORSO
818
					ROCK.Core:Clone().Parent = Rock
819
				else
820
					Rock = HITFLOOR
821
					ROCK.Core:Clone().Parent = Rock
822
				end
823
			else
824
				Rock = HITFLOOR
825
				ROCK.Core:Clone().Parent = Rock
826
			end
827
			Rock.Anchored = true
828
			coroutine.resume(coroutine.create(function()
829
				for i = 1, 30 do
830
					Swait()
831
					Rock.CFrame = Clerp(Rock.CFrame, CF(RootPart.CFrame*CF(0,1,-6).p,Mouse.Hit.p), 0.8 / Animation_Speed)
832
				end
833
				ROCKPLACED = true
834
			end))
835
		end
836
		for i=0, 0.1, 0.1 / Animation_Speed do
837
			Swait()
838
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
839
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
840
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
841
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
842
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
843
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
844
		end
845
		repeat
846
			Swait()
847
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
848
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
849
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
850
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
851
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
852
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
853
		until ROCKPLACED == true
854
		for i=0, 0.1, 0.1 / Animation_Speed do
855
			Swait()
856
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
857
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
858
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
859
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
860
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
861
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
862
		end
863
		WaveParticles(Rock.Position,12,C3(1,1,1))
864
		CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
865
		coroutine.resume(coroutine.create(function()
866
			if Rock.Parent:FindFirstChildOfClass("Humanoid") == nil then
867
				for i = 1, 200 do
868
					Swait()
869
					Rock.CFrame = Rock.CFrame * CF(0,0,-1.2)
870
					local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
871
					if HIT then
872
						RespondToImpact(HIT,Rock)
873
						break
874
					end
875
				end
876
				RockExplosion(Rock,1)
877
			else
878
				for i = 1, 60 do
879
					Swait()
880
					Rock.CFrame = Rock.CFrame * CF(0,0,-2)
881
					local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, 3, Character)
882
					if HIT then
883
						RespondToImpact(HIT,Rock)
884
						break
885
					end
886
				end
887
				RockExplosion(Rock,2)
888
			end
889
		end))
890
		for i=0, 0.4, 0.1 / Animation_Speed do
891
			Swait()
892
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
893
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
894
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
895
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
896
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
897
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
898
		end
899
	else
900
		local GRAV = IT("BodyPosition",RootPart)
901
		GRAV.D = 250
902
		GRAV.P = 20000
903
		GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
904
		GRAV.Position = RootPart.Position
905
		local Rock = GetRock()
906
		Rock.Size = VT(0,0,0)
907
		Rock.CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
908
		CreateSound(201858045, Rock, 1, MRANDOM(10,12)/10, false)
909
		local DONEROCK = false
910
		coroutine.resume(coroutine.create(function()
911
			for i = 1, 15 do
912
				Swait()
913
				Rock.Size = Rock.Size + VT(0.1,0.1,0.1)
914
				Rock.Size = Rock.Size * 1.1
915
				Rock.CFrame = CF(RightLeg.CFrame*CF(0,-1-Rock.Size.Y/2,0).p,Mouse.Hit.p)
916
			end
917
			DONEROCK = true
918
		end))
919
		repeat
920
			Swait()
921
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-65), RAD(0), RAD(0)), 1 / Animation_Speed)
922
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
923
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
924
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
925
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(90), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
926
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
927
		until DONEROCK == true
928
		local LOOP = 0
929
		for i=0, 0.2, 0.1 / Animation_Speed do
930
			Swait()
931
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1 / Animation_Speed)
932
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
933
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
934
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
935
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(130), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
936
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
937
		end
938
		WaveParticles(Rock.Position,5,C3(1,1,1))
939
		CreateSound(621557962, RightLeg, 1, MRANDOM(10,12)/10, false)
940
		coroutine.resume(coroutine.create(function()
941
			for i = 1, 300 do
942
				Swait()
943
				Rock.CFrame = Rock.CFrame * CF(0,0,-1.6)
944
				local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
945
				if HIT then
946
					RespondToImpact(HIT,Rock)
947
					break
948
				end
949
			end
950
			RockExplosion(Rock,1)
951
		end))
952
		for i=0, 0.3, 0.1 / Animation_Speed do
953
			Swait()
954
			LOOP = LOOP + 15*3
955
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-65+(LOOP)), RAD(0), RAD(0)), 1 / Animation_Speed)
956
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
957
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
958
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
959
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
960
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
961
		end
962
		GRAV:remove()
963
	end
964
	ATTACK = false
965
	Rooted = false
966
end
967
968
function Melee()
969
	ATTACK = true
970
	Rooted = false
971
	Speed = 12
972
	repeat
973
		Swait()
974
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
975
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(15)), 1 / Animation_Speed)
976
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
977
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
978
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
979
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
980
	until KEYHOLD == false
981
	Speed = 0
982
	local ROOT = nil
983
	local TORS = nil
984
	local HUMAN = nil
985
	local DIST = 4
986
	for i=0, 0.2, 0.1 / Animation_Speed do
987
		Swait()
988
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
989
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
990
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
991
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
992
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
993
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
994
	end
995
	for i=0, 1, 0.1 / Animation_Speed do
996
		Swait()
997
		local CHILDREN = workspace:GetDescendants()
998
		for index, CHILD in pairs(CHILDREN) do
999
			if CHILD.ClassName == "Model" and CHILD ~= Character then
1000
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1001
				if HUM then
1002
					local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1003
					if TORSO and HUM.Health > 0 then
1004
						if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
1005
							DIST = (TORSO.Position - RightArm.Position).Magnitude
1006
							ROOT = TORSO
1007
							HUMAN = HUM
1008
							TORS = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1009
						end
1010
					end
1011
				end
1012
			end
1013
		end
1014
		if ROOT then
1015
			break
1016
		end
1017
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1018
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
1019
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1020
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1021
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1022
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1023
	end
1024
	if ROOT then
1025
		local POSITIONED = false
1026
		coroutine.resume(coroutine.create(function()
1027
			ROOT.Anchored = true
1028
			local POS = RootPart.CFrame*CF(0,-3,-1) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(90), RAD(0), RAD(0))
1029
			for i = 1, 25 do
1030
				ROOT.Anchored = true
1031
				Swait()
1032
				ROOT.CFrame = Clerp(ROOT.CFrame, POS, 0.8 / Animation_Speed)
1033
			end
1034
			POSITIONED = true
1035
			repeat Swait() ROOT.Anchored = true until ATTACK == false
1036
			ROOT.Anchored = false
1037
		end))
1038
		repeat
1039
			Swait()
1040
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1041
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1042
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1043
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1044
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1045
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1046
		until POSITIONED == true
1047
		for i = 1, 3 do
1048
			for i=0, 0.5, 0.1 / Animation_Speed do
1049
				Swait()
1050
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
1051
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
1052
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1053
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1054
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(50), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1055
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1056
			end
1057
			for i=0, 0.15, 0.1 / Animation_Speed do
1058
				Swait()
1059
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1060
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1061
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1062
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1063
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1064
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1065
			end
1066
			local EMIT = script.Emit:Clone()
1067
			EMIT.Parent = TORS
1068
			EMIT.Size = NumberSequence.new(1,0)
1069
			EMIT:Emit(120)
1070
			Debris:AddItem(EMIT,5)
1071
			CreateSound(138186576, RightLeg, 1, MRANDOM(13,15)/10, false)
1072
			WaveParticles(TORS.Position,12,C3(1,1,1))
1073
			ApplyAoE(RightLeg.Position,8,25,35,0,false)
1074
			WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(35,3,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORS.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1075
			WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,4,25), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORS.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1076
			for i=0, 0.25, 0.1 / Animation_Speed do
1077
				Swait()
1078
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1079
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1080
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1081
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1082
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1083
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1084
			end
1085
			if HUMAN.Health == 0 then
1086
				break
1087
			end
1088
			for i=0, 0.2, 0.1 / Animation_Speed do
1089
				Swait()
1090
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1091
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1092
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1093
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1094
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1095
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1096
			end
1097
		end
1098
	end
1099
	Speed = 25
1100
	ATTACK = false
1101
	Rooted = false
1102
end
1103
1104
function Launch()
1105
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1106
	if HITFLOOR then
1107
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15,3,15), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 138186576, SoundPitch = 1, SoundVolume = 2})
1108
		local P = PILLAR:Clone()
1109
		P.Color = HITFLOOR.Color
1110
		P.Material = HITFLOOR.Material
1111
		P.Parent = Effects
1112
		P.CFrame = CF(HITPOS-VT(0,4.5,0))
1113
		coroutine.resume(coroutine.create(function()
1114
			for i = 1, 6 do
1115
				Swait()
1116
				P.CFrame = P.CFrame * CF(0,0.9,0)
1117
			end
1118
			wait(1)
1119
			for i = 1, 45 do
1120
				Swait()
1121
				P.Transparency =P.Transparency + 1/45 
1122
			end
1123
			P:remove()
1124
		end))
1125
		RootPart.CFrame = RootPart.CFrame*CF(0,1,0)
1126
		RootPart.Velocity = VT(0,0,0)
1127
		local bv = Instance.new("BodyVelocity",RootPart) 
1128
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1129
		bv.velocity = CF(RootPart.Position,RootPart.Position+VT(0,100,0)).lookVector*350
1130
		Debris:AddItem(bv,0.1)
1131
	end
1132
end
1133
1134
function Ravage()
1135
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1136
	if HITFLOOR then
1137
		ATTACK = true
1138
		Rooted = false
1139
		for i=0, 0.3, 0.1 / Animation_Speed do
1140
			Swait()
1141
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1142
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
1143
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1144
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1145
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1146
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1147
		end
1148
		WaveParticles(RightArm.CFrame*CF(0,-1,0).p,4,C3(1,1,1))
1149
		Rooted = true
1150
		CreateSound(217767125, RightArm, 5, 1, false)
1151
		for i=0, 0.15, 0.1 / Animation_Speed do
1152
			Swait()
1153
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1154
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
1155
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1156
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1157
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1158
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1159
		end
1160
		local HOLD = true
1161
		coroutine.resume(coroutine.create(function()
1162
			repeat
1163
				Swait()
1164
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
1165
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
1166
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.2) * ANGLES(RAD(145), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1167
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1168
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1169
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1170
			until HOLD == false
1171
		end))
1172
		repeat
1173
			wait(0.3)
1174
			coroutine.resume(coroutine.create(function()
1175
				local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
1176
				if HITFLOOR then
1177
					if HITFLOOR.Anchored == true then
1178
						local ROCK = GetRock(HITFLOOR)
1179
						CreateSound(130972023, ROCK, 2, MRANDOM(8,12)/10, false)
1180
						ROCK.Size = VT(4,4,4)*(MRANDOM(8,12)/10)
1181
						ROCK.Core.Emit.Enabled = true
1182
						ROCK.CFrame = CF(HITPOS+VT(0,-6,0)) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
1183
						local POS = ROCK.CFrame*CF(0,12,0)
1184
						for i = 1, 25 do
1185
							ROCK.Anchored = true
1186
							Swait()
1187
							ROCK.CFrame = Clerp(ROCK.CFrame, POS, 0.8 / Animation_Speed)
1188
						end
1189
						ROCK.Core.Emit.Enabled = false
1190
						wait(0.3)
1191
						RockExplosion(ROCK,1)
1192
					end
1193
				end
1194
			end))
1195
		until KEYHOLD == false
1196
		wait(0.5)
1197
		HOLD = false
1198
		ATTACK = false
1199
		Rooted = false
1200
	end
1201
end
1202
1203
function Shield()
1204
	ATTACK = true
1205
	Rooted = false
1206
	local GYRO = IT("BodyGyro",RootPart)
1207
	GYRO.D = 2
1208
	GYRO.P = 2000
1209
	GYRO.MaxTorque = VT(40000000000,4000000,40000000000)
1210
	local GRAV = IT("BodyPosition",RootPart)
1211
	GRAV.D = 250
1212
	GRAV.P = 20000
1213
	GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
1214
	GRAV.Position = RootPart.Position
1215
	coroutine.resume(coroutine.create(function()
1216
		repeat
1217
			Swait()
1218
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1219
		until ATTACK == false
1220
		GYRO:Remove()
1221
		GRAV:Remove()
1222
	end))
1223
	for i=0, 0.3, 0.1 / Animation_Speed do
1224
		Swait()
1225
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
1226
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 1 / Animation_Speed)
1227
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1228
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1229
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1230
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1231
	end
1232
	local Defence = GetShield()
1233
	Defence.Size = VT(0,2,0)
1234
	Defence.Parent = Effects
1235
	Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
1236
	WaveParticles(Defence.Position,12,Defence.Color)
1237
	CreateSound(201858045, Defence, 2, MRANDOM(10,12)/10, false)
1238
	local FIX = Defence.AncestryChanged:Connect(function()
1239
		Defence.Parent = Effects
1240
	end)
1241
	for i = 1, 40 do
1242
		Swait()
1243
		Defence.Size = Defence.Size + VT(0.5,0,0.7)
1244
		Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
1245
	end
1246
	repeat
1247
		Swait()
1248
		Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
1249
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
1250
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 1 / Animation_Speed)
1251
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1252
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1253
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1254
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1255
	until KEYHOLD == false
1256
	FIX:Disconnect()
1257
	coroutine.resume(coroutine.create(function()
1258
		for i = 1, 40 do
1259
			Swait()
1260
			Defence.Size = Defence.Size - VT(0.5,0,0.7)
1261
		end
1262
		WaveParticles(Defence.Position,12,Defence.Color)
1263
		Defence:remove()
1264
	end))
1265
	ATTACK = false
1266
	Rooted = false
1267
end
1268
1269
function TwinMeteor()
1270
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
1271
	if HITFLOOR == nil then
1272
		ATTACK = true
1273
		Rooted = false
1274
		local GYRO = IT("BodyGyro",RootPart)
1275
		GYRO.D = 2
1276
		GYRO.P = 2000
1277
		GYRO.MaxTorque = VT(40000000000,4000000,40000000000)
1278
		local GRAV = IT("BodyPosition",RootPart)
1279
		GRAV.D = 250
1280
		GRAV.P = 20000
1281
		GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
1282
		GRAV.Position = RootPart.Position
1283
		coroutine.resume(coroutine.create(function()
1284
			repeat
1285
				Swait()
1286
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1287
			until ATTACK == false
1288
			GYRO:Remove()
1289
			GRAV:Remove()
1290
		end))
1291
		local CHARGED = false
1292
		coroutine.resume(coroutine.create(function()
1293
			repeat
1294
				Swait()
1295
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1296
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1297
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1298
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1299
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1300
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1301
			until CHARGED == true
1302
		end))
1303
		local ROCK1 = GetRock()
1304
		local ROCK2 = GetRock()
1305
		local VORTEX1 = script.Vortex:Clone()
1306
		local VORTEX2 = script.Vortex:Clone()
1307
		VORTEX1.Parent = ROCK1.Core
1308
		VORTEX2.Parent = ROCK2.Core
1309
		ROCK1.Core.Emit.Enabled = true
1310
		ROCK2.Core.Emit.Enabled = true
1311
		ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
1312
		ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1313
		CreateSound(1664710821, ROCK1, 10, MRANDOM(8,12)/10, false)
1314
		CreateSound(1664710821, ROCK2, 10, MRANDOM(8,12)/10, false)
1315
		for i = 1, 70 do
1316
			Swait()
1317
			ROCK1.Size = ROCK1.Size + VT(0.3,0.3,0.3)
1318
			ROCK2.Size = ROCK2.Size + VT(0.3,0.3,0.3)
1319
			ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
1320
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1321
			VORTEX1.Size = NumberSequence.new(ROCK1.Size.Y*2,0)
1322
			VORTEX2.Size = NumberSequence.new(ROCK1.Size.Y*2,0)
1323
			VORTEX1:Emit(1)
1324
			VORTEX2:Emit(1)
1325
		end
1326
		CHARGED = true
1327
		for i=0, 1, 0.1 / Animation_Speed do
1328
			Swait()
1329
			ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
1330
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1331
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1332
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1333
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1334
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1335
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1336
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1337
		end
1338
		for i=0, 0.5, 0.1 / Animation_Speed do
1339
			Swait()
1340
			ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
1341
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1342
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
1343
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
1344
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1345
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1346
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1347
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1348
		end
1349
		coroutine.resume(coroutine.create(function()
1350
			local Rock = ROCK1
1351
			WaveParticles(Rock.Position,30,C3(1,1,1))
1352
			CreateSound(134012322, Rock, 2, MRANDOM(10,12)/10, false)
1353
			for i = 1, 200 do
1354
				Swait()
1355
				Rock.CFrame = Rock.CFrame * CF(0,0,-3.2)
1356
				local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
1357
				if HIT then
1358
					RespondToImpact(HIT,Rock)
1359
					break
1360
				end
1361
			end
1362
			ApplyAoE(Rock.Position,ROCK.Size.Y,50,55,55,false)
1363
			for i = 1, 6 do
1364
				RockExplosion(Rock,1.5,true)
1365
				wait(1)
1366
			end
1367
			RockExplosion(Rock,1.5)
1368
		end))
1369
		for i=0, 1, 0.1 / Animation_Speed do
1370
			Swait()
1371
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1372
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
1373
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 1 / Animation_Speed)
1374
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1375
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1376
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1377
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1378
		end
1379
		for i=0, 0.5, 0.1 / Animation_Speed do
1380
			Swait()
1381
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1382
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1383
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
1384
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1385
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1386
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1387
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1388
		end
1389
		coroutine.resume(coroutine.create(function()
1390
			local Rock = ROCK2
1391
			WaveParticles(Rock.Position,30,C3(1,1,1))
1392
			CreateSound(134012322, Rock, 2, MRANDOM(10,12)/10, false)
1393
			for i = 1, 200 do
1394
				Swait()
1395
				Rock.CFrame = Rock.CFrame * CF(0,0,-3.2)
1396
				local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
1397
				if HIT then
1398
					RespondToImpact(HIT,Rock)
1399
					break
1400
				end
1401
			end
1402
			ApplyAoE(Rock.Position,ROCK.Size.Y,50,55,55,false)
1403
			for i = 1, 6 do
1404
				RockExplosion(Rock,1.5,true)
1405
				wait(1)
1406
			end
1407
			RockExplosion(Rock,1.5)
1408
		end))
1409
		for i=0, 1, 0.1 / Animation_Speed do
1410
			Swait()
1411
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
1412
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
1413
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1414
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(55), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1415
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1416
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1417
		end
1418
		ATTACK = false
1419
		Rooted = false
1420
	end
1421
end
1422
1423
function Spikes()
1424
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 12, Character)
1425
	if HITFLOOR then
1426
		ATTACK = true
1427
		Rooted = true
1428
		local GYRO = IT("BodyGyro",RootPart)
1429
		GYRO.D = 2
1430
		GYRO.P = 2000
1431
		GYRO.MaxTorque = VT(0,4000000,0)
1432
		coroutine.resume(coroutine.create(function()
1433
			repeat
1434
				Swait()
1435
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1436
			until ATTACK == false
1437
			GYRO:Remove()
1438
		end))
1439
		for i=0, 1, 0.1 / Animation_Speed do
1440
			Swait()
1441
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
1442
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
1443
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1444
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1445
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1446
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1447
		end
1448
		for i=0, 0.25, 0.1 / Animation_Speed do
1449
			Swait()
1450
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1451
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1452
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1453
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1454
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1455
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1456
		end
1457
		CreateSound(165970126, RightLeg, 1, MRANDOM(13,15)/10, false)
1458
		WaveParticles(RightLeg.CFrame*CF(0,-1,0).p,15,C3(1,1,1))
1459
		coroutine.resume(coroutine.create(function()
1460
			local CFRAME = RootPart.CFrame*CF(0,-3,0)
1461
			for i = 1, 60 do
1462
				Swait()
1463
				local SPIKE = GetSpike(HITFLOOR)
1464
				SPIKE.CFrame = CFRAME*CF(0,-11,-i*2)
1465
				ApplyAoE(CFRAME*CF(0,0,-i*2).p,4,10,35,15,false)
1466
				coroutine.resume(coroutine.create(function()
1467
					local POS = SPIKE.CFrame*CF(0,11,0)
1468
					for i = 1, 25 do
1469
						Swait()
1470
						SPIKE.CFrame = Clerp(SPIKE.CFrame, POS, 0.8 / Animation_Speed)
1471
					end
1472
					wait(0.2)
1473
					for i = 1, 45 do
1474
						Swait()
1475
						SPIKE.Transparency = SPIKE.Transparency + 1/45
1476
						SPIKE.CFrame = SPIKE.CFrame * CF(0,-2/15,0)
1477
					end
1478
					SPIKE:remove()
1479
				end))
1480
			end
1481
		end))
1482
		wait(0.3)
1483
		ATTACK = false
1484
		Rooted = false
1485
	end
1486
end
1487
1488
function TakeOnMe()
1489
	Speed = 5
1490
	local MEME = CreateSound(288703954, Effects, 2, 1, false)
1491
	ATTACK = true
1492
	Rooted = false
1493
	local DANCE = true
1494
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
1495
		if NEWKEY == "p" then
1496
			DANCE = false
1497
		end
1498
	end)
1499
	PLAYSONG = false
1500
	while true do
1501
		for i = 1, 15 do
1502
			Swait()
1503
			MEME.Parent = Effects
1504
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1505
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1506
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1507
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1508
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1509
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1510
		end
1511
		if DANCE == false then
1512
			break
1513
		end
1514
		for i = 1, 15 do
1515
			Swait()
1516
			MEME.Parent = Effects
1517
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1518
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1519
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1520
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1521
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1522
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1523
		end
1524
	end
1525
	PLAYSONG = true
1526
	KEY:Disconnect()
1527
	MEME:remove()
1528
	Speed = 25
1529
	ATTACK = false
1530
	Rooted = false
1531
end
1532
1533
function Noclip()
1534
	ATTACK = true
1535
	Rooted = true
1536
	UNANCHOR = false
1537
	RootPart.Anchored = true
1538
	local CLIPPING = true
1539
	local MOVEMENT = nil
1540
	CreateSound(96098241, Torso, 3, MRANDOM(9,12)/10, false)
1541
	for i = 1, 50 do
1542
		Swait()
1543
		EXTRATRANS = EXTRATRANS + 0.5/50
1544
		RootPart.CFrame = RootPart.CFrame * CF(0,(1-(i/50))/4.3,0)
1545
		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)
1546
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1547
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1548
		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)
1549
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1550
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1551
	end
1552
	local AURA = CreateSound(1393698948, Torso, 3, 1, true)
1553
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
1554
		if NEWKEY == "w" then
1555
			MOVEMENT = "Forward"
1556
			repeat
1557
				Swait()
1558
				RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.2)
1559
			until KEYHOLD == false
1560
		elseif NEWKEY == "s" then
1561
			MOVEMENT = "Backwards"
1562
			repeat
1563
				Swait()
1564
				RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
1565
			until KEYHOLD == false
1566
		elseif NEWKEY == "a" then
1567
			MOVEMENT = "Strafe"
1568
			repeat
1569
				Swait()
1570
				RootPart.CFrame = RootPart.CFrame * CF(0.2,0,0)
1571
			until KEYHOLD == false
1572
		elseif NEWKEY == "d" then
1573
			MOVEMENT = "Strafe"
1574
			repeat
1575
				Swait()
1576
				RootPart.CFrame = RootPart.CFrame * CF(-0.2,0,0)
1577
			until KEYHOLD == false
1578
		elseif NEWKEY == "y" then
1579
			CLIPPING = false
1580
		end
1581
		MOVEMENT = nil
1582
	end)
1583
	local LOOP = 0
1584
	repeat
1585
		Swait()
1586
		AURA.Parent = Torso
1587
		LOOP = LOOP + 1
1588
		if LOOP >= 15 then
1589
			LOOP = 0
1590
			WaveParticles(Torso.Position,15,C3(1,1,1))
1591
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.5,0).p), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1592
		end
1593
		if MOVEMENT == nil then
1594
			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)
1595
			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)
1596
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1597
			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)
1598
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1599
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1600
		elseif MOVEMENT == "Forward" then
1601
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1602
			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)
1603
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1604
			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)
1605
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1606
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1607
		elseif MOVEMENT == "Backwards" then
1608
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
1609
			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)
1610
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1611
			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)
1612
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1613
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1614
		elseif MOVEMENT == "Strafe" then
1615
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
1616
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1617
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1618
			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)
1619
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1620
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1621
		end
1622
	until CLIPPING == false
1623
	KEY:Disconnect()
1624
	coroutine.resume(coroutine.create(function()
1625
		for i = 1, 20 do
1626
			Swait()
1627
			AURA.Volume = AURA.Volume - 3/20
1628
		end
1629
		AURA:remove()
1630
	end))
1631
	CreateSound(814168787, Torso, 1, MRANDOM(9,12)/10, false)
1632
	for i = 1, 50 do
1633
		Swait()
1634
		EXTRATRANS = EXTRATRANS - 0.5/50
1635
		RootPart.CFrame = RootPart.CFrame * CF(0,-(1-(i/50))/4.3,0)
1636
		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)
1637
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1638
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1639
		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)
1640
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1641
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1642
	end
1643
	EXTRATRANS = 0
1644
	UNANCHOR = true
1645
	ATTACK = false
1646
	Rooted = false
1647
end
1648
1649
function Taunt()
1650
	ATTACK = true
1651
	Rooted = true
1652
	local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
1653
	repeat
1654
		Swait()
1655
		TAUNT.Parent = Torso
1656
		TAUNT.Playing = true
1657
		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)
1658
		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)
1659
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1660
		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)
1661
		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)
1662
		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)
1663
	until TAUNT.TimePosition >= 1.25
1664
	for i=0, 1.6, 0.1 / Animation_Speed do
1665
		Swait()
1666
		TAUNT.Parent = Torso
1667
		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)
1668
		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)
1669
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1670
		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)
1671
		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)
1672
		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)
1673
	end
1674
	ATTACK = false
1675
	Rooted = false
1676
end
1677
1678
--//=================================\\
1679
--||	  ASSIGN THINGS TO KEYS
1680
--\\=================================//
1681
1682
function MouseDown(Mouse)
1683
	if ATTACK == false then
1684
	end
1685
end
1686
1687
function MouseUp(Mouse)
1688
HOLD = false
1689
end
1690
1691
function KeyDown(Key)
1692
	KEYHOLD = true
1693
	if Key == "z" and ATTACK == false then
1694
		Bullet()
1695
	end
1696
1697
	if Key == "b" and ATTACK == false then
1698
		Melee()
1699
	end
1700
1701
	if Key == "c" and ATTACK == false then
1702
		Launch()
1703
	end
1704
1705
	if Key == "v" and ATTACK == false then
1706
		Ravage()
1707
	end
1708
1709
	if Key == "e" and ATTACK == false then
1710
		Shield()
1711
	end
1712
1713
	if Key == "q" and ATTACK == false then
1714
		Spikes()
1715
	end
1716
1717
	if Key == "x" and ATTACK == false then
1718
		TwinMeteor()
1719
	end
1720
1721
	if Key == "y" and ATTACK == false then
1722
		Noclip()
1723
	end
1724
1725
	if Key == "p" and ATTACK == false then
1726
		TakeOnMe()
1727
	end
1728
1729
	if Key == "t" and ATTACK == false then
1730
		Taunt()
1731
	end
1732
1733
	if Key == "]" and ATTACK == false then
1734
		if PLAYSONG == true then
1735
			PLAYSONG = false
1736
		else
1737
			PLAYSONG = true
1738
		end
1739
	end
1740
end
1741
1742
function KeyUp(Key)
1743
	KEYHOLD = false
1744
end
1745
1746
	Mouse.Button1Down:connect(function(NEWKEY)
1747
		MouseDown(NEWKEY)
1748
	end)
1749
	Mouse.Button1Up:connect(function(NEWKEY)
1750
		MouseUp(NEWKEY)
1751
	end)
1752
	Mouse.KeyDown:connect(function(NEWKEY)
1753
		KeyDown(NEWKEY)
1754
	end)
1755
	Mouse.KeyUp:connect(function(NEWKEY)
1756
		KeyUp(NEWKEY)
1757
	end)
1758
1759
--//=================================\\
1760
--\\=================================//
1761
1762
function AntiTimeStop()
1763
	for _, c in pairs(Character:GetChildren()) do
1764
		if c:IsA("BasePart") and c ~= RootPart then
1765
			c.Anchored = false
1766
		end
1767
	end
1768
	if UNANCHOR == true then
1769
		RootPart.Anchored = false
1770
	else
1771
		RootPart.Anchored = true
1772
	end
1773
end
1774
1775
--//=================================\\
1776
--||	WRAP THE WHOLE SCRIPT UP
1777
--\\=================================//
1778
1779
Humanoid.Changed:connect(function(Jump)
1780
	if Jump == "Jump" and (Disable_Jump == true) then
1781
		Humanoid.Jump = false
1782
	end
1783
end)
1784
1785
while true do
1786
	Swait()
1787
	Head:ClearAllChildren()
1788
	script.Parent = WEAPONGUI
1789
	ANIMATE.Parent = nil
1790
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1791
	    v:Stop();
1792
	end
1793
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1794
		Humanoid = IT("Humanoid",Character)
1795
	end
1796
	SINE = SINE + CHANGE
1797
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1798
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1799
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1800
	local WALKSPEEDVALUE = 4
1801
	Neck.C1 = Clerp(Neck.C1, CF(0, 0, 0.03) * ANGLES(RAD(90), RAD(180), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(180)) , 1 / Animation_Speed)
1802
	if ANIM == "Walk" and TORSOVELOCITY > 1 and PLAYSONG == true  then
1803
		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)
1804
		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)
1805
		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(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1806
		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(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1807
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or PLAYSONG == false then
1808
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1809
		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)
1810
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1811
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1812
	end
1813
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1814
		ANIM = "Jump"
1815
		if ATTACK == false then
1816
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1817
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1818
			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)
1819
			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)
1820
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1821
			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)
1822
		end
1823
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1824
		ANIM = "Fall"
1825
		if ATTACK == false then
1826
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1827
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1828
			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)
1829
			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)
1830
			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)
1831
			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)
1832
		end
1833
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1834
		ANIM = "Idle"
1835
		if ATTACK == false then
1836
			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)
1837
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1838
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1839
			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)
1840
			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)
1841
			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)
1842
		end
1843
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1844
		ANIM = "Walk"
1845
		if ATTACK == false then
1846
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1847
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1848
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1849
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1850
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1851
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1852
		end
1853
	end
1854
	for _, c in pairs(Character:GetChildren()) do
1855
		if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1856
			c:remove()
1857
		end
1858
	end
1859
	AntiTimeStop()
1860
	Humanoid.MaxHealth = 10e10
1861
	Humanoid.Health = 10e10
1862
	if Rooted == false then
1863
		Disable_Jump = false
1864
		Humanoid.WalkSpeed = Speed
1865
	elseif Rooted == true then
1866
		Disable_Jump = true
1867
		Humanoid.WalkSpeed = 0
1868
	end
1869
	for E = 1, #TAIL do
1870
		TAIL[E].C1 = Clerp(TAIL[E].C1,CF(0, 0, 0) * ANGLES(RAD(5-1 * SIN(SINE / 12)), RAD(-2 * COS(SINE / 24)), RAD(4 * SIN(SINE / 24))), 1 / Animation_Speed)
1871
	end
1872
	sick.SoundId = "rbxassetid://157460916"
1873
	sick.Looped = true
1874
	sick.Pitch = 1
1875
	sick.Volume = 2
1876
	sick.Parent = Effects
1877
	sick.Playing = PLAYSONG
1878
	Humanoid.PlatformStand = false
1879
	Humanoid.Name = "I am the god of earth"
1880
	refit()
1881
	if Character:FindFirstChild("Pants") == nil then
1882
		script.Pants:Clone().Parent = Character
1883
	end
1884
	if Character:FindFirstChild("Shirt") == nil then
1885
		script.Shirt:Clone().Parent = Character
1886
	end
1887
	for _, c in pairs(Character:GetChildren()) do
1888
		if c:IsA("BasePart") and ATTACK == false then
1889
			for _, e in pairs(c:GetChildren()) do
1890
				if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
1891
					e:remove()
1892
				end
1893
			end
1894
		end
1895
	end
1896
end
1897
1898
--//=================================\\
1899
--\\=================================//
1900
1901
1902
1903
1904
1905
--//====================================================\\--
1906
--||			  		 END OF SCRIPT
1907
--\\====================================================//--
1908
end))
1909
UnionOperation2.Name = "Collar"
1910
UnionOperation2.Parent = LocalScript1
1911
UnionOperation2.CFrame = CFrame.new(6.60000801, 46.7082901, -7.50001097, 1, 0, 0, 0, 0, -1, 0, 1, 0)
1912
UnionOperation2.Orientation = Vector3.new(90, 0, 0)
1913
UnionOperation2.Position = Vector3.new(6.60000801, 46.7082901, -7.50001097)
1914
UnionOperation2.Rotation = Vector3.new(90, 0, 0)
1915
UnionOperation2.Color = Color3.new(0.639216, 0.635294, 0.647059)
1916
UnionOperation2.Velocity = Vector3.new(0, -16.3500004, 0)
1917
UnionOperation2.Size = Vector3.new(2.06001234, 2.06001496, 0.200000063)
1918
UnionOperation2.BrickColor = BrickColor.new("Medium stone grey")
1919
UnionOperation2.CanCollide = false
1920
UnionOperation2.Locked = true
1921
UnionOperation2.Material = Enum.Material.Metal
1922
UnionOperation2.brickColor = BrickColor.new("Medium stone grey")
1923
UnionOperation3.Name = "Eye"
1924
UnionOperation3.Parent = LocalScript1
1925
UnionOperation3.CFrame = CFrame.new(6.80000782, 44.6407394, -13.5000257, 1, -3.19743418e-13, 1.07282686e-13, -3.19743418e-13, 0.999994636, -1.67703539e-26, 1.07282686e-13, -1.67703539e-26, 0.999994636)
1926
UnionOperation3.Position = Vector3.new(6.80000782, 44.6407394, -13.5000257)
1927
UnionOperation3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1928
UnionOperation3.Size = Vector3.new(2, 2, 2.07000494)
1929
UnionOperation3.Anchored = true
1930
UnionOperation3.BrickColor = BrickColor.new("Really black")
1931
UnionOperation3.CanCollide = false
1932
UnionOperation3.Locked = true
1933
UnionOperation3.Material = Enum.Material.SmoothPlastic
1934
UnionOperation3.brickColor = BrickColor.new("Really black")
1935
MeshPart4.Name = "Hood"
1936
MeshPart4.Parent = LocalScript1
1937
MeshPart4.CFrame = CFrame.new(6.80000782, 43.9254341, -13.4600182, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1938
MeshPart4.Position = Vector3.new(6.80000782, 43.9254341, -13.4600182)
1939
MeshPart4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1940
MeshPart4.Velocity = Vector3.new(0, -16.3500023, 0)
1941
MeshPart4.Size = Vector3.new(2.91887903, 2.39406967, 2.89092922)
1942
MeshPart4.BrickColor = BrickColor.new("Really black")
1943
MeshPart4.CanCollide = false
1944
MeshPart4.CustomPhysicalProperties = 0.00999999978, 0, 0, 0, 0
1945
MeshPart4.Locked = true
1946
MeshPart4.Material = Enum.Material.SmoothPlastic
1947
MeshPart4.brickColor = BrickColor.new("Really black")
1948
UnionOperation5.Parent = MeshPart4
1949
UnionOperation5.CFrame = CFrame.new(6.80000877, 42.7753944, -13.1603947, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1950
UnionOperation5.Position = Vector3.new(6.80000877, 42.7753944, -13.1603947)
1951
UnionOperation5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1952
UnionOperation5.Velocity = Vector3.new(0, -16.3500023, 0)
1953
UnionOperation5.Size = Vector3.new(1.89999914, 0.100013733, 1.20075035)
1954
UnionOperation5.BrickColor = BrickColor.new("Really black")
1955
UnionOperation5.CanCollide = false
1956
UnionOperation5.Locked = true
1957
UnionOperation5.Material = Enum.Material.SmoothPlastic
1958
UnionOperation5.brickColor = BrickColor.new("Really black")
1959
Weld6.Name = "Joint"
1960
Weld6.Parent = MeshPart4
1961
Weld6.C0 = CFrame.new(-9.53674316e-07, 1.15003967, -0.299623489, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1962
Weld6.Part0 = UnionOperation5
1963
Weld6.Part1 = MeshPart4
1964
Weld6.part1 = MeshPart4
1965
ParticleEmitter7.Name = "Wave"
1966
ParticleEmitter7.Parent = LocalScript1
1967
ParticleEmitter7.Speed = NumberRange.new(0, 0)
1968
ParticleEmitter7.Rotation = NumberRange.new(-180, 180)
1969
ParticleEmitter7.Enabled = false
1970
ParticleEmitter7.LightEmission = 1
1971
ParticleEmitter7.Texture = "rbxassetid://1084991215"
1972
ParticleEmitter7.Transparency = NumberSequence.new(0,0.39344263076782,0.66120219230652,0.83606559038162,1)
1973
ParticleEmitter7.ZOffset = 1
1974
ParticleEmitter7.Size = NumberSequence.new(0,0)
1975
ParticleEmitter7.Lifetime = NumberRange.new(0.30000001192093, 0.30000001192093)
1976
ParticleEmitter7.Rate = 1
1977
MeshPart8.Name = "Rock"
1978
MeshPart8.Parent = LocalScript1
1979
MeshPart8.CFrame = CFrame.new(4.78514624, 44.4145737, -17.2287712, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1980
MeshPart8.Position = Vector3.new(4.78514624, 44.4145737, -17.2287712)
1981
MeshPart8.Size = Vector3.new(2.02970004, 1.97820997, 2.05747986)
1982
MeshPart8.Anchored = true
1983
MeshPart8.CanCollide = false
1984
MeshPart8.Locked = true
1985
ParticleEmitter9.Name = "Emit"
1986
ParticleEmitter9.Parent = mas
1987
ParticleEmitter9.Speed = NumberRange.new(0, 35)
1988
ParticleEmitter9.Rotation = NumberRange.new(0, 360)
1989
ParticleEmitter9.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118),Color3.new(0.423529, 0.345098, 0.294118))
1990
ParticleEmitter9.Enabled = false
1991
ParticleEmitter9.Texture = "rbxassetid://281633012"
1992
ParticleEmitter9.Transparency = NumberSequence.new(1,0.75409835577011,0,0)
1993
ParticleEmitter9.Size = NumberSequence.new(3,3.0601096153259,2.1311478614807,0)
1994
ParticleEmitter9.Acceleration = Vector3.new(0, -15, 0)
1995
ParticleEmitter9.Lifetime = NumberRange.new(1, 4)
1996
ParticleEmitter9.RotSpeed = NumberRange.new(-25, 25)
1997
ParticleEmitter9.SpreadAngle = Vector2.new(360, 360)
1998
ParticleEmitter9.VelocitySpread = 360
1999
ParticleEmitter10.Name = "Emit"
2000
ParticleEmitter10.Parent = LocalScript1
2001
ParticleEmitter10.Speed = NumberRange.new(0, 35)
2002
ParticleEmitter10.Rotation = NumberRange.new(0, 360)
2003
ParticleEmitter10.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118),Color3.new(0.423529, 0.345098, 0.294118))
2004
ParticleEmitter10.Enabled = false
2005
ParticleEmitter10.Texture = "rbxassetid://281633012"
2006
ParticleEmitter10.Transparency = NumberSequence.new(1,0.75409835577011,0,0)
2007
ParticleEmitter10.Size = NumberSequence.new(1,0)
2008
ParticleEmitter10.Acceleration = Vector3.new(0, -15, 0)
2009
ParticleEmitter10.Lifetime = NumberRange.new(1, 4)
2010
ParticleEmitter10.RotSpeed = NumberRange.new(-25, 25)
2011
ParticleEmitter10.SpreadAngle = Vector2.new(360, 360)
2012
ParticleEmitter10.VelocitySpread = 360
2013
UnionOperation11.Name = "Pillar"
2014
UnionOperation11.Parent = LocalScript1
2015
UnionOperation11.CFrame = CFrame.new(11.3000021, 47.423584, -17.6000175, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2016
UnionOperation11.Position = Vector3.new(11.3000021, 47.423584, -17.6000175)
2017
UnionOperation11.Color = Color3.new(0.639216, 0.635294, 0.647059)
2018
UnionOperation11.Size = Vector3.new(3, 8.00001526, 3)
2019
UnionOperation11.Anchored = true
2020
UnionOperation11.BrickColor = BrickColor.new("Medium stone grey")
2021
UnionOperation11.CanCollide = false
2022
UnionOperation11.Material = Enum.Material.SmoothPlastic
2023
UnionOperation11.brickColor = BrickColor.new("Medium stone grey")
2024
UnionOperation11.UsePartColor = true
2025
MeshPart12.Name = "Shield"
2026
MeshPart12.Parent = LocalScript1
2027
MeshPart12.CFrame = CFrame.new(4.78514624, 43.5792542, -17.2287712, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2028
MeshPart12.Position = Vector3.new(4.78514624, 43.5792542, -17.2287712)
2029
MeshPart12.Size = Vector3.new(1.38995004, 0.407837987, 1.91620004)
2030
MeshPart12.Anchored = true
2031
MeshPart12.Locked = true
2032
UnionOperation13.Name = "RockSpike"
2033
UnionOperation13.Parent = LocalScript1
2034
UnionOperation13.CFrame = CFrame.new(12.8000021, 53.4236221, -20.1000175, 1, 0, 0, 0, -1, 0, 0, 0, -1)
2035
UnionOperation13.Orientation = Vector3.new(0, 180, 180)
2036
UnionOperation13.Position = Vector3.new(12.8000021, 53.4236221, -20.1000175)
2037
UnionOperation13.Rotation = Vector3.new(-180, 0, 0)
2038
UnionOperation13.Color = Color3.new(0.423529, 0.345098, 0.294118)
2039
UnionOperation13.Size = Vector3.new(4, 20, 4)
2040
UnionOperation13.Anchored = true
2041
UnionOperation13.BrickColor = BrickColor.new("Pine Cone")
2042
UnionOperation13.CanCollide = false
2043
UnionOperation13.Material = Enum.Material.Slate
2044
UnionOperation13.brickColor = BrickColor.new("Pine Cone")
2045
UnionOperation13.UsePartColor = true
2046
UnionOperation14.Name = "SpinePart"
2047
UnionOperation14.Parent = LocalScript1
2048
UnionOperation14.CFrame = CFrame.new(-48.2499809, 43.5735779, -6.70000792, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2049
UnionOperation14.Position = Vector3.new(-48.2499809, 43.5735779, -6.70000792)
2050
UnionOperation14.Color = Color3.new(0.972549, 0.972549, 0.972549)
2051
UnionOperation14.Size = Vector3.new(0.300003052, 0.300010681, 0.599998474)
2052
UnionOperation14.Anchored = true
2053
UnionOperation14.CanCollide = false
2054
UnionOperation14.Locked = true
2055
UnionOperation14.Material = Enum.Material.SmoothPlastic
2056
ParticleEmitter15.Name = "Vortex"
2057
ParticleEmitter15.Parent = LocalScript1
2058
ParticleEmitter15.Speed = NumberRange.new(0, 0)
2059
ParticleEmitter15.Rotation = NumberRange.new(0, 360)
2060
ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118),Color3.new(0.423529, 0.345098, 0.294118))
2061
ParticleEmitter15.Enabled = false
2062
ParticleEmitter15.LightEmission = 1
2063
ParticleEmitter15.Texture = "rbxassetid://1084969997"
2064
ParticleEmitter15.Transparency = NumberSequence.new(1,0.5,0.5)
2065
ParticleEmitter15.ZOffset = -2
2066
ParticleEmitter15.Size = NumberSequence.new(0,0)
2067
ParticleEmitter15.Lifetime = NumberRange.new(1, 1)
2068
ParticleEmitter15.LockedToPart = true
2069
ParticleEmitter15.Rate = 0
2070
ParticleEmitter15.RotSpeed = NumberRange.new(360, 360)
2071
Pants16.Name = "Pants"
2072
Pants16.Parent = LocalScript1
2073
Pants16.PantsTemplate = "http://www.roblox.com/asset/?id=1614573917"
2074
Shirt17.Name = "Shirt"
2075
Shirt17.Parent = LocalScript1
2076
Shirt17.ShirtTemplate = "http://www.roblox.com/asset/?id=1604092628"
2077
for i,v in pairs(mas:GetChildren()) do
2078
	v.Parent = game:GetService("Players").LocalPlayer.Character
2079
	pcall(function() v:MakeJoints() end)
2080
end
2081
mas:Destroy()
2082
for i,v in pairs(cors) do
2083
	spawn(function()
2084
		pcall(v)
2085
	end)
2086
end