View difference between Paste ID: QP4FtV4a and tvXWPMUr
SHOW: | | - or go back to the newest paste.
1
-------------------||
2
--------------------\\
3
--||||||||||]]]]]]]]]\\
4
---------------------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
5
--EDIT BY INFINITEONEWITHDANK NAME OF SCRIPT: TERRA WARRIOR PROTECTOR OF THE PLANET EARTH|]]>>
6
---------------------////////////////////////////////////////////////////////////////////////
7
--||||||||||]]]]]]]]]//
8
--------------------//
9
-------------------||
10-
local Player = game:GetService("Players").nutta1258
10+
local Player = game:GetService("Players").silver22352
11
local Mouse,mouse,UserInputService,ContextActionService
12
do
13
	script.Parent = Player.Character
14
	local CAS = {Actions={}}
15
	local Event = Instance.new("RemoteEvent")
16
	Event.Name = "UserInput_Event"
17
	Event.Parent = Player.Character
18
	local fakeEvent = function()
19
		local t = {_fakeEvent=true}
20
		t.Connect = function(self,f)self.Function=f end
21
		t.connect = t.Connect
22
		return t
23
	end
24
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
25
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
26
	function CAS:BindAction(name,fun,touch,...)
27
		CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
28
	end
29
	function CAS:UnbindAction(name)
30
		CAS.Actions[name] = nil
31
	end
32
	local function te(self,ev,...)
33
		local t = m[ev]
34
		if t and t._fakeEvent and t.Function then
35
			t.Function(...)
36
		end
37
	end
38
	m.TrigEvent = te
39
	UIS.TrigEvent = te
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
46
	        if io.UserInputState == Enum.UserInputState.Begin then
47
				m:TrigEvent("Button1Down")
48
			else
49
				m:TrigEvent("Button1Up")
50
			end
51
		else
52
			for n,t in pairs(CAS.Actions) do
53
				for _,k in pairs(t.Keys) do
54
					if k==io.KeyCode then
55
						t.Function(t.Name,io.UserInputState,io)
56
					end
57
				end
58
			end
59
	        if io.UserInputState == Enum.UserInputState.Begin then
60
	            m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
61
				UIS:TrigEvent("InputBegan",io,false)
62
			else
63
				m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
64
				UIS:TrigEvent("InputEnded",io,false)
65
	        end
66
	    end
67
	end)
68
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
69
	end
70
71
wait(0.2)
72
73
print("Edited By InfiniteOneWithdank")
74
print("Maybe Updates In The Future")
75
warn("I will not let no one destroy my only home for i must protect it")
76
77-
Player = game:GetService("Players").InfiniteOneWithdank
77+
Player = game:GetService("Players").silver22352
78
PlayerGui = Player.PlayerGui
79
Cam = workspace.CurrentCamera
80
Backpack = Player.Backpack
81
Character = Player.Character
82
Humanoid = Character.Humanoid
83
RootPart = Character.HumanoidRootPart
84
Torso = Character.Torso
85
Head = Character.Head
86
RightArm = Character["Right Arm"]
87
LeftArm = Character["Left Arm"]
88
RightLeg = Character["Right Leg"]
89
LeftLeg = Character["Left Leg"]
90
RootJoint = RootPart.RootJoint
91
Neck = Torso.Neck
92
RightShoulder = Torso["Right Shoulder"]
93
LeftShoulder = Torso["Left Shoulder"]
94
RightHip = Torso["Right Hip"]
95
LeftHip = Torso["Left Hip"]
96-
local p = game:GetService("Players").InfiniteOneWithdank
96+
local p = game:GetService("Players").silver22352
97-
local plr = game:GetService("Players").InfiniteOneWithdank
97+
local plr = game:GetService("Players").silver22352
98-
local player = game:GetService("Players").InfiniteOneWithdank
98+
local player = game:GetService("Players").silver22352
99
local char = p.Character
100
local larm = char:WaitForChild("Left Arm")
101
local rarm = char:WaitForChild("Right Arm")
102
local lleg = char:WaitForChild("Left Leg")
103
local rleg = char:WaitForChild("Right Leg")
104
local hed = char:WaitForChild("Head")
105
local torso = char:WaitForChild("Torso")
106
local root = char:WaitForChild("HumanoidRootPart")
107
local hum = char:FindFirstChildOfClass("Humanoid")
108
local debris = game:GetService("Debris")
109
local run = game:GetService("RunService")
110
local rs = run.RenderStepped
111
local cam = workspace.CurrentCamera
112
local DAMAGEMULTIPLIER = 1
113
local sick = Instance.new("Sound",Character)
114
sick.SoundId = "rbxassetid://1255569288"
115
sick.Looped = true
116
sick.Pitch = 1
117
sick.Volume = 5
118
sick:Play()
119
120
IT = Instance.new
121
CF = CFrame.new
122
VT = Vector3.new
123
RAD = math.rad
124
C3 = Color3.new
125
UD2 = UDim2.new
126
BRICKC = BrickColor.new
127
ANGLES = CFrame.Angles
128
EULER = CFrame.fromEulerAnglesXYZ
129
COS = math.cos
130
ACOS = math.acos
131
SIN = math.sin
132
ASIN = math.asin
133
ABS = math.abs
134
MRANDOM = math.random
135
FLOOR = math.floor
136
local PLAYMAINANIM = true
137
138
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
139
	local NEWMESH = IT(MESH)
140
	if MESH == "SpecialMesh" then
141
		NEWMESH.MeshType = MESHTYPE
142
		if MESHID ~= "nil" and MESHID ~= "" then
143
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
144
		end
145
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
146
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
147
		end
148
	end
149
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
150
	NEWMESH.Scale = SCALE
151
	NEWMESH.Parent = PARENT
152
	return NEWMESH
153
end
154
155
local AT1 = IT("Attachment",RightArm)
156
AT1.Position = VT(0,-1.15,0)
157
local AT2 = IT("Attachment",LeftArm)
158
AT2.Position = VT(0,-1.15,0)
159
160
Humanoid.HealthChanged:connect(function()
161
	if Humanoid.Health ~= "inf" then
162
		Humanoid.Health = "inf"
163
	end
164
	if Humanoid.MaxHealth ~= "inf" then
165
		Humanoid.MaxHealth = "inf"
166
	end
167
end)
168
169
local EyeSizes={
170
	NumberSequenceKeypoint.new(0,1.2,0),
171
	NumberSequenceKeypoint.new(1,0,0)
172
}
173
local EyeTrans={
174
	NumberSequenceKeypoint.new(0,0.8,0),
175
	NumberSequenceKeypoint.new(1,1,0)
176
}
177
178
local PE=Instance.new("ParticleEmitter")
179
PE.Speed = NumberRange.new(2, 3)
180
PE.Rotation = NumberRange.new(-180, 180)
181
PE.Color = ColorSequence.new(Color3.new(1, 0.72549, 0.482353),Color3.new(1, 0.72549, 0.482353))
182
PE.LightEmission = 0.5
183
PE.Texture = "http://www.roblox.com/asset/?id=301261210"
184
PE.Transparency = NumberSequence.new(1,0,0,1)
185
PE.Size = NumberSequence.new(0,0.075000002980232,0.025000000372529)
186
PE.Acceleration = Vector3.new(0, 2.5, 0)
187
PE.Lifetime = NumberRange.new(1, 3)
188
PE.Rate = 50
189
PE.SpreadAngle = Vector2.new(22.5, 22.5)
190
PE.VelocitySpread = 22.5
191
192
local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
193
local ENERGYDISPERSE = {"2013169887","2013169887"}
194
local PRESSURERELEASE = {"401056199"}
195
local TERRAWRATH = {"824687369"}
196
197
function particles(art)
198
local o = PE:Clone()
199
o.Parent = art
200
o.Enabled = true
201
return o
202
end
203
204
particles(AT1)
205
particles(AT2)
206
207
208
local AT3 = IT("Attachment",RightArm)
209
AT1.Position = VT(0,-1.15,0)
210
local AT4 = IT("Attachment",LeftArm)
211
AT2.Position = VT(0,-1.15,0)
212
213
local PE2=Instance.new("ParticleEmitter")
214
PE2.Speed = NumberRange.new(5, 7)
215
PE2.Rotation = NumberRange.new(4, 9)
216
PE2.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
217
PE2.LightEmission = 0.86000001430511
218
PE2.Texture = "http://www.roblox.com/asset/?id=248625108"
219
PE2.Transparency = NumberSequence.new(0,0.54374998807907,0.73749995231628,0,0.72500002384186,0.45625001192093,0.63749998807907,0,0.52499997615814,0)
220
PE2.Size = NumberSequence.new(3.3125,2.8125,2.6875,2.5624995231628,2.3125,2.1875,1.7500001192093,0.43749988079071,0.12499988079071)
221
PE2.Acceleration = Vector3.new(1, 6, 0)
222
PE2.Lifetime = NumberRange.new(0, 1)
223
PE2.Rate = 70
224
PE2.RotSpeed = NumberRange.new(5, 9)
225
PE2.SpreadAngle = Vector2.new(28, 28)
226
PE2.VelocitySpread = 28
227
228
229
function particles(art)
230
local o = PE2:Clone()
231
o.Parent = art
232
o.Enabled = true
233
return o
234
end
235
236
237
particles(AT3)
238
particles(AT4)
239
-----------------------------------
240
241-
Player = game.Players.InfiniteOneWithdank
241+
Player = game.Players.silver22352
242
	Character = Player.Character
243
	local txt = Instance.new("BillboardGui", Character)
244
	txt.Adornee = Character.Head
245
	txt.Name = "_status"
246
	txt.Size = UDim2.new(2, 0, 1.2, 0)
247
	txt.StudsOffset = Vector3.new(-9, 8, 0)
248
	local text = Instance.new("TextLabel", txt)
249
	text.Size = UDim2.new(10, 0, 7, 0)
250
	text.FontSize = "Size24"
251
	text.TextScaled = true
252
	text.TextTransparency = 0
253
	text.BackgroundTransparency = 1 
254
	text.TextTransparency = 0
255
	text.TextStrokeTransparency = 0
256
	text.Font = "Bodoni"
257
	text.TextStrokeColor3 = Color3.new(0,.7,0)
258
        text.Text = "Terra Warrior"
259
260
function ApplyDamage(Humanoid, Damage, TorsoPart)
261
	local defence = Instance.new("BoolValue", Humanoid.Parent)
262
	defence.Name = "HitBy" .. Player.Name
263
	game:GetService("Debris"):AddItem(defence, 0.001)
264
	Damage = Damage * DAMAGEMULTIPLIER
265
	if Humanoid.Health ~= 0 then
266
		local CritChance = MRANDOM(1, 100)
267
		if Damage > Humanoid.Health then
268
			Damage = math.ceil(Humanoid.Health)
269
			if Damage == 0 then
270
				Damage = 0.1
271
			end
272
		end
273
		Humanoid.Health = Humanoid.Health - Damage
274
		StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
275
	end
276
end
277
278
function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
279
	local CHILDREN = workspace:GetDescendants()
280
	for index, CHILD in pairs(CHILDREN) do
281
		if CHILD.ClassName == "Model" and CHILD ~= Character then
282
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
283
			if HUM then
284
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
285
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
286
					if INSTAKILL == true then
287
						CHILD:BreakJoints()
288
					else
289
						local DMG = MRANDOM(MINDMG, MAXDMG)
290
						ApplyDamage(HUM, DMG, TORSO)
291
					end
292
					if FLING > 0 then
293
						for _, c in pairs(CHILD:GetChildren()) do
294
							if c:IsA("BasePart") then
295
								local bv = Instance.new("BodyVelocity")
296
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
297
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
298
								bv.Parent = c
299
								Debris:AddItem(bv, 0.05)
300
							end
301
						end
302
					end
303
				end
304
			end
305
		end
306
	end
307
end
308
309
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
310
	local NEWPART = IT("Part")
311
	NEWPART.formFactor = FORMFACTOR
312
	NEWPART.Reflectance = REFLECTANCE
313
	NEWPART.Transparency = TRANSPARENCY
314
	NEWPART.CanCollide = false
315
	NEWPART.Locked = true
316
	NEWPART.Anchored = true
317
	if ANCHOR == false then
318
		NEWPART.Anchored = false
319
	end
320
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
321
	NEWPART.Name = NAME
322
	NEWPART.Size = SIZE
323
	NEWPART.Position = Torso.Position
324
	NEWPART.Material = MATERIAL
325
	NEWPART:BreakJoints()
326
	NEWPART.Parent = PARENT
327
	return NEWPART
328
end
329
Player_Size = 1
330
Animation_Speed = 3
331
Frame_Speed = 0.016666666666666666
332
local Speed = 16
333
local Effects2 = {}
334
local weldBetween = function(a, b)
335
	local weldd = Instance.new("ManualWeld")
336
	weldd.Part0 = a
337
	weldd.Part1 = b
338
	weldd.C0 = CFrame.new()
339
	weldd.C1 = b.CFrame:inverse() * a.CFrame
340
	weldd.Parent = a
341
	return weldd
342
end
343
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
344
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
345
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
346
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
347
local CHANGEDEFENSE = 0
348
local CHANGEDAMAGE = 0
349
local CHANGEMOVEMENT = 0
350
local ANIM = "Idle"
351
local ATTACK = false
352
local EQUIPPED = false
353
local HOLD = false
354
local COMBO = 1
355
local Rooted = false
356
local SINE = 0
357
local KEYHOLD = false
358
local CHANGE = 2 / Animation_Speed
359
local WALKINGANIM = false
360
local WALK = 0
361
local VALUE1 = false
362
local VALUE2 = false
363
local ROBLOXIDLEANIMATION = IT("Animation")
364
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
365
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
366
local WEAPONGUI = IT("ScreenGui", PlayerGui)
367
WEAPONGUI.Name = "Weapon GUI"
368
local Effects = IT("Folder", Character)
369
Effects.Name = "Effects"
370
local ANIMATOR = Humanoid.Animator
371
local ANIMATE = Character.Animate
372
local ATTACKEDTAUNTS = {
373
	"907332040",
374
	"907332525",
375
	"907330011"
376
}
377
local ATTACKTAUNTS = {
378
	"907329893",
379
	"907329532",
380
	"907333294",
381
	"907332856"
382
}
383
local ULTTAUNTS = {
384
	"907332997",
385
	"907332670",
386
	"907330103"
387
}
388
local UNANCHOR = true
389
local SKILLTEXTCOLOR = C3(0, .6, 0)
390
ArtificialHB = Instance.new("BindableEvent", script)
391
ArtificialHB.Name = "ArtificialHB"
392
script:WaitForChild("ArtificialHB")
393
frame = Frame_Speed
394
tf = 0
395
allowframeloss = false
396
tossremainder = false
397
lastframe = tick()
398
script.ArtificialHB:Fire()
399
game:GetService("RunService").Heartbeat:connect(function(s, p)
400
	tf = tf + s
401
	if tf >= frame then
402
		if allowframeloss then
403
			script.ArtificialHB:Fire()
404
			lastframe = tick()
405
		else
406
			for i = 1, math.floor(tf / frame) do
407
				script.ArtificialHB:Fire()
408
			end
409
			lastframe = tick()
410
		end
411
		if tossremainder then
412
			tf = 0
413
		else
414
			tf = tf - frame * math.floor(tf / frame)
415
		end
416
	end
417
end)
418
419
--><Some Functions
420
421
function WACKYEFFECT(Table)
422
	local TYPE = Table.EffectType or "Sphere"
423
	local SIZE = Table.Size or VT(1, 1, 1)
424
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
425
	local TRANSPARENCY = Table.Transparency or 0
426
	local ENDTRANSPARENCY = Table.Transparency2 or 1
427
	local CFRAME = Table.CFrame or Torso.CFrame
428
	local MOVEDIRECTION = Table.MoveToPos or nil
429
	local ROTATION1 = Table.RotationX or 0
430
	local ROTATION2 = Table.RotationY or 0
431
	local ROTATION3 = Table.RotationZ or 0
432
	local MATERIAL = Table.Material or "Neon"
433
	local COLOR = Table.Color or C3(1, 1, 1)
434
	local TIME = Table.Time or 45
435
	local SOUNDID = Table.SoundID or nil
436
	local SOUNDPITCH = Table.SoundPitch or nil
437
	local SOUNDVOLUME = Table.SoundVolume or nil
438
	coroutine.resume(coroutine.create(function()
439
		local PLAYSSOUND = false
440
		local SOUND
441
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
442
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
443
			PLAYSSOUND = true
444
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
445
		end
446
		EFFECT.Color = COLOR
447
		local MSH
448
		if TYPE == "Sphere" then
449
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
450
		elseif TYPE == "Block" then
451
			MSH = IT("BlockMesh", EFFECT)
452
			MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
453
		elseif TYPE == "Wave" then
454
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
455
		elseif TYPE == "Ring" then
456
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
457
		elseif TYPE == "Slash" then
458
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
459
		elseif TYPE == "Round Slash" then
460
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
461
		elseif TYPE == "Swirl" then
462
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
463
		elseif TYPE == "Skull" then
464
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
465
		elseif TYPE == "Crystal" then
466
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
467
		end
468
		if MSH ~= nil then
469
			local MOVESPEED
470
			if MOVEDIRECTION ~= nil then
471
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
472
			end
473
			local GROWTH = SIZE - ENDSIZE
474
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
475
			if TYPE == "Block" then
476
				EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
477
			else
478
				EFFECT.CFrame = CFRAME
479
			end
480
			for LOOP = 1, TIME do
481
				Swait()
482
				MSH.Scale = MSH.Scale - GROWTH / TIME
483
				if TYPE == "Wave" then
484
					MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
485
				end
486
				EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
487
				if TYPE == "Block" then
488
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
489
				else
490
					EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
491
				end
492
				if MOVEDIRECTION ~= nil then
493
					local ORI = EFFECT.Orientation
494
					EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
495
					EFFECT.Orientation = ORI
496
				end
497
			end
498
			if PLAYSSOUND == false then
499
				EFFECT:remove()
500
			else
501
				repeat
502
					Swait()
503
				until SOUND.Playing == false
504
				EFFECT:remove()
505
			end
506
		elseif PLAYSSOUND == false then
507
			EFFECT:remove()
508
		else
509
			repeat
510
				Swait()
511
			until SOUND.Playing == false
512
			EFFECT:remove()
513
		end
514
	end))
515
end
516
517
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
518
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
519
end
520
function PositiveAngle(NUMBER)
521
	if NUMBER >= 0 then
522
		NUMBER = 0
523
	end
524
	return NUMBER
525
end
526
function NegativeAngle(NUMBER)
527
	if NUMBER <= 0 then
528
		NUMBER = 0
529
	end
530
	return NUMBER
531
end
532
function Swait(NUMBER)
533
	if NUMBER == 0 or NUMBER == nil then
534
		ArtificialHB.Event:wait()
535
	else
536
		for i = 1, NUMBER do
537
			ArtificialHB.Event:wait()
538
		end
539
	end
540
end
541
function chatfunc(text)
542
	local chat = coroutine.wrap(function()
543
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
544
		Character:FindFirstChild("TalkingBillBoard"):destroy()
545
	end
546
	local Bill = Instance.new("BillboardGui",Character)
547
	Bill.Size = UDim2.new(0,100,0,40)
548
	Bill.StudsOffset = Vector3.new(0,2,0)
549
	Bill.Adornee = Character.Head
550
	Bill.Name = "TalkingBillBoard"
551
	local Hehe = Instance.new("TextLabel",Bill)
552
	Hehe.BackgroundTransparency = 1
553
	Hehe.BorderSizePixel = 0
554
	Hehe.Text = ""
555
	Hehe.Font = "Antique"
556
	Hehe.TextSize = 40
557
	Hehe.TextStrokeTransparency = 0
558
	Hehe.Size = UDim2.new(1,0,0.5,0)
559
	coroutine.resume(coroutine.create(function()
560
		while Hehe ~= nil do
561
			Swait()	
562
			Hehe.Position = UDim2.new(math.random(-.2,.2),math.random(-1,1),.05,math.random(-1,1))	
563
			Hehe.Rotation = math.random(-5,5)
564
			Hehe.TextColor3 = Color3.new(0,.7,0)
565
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
566
		end
567
	end))
568
	for i = 1,string.len(text),1 do
569
		Swait()
570
		Hehe.Text = string.sub(text,1,i)
571
	end
572
	Swait(90)--Re[math.random(1, 93)]
573
	for i = 0, 1, .025 do
574
		Swait()
575
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
576
		Hehe.TextStrokeTransparency = i
577
		Hehe.TextTransparency = i
578
	end
579
	Bill:Destroy()
580
	end)
581
chat()
582
end
583
584
function onChatted(msg)
585
	chatfunc(msg)
586
end
587
588
Player.Chatted:connect(onChatted)
589
590
function QuaternionFromCFrame(cf)
591
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
592
	local trace = m00 + m11 + m22
593
	if trace > 0 then
594
		local s = math.sqrt(1 + trace)
595
		local recip = 0.5 / s
596
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
597
	else
598
		local i = 0
599
		if m00 < m11 then
600
			i = 1
601
		end
602
		if m22 > (i == 0 and m00 or m11) then
603
			i = 2
604
		end
605
		if i == 0 then
606
			local s = math.sqrt(m00 - m11 - m22 + 1)
607
			local recip = 0.5 / s
608
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
609
		elseif i == 1 then
610
			local s = math.sqrt(m11 - m22 - m00 + 1)
611
			local recip = 0.5 / s
612
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
613
		elseif i == 2 then
614
			local s = math.sqrt(m22 - m00 - m11 + 1)
615
			local recip = 0.5 / s
616
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
617
		end
618
	end
619
end
620
function QuaternionToCFrame(px, py, pz, x, y, z, w)
621
	local xs, ys, zs = x + x, y + y, z + z
622
	local wx, wy, wz = w * xs, w * ys, w * zs
623
	local xx = x * xs
624
	local xy = x * ys
625
	local xz = x * zs
626
	local yy = y * ys
627
	local yz = y * zs
628
	local zz = z * zs
629
	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))
630
end
631
function QuaternionSlerp(a, b, t)
632
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
633
	local startInterp, finishInterp
634
	if cosTheta >= 1.0E-4 then
635
		if 1 - cosTheta > 1.0E-4 then
636
			local theta = ACOS(cosTheta)
637
			local invSinTheta = 1 / SIN(theta)
638
			startInterp = SIN((1 - t) * theta) * invSinTheta
639
			finishInterp = SIN(t * theta) * invSinTheta
640
		else
641
			startInterp = 1 - t
642
			finishInterp = t
643
		end
644
	elseif 1 + cosTheta > 1.0E-4 then
645
		local theta = ACOS(-cosTheta)
646
		local invSinTheta = 1 / SIN(theta)
647
		startInterp = SIN((t - 1) * theta) * invSinTheta
648
		finishInterp = SIN(t * theta) * invSinTheta
649
	else
650
		startInterp = t - 1
651
		finishInterp = t
652
	end
653
	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
654
end
655
function Clerp(a, b, t)
656
	local qa = {
657
		QuaternionFromCFrame(a)
658
	}
659
	local qb = {
660
		QuaternionFromCFrame(b)
661
	}
662
	local ax, ay, az = a.x, a.y, a.z
663
	local bx, by, bz = b.x, b.y, b.z
664
	local _t = 1 - t
665
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
666
end
667
668
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
669
	local frame = IT("Frame")
670
	frame.BackgroundTransparency = TRANSPARENCY
671
	frame.BorderSizePixel = BORDERSIZEPIXEL
672
	frame.Position = POSITION
673
	frame.Size = SIZE
674
	frame.BackgroundColor3 = COLOR
675
	frame.BorderColor3 = BORDERCOLOR
676
	frame.Name = NAME
677
	frame.Parent = PARENT
678
	return frame
679
end
680
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
681
	local label = IT("TextLabel")
682
	label.BackgroundTransparency = 1
683
	label.Size = UD2(1, 0, 1, 0)
684
	label.Position = UD2(0, 0, 0, 0)
685
	label.TextColor3 = TEXTCOLOR
686
	label.TextStrokeTransparency = STROKETRANSPARENCY
687
	label.TextTransparency = TRANSPARENCY
688
	label.FontSize = TEXTFONTSIZE
689
	label.Font = TEXTFONT
690
	label.BorderSizePixel = BORDERSIZEPIXEL
691
	label.TextScaled = false
692
	label.Text = TEXT
693
	label.Name = NAME
694
	label.Parent = PARENT
695
	return label
696
end
697
function NoOutlines(PART)
698
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
699
end
700
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
701
	local NEWWELD = IT(TYPE)
702
	NEWWELD.Part0 = PART0
703
	NEWWELD.Part1 = PART1
704
	NEWWELD.C0 = C0
705
	NEWWELD.C1 = C1
706
	NEWWELD.Parent = PARENT
707
	return NEWWELD
708
end
709
local S = IT("Sound")
710
function CreateSound(ID, PARENT, VOLUME, PITCH)
711
	local NEWSOUND
712
	coroutine.resume(coroutine.create(function()
713
		NEWSOUND = S:Clone()
714
		NEWSOUND.Parent = PARENT
715
		NEWSOUND.Volume = VOLUME
716
		NEWSOUND.Pitch = PITCH
717
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
718
		Swait()
719
		NEWSOUND:play()
720
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
721
	end))
722
	return NEWSOUND
723
end
724
function CFrameFromTopBack(at, top, back)
725
	local right = top:Cross(back)
726
	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)
727
end
728
729
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
730
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Color3.fromRGB(CR,CG,CB), "Effect", VT(0,0,0))
731
	local mesh = IT("SpecialMesh",wave)
732
	mesh.MeshType = "FileMesh"
733
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
734
	mesh.Scale = SIZE
735
	mesh.Offset = VT(0,0,-SIZE.X/8)
736
	wave.CFrame = CFRAME
737
	coroutine.resume(coroutine.create(function(PART)
738
		for i = 1, WAIT do
739
			Swait()
740
			mesh.Scale = mesh.Scale + GROW
741
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
742
			if DOESROT == true then
743
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
744
			end
745
			wave.Transparency = wave.Transparency + (0.5/WAIT)
746
			if wave.Transparency > 0.99 then
747
				wave:remove()
748
			end
749
		end
750
	end))
751
end
752
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
753
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
754
	local mesh = IT("SpecialMesh",wave)
755
	mesh.MeshType = "FileMesh"
756
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
757
	mesh.Scale = SIZE
758
	mesh.Offset = VT(0,0,0)
759
	wave.CFrame = CFRAME
760
	coroutine.resume(coroutine.create(function(PART)
761
		for i = 1, WAIT do
762
			Swait()
763
			mesh.Scale = mesh.Scale + GROW
764
			if DOESROT == true then
765
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
766
			end
767
			wave.Transparency = wave.Transparency + (0.5/WAIT)
768
			if wave.Transparency > 0.99 then
769
				wave:remove()
770
			end
771
		end
772
	end))
773
end
774
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
775
	local wave = CreatePart(3, Effects, "Neon", 0, 0, Color3.fromRGB(CR,CG,CB), "Effect", VT(1,1,1), true)
776
	local mesh = IT("SpecialMesh",wave)
777
	mesh.MeshType = "Sphere"
778
	mesh.Scale = SIZE
779
	mesh.Offset = VT(0,0,0)
780
	wave.CFrame = CFRAME
781
	coroutine.resume(coroutine.create(function(PART)
782
		for i = 1, WAIT do
783
			Swait()
784
			mesh.Scale = mesh.Scale + GROW
785
			wave.Transparency = wave.Transparency + (1/WAIT)
786
			if wave.Transparency > 0.99 then
787
				wave:remove()
788
			end
789
		end
790
	end))
791
end
792
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
793
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
794
	local mesh
795
	if KIND == "Base" then
796
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
797
	elseif KIND == "Thin" then
798
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
799
	elseif KIND == "Round" then
800
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
801
	end
802
	wave.CFrame = CFRAME
803
	coroutine.resume(coroutine.create(function(PART)
804
		for i = 1, WAIT do
805
			Swait()
806
			mesh.Scale = mesh.Scale + GROW / 10
807
			wave.Transparency = wave.Transparency + 0.5 / WAIT
808
			if wave.Transparency > 0.99 then
809
				wave:remove()
810
			end
811
		end
812
	end))
813
	end
814
function Crystsal(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
815
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
816
	local mesh
817
	if KIND == "Base" then
818
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
819
	elseif KIND == "Thin" then
820
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "9756362", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
821
	elseif KIND == "Round" then
822
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "9756362", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
823
	end
824
	wave.CFrame = CFRAME
825
	coroutine.resume(coroutine.create(function(PART)
826
		for i = 1, WAIT do
827
			Swait()
828
			mesh.Scale = mesh.Scale + GROW / 10
829
			wave.Transparency = wave.Transparency + 0.5 / WAIT
830
			if wave.Transparency > 0.99 then
831
				wave:remove()
832
			end
833
		end
834
	end))
835
end	
836
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
837
	for _, c in pairs(PARENT:GetChildren()) do
838
		if c.ClassName == "Model" then
839
			if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
840
				local HUMANOID = c:FindFirstChildOfClass("Humanoid")
841
				local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
842
				if DIST > (TORSO.Position - FROM).Magnitude then
843
					table.insert(TABLE, c)
844
				end
845
				AddChildrenToTable(FROM, c, DIST, TABLE)
846
			elseif c.ClassName == "Folder" then
847
				AddChildrenToTable(FROM, c, DIST, TABLE)
848
			end
849
		end
850
	end
851
end
852
function MakeForm(PART, TYPE)
853
	if TYPE == "Cyl" then
854
		local MSH = IT("CylinderMesh", PART)
855
	elseif TYPE == "Ball" then
856
		local MSH = IT("SpecialMesh", PART)
857
		MSH.MeshType = "Sphere"
858
	elseif TYPE == "Wedge" then
859
		local MSH = IT("SpecialMesh", PART)
860
		MSH.MeshType = "Wedge"
861
	end
862
end
863
function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
864
	if DoesCourontine == false then
865
		local Direction = CF(Part.Position, ToLocation)
866
		local Distance = (Part.Position - ToLocation).magnitude
867
		for i = 1, AmountOfTime do
868
			Swait()
869
			Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
870
			Direction = Part.CFrame
871
		end
872
		Part:remove()
873
	elseif DoesCourontine == true then
874
		coroutine.resume(coroutine.create(function()
875
			local Direction = CF(Part.Position, ToLocation)
876
			local Distance = (Part.Position - ToLocation).magnitude
877
			for i = 1, AmountOfTime do
878
				Swait()
879
				Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
880
				Direction = Part.CFrame
881
			end
882
			Part:remove()
883
		end))
884
	end
885
end
886
function CheckTableForString(Table, String)
887
	for i, v in pairs(Table) do
888
		if string.find(string.lower(String), string.lower(v)) then
889
			return true
890
		end
891
	end
892
	return false
893
end
894
function CheckIntangible(Hit)
895
	local ProjectileNames = {
896
		"Water",
897
		"Arrow",
898
		"Projectile",
899
		"Effect",
900
		"Rail",
901
		"Lightning",
902
		"Bullet"
903
	}
904
	if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
905
		return true
906
	end
907
	return false
908
end
909
Debris = game:GetService("Debris")
910
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
911
	local Direction = CFrame.new(StartPos, Vec).lookVector
912
	local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
913
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
914
	if RayHit and CheckIntangible(RayHit) then
915
		if DelayIfHit then
916
			wait()
917
		end
918
		RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
919
	end
920
	return RayHit, RayPos, RayNormal
921
end
922
923
--><Misc And Some Stuff
924
925
--gay rainbow stuff by davodio
926
927
local cR=255
928
local cG=0
929
local cB=0
930
local flg5=1 local omgidk=1
931
local add=10.5
932
game:GetService('RunService').Heartbeat:connect(function()
933
	if omgidk>10000 then omgidk=0 end
934
	omgidk=omgidk+1
935
	if cR>=255 then flg5=1 end
936
	if cG>=255 then flg5=2 end
937
	if cB>=255 then flg5=3 end
938
	if flg5==1 then cR=cR-add cG=cG+add end
939
	if flg5==2 then cG=cG-add cB=cB+add end
940
	if flg5==3 then cB=cB-add cR=cR+add end
941
end)
942
943
function turnto(position)
944
	RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
945
end
946
947
local Particle = IT("ParticleEmitter",nil)
948
Particle.Enabled = false
949
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
950
Particle.LightEmission = 0.5
951
Particle.Rate = 150
952
Particle.ZOffset = 0.2
953
Particle.Rotation = NumberRange.new(-180, 180)
954
Particle.RotSpeed = NumberRange.new(-180, 180)
955
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
956
Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
957
958
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
959
function ParticleEmitter(Table)
960
	local PRTCL = Particle:Clone()
961
	local Speed = Table.Speed or 5
962
	local Drag = Table.Drag or 0
963
	local Size1 = Table.Size1 or 1
964
	local Size2 = Table.Size2 or 5
965
	local Lifetime1 = Table.Lifetime1 or 1
966
	local Lifetime2 = Table.Lifetime2 or 1.5
967
	local Parent = Table.Parent or Torso
968
	local Emit = Table.Emit or 100
969
	local Offset = Table.Offset or 360
970
	local Acel = Table.Acel or VT(0,0,0)
971
	local Enabled = Table.Enabled or false
972
	PRTCL.Parent = Parent
973
	PRTCL.Size = NumberSequence.new(Size1,Size2)
974
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
975
	PRTCL.Speed = NumberRange.new(Speed)
976
	PRTCL.VelocitySpread = Offset
977
	PRTCL.Drag = Drag
978
	PRTCL.Acceleration = Acel
979
	if Enabled == false then
980
		PRTCL:Emit(Emit)
981
		Debris:AddItem(PRTCL,Lifetime2)
982
	else
983
		PRTCL.Enabled = true
984
	end
985
	return PRTCL
986
end
987
988
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true, Acel = VT(13,19,18)})
989
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true, Acel = VT(13,19,18)})
990
991
local SKILLTEXTCOLOR = C3(0,.6,0)
992
local SKILLFONT = "Bodoni"
993
local SKILLTEXTSIZE = 7
994
Humanoid.Died:connect(function()
995
	Humanoid.Parent = nil
996
	Humanoid.MaxHealth = "inf"
997
	Humanoid.Health = "inf"
998
	refit()
999
	Humanoid.Parent = Character
1000
	CreateSound(ATTACKEDTAUNTS[MRANDOM(1, #ATTACKEDTAUNTS)], Head, 10, 0.9)
1001
	for i = 1, 5 do
1002
		Slice("Round", 0.6, 35, CF(Torso.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "New Yeller", VT(0.1, 0, 0.1))
1003
	end
1004
	killnearesta(Torso.Position, 25, 180)
1005
end)
1006
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1007
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1008
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1009
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1010
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1011
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1012
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.66, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
1013
local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.62, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
1014
local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.58, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
1015
local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.54, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
1016
local SKILL11FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 11 Frame")
1017
1018
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 1")
1019
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 2")
1020
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 3")
1021
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 4")
1022
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 5")
1023
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 6")
1024
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 7")
1025
local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 8")
1026
local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[R]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 9")
1027
local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[F]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 10")
1028
local SKILL11TEXT = CreateLabel(SKILL11FRAME, "Terra Warrior By InfiniteOneWithdank", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 11")
1029
function StatLabel(CFRAME, TEXT, COLOR)
1030
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
1031
	STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
1032
	local BODYGYRO = IT("BodyGyro", STATPART)
1033
	game:GetService("Debris"):AddItem(STATPART, 5)
1034
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
1035
	BILLBOARDGUI.Adornee = STATPART
1036
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
1037
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
1038
	BILLBOARDGUI.AlwaysOnTop = false
1039
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
1040
	TEXTLABEL.BackgroundTransparency = 1
1041
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
1042
	TEXTLABEL.Text = TEXT
1043
	TEXTLABEL.Font = SKILLFONT
1044
	TEXTLABEL.FontSize = "Size42"
1045
	TEXTLABEL.TextColor3 = COLOR
1046
	TEXTLABEL.TextStrokeTransparency = 0
1047
	TEXTLABEL.TextScaled = true
1048
	TEXTLABEL.TextWrapped = true
1049
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
1050
		for i = 1, 50 do
1051
			Swait()
1052
			STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
1053
			TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
1054
			TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
1055
		end
1056
		THEPART.Parent = nil
1057
	end), STATPART, TEXTLABEL)
1058
end
1059
1060
--><Attack Stuffs B
1061
	
1062
function killnearesta(position, range, maxstrength)
1063
	for i, v in ipairs(workspace:GetChildren()) do
1064
		local body = v:GetChildren()
1065
		for part = 1, #body do
1066
			if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
1067
				if v.ClassName == "Model" then
1068
					v:BreakJoints()
1069
				end
1070
				local bv = Instance.new("BodyVelocity")
1071
				bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1072
				bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
1073
				bv.Parent = body[part]
1074
				Debris:AddItem(bv, 0.2)
1075
			end
1076
		end
1077
		if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
1078
			v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
1079
		end
1080
	end
1081
end
1082
1083
function Petrify(Foe)
1084
    local STONEMODEL = IT("Model", Effects)
1085
    local CHILDREN = Foe:GetDescendants()
1086
    for index, CHILD in pairs(CHILDREN) do
1087
        if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
1088
            CHILD.Parent = STONEMODEL
1089
            CHILD.Material = "Neon"
1090
            coroutine.resume(coroutine.create(function()
1091
	            while true do
1092
		            Swait()
1093
		            CHILD.Color = Color3.fromRGB(cR,cG,cB)
1094
	            end
1095
            end))
1096
            if CHILD:FindFirstChildOfClass("SpecialMesh") then
1097
                local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
1098
                mesh.TextureId = ""
1099
            end
1100
            if CHILD:FindFirstChildOfClass("Decal") then
1101
                local mesh = CHILD:FindFirstChildOfClass("Decal")
1102
                mesh:remove()
1103
            end
1104
            if CHILD.ClassName == "MeshPart" then
1105
                CHILD.TextureID = ""
1106
            end
1107
            if CHILD.ClassName == "UnionOperation" then
1108
                CHILD.UsePartColor = true
1109
            end
1110
            CHILD.CanCollide = true
1111
        end
1112
    end
1113
    Debris:AddItem(STONEMODEL, 5)
1114
end
1115
1116
function Rainbowify(model,collide)
1117
    local RAINBOWMODEL = IT("Model", Effects)
1118
    local PARTS = model:GetChildren()
1119
    for index, part in pairs(PARTS) do
1120
        if part:IsA("Part") and part.Parent.ClassName ~= "Folder" then
1121
            part.Parent = RAINBOWMODEL
1122
            coroutine.resume(coroutine.create(function()
1123
	            while true do
1124
		            Swait()
1125
		            part.Color = Color3.fromRGB(cR,cG,cB)
1126
	            end
1127
            end))
1128
            if collide == true then
1129
                part.CanCollide = true
1130
            else
1131
                part.CanCollide = false
1132
            end
1133
        end
1134
    end
1135
    Debris:AddItem(RAINBOWMODEL, 1e9999)
1136
end
1137
1138
function Charge(TIME,GYRO)
1139
	local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
1140
	local G = nil
1141
	if GYRO == true then
1142
		G = IT("BodyGyro",RootPart)
1143
		G.D = 250
1144
		G.P = 200000
1145
		G.MaxTorque = VT(math.huge,math.huge,math.huge)
1146
	end
1147
	for i=0, TIME, 0.1 / Animation_Speed do
1148
		Swait()
1149
		if G then
1150
			G.cframe = CF(RootPart.Position,Mouse.Hit.p)
1151
		end
1152
		WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1153
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1154
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1155
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1156
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1157
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1158
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1159
	end
1160
	SND:remove()
1161
	if G then
1162
		return G
1163
	end
1164
end
1165
1166
function ApplyAoE2(POSITION,RANGE,ow)
1167
	local CHILDREN = workspace:GetDescendants()
1168
	for index, CHILD in pairs(CHILDREN) do
1169
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1170
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1171
			if HUM then
1172
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1173
				if TORSO then
1174
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1175
						if ow == true then
1176
							Petrify(CHILD)
1177
						else
1178
							CHILD:BreakJoints()
1179
						end
1180
					end
1181
				end
1182
			end
1183
		end
1184
	end
1185
end
1186
1187
function yeetus()
1188
	print("this aint done boi")
1189
end
1190
1191
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1192
	local DIRECTION = CF(StartPos,EndPos).lookVector
1193
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1194
end
1195
1196
function SpawnTrail(FROM,TO,BIG)
1197
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Trail", VT(0,0,0))
1198
	MakeForm(TRAIL,"Sphere")
1199
	local DIST = (FROM - TO).Magnitude
1200
	if BIG == true then
1201
		TRAIL.Size = VT(0.35,DIST,0.35)
1202
	else
1203
		TRAIL.Size = VT(0.55,DIST,0.55)
1204
	end
1205
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1206
	coroutine.resume(coroutine.create(function()
1207
		for i = 1, 5 do
1208
			Swait()
1209
			TRAIL.Transparency = TRAIL.Transparency + 0.1
1210
		end
1211
		TRAIL:remove()
1212
	end))
1213
end
1214
1215
local PE3=Instance.new("ParticleEmitter",nil)
1216
PE3.LightEmission=.8
1217
PE3.Color = ColorSequence.new(BRICKC("Bright Green").Color)
1218
coroutine.resume(coroutine.create(function()
1219
     while true do
1220
         Swait()
1221
         PE.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) 
1222
     end
1223
end))
1224
PE3.Size=NumberSequence.new(EyeSizes)
1225
PE3.Transparency=NumberSequence.new(EyeTrans)
1226
PE3.Lifetime=NumberRange.new(0.35,1.5)
1227
PE3.Rotation=NumberRange.new(0,360)
1228
PE3.Rate=999
1229
PE3.VelocitySpread = 10000
1230
PE3.Acceleration = Vector3.new(0,0,0)
1231
PE3.Drag = 5
1232
PE3.Speed = NumberRange.new(0,0,0)
1233
PE3.Texture="http://www.roblox.com/asset/?id=1509406387"
1234
PE3.ZOffset = -0
1235
PE3.Name = "PE"
1236
PE3.Enabled = false
1237
1238
function particles2(art)
1239
	local PARTICLES = PE3:Clone()
1240
	PARTICLES.Parent = art
1241
end
1242
1243
function Dustify(v)
1244
	v:BreakJoints()
1245
	for _, c in pairs(v:GetChildren()) do
1246
		if c:IsA("BasePart") then
1247
			if c.Transparency < 1 then
1248
				if c:FindFirstChildOfClass("Decal") then
1249
					c:FindFirstChildOfClass("Decal"):remove()
1250
				end
1251
				particles2(c)
1252
				c.PE.Enabled = true
1253
				c.Parent = Effects
1254
				c.CanCollide = false
1255
				c.Material = "Neon"
1256
				c.Color = C3(0,1,0)
1257
				c.Transparency = 1
1258
				local grav = Instance.new("BodyPosition",c)
1259
				grav.P = 20000
1260
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1261
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
1262
				grav.Name = "GravityForce"
1263
				coroutine.resume(coroutine.create(function()
1264
					for i = 1, 20 do
1265
						Swait()
1266
						c.Transparency = c.Transparency + 1/20
1267
					end
1268
					c.PE.Enabled = false
1269
					Debris:AddItem(c,3)
1270
				end))
1271
			end
1272
		end
1273
	end
1274
end
1275
1276
function killnearest(position,range,maxstrength,direction)
1277
	for i,v in ipairs(workspace:GetChildren()) do
1278
	local body = v:GetChildren()
1279
		for part = 1, #body do
1280
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1281
				if(body[part].Position - position).Magnitude < range then
1282
					if v.ClassName == "Model" then
1283
						--v:BreakJoints()
1284
					end
1285
					local POS = position
1286
					coroutine.resume(coroutine.create(function()
1287
						body[part].Anchored = true
1288
						body[part].Parent = Effects
1289
						body[part].CanCollide = true
1290
						local SIZE = body[part].Size
1291
						body[part].Material = "Neon"
1292
						CreateSound("2013169887", body[part], 2, MRANDOM(7, 12) / 10)
1293
						for i = 1, 75 do
1294
							Swait()
1295
							body[part].Color = Color3.fromRGB(cR,cG,cB)
1296
						end
1297
						coroutine.resume(coroutine.create(function()
1298
							while true do
1299
								Swait()
1300
								body[part].Color = Color3.fromRGB(cR,cG,cB)
1301
								body[part]:BreakJoints()
1302
							end
1303
						end))
1304
						body[part].Anchored = false
1305
						body[part]:BreakJoints()
1306
						body[part].Velocity = direction.lookVector*maxstrength
1307
						wait(3.7)
1308
						body[part]:Destroy()
1309
					end))
1310
				end
1311
			end
1312
		end
1313
		if v.ClassName == "Part" then
1314
			if v.Anchored == false and (v.Position - position).Magnitude < range then
1315
				local POS = position
1316
				coroutine.resume(coroutine.create(function()
1317
					v.Anchored = true
1318
					v.Parent = Effects
1319
					local SIZE = v.Size
1320
					v.Material = "Neon"
1321
					CreateSound("2013169887", v, 2, MRANDOM(7, 12) / 10)
1322
					for i = 1, 75 do
1323
						Swait()
1324
						v.Color = Color3.fromRGB(cR,cG,cB)
1325
					end
1326
					coroutine.resume(coroutine.create(function()
1327
						while true do
1328
							Swait()
1329
							v.Color = Color3.fromRGB(cR,cG,cB)
1330
						end
1331
					end))
1332
					v.Anchored = false
1333
					v.Velocity = direction.lookVector*maxstrength
1334
					wait(3.7)
1335
					v:Destroy()
1336
				end))
1337
			end
1338
		end
1339
	end
1340
end
1341
1342
local SIZE = 1
1343
1344
local Weapon = IT("Model")
1345
Weapon.Name = "Adds"
1346
1347
local TT = Instance.new("Part")
1348
TT.Parent = Weapon
1349
TT.Transparency = 1
1350
TT.Size = Vector3.new(1, 1, 1)
1351
TT.CFrame = char.Torso.CFrame
1352
TT.CanCollide = false
1353
TT.Color = Color3.new(255,255,255)
1354
TT.TopSurface = "Smooth"
1355
TT.BottomSurface = "Smooth"
1356
1357
function Duster()
1358
	ATTACK = true
1359
	Rooted = true
1360
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1361
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1362
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1363
		if TORSO then
1364
			local GYRO = IT("BodyGyro", RootPart)
1365
			GYRO.D = 750
1366
			GYRO.P = 2000
1367
			GYRO.MaxTorque = VT(0, 40000, 0)
1368
			for i = 0, 0.3, 0.1 / Animation_Speed do
1369
				Swait()
1370
				WACKYEFFECT({
1371
					Time = 5,
1372
					EffectType = "Round Slash",
1373
					Size = VT(0, 0, 0),
1374
					Size2 = VT(0.01, 0, 0.01),
1375
					Transparency = 0.5,
1376
					Transparency2 = 1,
1377
					CFrame = CF(TT.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1378
					MoveToPos = nil,
1379
					RotationX = MRANDOM(-50, 50) / 10,
1380
					RotationY = MRANDOM(-50, 50) / 10,
1381
					RotationZ = MRANDOM(-50, 50) / 10,
1382
					Material = "Neon",
1383
					Color = C3(1, 0, 0),
1384
					SoundID = nil,
1385
					SoundPitch = nil,
1386
					SoundVolume = nil
1387
				})
1388
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
1389
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1390
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1391
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1392
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1393
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1394
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1395
				if ANIM == "Idle" then
1396
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1397
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1398
				elseif ANIM == "Walk" then
1399
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1400
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1401
				elseif ANIM == "Jump" or ANIM == "Fall" then
1402
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1403
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1404
				end
1405
			end
1406
			GYRO:remove()
1407
			for i = 0.4, 15 do
1408
				WACKYEFFECT({
1409
					Time = MRANDOM(15, 85),
1410
					EffectType = "Round Slash",
1411
					Size = VT(0, 0, 0),
1412
					Size2 = VT(0.3, 0, 0.3),
1413
					Transparency = 0.5,
1414
					Transparency2 = 1,
1415
					CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1416
					MoveToPos = nil,
1417
					RotationX = MRANDOM(-50, 50) / 10,
1418
					RotationY = MRANDOM(-50, 50) / 10,
1419
					RotationZ = MRANDOM(-50, 50) / 10,
1420
					Material = "Neon",
1421
					Color = C3(255, 255, 255),
1422
					SoundID = nil,
1423
					SoundPitch = nil,
1424
					SoundVolume = nil
1425
				})
1426
			end
1427
			local bv = Instance.new("BodyVelocity")
1428
			bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1429
			bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
1430
			bv.Parent = TORSO
1431
			Debris:AddItem(bv, 0.05)
1432
			CreateSound("539792706", TORSO, 10, 1)
1433
			Dustify(HUM.Parent)
1434
			CreateSound("2231214507", Torso, 10, 1)
1435
			for i = 0, 0.25, 0.1 / Animation_Speed do
1436
				Swait()
1437
				WACKYEFFECT({
1438
					Time = 5,
1439
					EffectType = "Round Slash",
1440
					Size = VT(0, 0, 0),
1441
					Size2 = VT(0.01, 0, 0.01),
1442
					Transparency = 0.5,
1443
					Transparency2 = 1,
1444
					CFrame = CF(TT.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1445
					MoveToPos = nil,
1446
					RotationX = MRANDOM(-50, 50) / 10,
1447
					RotationY = MRANDOM(-50, 50) / 10,
1448
					RotationZ = MRANDOM(-50, 50) / 10,
1449
					Material = "Neon",
1450
					Color = C3(255, 255, 255),
1451
					SoundID = nil,
1452
					SoundPitch = nil,
1453
					SoundVolume = nil
1454
				})
1455
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
1456
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1457
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1458
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1459
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1460
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)		
1461
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1462
				if ANIM == "Idle" then
1463
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1464
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1465
				elseif ANIM == "Walk" then
1466
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1467
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1468
				elseif ANIM == "Jump" or ANIM == "Fall" then
1469
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1470
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1471
				end
1472
			end
1473
		end
1474
	end
1475
	ATTACK = false
1476
	Rooted = false
1477
end
1478
1479
function ApplyDamage2(Humanoid,Damage,CritRate,CritMultiplier)
1480
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1481
	defence.Name = ("HitBy"..Player.Name)
1482
	game:GetService("Debris"):AddItem(defence, 0.5)
1483
		Humanoid.Health = Humanoid.Health - Damage
1484
		if Humanoid.Parent:FindFirstChild("Head") then
1485
				StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
1486
			end
1487
		end
1488
	
1489
1490
function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
1491
	local dmg = math.random(min,max)
1492
	for i,v in ipairs(workspace:GetChildren()) do
1493
	if v:FindFirstChild("HitBy"..Player.Name) == nil then
1494
		local body = v:GetChildren()
1495
			for part = 1, #body do
1496
				if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1497
					if(body[part].Position - position).Magnitude < radius then
1498
						if v.ClassName == "Model" then
1499
							if v:FindFirstChildOfClass("Humanoid") then
1500
								if CanBeDodgedByJumping == true then
1501
									if body[part].Position.Y < position.Y+5 then
1502
										ApplyDamage2(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
1503
									end
1504
								else
1505
									ApplyDamage2(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
1506
								end
1507
								local bv = Instance.new("BodyVelocity") 
1508
								bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1509
								bv.velocity = RootPart.CFrame.lookVector*maxstrength
1510
								bv.Parent = body[part]
1511
								Debris:AddItem(bv,0.2)
1512
							end
1513
						end
1514
					end
1515
				end
1516
			end
1517
		end
1518
		if v:FindFirstChild("HitBy"..Player.Name) then
1519
			v:FindFirstChild("HitBy"..Player.Name):remove()
1520
		end
1521
	end
1522
end
1523
1524
function Oblivion()
1525
	ATTACK = true
1526
	Rooted = true
1527
	for i=0, 2, 0.1 / Animation_Speed do
1528
		Swait()
1529
		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)
1530
		--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)
1531
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1532
		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)
1533
		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)
1534
		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)
1535
	end
1536
	for i=0, 0.5, 0.1 / Animation_Speed do
1537
		Swait()
1538
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1539
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1540
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1541
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1542
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
1543
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
1544
	end
1545
	for i = 1, 75 do
1546
		Swait()
1547
		MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Really red",VT(-0.005,-0.005,0.03),0)
1548
	end
1549
	CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
1550
	CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
1551
	ApplyAoE4(Torso.Position, 100, 0, 0, 0, true)
1552
	CreateSound(ENERGYDISPERSE[MRANDOM(1,#ENERGYDISPERSE)], Torso, 10, 0.5)
1553
	CreateSound(ENERGYDISPERSE[MRANDOM(1,#ENERGYDISPERSE)], Torso, 10, 0.5)
1554
	MagicSphere(VT(0,0,0),25,Torso.CFrame,"Really red",VT(5,5,5))
1555
	MagicSphere(VT(0,0,0),50,Torso.CFrame,"Lime green",VT(2.5,2.5,2.5))
1556
	MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Really black",VT(6,0,6))
1557
	MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
1558
	ATTACK = false
1559
	Rooted = false
1560
end
1561
1562
local Terra = CreatePart(3, nil, "Neon", 0, 0, BRICKC("New Yeller"), "TerA", VT(1.2,1.2,1.2), true)
1563
Terra.Color = C3(0,.6,0)
1564
1565
function brougay()
1566
	CreateSound(137463716, RightArm, 8, MRANDOM(7,13)/10, false)
1567
	for i=0, 1, 0.1 / Animation_Speed do
1568
		Swait()
1569
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1570
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1571
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1572
		--LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1573
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1574
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1575
	end
1576
	local HIT,POS = CastProperRay(RightArm.Position,Mouse.Hit.p,1000,Character)
1577
	local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Bright green"), "Beam", VT(0,0,0), true)
1578
	BEAM.Color = Terra.Color
1579
	MakeForm(BEAM,"Cyl")
1580
	local DIST = (RightArm.Position - POS).Magnitude
1581
	BEAM.Size = VT(0,DIST,0)
1582
	BEAM.CFrame = CF(RightArm.Position,POS)*CF(0,0,-DIST/2) * ANGLES(RAD(90), RAD(0), RAD(0))
1583
	if HIT ~= nil then
1584
		if HIT.Parent.ClassName == "Model" then
1585
			if HIT.Parent:FindFirstChildOfClass("Humanoid") then
1586
				if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
1587
					local HED = HIT.Parent:FindFirstChild("Head")
1588
					if HED and MRANDOM(1,15) == 1 then
1589
						CreateSound(2231214507, HED, 4, MRANDOM(9,11)/10, false)
1590
					end
1591
					Dustify(HIT.Parent)
1592
				end
1593
			end
1594
		end
1595
	end
1596
	for i = 1, 15 do
1597
		Swait()
1598
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1599
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1600
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1601
		--LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1602
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1603
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1604
		BEAM.Size = BEAM.Size + VT(0.25,0,0.25)
1605
		BEAM.Transparency = BEAM.Transparency + 1/15
1606
	end
1607
	BEAM:remove()
1608
end
1609
1610
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1611
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Color3.fromRGB(CR,CG,CB), "Effect", VT(0,0,0))
1612
	local mesh = IT("SpecialMesh",wave)
1613
	mesh.MeshType = "FileMesh"
1614
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1615
	mesh.Scale = SIZE
1616
	wave.CFrame = CFRAME
1617
	coroutine.resume(coroutine.create(function(PART)
1618
		for i = 1, WAIT do
1619
			Swait()
1620
			mesh.Scale = mesh.Scale + GROW
1621
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1622
			if DOESROT == true then
1623
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1624
			end
1625
			wave.Transparency = wave.Transparency + (0.5/WAIT)
1626
			if wave.Transparency > 0.99 then
1627
				wave:remove()
1628
			end
1629
		end
1630
	end))
1631
end
1632
1633
function stoopid()
1634
	ATTACK = true
1635
	Rooted = true
1636
		for i=0, 1, 0.1 / Animation_Speed do
1637
		Swait()
1638
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.6 / Animation_Speed)
1639
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.6 / Animation_Speed)
1640
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
1641
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
1642
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1643
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1644
	end
1645
	for i=0, 0.4, 0.1 / Animation_Speed do
1646
		Swait()
1647
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
1648
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
1649
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1650
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1651
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1652
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
1653
	end
1654
	CreateSound(TERRAWRATH[MRANDOM(1,#TERRAWRATH)], Torso, 10, 1)
1655
	local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Bright green", "Beam", VT(0,0,0))
1656
	local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Beam", VT(0,0,0))
1657
	MakeForm(BEAM,"Ball")
1658
	MakeForm(BEAM2,"Ball")
1659
	BEAM.CFrame = CF(RootPart.Position)
1660
	BEAM2.CFrame = CF(RootPart.Position)
1661
	for i=1, 100 do
1662
		Swait()
1663
	BEAM.Size = BEAM.Size + VT(0.7,8,0.7)
1664
		BEAM2.Size = BEAM2.Size + VT(2,2,2)
1665
		ApplyAoE2(BEAM2.Position,BEAM2.Size.Z/2,5,5,15,true)
1666
		BEAM.CFrame = CF(RootPart.Position)
1667
		BEAM2.CFrame = CF(RootPart.Position)
1668
	WACKYEFFECT({TIME = 5+i, EffectType = "Ring", Size = BEAM2.Size*1.15, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0.8, Transparency2 = 1, CFrame = BEAM.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1669
	end	
1670
	WACKYEFFECT({TIME = 75, EffectType = "Crystal", Size = BEAM.Size, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0, Transparency2 = 0, CFrame = BEAM.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1671
	WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1672
	WACKYEFFECT({TIME = 75, EffectType = "Ring", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1673
	ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
1674
	BEAM2:remove()
1675
	BEAM:remove()
1676
	ATTACK = false
1677
	Rooted = false		
1678
end
1679
1680
local SIZE = 1
1681
1682
function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
1683
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1684
	local mesh = IT("SpecialMesh",wave)
1685
	mesh.MeshType = "FileMesh"
1686
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
1687
	mesh.Scale = SIZE
1688
	mesh.Offset = VT(0,0,0)
1689
	wave.CFrame = CFRAME
1690
	coroutine.resume(coroutine.create(function(PART)
1691
		for i = 1, WAIT do
1692
			Swait()
1693
			mesh.Scale = mesh.Scale + GROW
1694
			if DOESROT == true then
1695
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1696
			end
1697
			wave.Transparency = wave.Transparency + (0.5/WAIT)
1698
			if wave.Transparency > 0.99 then
1699
				wave:remove()
1700
			end
1701
		end
1702
	end))
1703
end
1704
1705
1706
function ApplyAoE4(POSITION, RANGE, MINDMG, MAXDMG, FLING, ow)
1707
	local CHILDREN = workspace:GetDescendants()
1708
	for index, CHILD in pairs(CHILDREN) do
1709
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1710
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1711
			if HUM then
1712
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1713
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1714
					if ow == true then
1715
						Petrify(CHILD)
1716
					else
1717
						local DMG = MRANDOM(MINDMG, MAXDMG)
1718
						ApplyDamage(HUM, DMG, TORSO)
1719
					end
1720
					if FLING > 0 then
1721
						for _, c in pairs(CHILD:GetChildren()) do
1722
							if c:IsA("BasePart") then
1723
								local bv = Instance.new("BodyVelocity")
1724
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1725
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
1726
								bv.Parent = c
1727
								Debris:AddItem(bv, 0.05)
1728
							end
1729
						end
1730
					end
1731
				end
1732
			end
1733
		end
1734
	end
1735
end
1736
1737
function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
1738
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1739
	local mesh = IT("SpecialMesh",wave)
1740
	mesh.MeshType = "Sphere"
1741
	mesh.Scale = SIZE
1742
	mesh.Offset = VT(0,0,0)
1743
	wave.CFrame = CFRAME
1744
	coroutine.resume(coroutine.create(function(PART)
1745
		for i = 1, WAIT do
1746
			Swait()
1747
			mesh.Scale = mesh.Scale + GROW
1748
			wave.Transparency = wave.Transparency + (1/WAIT)
1749
			if wave.Transparency > 0.99 then
1750
				wave:remove()
1751
			end
1752
		end
1753
	end))
1754
end
1755
1756
local Weapon = IT("Model")
1757
Weapon.Name = "Adds"
1758
1759
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.1,0.1,0.1),false)
1760
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1761
1762
function ApplyAoE3(POSITION,RANGE,BRUTAL,ICE)
1763
	local CHILDREN = workspace:GetDescendants()
1764
	for index, CHILD in pairs(CHILDREN) do
1765
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1766
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1767
			if HUM then
1768
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1769
				if TORSO then
1770
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1771
						if BRUTAL == true then
1772
							Petrify(CHILD)
1773
						end
1774
					end
1775
				end
1776
			end
1777
		end
1778
	end
1779
end
1780
1781
function NothingPersonal()
1782
	ATTACK = true
1783
	Rooted = true
1784
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1785
		coroutine.resume(coroutine.create(function()
1786
        WACKYEFFECT({Time = 60, EffectType = "Wave", Size = VT(12,0.55,12)*SIZE, Size2 = VT(12,0.55,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6})
1787
        Swait(10)
1788
        WACKYEFFECT({Time = 60, EffectType = "Crystal", Size = VT(0.8,0.88,0.8), Size2 = VT(0.5,4,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6})
1789
        WACKYEFFECT({Time = 60, EffectType = "Skull", Size = VT(0.88,0.8,0.8), Size2 = VT(4,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
1790
        Swait(57)
1791
        WACKYEFFECT({Time = 150, EffectType = "Wave", Size = VT(12,0.55,12)*SIZE, Size2 = VT(12,0.55,12), Transparency = 1, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 1259054947, SoundPitch = 1, SoundVolume = 6})
1792
        Swait(6.5)
1793
        for i=0, 1, 0.1 / Animation_Speed do
1794
		WACKYEFFECT({Time = 85, EffectType = "Crystal", Size = VT(8,8,8)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1795
        end
1796
		end))
1797
		for i=0, 1.5, 0.1 / Animation_Speed do
1798
			Swait()
1799
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
1800
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1801
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1802
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1803
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1804
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1805
		end
1806
		        CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
1807
	    CreateSound("1137548130", Effects, 10, 1)
1808
	    MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
1809
		ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
1810
		for i=0, 0.4, 0.1 / Animation_Speed do
1811
			Swait()
1812
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
1813
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1814
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(50), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1815
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-50), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1816
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1817
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1818
		end
1819
		        CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
1820
	    CreateSound("1137548130", Effects, 10, 1)
1821
	    MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
1822
		ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
1823
		for i=0, 1, 0.1 / Animation_Speed do
1824
			Swait()
1825
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
1826
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1827
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(170), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1828
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(-170), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1829
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1830
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1831
		end
1832
		        CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
1833
	    CreateSound("1137548130", Effects, 10, 1)
1834
	    MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
1835
		ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
1836
		for i=0, 5, 0.1 / Animation_Speed do
1837
		Swait()
1838
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1839
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
1840
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1841
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1842
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)		
1843
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
1844
		CreateSound(155202884, Torso, 6, 1, false)
1845
		WACKYEFFECT({
1846
				Time = 85,
1847
				EffectType = "Sphere",
1848
				Size = VT(0.2,0.2,0.2),
1849
				Size2 = VT(0, 1000, 0),
1850
				Transparency = 0.5,
1851
				Transparency2 = 1,
1852
				CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1853
				MoveToPos = nil,
1854
				RotationX = MRANDOM(-50, 50) / 10,
1855
				RotationY = MRANDOM(-50, 50) / 10,
1856
				RotationZ = MRANDOM(-50, 50) / 10,
1857
				Material = "Neon",
1858
				Color = C3(0,.7,0),
1859
				SoundID = nil,
1860
				SoundPitch = nil,
1861
				SoundVolume = nil
1862
			})
1863
	end
1864
	local HITFLOOR, HITPOS = Raycast(VT(0,250,0), (CF(Eon.Position, Eon.Position + VT(0, -1, 0))).lookVector, 500, Character)
1865
	CreateSound("1368598393", Effects, 10, 1)
1866
	for i=0, 2, 0.1 / Animation_Speed do
1867
		Swait()
1868
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1869
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
1870
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1871
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1872
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1873
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1874
		WACKYEFFECT({
1875
			Time = 15,
1876
			EffectType = "Sphere",
1877
			Size = VT(4, 4, 4),
1878
			Size2 = VT(0, 0, 0),
1879
			Transparency = 1,
1880
			Transparency2 = 0,
1881
			CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
1882
			MoveToPos = Eon.Position,
1883
			RotationX = 0,
1884
			RotationY = 0,
1885
			RotationZ = 0,
1886
			Material = "Neon",
1887
			Color = C3(1, 0, 0),
1888
			SoundID = nil,
1889
			SoundPitch = nil,
1890
			SoundVolume = nil
1891
		})
1892
	end
1893
		WACKYEFFECT({
1894
			Time = 15,
1895
			EffectType = "Sphere",
1896
			Size = VT(4, 4, 4),
1897
			Size2 = VT(0, 0, 0),
1898
			Transparency = 1,
1899
			Transparency2 = 0,
1900
			CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
1901
			MoveToPos = Eon.Position,
1902
			RotationX = 0,
1903
			RotationY = 0,
1904
			RotationZ = 0,
1905
			Material = "Neon",
1906
			Color = C3(1, 0, 0),
1907
			SoundID = nil,
1908
			SoundPitch = nil,
1909
			SoundVolume = nil
1910
		})
1911
	local CORE = CreatePart(3, Effects, "Cobblestone", 0, 0, BRICKC("Lime Green"), "CORE", VT(10,10,10))
1912
	MakeForm(CORE, "Ball")
1913
	CORE.CFrame = Eon.CFrame
1914
	local AURA = CreatePart(3, Effects, "Neon", 0, 0.7, BRICKC("Earth Green"), "AURA", VT(10.1,10.1,10.1))
1915
	MakeForm(AURA, "Ball")
1916
	AURA.CFrame = Eon.CFrame
1917
	local AURA1 = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC("Bright green"), "AURA1", VT(12,12,12))
1918
	MakeForm(AURA1, "Ball")
1919
	AURA1.CFrame = Eon.CFrame
1920
	CreateSound("1368583274", Effects, 10, 1)
1921
	for i=0, 6, 0.1 / Animation_Speed do
1922
		Swait()	
1923
		local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
1924
		MagicSphere(VT(0,0,0),15,CFRAME,C3(0,.7,0),VT(0.1,0.1,55))
1925
		MagicSphere(VT(0,0,0),15,CFRAME,C3(0,.7,0),VT(2,2,2))
1926
		MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,C3(0,.7,0),VT(0.1,0.1,55))
1927
		WACKYEFFECT({
1928
			Time = 15,
1929
			EffectType = "Sphere",
1930
			Size = VT(4, 4, 4),
1931
			Size2 = VT(0, 0, 0),
1932
			Transparency = 1,
1933
			Transparency2 = 0,
1934
			CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
1935
			MoveToPos = Eon.Position,
1936
			RotationX = 0,
1937
			RotationY = 0,
1938
			RotationZ = 0,
1939
			Material = "Neon",
1940
			Color = C3(1, 0, 0),
1941
			SoundID = nil,
1942
			SoundPitch = nil,
1943
			SoundVolume = nil
1944
		})
1945
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1946
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
1947
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1948
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1949
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1950
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1951
	end
1952
	Swait(175)
1953
	CreateSound("1368605755", Effects, 10, 1)
1954
	CreateSound("1368637781", Effects, 10, 1)
1955
	MagicSphere(VT(0,0,0),45,Torso.CFrame,C3(0,.6,0),VT(5,5,5))
1956
	for i=0, 1, 0.1 / Animation_Speed do
1957
		Swait()
1958
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1959
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
1960
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1961
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1962
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
1963
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
1964
	end
1965
	CORE.Size = VT(10 + 0.3 * COS(SINE / 4),  10 + 0.3 * COS(SINE / 4), 10 + 0.3 * COS(SINE / 4))
1966
		AURA.Size = VT(10.1 + 0.4 * COS(SINE / 4),  10.1 + 0.4 * COS(SINE / 4), 10.1 + 0.4 * COS(SINE / 4))
1967
		AURA1.Size = VT(12 + 0.09 * COS(SINE / 4),  12 + 0.09 * COS(SINE / 4), 12 + 0.09 * COS(SINE / 4))
1968
		ApplyAoE3(CORE.Position, 15,true,false)
1969
	ATTACK = false
1970
	Rooted = false
1971
end
1972
1973
function PressureControl()
1974
	ATTACK = true
1975
	Rooted = false
1976
	CreateSound(PRESSURERELEASE[MRANDOM(1,#PRESSURERELEASE)], Torso, 10, 1)
1977
	for i=0, 0.05, 0.1 / Animation_Speed do
1978
		Swait()
1979
		turnto(Mouse.Hit.p)
1980
	LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(140), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1981
	repeat
1982
		for i=0, 0.05, 0.1 / Animation_Speed do
1983
			Swait()
1984
			turnto(Mouse.Hit.p)
1985
	LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1986
		local HIT,POS = CastProperRay(LeftArm.Position, Mouse.Hit.p, 1000, Character)
1987
		if HIT ~= nil then
1988
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1989
				Dustify(HIT.Parent)
1990
			end
1991
		WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(100,0,100), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,.4,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1992
		WACKYEFFECT({Time = 25, EffectType = "Crystal", Size = VT(100,0,100), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,.4,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1993
		for i=0, 0.05, 0.1 / Animation_Speed do
1994
			Swait()
1995
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1996
		end
1997
		end
1998
		end
1999
	until KEYHOLD == false
2000
	ATTACK = false
2001
	Rooted = false	
2002
end
2003
end
2004
2005
function RainbowBeam()
2006
	ATTACK = true
2007
	Rooted = false
2008
    VALUE2 = true
2009
	local GYRO = IT("BodyGyro", RootPart)
2010
	GYRO.D = 20
2011
	GYRO.P = 4000
2012
	GYRO.MaxTorque = VT(0, 40000, 0)
2013
	local POS = RootPart.Position + VT(0, 25, 0)
2014
	CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
2015
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2016
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2017
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2018
		--LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2019
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2020
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2021
	coroutine.resume(coroutine.create(function()
2022
		local E = 0
2023
		repeat
2024
			E = E + 5
2025
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
2026
			Swait()
2027
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2028
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2029
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2030
		--LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2031
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2032
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2033
		until ATTACK == false
2034
		GYRO:remove()
2035
	end))
2036
	for i = 1, 50 do
2037
		Swait()
2038
	end
2039
	for i = 1, 25 do
2040
		Swait()
2041
		WACKYEFFECT({
2042
			Time = 15,
2043
			EffectType = "Skull",
2044
			Size = VT(4, 4, 4),
2045
			Size2 = VT(0, 0, 0),
2046
			Transparency = 1,
2047
			Transparency2 = 0,
2048
			CFrame = CF(RightArm.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
2049
			MoveToPos = RightArm.Position,
2050
			RotationX = 0,
2051
			RotationY = 0,
2052
			RotationZ = 0,
2053
			Material = "Neon",
2054
			Color = C3(1, 0, 0),
2055
			SoundID = nil,
2056
			SoundPitch = nil,
2057
			SoundVolume = nil
2058
		})
2059
	end
2060
	local LOOP = 0
2061
	local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
2062
	MakeForm(BEAMO, "Ball")
2063
	local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
2064
	MakeForm(BEAM, "Cyl")
2065
	repeat
2066
		local DISTANCE = (RightArm.Position - Mouse.Hit.p).Magnitude
2067
		if DISTANCE < 2000 then
2068
			BEAMO.Size = VT(3 + 1 * COS(SINE / 4),  3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
2069
	        BEAMO.CFrame = CF(RightArm.Position)
2070
			BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
2071
			BEAM.CFrame = CF(RightArm.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
2072
			killnearest(Mouse.Hit.p,14,156,RootPart.CFrame)
2073
			WACKYEFFECT({
2074
				Time = 35,
2075
				EffectType = "Sphere",
2076
				Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
2077
				Size2 = VT(5, 75, 5),
2078
				Transparency = 0,
2079
				Transparency2 = 1,
2080
				CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2081
				MoveToPos = nil,
2082
				RotationX = 0,
2083
				RotationY = 0,
2084
				RotationZ = 0,
2085
				Material = "Neon",
2086
				Color = C3(1, 0, 0),
2087
				SoundID = nil,
2088
				SoundPitch = MRANDOM(9, 12) / 10,
2089
				SoundVolume = 10
2090
			})
2091
		WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = RightArm.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2092
			Swait()
2093
			LOOP = LOOP + 1
2094
		end
2095
	until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
2096
	coroutine.resume(coroutine.create(function()
2097
		for i = 1, 15 do
2098
			Swait()
2099
			BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
2100
			BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
2101
			BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
2102
			BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
2103
end
2104
		BEAM:remove()
2105
		BEAMO:remove()
2106
	end))
2107
	ATTACK = false
2108
	Rooted = false
2109
    VALUE2 = false
2110
end
2111
2112
local BODY = {}
2113
for _, c in pairs(Character:GetDescendants()) do
2114
	if c:IsA("BasePart") and c.Name ~= "Handle" then
2115
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
2116
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2117
		end
2118
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
2119
	elseif c:IsA("JointInstance") then
2120
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
2121
	end
2122
end
2123
2124
function Teleport()
2125
	ATTACK = true
2126
	Rooted = false
2127
	for i=0, 0.5, 0.1 / Animation_Speed do
2128
		Swait()
2129
		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)
2130
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
2131
	end
2132
	for e = 1, #BODY do
2133
		if BODY[e] ~= nil then
2134
			local STUFF = BODY[e]
2135
			local PART = STUFF[1]
2136
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
2137
				local PRT = PART:Clone()
2138
				PRT.Anchored = true
2139
				PRT.CanCollide = false
2140
				PRT.Material = "Neon"
2141
				PRT.Color = C3(0,0,0)
2142
				PRT.Name = "WarpEffect"
2143
				PRT.Parent = Effects
2144
				PRT.CFrame = PART.CFrame
2145
				PRT:BreakJoints()
2146
				if PRT:FindFirstChildOfClass("Sound") then
2147
					PRT:FindFirstChildOfClass("Sound"):remove()
2148
				end
2149
				if PRT:FindFirstChildOfClass("Decal") then
2150
					PRT:FindFirstChildOfClass("Decal"):remove()
2151
				end
2152
				coroutine.resume(coroutine.create(function()
2153
					for i = 1, 100 do
2154
						Swait()
2155
						PRT.Transparency = PRT.Transparency + 1/100
2156
					end
2157
					PRT:remove()
2158
				end))
2159
			end
2160
		end
2161
	end
2162
	CreateSound(289556450, Torso, 10, 1)
2163
	local POS = RootPart.Orientation
2164
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
2165
	RootPart.Orientation = POS
2166
	RootJoint.Parent = RootPart
2167
	for i=0, 0.5, 0.1 / Animation_Speed do
2168
		Swait()
2169
		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)
2170
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
2171
	end
2172
	for i=0, 0.1, 0.1 / Animation_Speed do
2173
		Swait()
2174
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
2175
	end
2176
	ATTACK = false
2177
	Rooted = false
2178
end
2179
2180
local DECAL = IT("Decal")
2181
function MakeRing()
2182
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
2183
	local MSH = IT("BlockMesh", RING)
2184
	local TOP = DECAL:Clone()
2185
	local BOTTOM = DECAL:Clone()
2186
	TOP.Parent = RING
2187
	BOTTOM.Parent = RING
2188
	TOP.Face = "Top"
2189
	BOTTOM.Face = "Bottom"
2190
	TOP.Texture = "http://www.roblox.com/asset/?id=647661410"
2191
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=647661410"
2192
	local function REMOVE()
2193
		coroutine.resume(coroutine.create(function()
2194
			local SIZE = MSH.Scale.X
2195
			for i = 1, 35 do
2196
				Swait()
2197
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
2198
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
2199
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
2200
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
2201
			end
2202
			RING:remove()
2203
		end))
2204
	end
2205
	return RING, MSH, REMOVE
2206
end
2207
2208
function ThanosShoe(POSITION,RANGE,ISGAY)
2209
	local CHILDREN = workspace:GetDescendants()
2210
	for index, CHILD in pairs(CHILDREN) do
2211
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2212
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2213
			if HUM then
2214
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2215
				if TORSO then
2216
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2217
						if ISGAY == true then
2218
							Petrify(CHILD)
2219
						else
2220
							if ISGAY == "Gravity" then
2221
								HUM.PlatformStand = true
2222
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2223
									local grav = Instance.new("BodyPosition",TORSO)
2224
									grav.D = 15
2225
									grav.P = 20000
2226
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2227
									grav.position = TORSO.Position
2228
									grav.Name = "V3BanishForce"..Player.Name
2229
								else
2230
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
2231
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
2232
								end
2233
							else
2234
								HUM.PlatformStand = false
2235
							end
2236
						end
2237
					elseif ISGAY == "Gravity" then
2238
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2239
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
2240
							HUM.PlatformStand = false
2241
						end
2242
					end
2243
				end
2244
			end
2245
		end
2246
	end
2247
end
2248
2249
function PlanetaryDevastation()
2250
	ATTACK = true
2251
	Rooted = true
2252
	chatfunc("This Is The Power Of My Core.")
2253
	local SIZE = 1
2254
	local GYRO = IT("BodyGyro", RootPart)
2255
	GYRO.D = 20
2256
	GYRO.P = 4000
2257
	GYRO.MaxTorque = VT(0, 40000, 0)
2258
	local RING, MESH, DELET = MakeRing()
2259
	local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
2260
	RING.CFrame = CF(HITPOS)
2261
	for i = 0, 0.6, 0.1 / Animation_Speed do
2262
		GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
2263
		Swait()
2264
		MESH.Scale = MESH.Scale + VT(53, 0, 53)
2265
		RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2266
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2267
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2268
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
2269
	end
2270
	local BLASTS = {675172759}
2271
	coroutine.resume(coroutine.create(function()
2272
		local CFRAME = RootPart.CFrame
2273
		for i = 1, 100 do
2274
			CFRAME = CFRAME * CF(0, 0, -35)
2275
			do
2276
				local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
2277
				if HITFLOOR then
2278
					Swait()
2279
					do
2280
						local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
2281
						coroutine.resume(coroutine.create(function()
2282
							local RING, MESH, DELET = MakeRing()
2283
							RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
2284
							for i = 1, 25 do
2285
								Swait()
2286
								MESH.Scale = MESH.Scale + VT(42, 0, 42)
2287
								RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2288
							end
2289
							ThanosShoe(RING.Position, 65, true)
2290
							local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
2291
							WACKYEFFECT({
2292
								Time = 25,
2293
								EffectType = "Sphere",
2294
								Size = VT(22, 22, 22),
2295
								Size2 = VT(85, 85, 85),
2296
								Transparency = 0,
2297
								Transparency2 = 1,
2298
								CFrame = CF(RING.Position),
2299
								MoveToPos = nil,
2300
								RotationX = 0,
2301
								RotationY = 0,
2302
								RotationZ = 0,
2303
								Material = "Neon",
2304
								Color = C3(0, 0, 0),
2305
								SoundID = BLASTS[MRANDOM(1, #BLASTS)],
2306
								SoundPitch = MRANDOM(9, 12) / 10,
2307
								SoundVolume = 10
2308
							})
2309
							for e = 1, 3 do
2310
								WACKYEFFECT({
2311
									EffectType = "Wave",
2312
									Size = VT(25, 0, 25),
2313
									Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
2314
									Transparency = 0,
2315
									Transparency2 = 1,
2316
									CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
2317
									MoveToPos = nil,
2318
									RotationX = 0,
2319
									RotationY = 3,
2320
									RotationZ = 0,
2321
									Material = "Neon",
2322
									Color = C3(0, 0, 0),
2323
									SoundID = nil,
2324
									SoundPitch = nil,
2325
									SoundVolume = nil
2326
								})
2327
								WACKYEFFECT({
2328
									Time = 35,
2329
									EffectType = "Sphere",
2330
									Size = VT(22, 45, 22),
2331
									Size2 = VT(25, 45 + e * 75, 25),
2332
									Transparency = 0,
2333
									Transparency2 = 1,
2334
									CFrame = CF(RING.Position) * TURN,
2335
									MoveToPos = nil,
2336
									RotationX = 0,
2337
									RotationY = 0,
2338
									RotationZ = 0,
2339
									Material = "Neon",
2340
									Color = C3(0, 0, 0),
2341
									SoundID = nil,
2342
									SoundPitch = MRANDOM(9, 12) / 10,
2343
									SoundVolume = 10
2344
								})
2345
							end
2346
							wait(0.3)
2347
							DELET()
2348
						end))
2349
					end
2350
				end
2351
			end
2352
		end
2353
	end))
2354
	Rooted = false
2355
	DELET()
2356
	GYRO:remove()
2357
	ATTACK = false
2358
	Rooted = false
2359
end
2360
2361
function Taunt()
2362
	ATTACK = true
2363
	Rooted = false
2364
	CreateSound(907331575, Torso, 6, 1, false)
2365
	chatfunc("You Have No One Left.")
2366
	ATTACK = false
2367
	Rooted = false
2368
end
2369
2370
--><Assign Things To Keys
2371
2372
function MouseDown(Mouse)
2373
	if ATTACK == false then
2374
	end
2375
end
2376
function MouseUp(Mouse)
2377
	HOLD = false
2378
end
2379
function KeyDown(Key)
2380
	KEYHOLD = true
2381
	if Key == "z" and ATTACK == false then
2382
		stoopid()
2383
	end
2384
	if Key == "b" and ATTACK == false then
2385
		NothingPersonal()
2386
	end
2387
	if Key == "c" and ATTACK == false then
2388
		Duster()
2389
	end
2390
	if Key == "v" and ATTACK == false then
2391
		Oblivion()
2392
	end
2393
	if Key == "x" and ATTACK == false then
2394
		PressureControl()
2395
	end
2396
	if Key == "q" and ATTACK == false then
2397
		RainbowBeam()
2398
	end
2399
	if Key == "t" and ATTACK == false then
2400
		Taunt()
2401
	end
2402
	if Key == "e" and ATTACK == false then
2403
		brougay()
2404
	end
2405
	if Key == "r" and ATTACK == false then
2406
		PlanetaryDevastation()
2407
	end
2408
	if Key == "f" and ATTACK == false then
2409
		Teleport()
2410
	end
2411
end
2412
function KeyUp(Key)
2413
	KEYHOLD = false
2414
end
2415
Mouse.Button1Down:connect(function(NEWKEY)
2416
	MouseDown(NEWKEY)
2417
end)
2418
Mouse.Button1Up:connect(function(NEWKEY)
2419
	MouseUp(NEWKEY)
2420
end)
2421
Mouse.KeyDown:connect(function(NEWKEY)
2422
	KeyDown(NEWKEY)
2423
end)
2424
Mouse.KeyUp:connect(function(NEWKEY)
2425
	KeyUp(NEWKEY)
2426
end)
2427
2428
--><:Thinking:
2429
function unanchor()
2430
	if UNANCHOR == true then
2431
		g = Character:GetChildren()
2432
		for i = 1, #g do
2433
			if g[i].ClassName == "Part" then
2434
				g[i].Anchored = false
2435
			end
2436
		end
2437
	end
2438
end
2439
2440
--><Wrap The Script
2441
function refit()
2442
	RootJoint.Parent = RootPart
2443
	Neck.Parent = Torso
2444
	RightShoulder.Parent = Torso
2445
	LeftShoulder.Parent = Torso
2446
	RightHip.Parent = Torso
2447
	LeftHip.Parent = Torso
2448
	RootPart.Parent = Character
2449
	LeftArm.Parent = Character
2450
	RightArm.Parent = Character
2451
	RightLeg.Parent = Character
2452
	LeftLeg.Parent = Character
2453
	Torso.Parent = Character
2454
	Head.Parent = Character
2455
end
2456
Humanoid.Changed:connect(function(Jump)
2457
	if Jump == "Jump" and Disable_Jump == true then
2458
		Humanoid.Jump = false
2459
	end
2460
end)
2461
Humanoid.HipHeight = 2
2462
local FF = IT("ForceField", Character)
2463
FF.Visible = false
2464
Speed = 45
2465
CreateSound("907332997", Head, 10, 0.9)
2466
while true do
2467
	Swait()
2468
	ANIMATE.Parent = nil
2469
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
2470
	IDLEANIMATION:Play()
2471
	SINE = SINE + CHANGE
2472
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2473
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2474
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
2475
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
2476
	if ATTACK == false then
2477
		if TORSOVELOCITY < 1 then
2478
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
2479
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2480
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2481
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.3) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
2482
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2483
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2484
		elseif TORSOVELOCITY > 1 then
2485
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2486
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2487
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2488
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.3) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
2489
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2490
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2491
		end
2492
	end
2493
	if VALUE2 == false then
2494
		Slice("Thin", 0.1, 5, Torso.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, .7, 0), VT(-0.15, 0, -0.15))
2495
		Slice("Thin", 0.1, 5, Torso.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, .7, 0), VT(-0.15, 0, -0.15))
2496
		Crystsal("Thin", 0.1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, .7, 0), VT(-0.445, 0, -0.445))
2497
		Crystsal("Thin", 0.1, 5, LeftArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, .7, 0), VT(-0.445, 0, -0.445))
2498
	end
2499
	unanchor()
2500
	Humanoid.MaxHealth = "inf"
2501
	Humanoid.Health = "inf"
2502
	if Rooted == false then
2503
		Disable_Jump = false
2504
		Humanoid.WalkSpeed = Speed
2505
	elseif Rooted == true then
2506
		Disable_Jump = true
2507
		Humanoid.WalkSpeed = 0
2508
	end
2509
	for _, c in pairs(Character:GetChildren()) do
2510
		if c.ClassName == "Part" then
2511
			c.Material = "Neon"
2512
			if c:FindFirstChildOfClass("ParticleEmitter") then
2513
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2514
			end
2515
			end
2516
	end
2517
	FF.Parent = Character
2518
	sick.Parent = Character
2519
	refit()
2520
	script.Parent = WEAPONGUI
2521
	Character.Parent = workspace
2522
	Humanoid.PlatformStand = false
2523
	Humanoid.Name = "protector of the earth"
2524
	for _, c in pairs(game.Players:GetChildren()) do
2525
		if c.Character ~= nil and c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
2526
			c.Character:BreakJoints()
2527
		end
2528
	end
2529
	Humanoid.DisplayDistanceType = "None"
2530
	end
2531
	
2532
-------------------||
2533
--------------------\\
2534
--||||||||||]]]]]]]]]\\
2535
---------------------\\\\\\\\\\\\\\\\\\\\
2536
--END OF EDIT BY INFINITEONEWITHDANK|]]>>
2537
---------------------////////////////////
2538
--||||||||||]]]]]]]]]//
2539
--------------------//
2540
-------------------||