View difference between Paste ID: 81EQ5gMx and ub7pDsGz
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32-
local Player = game.Players.localPlayer
32+
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34-
local plr = game:service'Players'.LocalPlayer
34+
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
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
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
-----------------------
88
--WhAT ANOTHER ONE????????!--
89
-------------------------------------------------------
90
--A script By makhail07
91
92
--This edit by 2003boobear
93
94
--Discord Creterisk#2958 
95
96
97
--https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png
98
-------------------------------------------------------
99
100
local FavIDs = {
101
	340106355, --Nefl Crystals
102
	927529620, --Dimension
103
	876981900, --Fantasy
104
	398987889, --Ordinary Days
105
	1117396305, --Oh wait, it's you.
106
	885996042, --Action Winter Journey
107
	919231299, --Sprawling Idiot Effigy
108
	743466274, --Good Day Sunshine
109
	727411183, --Knife Fight
110
	1402748531, --The Earth Is Counting On You!
111
	595230126 --Robot Language
112
	}
113
114
115
116
--The reality of my life isn't real but a Universe -makhail07
117
wait()
118
local Player = owner
119
local Character = Player.Character
120
local plr = owner
121
local char = plr.Character
122
local hum = char.Humanoid
123
local ra = char["Right Arm"]
124
local la= char["Left Arm"]
125
local rl= char["Right Leg"]
126
local ll = char["Left Leg"]
127
local hed = char.Head
128
local root = char.HumanoidRootPart
129
local rootj = root.RootJoint
130
local tors = char.Torso
131
local mouse = plr:GetMouse()
132
local LeftArm = Character["Left Arm"]
133
local RightArm = Character["Right Arm"]
134
local LeftLeg = Character["Left Leg"]
135
local RightLeg = Character["Right Leg"]
136
local Head = Character.Head
137
local Torso = Character.Torso
138
local cam = game.Workspace.CurrentCamera
139
local RootPart = Character.HumanoidRootPart
140
local RootJoint = RootPart.RootJoint
141
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
142
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
143
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
144
local EdgyMode = false
145
local Divinity = false
146
local Fighter = false
147
local Purity = false
148
local Destruction = false
149
local helpme = false
150
local Planetary = false
151
local Solar = false
152
local Lunar = false
153
local Frost = false
154
local Ashes = false
155
local notmenacing = true
156
local maincolor = BrickColor.new("Institutional white")
157
158
--do a die
159
160
-------------------------------------------------------
161
--Start Good Stuff--
162
-------------------------------------------------------
163
CF = CFrame.new
164
VT = Vector3.new
165
angles = CFrame.Angles
166
attack = false
167
Euler = CFrame.fromEulerAnglesXYZ
168
Rad = math.rad
169
IT = Instance.new
170
BrickC = BrickColor.new
171
Cos = math.cos
172
Acos = math.acos
173
Sin = math.sin
174
Asin = math.asin
175
Abs = math.abs
176
Mrandom = math.random
177
Floor = math.floor
178
local cn = CFrame.new
179
local mr = math.rad
180
local angles = CFrame.Angles
181
local ud = UDim2.new
182
local c3 = Color3.new
183
-------------------------------------------------------
184
--End Good Stuff--
185
-------------------------------------------------------
186
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
187
RSH, LSH = nil, nil 
188
RW = Instance.new("Weld") 
189
LW = Instance.new("Weld")
190
RH = tors["Right Hip"]
191
LH = tors["Left Hip"]
192
RSH = tors["Right Shoulder"] 
193
LSH = tors["Left Shoulder"] 
194
RSH.Parent = nil 
195
LSH.Parent = nil 
196
RW.Name = "RW"
197
RW.Part0 = tors 
198
RW.C0 = CF(1.5, 0.5, 0)
199
RW.C1 = CF(0, 0.5, 0) 
200
RW.Part1 = ra
201
RW.Parent = tors 
202
LW.Name = "LW"
203
LW.Part0 = tors 
204
LW.C0 = CF(-1.5, 0.5, 0)
205
LW.C1 = CF(0, 0.5, 0) 
206
LW.Part1 = la
207
LW.Parent = tors
208
Effects = {}
209
210
-------------------------------------------------------
211
--Start HeartBeat--
212
-------------------------------------------------------
213
ArtificialHB = Instance.new("BindableEvent", script)
214
ArtificialHB.Name = "Heartbeat"
215
script:WaitForChild("Heartbeat")
216
217
frame = 1 / 60
218
tf = 0
219
allowframeloss = false
220
tossremainder = false
221
222
223
lastframe = tick()
224
script.Heartbeat:Fire()
225
226
227
game:GetService("RunService").Heartbeat:connect(function(s, p)
228
	tf = tf + s
229
	if tf >= frame then
230
		if allowframeloss then
231
			script.Heartbeat:Fire()
232
			lastframe = tick()
233
		else
234
			for i = 1, math.floor(tf / frame) do
235
				script.Heartbeat:Fire()
236
			end
237
			lastframe = tick()
238
		end
239
		if tossremainder then
240
			tf = 0
241
		else
242
			tf = tf - frame * math.floor(tf / frame)
243
		end
244
	end
245
end)
246
247
-------------------------------------------------------
248
--End HeartBeat--
249
-------------------------------------------------------
250
251
local insanity={"hELPmE","iNsAnItY","iNsAnItY","InsAnITTTTY","InsAnityYyyyy","iNsAnItY","Insane","rUN","sCATTER","bEGoNE","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","hELP","iNsAnItY","iNsAnItY","dREaD","nIgHTFAll","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY"} --why
252
253
local NOUSE={"nOUsE","dONT TrYYYYYY","DiE FOr MEEEEE","HAAHHHHHA","BeGONE","UnSTOpPAbLE","WRYYyY","rUN","NoUsE","nO HOPe FOr tHE HoPELEsS","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","S o U L S","fEED","hUNgEr","HAHAAAAAAAAHHAHAAHA","aAAAaAAAAaA","bEGoNE sINnERRRR"} --aaaaaaa
254
255
local insanityface={"843367143","280233855","148988280","859779193","163713156","313921371","304942859","315792941","1684367763","335761015"} 
256
257
-------------------------------------------------------
258
--Start Important Functions--
259
-------------------------------------------------------
260
function swait(num)
261
	if num == 0 or num == nil then
262
		game:service("RunService").Stepped:wait(0)
263
	else
264
		for i = 0, num do
265
			game:service("RunService").Stepped:wait(0)
266
		end
267
	end
268
end
269
function thread(f)
270
	coroutine.resume(coroutine.create(f))
271
end
272
function clerp(a, b, t)
273
	local qa = {
274
		QuaternionFromCFrame(a)
275
	}
276
	local qb = {
277
		QuaternionFromCFrame(b)
278
	}
279
	local ax, ay, az = a.x, a.y, a.z
280
	local bx, by, bz = b.x, b.y, b.z
281
	local _t = 1 - t
282
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
283
end
284
function QuaternionFromCFrame(cf)
285
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
286
	local trace = m00 + m11 + m22
287
	if trace > 0 then
288
		local s = math.sqrt(1 + trace)
289
		local recip = 0.5 / s
290
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
291
	else
292
		local i = 0
293
		if m00 < m11 then
294
			i = 1
295
		end
296
		if m22 > (i == 0 and m00 or m11) then
297
			i = 2
298
		end
299
		if i == 0 then
300
			local s = math.sqrt(m00 - m11 - m22 + 1)
301
			local recip = 0.5 / s
302
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
303
		elseif i == 1 then
304
			local s = math.sqrt(m11 - m22 - m00 + 1)
305
			local recip = 0.5 / s
306
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
307
		elseif i == 2 then
308
			local s = math.sqrt(m22 - m00 - m11 + 1)
309
			local recip = 0.5 / s
310
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
311
		end
312
	end
313
end
314
function QuaternionToCFrame(px, py, pz, x, y, z, w)
315
	local xs, ys, zs = x + x, y + y, z + z
316
	local wx, wy, wz = w * xs, w * ys, w * zs
317
	local xx = x * xs
318-
			Value = game:service("Players").LocalPlayer,
318+
319
	local xz = x * zs
320
	local yy = y * ys
321
	local yz = y * zs
322
	local zz = z * zs
323
	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))
324
end
325
function QuaternionSlerp(a, b, t)
326
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
327
	local startInterp, finishInterp
328
	if cosTheta >= 1.0E-4 then
329
		if 1 - cosTheta > 1.0E-4 then
330
			local theta = math.acos(cosTheta)
331
			local invSinTheta = 1 / Sin(theta)
332
			startInterp = Sin((1 - t) * theta) * invSinTheta
333
			finishInterp = Sin(t * theta) * invSinTheta
334
		else
335
			startInterp = 1 - t
336
			finishInterp = t
337
		end
338
	elseif 1 + cosTheta > 1.0E-4 then
339
		local theta = math.acos(-cosTheta)
340
		local invSinTheta = 1 / Sin(theta)
341
		startInterp = Sin((t - 1) * theta) * invSinTheta
342
		finishInterp = Sin(t * theta) * invSinTheta
343
	else
344
		startInterp = t - 1
345
		finishInterp = t
346
	end
347
	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
348
end
349
function rayCast(Position, Direction, Range, Ignore)
350
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
351
end
352
local RbxUtility = LoadLibrary("RbxUtility")
353
local Create = RbxUtility.Create
354
355
warn("I'ma just call dis WhAT ANOTHER ONE V1.5")
356
357
warn("Please support the original creator, makhail07.")
358
359
warn("Also, 2003boobear made this edit.")
360
361
        shirt = Instance.new("Shirt", char)
362
        shirt.Name = "Shirt"
363
        pants = Instance.new("Pants", char)
364
        pants.Name = "Pants"
365
        char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537"
366
        char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689"
367
368
local BC = char["Body Colors"]
369
	BC.HeadColor = BrickColor.new("Fossil")
370
	BC.LeftArmColor = BrickColor.new("Fossil")
371
	BC.LeftLegColor = BrickColor.new("Fossil")
372
	BC.RightArmColor = BrickColor.new("Smoky grey")
373
	BC.RightLegColor = BrickColor.new("Fossil")
374
	BC.TorsoColor = BrickColor.new("Fossil")
375
-------------------------------------------------------
376
--Start Damage Function--
377
-------------------------------------------------------
378
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
379
	if hit.Parent == nil then
380
		return
381
	end
382
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
383
	for _, v in pairs(hit.Parent:children()) do
384
		if v:IsA("Humanoid") then
385
			h = v
386
		end
387
	end
388
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
389
	
390
         hit.Parent:FindFirstChild("Head"):BreakJoints()
391
         end
392
393
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
394
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
395
			if hit.Parent.DebounceHit.Value == true then
396
				return
397
			end
398
		end
399
         if insta == true then
400
         hit.Parent:FindFirstChild("Head"):BreakJoints()
401
         end
402
		local c = Create("ObjectValue"){
403
			Name = "creator",
404
			Value = owner,
405
			Parent = h,
406
		}
407
		game:GetService("Debris"):AddItem(c, .5)
408
		if HitSound ~= nil and HitPitch ~= nil then
409
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
410
		end
411
		local Damage = math.random(minim, maxim)
412
		local blocked = false
413
		local block = hit.Parent:findFirstChild("Block")
414
		if block ~= nil then
415
			if block.className == "IntValue" then
416
				if block.Value > 0 then
417
					blocked = true
418
					block.Value = block.Value - 1
419
					print(block.Value)
420
				end
421
			end
422
		end
423
		if blocked == false then
424
			h.Health = h.Health - Damage
425
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
426
		else
427
			h.Health = h.Health - (Damage / 2)
428
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
429
		end
430
		if Type == "Knockdown" then
431
			local hum = hit.Parent.Humanoid
432
			hum.PlatformStand = true
433
			coroutine.resume(coroutine.create(function(HHumanoid)
434
				swait(1)
435
				HHumanoid.PlatformStand = false
436
			end), hum)
437
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
438
			local bodvol = Create("BodyVelocity"){
439
				velocity = angle * knockback,
440
				P = 5000,
441
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
442
				Parent = hit,
443
			}
444
			local rl = Create("BodyAngularVelocity"){
445
				P = 3000,
446
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
447
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
448
				Parent = hit,
449
			}
450
			game:GetService("Debris"):AddItem(bodvol, .5)
451
			game:GetService("Debris"):AddItem(rl, .5)
452
		elseif Type == "Normal" then
453
			local vp = Create("BodyVelocity"){
454
				P = 500,
455
				maxForce = Vector3.new(math.huge, 0, math.huge),
456
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
457
			}
458
			if knockback > 0 then
459
				vp.Parent = hit.Parent.Torso
460
			end
461
			game:GetService("Debris"):AddItem(vp, .5)
462
		elseif Type == "Up" then
463
			local bodyVelocity = Create("BodyVelocity"){
464
				velocity = Vector3.new(0, 20, 0),
465
				P = 5000,
466
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
467
				Parent = hit,
468
			}
469
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
470
		elseif Type == "DarkUp" then
471
			coroutine.resume(coroutine.create(function()
472
				for i = 0, 1, 0.1 do
473
					swait()
474
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
475
				end
476
			end))
477
			local bodyVelocity = Create("BodyVelocity"){
478
				velocity = Vector3.new(0, 20, 0),
479
				P = 5000,
480
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
481
				Parent = hit,
482
			}
483
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
484
		elseif Type == "Snare" then
485
			local bp = Create("BodyPosition"){
486
				P = 2000,
487
				D = 100,
488
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
489
				position = hit.Parent.Torso.Position,
490
				Parent = hit.Parent.Torso,
491
			}
492
			game:GetService("Debris"):AddItem(bp, 1)
493
		elseif Type == "Freeze" then
494
			local BodPos = Create("BodyPosition"){
495
				P = 50000,
496
				D = 1000,
497
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
498
				position = hit.Parent.Torso.Position,
499
				Parent = hit.Parent.Torso,
500
			}
501
			local BodGy = Create("BodyGyro") {
502
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
503
				P = 20e+003,
504
				Parent = hit.Parent.Torso,
505
				cframe = hit.Parent.Torso.CFrame,
506
			}
507
			hit.Parent.Torso.Anchored = true
508
			coroutine.resume(coroutine.create(function(Part) 
509
				swait(1.5)
510
				Part.Anchored = false
511
			end), hit.Parent.Torso)
512
			game:GetService("Debris"):AddItem(BodPos, 3)
513
			game:GetService("Debris"):AddItem(BodGy, 3)
514
		end
515
		local debounce = Create("BoolValue"){
516
			Name = "DebounceHit",
517
			Parent = hit.Parent,
518
			Value = true,
519
		}
520
		game:GetService("Debris"):AddItem(debounce, Delay)
521
		c = Create("ObjectValue"){
522
			Name = "creator",
523
			Value = Player,
524
			Parent = h,
525
		}
526
		game:GetService("Debris"):AddItem(c, .5)
527
	end
528
end
529
-------------------------------------------------------
530
--End Damage Function--
531
-------------------------------------------------------
532
local DColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
533
ColorSequenceKeypoint.new(0.16, Color3.new(1,0,0)),
534
ColorSequenceKeypoint.new(0.32, Color3.new(1,0,0)),
535
ColorSequenceKeypoint.new(0.48, Color3.new(1,0,0)),
536
ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)),
537
ColorSequenceKeypoint.new(0.80, Color3.new(0,0,0)),
538
ColorSequenceKeypoint.new(0.96, Color3.new(0,0,0)),
539
ColorSequenceKeypoint.new(1, Color3.new(0,0,0))}
540
local DAtch3 = Instance.new("Attachment",ll)DAtch3.Position = Vector3.new(0,1.1,0)
541
local DAtch4 = Instance.new("Attachment",ll)DAtch4.Position = Vector3.new(0,-0.6,0)
542
local DTrail2 = Instance.new("Trail",ll)DTrail2.Attachment0 = DAtch3 DTrail2.Attachment1 = DAtch4
543
DTrail2.Texture = "rbxassetid://22636887" DTrail2.Lifetime = 0.2 DTrail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
544
DTrail2.Color = ColorSequence.new(DColorsArray) DTrail2.LightEmission = 1 
545
DTrail2.Enabled = false
546
local DAtch5 = Instance.new("Attachment",rl)DAtch5.Position = Vector3.new(0,1.1,0)
547
local DAtch6 = Instance.new("Attachment",rl)DAtch6.Position = Vector3.new(0,-0.6,0)
548
local DTrail3 = Instance.new("Trail",rl)DTrail3.Attachment0 = DAtch5 DTrail3.Attachment1 = DAtch6
549
DTrail3.Texture = "rbxassetid://22636887" DTrail3.Lifetime = 0.2 DTrail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
550
DTrail3.Color = ColorSequence.new(DColorsArray) DTrail3.LightEmission = 1 
551
DTrail3.Enabled = false
552
local DAtch7 = Instance.new("Attachment",ra)DAtch7.Position = Vector3.new(0,1.1,0)
553
local DAtch8 = Instance.new("Attachment",ra)DAtch8.Position = Vector3.new(0,-0.6,0)
554
local DTrail4 = Instance.new("Trail",ra)DTrail4.Attachment0 = DAtch7 DTrail4.Attachment1 = DAtch8
555
DTrail4.Texture = "rbxassetid://22636887" DTrail4.Lifetime = 0.2 DTrail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
556
DTrail4.Color = ColorSequence.new(DColorsArray) DTrail4.LightEmission = 1 
557
DTrail4.Enabled = false
558
local DAtch9 = Instance.new("Attachment",la)DAtch9.Position = Vector3.new(0,1.1,0)
559
local DAtch10 = Instance.new("Attachment",la)DAtch10.Position = Vector3.new(0,-0.6,0)
560
local DTrail5 = Instance.new("Trail",la)DTrail5.Attachment0 = DAtch9 DTrail5.Attachment1 = DAtch10
561
DTrail5.Texture = "rbxassetid://22636887" DTrail5.Lifetime = 0.2 DTrail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
562
DTrail5.Color = ColorSequence.new(DColorsArray) DTrail5.LightEmission = 1 
563
DTrail5.Enabled = false
564
local DAtch1 = Instance.new("Attachment",Torso)DAtch1.Position = Vector3.new(0,1.1,0)
565
local DAtch2 = Instance.new("Attachment",Torso)DAtch2.Position = Vector3.new(0,-2.5,0)
566
local DTrail = Instance.new("Trail",Torso)DTrail.Attachment0 = DAtch1 DTrail.Attachment1 = DAtch2
567
DTrail.Texture = "rbxassetid://22636887" DTrail.Lifetime = 0.2 DTrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
568
DTrail.Color = ColorSequence.new(DColorsArray) DTrail.LightEmission = 1 
569
DTrail.Enabled = false
570
-------------------------------------------------------
571
--Start Damage Function Customization--
572
-------------------------------------------------------
573
function ShowDamage(Pos, Text, Time, Color)
574
	local Rate = (1 / 30)
575
	local Pos = (Pos or Vector3.new(0, 0, 0))
576
	local Text = (Text or "")
577
	local Time = (Time or 2)
578
	local Color = (Color or Color3.new(1, 0, 1))
579
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
580
	EffectPart.Anchored = true
581
	local BillboardGui = Create("BillboardGui"){
582
		Size = UDim2.new(3, 0, 3, 0),
583
		Adornee = EffectPart,
584
		Parent = EffectPart,
585
	}
586
	local TextLabel = Create("TextLabel"){
587
		BackgroundTransparency = 1,
588
		Size = UDim2.new(1, 0, 1, 0),
589
		Text = Text,
590
		Font = "Highway",
591
		TextColor3 = Color,
592
		TextScaled = true,
593
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
594
		Parent = BillboardGui,
595
	}
596
	game.Debris:AddItem(EffectPart, (Time))
597
	EffectPart.Parent = game:GetService("Workspace")
598
	delay(0, function()
599
		local Frames = (Time / Rate)
600
		for Frame = 1, Frames do
601
			wait(Rate)
602
			local Percent = (Frame / Frames)
603
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
604
			TextLabel.TextTransparency = Percent
605
		end
606
		if EffectPart and EffectPart.Parent then
607
			EffectPart:Destroy()
608
		end
609
	end)
610
end
611
-------------------------------------------------------
612
--End Damage Function Customization--
613
-------------------------------------------------------
614
615
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
616
  for _, c in pairs(workspace:children()) do
617
    local hum = c:findFirstChild("Humanoid")
618
    if hum ~= nil then
619
      local head = c:findFirstChild("Head")
620
      if head ~= nil then
621
        local targ = head.Position - Part.Position
622
        local mag = targ.magnitude
623
        if magni >= mag and c.Name ~= plr.Name then
624
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
625
        end
626
      end
627
    end
628
  end
629
end
630
631
function PlayAnimationFromTable(table, speed, bool) --i didn't make this you fattie
632
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
633
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
634
	RW.C0 = clerp(RW.C0, table[3], speed) 
635
	LW.C0 = clerp(LW.C0, table[4], speed) 
636
	RH.C0 = clerp(RH.C0, table[5], speed) 
637
	LH.C0 = clerp(LH.C0, table[6], speed) 
638
	if bool == true then
639
		if resetc1 == false then
640
			resetc1 = true
641
			RootJoint.C1 = RootJoint.C1
642
			Torso.Neck.C1 = Torso.Neck.C1
643
			RW.C1 = rarmc1
644
			LW.C1 = larmc1
645
			RH.C1 = rlegc1
646
			LH.C1 = llegc1
647
		end
648
	end
649
end
650
651
CFuncs = {
652
	Part = {
653
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
654
			local Part = Create("Part")({
655
				Parent = Parent,
656
				Reflectance = Reflectance,
657
				Transparency = Transparency,
658
				CanCollide = false,
659
				Locked = true,
660
				BrickColor = BrickColor.new(tostring(BColor)),
661
				Name = Name,
662
				Size = Size,
663
				Material = Material
664
			})
665
			RemoveOutlines(Part)
666
			return Part
667
		end
668
	},
669
	Mesh = {
670
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
671
			local Msh = Create(Mesh)({
672
				Parent = Part,
673
				Offset = OffSet,
674
				Scale = Scale
675
			})
676
			if Mesh == "SpecialMesh" then
677
				Msh.MeshType = MeshType
678
				Msh.MeshId = MeshId
679
			end
680
			return Msh
681
		end
682
	},
683
	Mesh = {
684
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
685
			local Msh = Create(Mesh)({
686
				Parent = Part,
687
				Offset = OffSet,
688
				Scale = Scale
689
			})
690
			if Mesh == "SpecialMesh" then
691
				Msh.MeshType = MeshType
692
				Msh.MeshId = MeshId
693
			end
694
			return Msh
695
		end
696
	},
697
	Weld = {
698
		Create = function(Parent, Part0, Part1, C0, C1)
699
			local Weld = Create("Weld")({
700
				Parent = Parent,
701
				Part0 = Part0,
702
				Part1 = Part1,
703
				C0 = C0,
704
				C1 = C1
705
			})
706
			return Weld
707
		end
708
	},
709
	Sound = {
710
		Create = function(id, par, vol, pit)
711
			coroutine.resume(coroutine.create(function()
712
				local S = Create("Sound")({
713
					Volume = vol,
714
					Pitch = pit or 1,
715
					SoundId = id,
716
					Parent = par or workspace
717
				})
718
				wait()
719
				S:play()
720
				game:GetService("Debris"):AddItem(S, 6)
721
			end))
722
		end
723
	},
724
	ParticleEmitter = {
725
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
726
			local fp = Create("ParticleEmitter")({
727
				Parent = Parent,
728
				Color = ColorSequence.new(Color1, Color2),
729
				LightEmission = LightEmission,
730
				Size = Size,
731
				Texture = Texture,
732
				Transparency = Transparency,
733
				ZOffset = ZOffset,
734
				Acceleration = Accel,
735
				Drag = Drag,
736
				LockedToPart = LockedToPart,
737
				VelocityInheritance = VelocityInheritance,
738
				EmissionDirection = EmissionDirection,
739
				Enabled = Enabled,
740
				Lifetime = LifeTime,
741
				Rate = Rate,
742
				Rotation = Rotation,
743
				RotSpeed = RotSpeed,
744
				Speed = Speed,
745
				VelocitySpread = VelocitySpread
746
			})
747
			return fp
748
		end
749
	}
750
}
751
function RemoveOutlines(part)
752
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
753
end
754
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
755
	local Part = Create("Part")({
756
		formFactor = FormFactor,
757
		Parent = Parent,
758
		Reflectance = Reflectance,
759
		Transparency = Transparency,
760
		CanCollide = false,
761
		Locked = true,
762
		BrickColor = BrickColor.new(tostring(BColor)),
763
		Name = Name,
764
		Size = Size,
765
		Material = Material
766
	})
767
	RemoveOutlines(Part)
768
	return Part
769
end
770
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
771
	local Msh = Create(Mesh)({
772
		Parent = Part,
773
		Offset = OffSet,
774
		Scale = Scale
775
	})
776
	if Mesh == "SpecialMesh" then
777
		Msh.MeshType = MeshType
778
		Msh.MeshId = MeshId
779
	end
780
	return Msh
781
end
782
function CreateWeld(Parent, Part0, Part1, C0, C1)
783
	local Weld = Create("Weld")({
784
		Parent = Parent,
785
		Part0 = Part0,
786
		Part1 = Part1,
787
		C0 = C0,
788
		C1 = C1
789
	})
790
	return Weld
791
end
792
793
794
-------------------------------------------------------
795
--Start Effect Function--
796
-------------------------------------------------------
797
EffectModel = Instance.new("Model", char)
798
Effects = {
799
  Block = {
800
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
801
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
802
      prt.Anchored = true
803
      prt.CFrame = cframe
804
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
805
      game:GetService("Debris"):AddItem(prt, 10)
806
      if Type == 1 or Type == nil then
807
        table.insert(Effects, {
808
          prt,
809
          "Block1",
810
          delay,
811
          x3,
812
          y3,
813
          z3,
814
          msh
815
        })
816
      elseif Type == 2 then
817
        table.insert(Effects, {
818
          prt,
819
          "Block2",
820
          delay,
821
          x3,
822
          y3,
823
          z3,
824
          msh
825
        })
826
      else
827
        table.insert(Effects, {
828
          prt,
829
          "Block3",
830
          delay,
831
          x3,
832
          y3,
833
          z3,
834
          msh
835
        })
836
      end
837
    end
838
  },
839
  Sphere = {
840
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
841
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
842
      prt.Anchored = true
843
      prt.CFrame = cframe
844
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
845
      game:GetService("Debris"):AddItem(prt, 10)
846
      table.insert(Effects, {
847
        prt,
848
        "Cylinder",
849
        delay,
850
        x3,
851
        y3,
852
        z3,
853
        msh
854
      })
855
    end
856
  },
857
  Cylinder = {
858
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
859
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
860
      prt.Anchored = true
861
      prt.CFrame = cframe
862
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
863
      game:GetService("Debris"):AddItem(prt, 10)
864
      table.insert(Effects, {
865
        prt,
866
        "Cylinder",
867
        delay,
868
        x3,
869
        y3,
870
        z3,
871
        msh
872
      })
873
    end
874
  },
875
  Wave = {
876
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
877
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
878
      prt.Anchored = true
879
      prt.CFrame = cframe
880
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
881
      game:GetService("Debris"):AddItem(prt, 10)
882
      table.insert(Effects, {
883
        prt,
884
        "Cylinder",
885
        delay,
886
        x3 / 60,
887
        y3 / 60,
888
        z3 / 60,
889
        msh
890
      })
891
    end
892
  },
893
  Ring = {
894
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
895
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
896
      prt.Anchored = true
897
      prt.CFrame = cframe
898
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
899
      game:GetService("Debris"):AddItem(prt, 10)
900
      table.insert(Effects, {
901
        prt,
902
        "Cylinder",
903
        delay,
904
        x3,
905
        y3,
906
        z3,
907
        msh
908
      })
909
    end
910
  },
911
  Break = {
912
    Create = function(brickcolor, cframe, x1, y1, z1)
913
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
914
      prt.Anchored = true
915
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
916
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
917
      local num = math.random(10, 50) / 1000
918
      game:GetService("Debris"):AddItem(prt, 10)
919
      table.insert(Effects, {
920
        prt,
921
        "Shatter",
922
        num,
923
        prt.CFrame,
924
        math.random() - math.random(),
925
        0,
926
        math.random(50, 100) / 100
927
      })
928
    end
929
  },
930
Spiral = {
931
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
932
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
933
      prt.Anchored = true
934
      prt.CFrame = cframe
935
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
936
      game:GetService("Debris"):AddItem(prt, 10)
937
      table.insert(Effects, {
938
        prt,
939
        "Cylinder",
940
        delay,
941
        x3,
942
        y3,
943
        z3,
944
        msh
945
      })
946
    end
947
  },
948
Push = {
949
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
950
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
951
      prt.Anchored = true
952
      prt.CFrame = cframe
953
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
954
      game:GetService("Debris"):AddItem(prt, 10)
955
      table.insert(Effects, {
956
        prt,
957
        "Cylinder",
958
        delay,
959
        x3,
960
        y3,
961
        z3,
962
        msh
963
      })
964
    end
965
  }
966
}
967
-------------------------------------------------------
968
--End Effect Function--
969
-------------------------------------------------------
970
971
function CreateSound(ID, PARENT, VOLUME, PITCH)
972
	local NSound = nil
973
	coroutine.resume(coroutine.create(function()
974
		NSound = Instance.new("Sound", PARENT)
975
		NSound.Volume = VOLUME
976
		NSound.Pitch = PITCH
977
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
978
		swait()
979
		NSound:play()
980
		game:GetService("Debris"):AddItem(NSound, 10)
981
	end))
982
	return NSound
983
end
984
985
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
986
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
987
  prt.Anchored = true
988
  prt.CFrame = cframe
989
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
990
  game:GetService("Debris"):AddItem(prt, 10)
991
  if Type == 1 or Type == nil then
992
    table.insert(Effects, {
993
      prt,
994
      "Block1",
995
      delay,
996
      x3,
997
      y3,
998
      z3,
999
      msh
1000
    })
1001
  elseif Type == 2 then
1002
    table.insert(Effects, {
1003
      prt,
1004
      "Block2",
1005
      delay,
1006
      x3,
1007
      y3,
1008
      z3,
1009
      msh
1010
    })
1011
  elseif Type == 3 then
1012
    table.insert(Effects, {
1013
      prt,
1014
      "Block3",
1015
      delay,
1016
      x3,
1017
      y3,
1018
      z3,
1019
      msh
1020
    })
1021
  end
1022
end
1023
1024
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1025
local fp=Instance.new("Part")
1026
fp.formFactor=formfactor 
1027
fp.Parent=parent
1028
fp.Reflectance=reflectance
1029
fp.Transparency=transparency
1030
fp.CanCollide=false 
1031
fp.Locked=true
1032
fp.BrickColor=brickcolor
1033
fp.Name=name
1034
fp.Size=size
1035
fp.Position=tors.Position 
1036
RemoveOutlines(fp)
1037
fp.Material="SmoothPlastic"
1038
fp:BreakJoints()
1039
return fp 
1040
end 
1041
 
1042
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1043
local mesh=Instance.new(Mesh) 
1044
mesh.Parent=part
1045
if Mesh=="SpecialMesh" then
1046
mesh.MeshType=meshtype
1047
if meshid~="nil" then
1048
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1049
end
1050
end
1051
mesh.Offset=offset
1052
mesh.Scale=scale
1053
return mesh
1054
end
1055
1056
function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
1057
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1058
	prt.Anchored = true
1059
	prt.Material = "Neon"
1060
	prt.CFrame = cframe
1061
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1062
	game:GetService("Debris"):AddItem(prt, 5)
1063
	coroutine.resume(coroutine.create(function(Part, Mesh)
1064
		local rtype = rottype
1065
		for i = 0, 1, delay do
1066
			swait()
1067
			if rtype == 1 then
1068
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1069
			elseif rtype == 2 then
1070
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1071
			end
1072
			prt.Transparency = i
1073
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1074
		end
1075
		Part.Parent = nil
1076
	end), prt, msh)
1077
end
1078
1079
1080
function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1081
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1082
	prt.Anchored = true
1083
	prt.Material = "Neon"
1084
	prt.CFrame = cframe
1085
	prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1086
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1087
	game:GetService("Debris"):AddItem(prt, 5)
1088
	coroutine.resume(coroutine.create(function(Part, Mesh)
1089
		for i = 0, 1, delay do
1090
			swait()
1091
			Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1092
			Part.Transparency = i
1093
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1094
		end
1095
		Part.Parent = nil
1096
	end), prt, msh)
1097
end
1098
1099
1100
function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
1101
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1102
	prt.Anchored = true
1103
	prt.Material = "Neon"
1104
	prt.CFrame = cframe
1105
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
1106
	game:GetService("Debris"):AddItem(prt, 5)
1107
	coroutine.resume(coroutine.create(function(Part, Mesh)
1108
		local rtype = rottype
1109
		for i = 0, 1, delay do
1110
			swait()
1111
			if rtype == 1 then
1112
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1113
			elseif rtype == 2 then
1114
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1115
			end
1116
			prt.Transparency = i
1117
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
1118
		end
1119
		Part.Parent = nil
1120
	end), prt, msh)
1121
end
1122
1123
function Eviscerate(dude)
1124
	if dude.Name ~= char then
1125
		local bgf = IT("BodyGyro", dude.Head)
1126
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1127
		local val = IT("BoolValue", dude)
1128
		val.Name = "IsHit"
1129
		local ds = coroutine.wrap(function()
1130
			dude:WaitForChild("Head"):BreakJoints()
1131
			wait(0.5)
1132
			target = nil
1133
			coroutine.resume(coroutine.create(function()
1134
				for i, v in pairs(dude:GetChildren()) do
1135
					if v:IsA("Accessory") then
1136
						v:Destroy()
1137
					end
1138
					if v:IsA("Humanoid") then
1139
						v:Destroy()
1140
					end
1141
					if v:IsA("CharacterMesh") then
1142
						v:Destroy()
1143
					end
1144
					if v:IsA("Model") then
1145
						v:Destroy()
1146
					end
1147
					if v:IsA("Part") or v:IsA("MeshPart") then
1148
						for x, o in pairs(v:GetChildren()) do
1149
							if o:IsA("Decal") then
1150
								o:Destroy()
1151
							end
1152
						end
1153
						coroutine.resume(coroutine.create(function()
1154
							v.Material = "Neon"
1155
							v.CanCollide = false
1156
							local PartEmmit1 = IT("ParticleEmitter", v)
1157
							PartEmmit1.LightEmission = 1
1158
							PartEmmit1.Texture = "rbxassetid://284205403"
1159
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1160
							PartEmmit1.Rate = 150
1161
							PartEmmit1.Lifetime = NumberRange.new(1)
1162
							PartEmmit1.Size = NumberSequence.new({
1163
								NumberSequenceKeypoint.new(0, 0.75, 0),
1164
								NumberSequenceKeypoint.new(1, 0, 0)
1165
							})
1166
							PartEmmit1.Transparency = NumberSequence.new({
1167
								NumberSequenceKeypoint.new(0, 0, 0),
1168
								NumberSequenceKeypoint.new(1, 1, 0)
1169
							})
1170
							PartEmmit1.Speed = NumberRange.new(0, 0)
1171
							PartEmmit1.VelocitySpread = 30000
1172
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1173
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1174
							local BodPoss = IT("BodyPosition", v)
1175
							BodPoss.P = 3000
1176
							BodPoss.D = 1000
1177
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1178
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1179
							v.Color = maincolor.Color
1180
							coroutine.resume(coroutine.create(function()
1181
								for i = 0, 49 do
1182
									swait(1)
1183
									v.Transparency = v.Transparency + 0.08
1184
								end
1185
								wait(0.5)
1186
								PartEmmit1.Enabled = false
1187
								wait(3)
1188
								v:Destroy()
1189
								dude:Destroy()
1190
							end))
1191
						end))
1192
					end
1193
				end
1194
			end))
1195
		end)
1196
		ds()
1197
	end
1198
end
1199
function FindNearestHead(Position, Distance, SinglePlayer)
1200
	if SinglePlayer then
1201
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1202
	end
1203
	local List = {}
1204
	for i, v in pairs(workspace:GetChildren()) do
1205
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1206
			table.insert(List, v)
1207
		end
1208
	end
1209
	return List
1210
end
1211
function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
1212
	local type = type
1213
	local rng = Instance.new("Part", char)
1214
	rng.Anchored = true
1215
	rng.BrickColor = color
1216
	rng.CanCollide = false
1217
	rng.FormFactor = 3
1218
	rng.Name = "Ring"
1219
	rng.Material = "Neon"
1220
	rng.Size = Vector3.new(1, 1, 1)
1221
	rng.Transparency = 0
1222
	rng.TopSurface = 0
1223
	rng.BottomSurface = 0
1224
	rng.CFrame = pos
1225
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1226
	local rngm = Instance.new("SpecialMesh", rng)
1227
	rngm.MeshType = "Sphere"
1228
	rngm.Scale = Vector3.new(x1, y1, z1)
1229
	local scaler2 = 1
1230
	local speeder = FastSpeed
1231
	if type == "Add" then
1232
		scaler2 = 1 * value
1233
	elseif type == "Divide" then
1234
		scaler2 = 1 / value
1235
	end
1236
	coroutine.resume(coroutine.create(function()
1237
		for i = 0, 10 / bonuspeed, 0.1 do
1238
			swait()
1239
			if type == "Add" then
1240
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1241
			elseif type == "Divide" then
1242
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1243
			end
1244
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1245
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1246
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1247
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1248
		end
1249
		rng:Destroy()
1250
	end))
1251
end
1252
-------------------------------------------------------
1253
--End Important Functions--
1254
-------------------------------------------------------
1255
1256
--[[
1257
		Thanks for using Build-To-Lua by jarredbcv.
1258
]]--
1259
1260
New = function(Object, Parent, Name, Data)
1261
	local Object = Instance.new(Object)
1262
	for Index, Value in pairs(Data or {}) do
1263
		Object[Index] = Value
1264
	end
1265
	Object.Parent = Parent
1266
	Object.Name = Name
1267
	return Object
1268
end
1269
1270
NewInstance = function(instance,parent,properties)
1271
	local inst = Instance.new(instance,parent)
1272
	if(properties)then
1273
		for i,v in next, properties do
1274
			pcall(function() inst[i] = v end)
1275
		end
1276
	end
1277
	return inst;
1278
end
1279
	
1280
Gunty = New("Model",char,"Gunty",{})
1281
Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1282
Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1283
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1284
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),})
1285
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1286
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1287
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1288
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1289
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1290
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1291
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1292
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1293
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1294
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1295
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1296
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1297
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1298
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1299
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1300
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1301
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1302
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1303
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1304
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1305
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1306
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1307
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1308
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1309
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1310
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1311
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1312
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1313
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1314
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
1315
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1316
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1317
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
1318
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1319
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1320
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
1321
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1322
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1323
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1324
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1325
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1326
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1327
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1328
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1329
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1330
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1331
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1332
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1333
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1334
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1335
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1336
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1337
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1338
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1339
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1340
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
1341
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1342
1343
local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)})
1344
1345
for _,v in next, Gunty:children() do
1346
	v.CanCollide = false
1347
end
1348
1349
local all, last = {}, nil
1350
ArmourParts = {}
1351
ArmourParts2 = {}
1352
NeonParts = {}
1353
function scan(p)
1354
  for _, v in pairs(p:GetChildren()) do
1355
    if v:IsA("BasePart") then
1356
      if v.BrickColor == BrickColor.new("Smoky grey") then
1357
        table.insert(ArmourParts, v)
1358
      end
1359
	if v.BrickColor == BrickColor.new("Fossil") then
1360
		table.insert(ArmourParts2, v)
1361
	end
1362
      if v.BrickColor == BrickColor.new("Institutional white") then
1363
        table.insert(NeonParts, v)
1364
      end
1365
      if last then
1366
        local w = Instance.new("Weld")
1367
        w.Part0, w.Part1 = last, v
1368
        w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
1369
        w.Parent = last
1370
      end
1371
      table.insert(all, v)
1372
      last = v
1373
    end
1374
    scan(v)
1375
  end
1376
end
1377
scan(Gunty)
1378
for _, v in pairs(all) do
1379
  v.Anchored = false
1380
  v.CanCollide = false
1381
end
1382
function resetmode()
1383
  for i, v in pairs(ArmourParts) do
1384
    v.BrickColor = BrickColor.new("Smoky grey")
1385
  end
1386
	for i, v in pairs(ArmourParts2) do
1387
    v.BrickColor = BrickColor.new("Fossil")
1388
  end
1389
  for i, v in pairs(NeonParts) do
1390
    v.BrickColor = BrickColor.new("Institutional white")
1391
  end
1392
	maincolor = BrickColor.new("Institutional white")
1393
char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143"
1394
end
1395
-------------------------------------------------------
1396
--Start Music Option--
1397
-------------------------------------------------------
1398
local Music = Instance.new("Sound",tors)
1399
Music.Volume = 7.5
1400
Music.SoundId = "rbxassetid://1117396305"
1401
Music.Looped = true
1402
Music.Pitch = 1 --Pitcher
1403
Music:Play()
1404
-------------------------------------------------------
1405
--End Music Option--
1406
-------------------------------------------------------
1407
1408
local naeeym2 = Instance.new("BillboardGui",char)
1409
naeeym2.AlwaysOnTop = true
1410
naeeym2.Size = UDim2.new(5,35,2,35)
1411
naeeym2.StudsOffset = Vector3.new(0,2,0)
1412
naeeym2.Adornee = hed
1413
naeeym2.Name = "Name"
1414
1415
local tecks2 = Instance.new("TextLabel",naeeym2)
1416
tecks2.BackgroundTransparency = 1
1417
tecks2.TextScaled = true
1418
tecks2.BorderSizePixel = 0
1419
tecks2.Text = "Neutral"
1420
tecks2.Font = "Code"
1421
tecks2.TextSize = 30
1422
tecks2.TextStrokeTransparency = 0
1423
tecks2.TextColor3 = Color3.new(0,0,0)
1424
tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
1425
tecks2.Size = UDim2.new(1,0,0.5,0)
1426
tecks2.Rotation = 0
1427
tecks2.Parent = naeeym2
1428
1429
-------------------------------------------------------
1430
--Start Attacks N Stuff--
1431
-------------------------------------------------------
1432
local sine=0
1433
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
1434
  local Hitboxpart = Instance.new("Part", EffectModel)
1435
  RemoveOutlines(Hitboxpart)
1436
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
1437
  Hitboxpart.CanCollide = false
1438
  Hitboxpart.Transparency = 1
1439
  Hitboxpart.Anchored = true
1440
  Hitboxpart.CFrame = Pose
1441
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
1442
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
1443
end
1444
wait2 = false
1445
combo = 1
1446
mouse.Button1Down:connect(function(key)
1447
  if attack == false then
1448
    attack = true
1449
    hum.WalkSpeed = 3.01
1450
    if combo == 1 and wait2 == false then
1451
      wait2 = true
1452
		for i = 0, 1.2, 0.1 do
1453
        swait()
1454
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
1455
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
1456
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
1457
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1458
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
1459
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
1460
		  end
1461
		CreateSound("138097048", ra, 3, .8)
1462
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
1463
      for i = 0, 1.2, 0.1 do
1464
        swait()
1465
	BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
1466
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
1467
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1468
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
1469
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1470
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
1471
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1472
      end
1473
      combo = 2
1474
    end
1475
 	if combo == 2 and wait2 == false then
1476
      wait2 = true
1477
   for i = 0, 1.2, 0.1 do
1478
        swait()
1479
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
1480
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1481
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1482
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1483
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
1484
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
1485
      end
1486
	CreateSound("138097048", rl, 3, 1)
1487
	HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
1488
    for i = 0, 1.6, 0.1 do
1489
        swait()
1490
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3)
1491
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1492
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
1493
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
1494
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
1495
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
1496
      end
1497
      combo = 3
1498
    end
1499
   if combo == 3 and wait2 == false then
1500
    for i = 0, 1.2, 0.1 do
1501
        swait()
1502
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
1503
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
1504
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
1505
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1506
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
1507
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
1508
      end
1509
	CreateSound("138097048", ra, 3, .8)
1510
      HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1511
      for i = 0, 1.2, 0.1 do
1512
        swait()
1513
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
1514
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1515
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
1516
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1517
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
1518
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1519
      end
1520
		Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
1521
		Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
1522
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1523
	for i = 0, 1.2, 0.1 do
1524
        swait()
1525
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
1526
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1527
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
1528
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1529
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
1530
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1531
      end
1532
      combo = 1
1533
    end
1534
    hum.WalkSpeed = 8
1535
    wait2 = false
1536
    attack = false
1537
	end
1538
end)
1539
function Decapitate()
1540
	local target = nil
1541
	local targettorso = nil
1542
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
1543
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
1544
			target = mouse.Target.Parent.Humanoid
1545
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
1546
			targethead = mouse.Target.Parent:FindFirstChild("Head")
1547
		end
1548
	end
1549
	if target ~= nil then
1550
		targettorso.Anchored = true
1551
		attack = true
1552
		hum.WalkSpeed = 0
1553
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
1554
		for i = 0,4.2,0.1 do
1555
			swait()
1556
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
1557
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
1558
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
1559
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1560
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1)
1561
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
1562
		end
1563
		local ModelHead01 = New("Model", char, "", {})
1564
        local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
1565
        local Head01 = targethead:Clone()
1566
        targethead.Transparency = 1
1567
        Head01.Parent = ModelHead01
1568
        local weldHead01 = Instance.new("Weld")
1569
        weldHead01.Parent = Head01
1570
        weldHead01.Part0 = targethead
1571
        weldHead01.Part1 = Head01
1572
        weldHead01.C1 = CFrame.new(0, 0, 0)
1573
		targethead.face:Remove()
1574
		weldHead01.Part0 = ra
1575
        weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
1576
		targettorso:BreakJoints()
1577
		CreateSound("314390675", targettorso, 5, .7)
1578
		for i = 0,3.2,0.1 do
1579
			swait()
1580
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
1581
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1582
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1583
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15)
1584
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1)
1585
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
1586
		end
1587
		for i = 0,4.2,0.1 do
1588
			swait()
1589
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
1590
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
1591
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1592
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
1593
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
1594
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
1595
		end
1596
		CreateSound("541909763", targettorso, 5, .8)
1597
		weldHead01:Destroy()
1598
        Head01.CanCollide = true
1599
        local bodyVelocity2 = Create("BodyVelocity")({
1600
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
1601
          P = 5000,
1602
          maxForce = Vector3.new(8000, 8000, 8000),
1603
          Parent = Head01
1604
        })
1605
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
1606
		for i = 0,6.2,0.1 do
1607
			swait()
1608
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
1609
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
1610
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1611
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
1612
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
1613
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
1614
		end
1615
		targettorso.Anchored = false
1616
		attack = false
1617
		hum.WalkSpeed = 8
1618
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
1619
	end
1620
end
1621
function Laugh()
1622
	attack = true
1623
	hum.WalkSpeed = 0
1624
	CreateSound("300208779", hed, 10, 1)
1625
	for i = 0,9,0.1 do
1626
		swait()
1627
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
1628
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
1629
		if Mrandom(1,15) == 1 then
1630
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
1631
		end
1632
		RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
1633
		LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
1634
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
1635
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
1636
	end
1637
	attack = false
1638
	hum.WalkSpeed = 10
1639
end
1640
function Flying_Kick()
1641
	attack = true
1642
	hum.WalkSpeed = 0
1643
	for i = 0,2.7,0.1 do
1644
		swait()
1645
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
1646
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
1647
	RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1648
	LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
1649
	RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1)
1650
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1)
1651
	end
1652
	local bodyVelocity = Create("BodyVelocity")({
1653
          velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250,
1654
          P = 5000,
1655
          maxForce = Vector3.new(9e99, 9e99, 9e99),
1656
          Parent = root
1657
        })
1658
      game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
1659
CreateSound("138097048", rl, 3, 1)
1660
	for i = 0,2.1,0.1 do
1661
		swait()
1662
		HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
1663
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15)
1664
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1665
	RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15)
1666
	LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15)
1667
	RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
1668
	LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1)
1669
	end
1670
	attack = false
1671
	hum.WalkSpeed = 8
1672
end
1673
function UpperCut()
1674
	attack = true
1675
	hum.WalkSpeed = 0
1676
	for i = 0,2.3,0.1 do
1677
		swait()
1678
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
1679
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1680
	RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1681
	LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
1682
	RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1)
1683
	LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1)
1684
	end
1685
	CreateSound("138097048", ra, 3, .8)
1686
	HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
1687
	for i = 0,2.8,0.1 do
1688
		swait()
1689
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15)
1690
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
1691
	RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15)
1692
	LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
1693
	RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1)
1694
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1)
1695
	end
1696
	attack = false
1697
	hum.WalkSpeed = 8
1698
end
1699
function Spinning_Kick()
1700
	attack = true
1701
	hum.WalkSpeed = 3.01
1702
	for i = 0, 1.2, 0.1 do
1703
        swait()
1704
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
1705
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1706
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1707
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1708
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
1709
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
1710
      end
1711
    for i = 0, 4.6, 0.1 do
1712
        swait()
1713
	CreateSound("138097048", rl, 3, 1)
1714
	HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
1715
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3)
1716
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1717
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1)
1718
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3)
1719
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
1720
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3)
1721
      end
1722
	attack = false
1723
	hum.WalkSpeed = 8
1724
end
1725
function Beam_Of_Light()
1726
	
1727
end
1728
function Blast_Of_God()
1729
	attack = true
1730
	hum.WalkSpeed = 3.01
1731
	for i = 0,6.3,0.1 do
1732
		swait()
1733
		Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1734
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15)
1735
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
1736
		RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
1737
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
1738
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
1739
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
1740
	end
1741
	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
1742
    Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
1743
	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
1744
    Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
1745
 	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
1746
	Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
1747
	CreateSound("142070127", tors, 10, 1)
1748
	MagniDamage(ra, 12, 40, 60, 10, "Normal")
1749
	for i = 0,2.6,0.1 do
1750
		swait()
1751
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15)
1752
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
1753
		RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
1754
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
1755
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1)
1756
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
1757
	end
1758
	attack = false
1759
	hum.WalkSpeed = 8
1760
end
1761
function Diablo_Explosion()
1762
	attack = true
1763
	hum.WalkSpeed = 3.01
1764
	for i = 0,6.3,0.1 do
1765
		swait()
1766
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1767
		Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1768
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1769
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1770
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1771
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
1772
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
1773
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
1774
	end
1775
	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
1776
    Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
1777
	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
1778
    Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
1779
 	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
1780
	Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
1781
	CreateSound("142070127", tors, 10, 1)
1782
	MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
1783
	for i = 0,4.6,0.1 do
1784
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1785
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1786
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1787
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
1788
		RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
1789
		LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
1790
	end
1791
	wait(.6)
1792
	attack = false
1793
	hum.WalkSpeed = 8
1794
end
1795
function Multi_Bombs()
1796
	attack = true
1797
	hum.WalkSpeed = 3.01
1798
	for i = 0,3,0.1 do
1799
		swait()
1800
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1801
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1802
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1803
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1804
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1805
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
1806
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
1807
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
1808
	end
1809
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
1810
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
1811
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
1812
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
1813
 	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
1814
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
1815
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
1816
	CreateSound("142070127", tors, 10, 1)
1817
	MagniDamage(tors, 17, 15, 35, 10, "Normal")
1818
	for i = 0,1,0.1 do
1819
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1820
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1821
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1822
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
1823
		RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
1824
		LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
1825
	end
1826
	for i = 0,2,0.1 do
1827
		swait()
1828
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1829
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1830
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1831
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1832
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1833
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
1834
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
1835
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
1836
	end
1837
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
1838
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
1839
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
1840
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
1841
 	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
1842
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
1843
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
1844
	CreateSound("142070127", tors, 10, 1)
1845
	MagniDamage(tors, 17, 15, 35, 10, "Normal")
1846
	for i = 0,1,0.1 do
1847
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1848
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1849
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1850
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
1851
		RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
1852
		LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
1853
	end
1854
	for i = 0,2,0.1 do
1855
		swait()
1856
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1857
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1858
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1859
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1860
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1861
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
1862
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
1863
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
1864
	end
1865
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
1866
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
1867
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
1868
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
1869
 	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
1870
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
1871
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
1872
	CreateSound("142070127", tors, 10, 1)
1873
	MagniDamage(tors, 17, 15, 35, 10, "Normal")
1874
	for i = 0,1,0.1 do
1875
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1876
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1877
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1878
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
1879
		RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
1880
		LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
1881
	end
1882
	wait(.6)
1883
	attack = false
1884
	hum.WalkSpeed = 8
1885
end
1886
function Hell_From_Above()
1887
	local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1888
	attack = true
1889
	hum.WalkSpeed = 3.01
1890
	for i = 0,6.3,0.1 do
1891
		swait()
1892
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1893
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1894
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1895
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1896
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
1897
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
1898
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
1899
	end
1900
	CreateSound("142070127", tors, 10, 1)
1901
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1902
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1903
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1904
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1905
	for i = 0,3.8,0.1 do
1906
		swait()
1907
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1908
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1909
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1910
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
1911
		RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
1912
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
1913
	end
1914
	CreateSound("224339201", tors, 10, 0.5)
1915
	for i = 1, 3 do
1916
	MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
1917
	UhhhhThing.CFrame = mouse.Hit
1918
	Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
1919
	Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
1920
	end
1921
	UhhhhThing:Destroy()
1922
	attack = false
1923
	hum.WalkSpeed = 8
1924
end
1925
function Spinning_Below()
1926
	attack = true
1927
	hum.WalkSpeed = 3.01
1928
	CreateSound("649634100", tors, 10, 0.5)
1929
	for i = 0,6.3,0.1 do
1930
		swait()
1931
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1932
		Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1933
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15)
1934
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1935
		RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
1936
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
1937
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
1938
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
1939
	end
1940
	attack = false
1941
	hum.WalkSpeed = 8
1942
end
1943
function Blizzard()
1944
	attack = true
1945
	hum.WalkSpeed = 2
1946
        hum.JumpPower = 0
1947
	for i = 0,70,0.1 do
1948
	        MagniDamage(tors, 41, 1, 3, 1, "Normal")
1949
	        Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-40,40),Mrandom(-40,40),Mrandom(-40,40)), 2, 2, 2, 4, 4, 4, 0.03)
1950
		swait()
1951
		Effects.Block.Create(BrickC("Institutional white"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1952
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
1953
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1954
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1955
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1956
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
1957
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1)
1958
	end
1959
	hum.WalkSpeed = 16
1960
        hum.JumpPower = 50
1961
	attack = false
1962
end
1963
1964
function Cryo_Freeze()
1965
	attack = true
1966
	for i = 0,5.2,0.03 do
1967
		swait()
1968
		Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1969
		Effects.Block.Create(BrickC("White"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1970
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
1971
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1972
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
1973
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
1974
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
1975
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
1976
	end
1977
	CreateSound("331666100", tors, 10, 1)
1978
	Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 27, 0.01)
1979
	for i = 1,3,0.1 do
1980
	hum.WalkSpeed = 0.10
1981
	MagniDamage(tors, 400, 1, 10, 0, "Normal")
1982
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
1983
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
1984
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
1985
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
1986
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
1987
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
1988
	end
1989
	for i = 1,10,0.1 do
1990
        swait(10)
1991
	hum.WalkSpeed = 0.10
1992
	MagniDamage(tors, 400, 1, 1, 0, "Normal")
1993
	Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 1, 0.02)
1994
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
1995
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
1996
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
1997
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
1998
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
1999
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
2000
	end
2001
	wait(.6)
2002
	attack = false
2003
end
2004
function Menacing_Aura()
2005
	attack = true
2006
        notmenacing = false
2007
	for i = 0,2,0.1 do
2008
		swait()
2009
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2010
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2011
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2012
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2013
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2014
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2015
	end
2016
	CreateSound("331666100", tors, 10, 1)
2017
	coroutine.resume(coroutine.create(function() 
2018
		for i = 0,25,0.1 do
2019
			swait(10)
2020
	        MagniDamage(tors, 6.5, 1, 2, 0, "Normal")
2021
                Effects.Ring.Create(maincolor, root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.20, 0.20, 0.05, 0.02)
2022
		end
2023
                notmenacing = true
2024
	end))
2025
	wait(.6)
2026
	attack = false
2027
end
2028
local alternatecooldownbecausewhynotdood = false
2029
function Heat_Stroke()--This was NOT MADE BY ME! It's from Ruin II. Credit goes to When_kun, NoobyGames12, Injectioneer and Salvo_Starly!
2030
	attack = true
2031
	alternatecooldownbecausewhynotdood = true
2032
	for i = 0,2,0.1 do
2033
		swait()
2034
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2035
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2036
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2037
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2038
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2039
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2040
	end
2041
Effects.Block.Create(BrickColor.new("Bright red"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 5, 5, 5, 4, 4, 4, .06)
2042
ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
2043
      coroutine.resume(coroutine.create(function()
2044
            for i = 1,150,0.1 do
2045
            swait()	
2046
            MagniDamage(ref, 23.3, 3, 9, 0, "Normal")
2047
            Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05)
2048
            Effects.Block.Create(BrickColor.new("Black"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05)
2049
            Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05)
2050
            end
2051
            swait(50)
2052
            alternatecooldownbecausewhynotdood = false
2053
            ref:Remove() -- still lazy to use debris
2054
      end))
2055
attack = false	
2056
end
2057
function Eruption()
2058
	attack = true
2059
	hum.WalkSpeed = 2
2060
        hum.JumpPower = 0
2061
	for i = 0,7,0.1 do
2062
	        HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 1, "Normal")
2063
		swait()
2064
		Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2065
		Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2066
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2067
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2068
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2069
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2070
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
2071
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1)
2072
	end
2073
	CreateSound("144699494", tors, 10, 1)
2074
	Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 1.6, 1.6, 1.6, 0.02)
2075
	Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 3.6, 3.6, 3.6, 0.02)
2076
	Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 5.6, 5.6, 5.6, 0.02)
2077
	Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 8.6, 8, 8, 0.03)
2078
	MagniDamage(tors, 30, 40, 75, 7, "DarkUp")
2079
	coroutine.resume(coroutine.create(function() 
2080
		for i = 0,1.8,0.1 do
2081
			swait()
2082
			hum.CameraOffset = Vector3.new(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4))
2083
		end
2084
		for i = 0,1.8,0.1 do
2085
			swait()
2086
		hum.CameraOffset = Vector3.new(0,0,0)
2087
		end
2088
	end))
2089
        local vel2 = Instance.new("BodyVelocity",tors)
2090
        vel2.Velocity = Vector3.new(0,55,0)
2091
        vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
2092
	for i = 0,4,0.1 do
2093
	        HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 20, 35, 3, "Normal")
2094
		swait()
2095
		Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2096
		Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2097
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2098
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2099
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2100
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2101
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
2102
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1)
2103
	end
2104
	hum.WalkSpeed = 16
2105
        vel2:Destroy()
2106
        hum.JumpPower = 50
2107
	attack = false
2108
end
2109
function Solar_Flare()
2110
	attack = true
2111
	hum.WalkSpeed = 2
2112
        hum.JumpPower = 75
2113
        hum.Jump = true
2114
        wait(0.4)
2115
	CreateSound("144699494", tors, 10, 1)
2116
        hum.JumpPower = 0
2117
	Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, .6, .6, .6, 0.02)
2118
	Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 1.6, 1.6, 1.6, 0.02)
2119
	Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 2.6, 2.6, 2.6, 0.02)
2120
	for i = 0,20,0.1 do
2121
                root.Velocity = root.CFrame.lookVector * 60
2122
	        HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 14, 25, 35, 0, "Freeze")
2123
		swait()
2124
		Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05)
2125
		Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05)
2126
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(90), Rad(0), Rad(0-255.45*i)), 0.15)
2127
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2128
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2129
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2130
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
2131
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
2132
	end
2133
	hum.WalkSpeed = 16
2134
        hum.JumpPower = 50
2135
	attack = false
2136
end
2137
function ShadowWarp()
2138
	MagniDamage(tors, 5, 5, 10, 0, "Normal")
2139
	Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03)
2140
	Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02)
2141
		Effects.Block.Create(BrickC("Steel blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05)
2142
		local pos = root.Position
2143
		root.CFrame = CF(mouse.Hit.p+VT(0,3,0),pos)
2144
		CreateSound("769380905", tors, 10, 1)
2145
	MagniDamage(tors, 5, 15, 20, 0, "DarkUp")
2146
		Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05)
2147
	Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03)
2148
	Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02)
2149
end
2150
function Shade()
2151
	hum.WalkSpeed = 3
2152
	attack = true
2153
	for i = 0,2,0.1 do
2154
		swait()
2155
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2156
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2157
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2158
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2159
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2160
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2161
	end
2162
	hum.WalkSpeed = 3
2163
	CreateSound("588736969", tors, 10, 1)
2164
	Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
2165
	MagniDamage(tors, 27, 12, 24, 2, "Normal")
2166
	for i = 0,3,0.1 do
2167
		swait()
2168
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2169
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2170
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2171
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2172
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2173
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2174
        end
2175
	hum.WalkSpeed = 3
2176
	CreateSound("588736969", tors, 10, 1)
2177
	Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
2178
	MagniDamage(tors, 27, 12, 24, 2, "Normal")
2179
	for i = 0,3,0.1 do
2180
		swait()
2181
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2182
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2183
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2184
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2185
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2186
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2187
        end
2188
	CreateSound("588736969", tors, 10, 1)
2189
	Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
2190
	MagniDamage(tors, 27, 12, 24, 2, "Normal")
2191
	hum.WalkSpeed = 3
2192
	wait(.6)
2193
	hum.WalkSpeed = 16
2194
	attack = false
2195
end
2196
function Purity_Slam()
2197
	attack = true
2198
	for i = 0,5.2,0.1 do
2199
		swait()
2200
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2201
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2202
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2203
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2204
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2205
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2206
	end
2207
	CreateSound("331666100", tors, 10, 1)
2208
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
2209
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
2210
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
2211
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
2212
	MagniDamage(tors, 12, 40, 60, 10, "Normal")
2213
	coroutine.resume(coroutine.create(function() 
2214
		for i = 0,1.8,0.1 do
2215
			swait()
2216
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2217
		end
2218
		for i = 0,1.8,0.1 do
2219
			swait()
2220
		hum.CameraOffset = Vector3.new(0,0,0)
2221
		end
2222
	end))
2223
	for i = 1,4.7,0.1 do
2224
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2225
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2226
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2227
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2228
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
2229
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
2230
	end
2231
	wait(.6)
2232
	attack = false
2233
end
2234
function Universal_Crush()
2235
	attack = true
2236
	for i = 0,5.2,0.05 do
2237
		swait()
2238
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2239
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2240
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2241
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2242
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2243
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2244
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2245
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2246
	end
2247
	CreateSound("331666100", tors, 10, 1)
2248
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 16.6, 16.6, 16.6, 0.01)
2249
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 16, 16, 16, 19.6, 19.6, 19.6, 0.01)
2250
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 18, 18, 18, 22.6, 22.6, 22.6, 0.01)
2251
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 20, 20, 20, 25.6, 25, 25, 0.01)
2252
	MagniDamage(tors, 170, 80, 175, 15, "DarkUp")
2253
	coroutine.resume(coroutine.create(function() 
2254
		for i = 0,1.8,0.1 do
2255
			swait()
2256
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2257
		end
2258
		for i = 0,1.8,0.1 do
2259
			swait()
2260
		hum.CameraOffset = Vector3.new(0,0,0)
2261
		end
2262
	end))
2263
	for i = 1,4.7,0.1 do
2264
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2265
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2266
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2267
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2268
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
2269
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
2270
	end
2271
	wait(.6)
2272
	attack = false
2273
end
2274
function Painful_Stomp()
2275
	attack = true
2276
	for i = 0,5.2,0.1 do
2277
		swait()
2278
		tecks2.Rotation = math.random(-20, 20)
2279
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2280
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2281
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2282
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2283
		LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2284
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
2285
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
2286
	end	
2287
	CreateSound("331666100", char, 10, 1)
2288
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2289
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2290
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2291
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2292
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
2293
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
2294
	Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
2295
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
2296
		if v:FindFirstChild("Head") then
2297
			Eviscerate(v)
2298
		end
2299
	end
2300
	coroutine.resume(coroutine.create(function() 
2301
		for i = 0,2.8,0.1 do
2302
			swait()
2303
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2304
		end
2305
		for i = 0,1.8,0.1 do
2306
			swait()
2307
		hum.CameraOffset = Vector3.new(0,0,0)
2308
		end
2309
	end))
2310
	for i = 0,3.7,0.1 do
2311
		tecks2.Rotation = math.random(-20, 20)
2312
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2313
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
2314
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2315
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
2316
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
2317
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2318
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2319
	end
2320
	wait(.6)
2321
	attack = false
2322
end
2323
function Ending()
2324
	local target = nil
2325
	local targettorso = nil
2326
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
2327
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
2328
			targetT  = mouse.Target.Parent
2329
			target = mouse.Target.Parent.Humanoid
2330
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
2331
			targethead = mouse.Target.Parent:FindFirstChild("Head")
2332
		end
2333
	end
2334
	if target ~= nil then
2335
		targettorso.Anchored = true
2336
		attack = true
2337
		hum.WalkSpeed = 0
2338
		local originalpos = root.CFrame
2339
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
2340
		for i = 0,1.8,0.1 do
2341
		tecks2.Rotation = math.random(-20, 20)
2342
			swait()
2343
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2344
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
2345
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
2346
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2347
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2348
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
2349
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
2350
		end
2351
		Eviscerate(targetT)
2352
		CreateSound("331666100", ra, 4, 1)
2353
		CreateSound("180083286", targettorso, 10, 1)
2354
		coroutine.resume(coroutine.create(function() 
2355
		for i = 0,1.8,0.1 do
2356
			swait()
2357
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2358
		end
2359
		for i = 0,1.8,0.1 do
2360
			swait()
2361
		hum.CameraOffset = Vector3.new(0,0,0)
2362
		end
2363
	end))
2364
		for i = 0,4.6,0.1 do
2365
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2366
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
2367
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2368
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2369
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2370
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
2371
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
2372
		end
2373
		wait(.6)
2374
		root.CFrame = originalpos
2375
		attack = false
2376
	hum.WalkSpeed = 8
2377
	end
2378
end
2379
2380
--[[I don't take ANY credit for this attack,
2381
	this was all nooby's hard work and the only reason i uhhh "used" it
2382
	is cause I i didn't have attack ideas at the time so yeah,
2383
	100% nooby's credit <3]]
2384
function Ende_der_Weld()
2385
	attack = true
2386
	hum.WalkSpeed = 0
2387
	for i = 0,4.6,0.1 do
2388
			swait()
2389
		tecks2.Rotation = math.random(-20, 20)
2390
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2391
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
2392
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2393
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2394
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2395
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
2396
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
2397
		end
2398
		local a = Instance.new("Part",char)
2399
		a.BrickColor = BrickColor.random()
2400
	a.Name = "Lazer"	
2401
	a.Anchored = true
2402
a.Material = "Neon"
2403
a.Transparency = 1
2404
	a.CanCollide = false
2405
	local hitbox = Instance.new("Part",char)
2406
	hitbox.Size = Vector3.new(5,5,5)
2407
	hitbox.CFrame = mouse.hit
2408
	hitbox.Anchored = true
2409
	hitbox.Transparency = 1
2410
	hitbox.CanCollide = false
2411
	local ray = Ray.new(
2412
	    ra.CFrame.p,                           -- origin
2413
	    (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction
2414
	) 
2415
	local ignore = char
2416
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2417
	if hit then
2418
		local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
2419
	 
2420
		if not humanoid then
2421
			humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
2422
		end
2423
		if humanoid then
2424
			if humanoid.Parent:IsA"Model" then
2425
			end
2426
		end
2427
	end
2428
	a.BottomSurface = 10
2429
	a.TopSurface = 10
2430
	local distance = (ra.CFrame.p - position).magnitude
2431
	a.Size = Vector3.new(0.1, 0.1, 0.1)
2432
	a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0)
2433
	game:GetService("Debris"):AddItem(a, 5)
2434
	game:GetService("Debris"):AddItem(hitbox, 1)
2435
local newmesh = Instance.new("BlockMesh",a)
2436
MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025) 
2437
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1)
2438
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2)
2439
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1)
2440
			 local lbs = Instance.new("Part")
2441
  lbs.Parent = char
2442
CreateSound("929619479", lbs, 10, 1)
2443
   lbs.Material = "Neon"
2444
    lbs.Color = BrickColor.Random().Color
2445
     lbs.CanCollide = false
2446
     lbs.Shape = "Ball"
2447
     lbs.Anchored = true
2448
     lbs.Transparency = 0
2449
     lbs.Size = Vector3.new(20,20,20)
2450
     lbs.CFrame = a.CFrame
2451
     local thing = Instance.new("SpecialMesh",lbs)
2452
     thing.MeshType = "Sphere"
2453
lbs.Anchored = false
2454
  local bvs = Instance.new("BodyVelocity")
2455
  bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
2456
  bvs.velocity = a.CFrame.lookVector*75
2457
  bvs.Parent = lbs
2458
lbs.Touched:connect(function(hit) 
2459
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
2460
end)
2461
attack = false
2462
game:GetService("Debris"):AddItem(lbs, 10)
2463
for x = 0, 4 do
2464
	local bulletgos = IT("Model",char)
2465
	local bulletgos2 = IT("Model",char)
2466
for z = 0, 24 do
2467
			 local lb = Instance.new("Part")
2468
  lb.Parent = bulletgos
2469
   lb.Material = "Neon"
2470
    lb.Color = BrickColor.Random().Color
2471
     lb.CanCollide = false
2472
     lb.Anchored = true
2473
     lb.Transparency = 0
2474
     lb.Size = Vector3.new(2,2,2)
2475
local thing = Instance.new("SpecialMesh",lb)
2476
     thing.MeshType = "Sphere"
2477
     thing.Scale = Vector3.new(0.5,0.5,1.5)
2478
     lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2479
     lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
2480
			 local lb2 = Instance.new("Part")
2481
  lb2.Parent = bulletgos2
2482
   lb2.Material = "Neon"
2483
    lb2.Color = lb.Color
2484
     lb2.CanCollide = false
2485
     lb2.Anchored = true
2486
     lb2.Transparency = 0
2487
     lb2.Size = Vector3.new(2,2,2)
2488
     lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2489
     lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
2490
     local thing2 = Instance.new("SpecialMesh",lb2)
2491
     thing2.MeshType = "Sphere"
2492
     thing2.Scale = Vector3.new(0.5,0.5,1.5)
2493
lb.Touched:connect(function(hit) 
2494
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
2495
end)
2496
lb2.Touched:connect(function(hit) 
2497
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
2498
end)
2499
end
2500
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
2501
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
2502
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
2503
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
2504
CreateSound("925629856", lbs, 5, 1)
2505
game:GetService("Debris"):AddItem(bulletgos, 7)
2506
game:GetService("Debris"):AddItem(bulletgos2, 7)
2507
for i,v in pairs(bulletgos:children()) do
2508
    if v:IsA("Part") then
2509
	v.Anchored = false
2510
	MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) 
2511
  local bv = Instance.new("BodyVelocity")
2512
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2513
  bv.velocity = v.CFrame.lookVector*25
2514
  bv.Parent = v
2515
game:GetService("Debris"):AddItem(v, 5)
2516
    end
2517
end
2518
for i,v in pairs(bulletgos2:children()) do
2519
    if v:IsA("Part") then
2520
	v.Anchored = false
2521
	MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) 
2522
  local bv = Instance.new("BodyVelocity")
2523
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2524
  bv.velocity = v.CFrame.lookVector*-25
2525
  bv.Parent = v
2526
game:GetService("Debris"):AddItem(v, 5)
2527
    end
2528
end
2529
wait(1)
2530
end
2531
attack = false
2532
hum.WalkSpeed = 8
2533
end
2534
-------------------------------------------------------
2535
--End Attacks N Stuff--
2536
-------------------------------------------------------
2537
mouse.KeyDown:connect(function(key)
2538
    if string.byte(key) == 48 then
2539
        Swing = 2
2540
        hum.WalkSpeed = 38.82
2541
	end
2542
end)
2543
mouse.KeyUp:connect(function(key)
2544
    if string.byte(key) == 48 then
2545
        Swing = 1
2546
        hum.WalkSpeed = 8
2547
	end
2548
end)
2549
mouse.KeyDown:connect(function(key)
2550
	if attack == false then
2551
		if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2552
        DTrail5.Enabled = false
2553
        DTrail4.Enabled = false
2554
        DTrail3.Enabled = false
2555
        DTrail2.Enabled = false
2556
        DTrail.Enabled = false
2557
			EdgyMode = true
2558
			tecks2.Text = "Edgy"
2559
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2560
			tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
2561
		for i, v in pairs(ArmourParts) do
2562
        	v.BrickColor = BrickColor.new("Black")
2563
		      		end
2564
		for i, v in pairs(ArmourParts2) do
2565
        	v.BrickColor = BrickColor.new("Really black")
2566
		      		end
2567
    	for i, v in pairs(NeonParts) do
2568
        	v.BrickColor = BrickColor.new("Royal purple")
2569
      				end
2570
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=457729356"
2571
	maincolor = BrickColor.new("Royal purple")
2572
	BC.HeadColor = BrickColor.new("Black")
2573
	BC.LeftArmColor = BrickColor.new("Black")
2574
	BC.LeftLegColor = BrickColor.new("Black")
2575
	BC.RightArmColor = BrickColor.new("Royal purple")
2576
	BC.RightLegColor = BrickColor.new("Black")
2577
	BC.TorsoColor = BrickColor.new("Black")
2578
                        Music.TimePosition = 0
2579
			Music.SoundId = "rbxassetid://1693948941"
2580
			Music.Parent = tors
2581
			Music:Play()
2582
		elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2583
        DTrail5.Enabled = false
2584
        DTrail4.Enabled = false
2585
        DTrail3.Enabled = false
2586
        DTrail2.Enabled = false
2587
        DTrail.Enabled = false
2588
			EdgyMode = false
2589
			tecks2.Text = "Neutral"
2590
                        tecks2.Rotation = 0
2591
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2592
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2593
			resetmode()
2594
                        Music.TimePosition = 0
2595
			Music.SoundId = "rbxassetid://1117396305"
2596
			Music.Parent = tors
2597
			Music:Play()
2598
	BC.HeadColor = BrickColor.new("Fossil")
2599
	BC.LeftArmColor = BrickColor.new("Fossil")
2600
	BC.LeftLegColor = BrickColor.new("Fossil")
2601
	BC.RightArmColor = BrickColor.new("Smoky grey")
2602
	BC.RightLegColor = BrickColor.new("Fossil")
2603
	BC.TorsoColor = BrickColor.new("Fossil")
2604
		elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2605
        DTrail5.Enabled = false
2606
        DTrail4.Enabled = false
2607
        DTrail3.Enabled = false
2608
        DTrail2.Enabled = false
2609
        DTrail.Enabled = false
2610
			Divinity = true
2611
			tecks2.Text = "Divinity"
2612
                        tecks2.Rotation = 0
2613
			tecks2.TextColor3 = Color3.new(1, 1, 1)
2614
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
2615
		for i, v in pairs(ArmourParts) do
2616
        	v.BrickColor = BrickColor.new("Institutional white")
2617
		      		end
2618
		for i, v in pairs(ArmourParts2) do
2619
        	v.BrickColor = BrickColor.new("White")
2620
		      		end
2621
    	for i, v in pairs(NeonParts) do
2622
        	v.BrickColor = BrickColor.new("New Yeller")
2623
      				end
2624
		maincolor = BrickColor.new("New Yeller")
2625
	BC.HeadColor = BrickColor.new("White")
2626
	BC.LeftArmColor = BrickColor.new("White")
2627
	BC.LeftLegColor = BrickColor.new("White")
2628
	BC.RightArmColor = BrickColor.new("New Yeller")
2629
	BC.RightLegColor = BrickColor.new("White")
2630
	BC.TorsoColor = BrickColor.new("White")
2631
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=329945268"
2632
                        Music.TimePosition = 0
2633
			Music.SoundId = "rbxassetid://595800581"
2634
			Music.Parent = tors
2635
			Music:Play()
2636
		elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2637
        DTrail5.Enabled = false
2638
        DTrail4.Enabled = false
2639
        DTrail3.Enabled = false
2640
        DTrail2.Enabled = false
2641
        DTrail.Enabled = false
2642
			Divinity = false
2643
			tecks2.Text = "Neutral"
2644
                        tecks2.Rotation = 0
2645
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2646
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2647
			resetmode()
2648
	BC.HeadColor = BrickColor.new("Fossil")
2649
	BC.LeftArmColor = BrickColor.new("Fossil")
2650
	BC.LeftLegColor = BrickColor.new("Fossil")
2651
	BC.RightArmColor = BrickColor.new("Smoky grey")
2652
	BC.RightLegColor = BrickColor.new("Fossil")
2653
	BC.TorsoColor = BrickColor.new("Fossil")
2654
                        Music.TimePosition = 0
2655
			Music.SoundId = "rbxassetid://1117396305"
2656
			Music.Parent = tors
2657
			Music:Play()
2658
		elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2659
        DTrail5.Enabled = false
2660
        DTrail4.Enabled = false
2661
        DTrail3.Enabled = false
2662
        DTrail2.Enabled = false
2663
        DTrail.Enabled = false
2664
			Fighter = true
2665
			tecks2.Text = "Fighter"
2666
                        tecks2.Rotation = 0
2667
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2668
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
2669
		for i, v in pairs(ArmourParts) do
2670
        	v.BrickColor = BrickColor.new("Black")
2671
		      		end
2672
		for i, v in pairs(ArmourParts2) do
2673
        	v.BrickColor = BrickColor.new("Really black")
2674
		      		end
2675
    	for i, v in pairs(NeonParts) do
2676
        	v.BrickColor = BrickColor.new("Institutional white")
2677
      				end
2678
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178"
2679
		maincolor = BrickColor.new("Institutional white")
2680
	BC.HeadColor = BrickColor.new("Really black")
2681
	BC.LeftArmColor = BrickColor.new("Really black")
2682
	BC.LeftLegColor = BrickColor.new("Really black")
2683
	BC.RightArmColor = BrickColor.new("Institutional white")
2684
	BC.RightLegColor = BrickColor.new("Really black")
2685
	BC.TorsoColor = BrickColor.new("Really black")
2686
			Music.SoundId = "rbxassetid://207375545"
2687
			Music.Parent = tors
2688
                        Music.TimePosition = 8.3
2689
			Music:Play()
2690
		elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2691
        DTrail5.Enabled = false
2692
        DTrail4.Enabled = false
2693
        DTrail3.Enabled = false
2694
        DTrail2.Enabled = false
2695
        DTrail.Enabled = false
2696
			Fighter = false
2697
			tecks2.Text = "Neutral"
2698
                        tecks2.Rotation = 0
2699
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2700
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2701
			resetmode()
2702
	BC.HeadColor = BrickColor.new("Fossil")
2703
	BC.LeftArmColor = BrickColor.new("Fossil")
2704
	BC.LeftLegColor = BrickColor.new("Fossil")
2705
	BC.RightArmColor = BrickColor.new("Smoky grey")
2706
	BC.RightLegColor = BrickColor.new("Fossil")
2707
	BC.TorsoColor = BrickColor.new("Fossil")
2708
                        Music.TimePosition = 0
2709
			Music.SoundId = "rbxassetid://1117396305"
2710
			Music.Parent = tors
2711
			Music:Play()
2712
		elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2713
        DTrail5.Enabled = false
2714
        DTrail4.Enabled = false
2715
        DTrail3.Enabled = false
2716
        DTrail2.Enabled = false
2717
        DTrail.Enabled = false
2718
			Purity = true
2719
			tecks2.Text = "Purity"
2720
                        tecks2.Rotation = 0
2721
			tecks2.TextColor3 = Color3.new(1, 1, 1)
2722
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
2723
		for i, v in pairs(ArmourParts) do
2724
        	v.BrickColor = BrickColor.new("Institutional white")
2725
		      		end
2726
		for i, v in pairs(ArmourParts2) do
2727
        	v.BrickColor = BrickColor.new("Institutional white")
2728
		      		end
2729
    	for i, v in pairs(NeonParts) do
2730
        	v.BrickColor = BrickColor.new("Toothpaste")
2731
      				end
2732
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=155195214"
2733
		maincolor = BrickColor.new("Toothpaste")
2734
	BC.HeadColor = BrickColor.new("Institutional white")
2735
	BC.LeftArmColor = BrickColor.new("Institutional white")
2736
	BC.LeftLegColor = BrickColor.new("Institutional white")
2737
	BC.RightArmColor = BrickColor.new("Toothpaste")
2738
	BC.RightLegColor = BrickColor.new("Institutional white")
2739
	BC.TorsoColor = BrickColor.new("Institutional white")
2740
                        Music.TimePosition = 0
2741
			Music.SoundId = "rbxassetid://174212509"
2742
			Music.Parent = tors
2743
			Music:Play()
2744
		elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2745
        DTrail5.Enabled = false
2746
        DTrail4.Enabled = false
2747
        DTrail3.Enabled = false
2748
        DTrail2.Enabled = false
2749
        DTrail.Enabled = false
2750
			Purity = false
2751
			tecks2.Text = "Neutral"
2752
                        tecks2.Rotation = 0
2753
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2754
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2755
			resetmode()
2756
                        Music.TimePosition = 0
2757
			Music.SoundId = "rbxassetid://1117396305"
2758
			Music.Parent = tors
2759
			Music:Play()
2760
	BC.HeadColor = BrickColor.new("Fossil")
2761
	BC.LeftArmColor = BrickColor.new("Fossil")
2762
	BC.LeftLegColor = BrickColor.new("Fossil")
2763
	BC.RightArmColor = BrickColor.new("Smoky grey")
2764
	BC.RightLegColor = BrickColor.new("Fossil")
2765
	BC.TorsoColor = BrickColor.new("Fossil")
2766
		elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2767
        DTrail5.Enabled = false
2768
        DTrail4.Enabled = false
2769
        DTrail3.Enabled = false
2770
        DTrail2.Enabled = false
2771
        DTrail.Enabled = false
2772
			Solar = true
2773
			tecks2.Text = "Solar"
2774
                        tecks2.Rotation = 0
2775
			tecks2.TextColor3 = Color3.new(1, 1, 0)
2776
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 170, 0)
2777
		for i, v in pairs(ArmourParts) do
2778
        	v.BrickColor = BrickColor.new("New Yeller")
2779
		      		end
2780
		for i, v in pairs(ArmourParts2) do
2781
        	v.BrickColor = BrickColor.new("Bright yellow")
2782
		      		end
2783
    	for i, v in pairs(NeonParts) do
2784
        	v.BrickColor = BrickColor.new("Deep orange")
2785
      				end
2786
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=246991049"
2787
		maincolor = BrickColor.new("Deep orange")
2788
	BC.HeadColor = BrickColor.new("New Yeller")
2789
	BC.LeftArmColor = BrickColor.new("New Yeller")
2790
	BC.LeftLegColor = BrickColor.new("New Yeller")
2791
	BC.RightArmColor = BrickColor.new("Deep orange")
2792
	BC.RightLegColor = BrickColor.new("New Yeller")
2793
	BC.TorsoColor = BrickColor.new("New Yeller")
2794
                        Music.TimePosition = 5
2795
			Music.SoundId = "rbxassetid://1167066393"
2796
			Music.Parent = tors
2797
			Music:Play()
2798
		elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false and Ashes == false then
2799
        DTrail5.Enabled = false
2800
        DTrail4.Enabled = false
2801
        DTrail3.Enabled = false
2802
        DTrail2.Enabled = false
2803
        DTrail.Enabled = false
2804
			Solar = false
2805
			tecks2.Text = "Neutral"
2806
                        tecks2.Rotation = 0
2807
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2808
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2809
			resetmode()
2810
                        Music.TimePosition = 0
2811
			Music.SoundId = "rbxassetid://1117396305"
2812
			Music.Parent = tors
2813
			Music:Play()
2814
	BC.HeadColor = BrickColor.new("Fossil")
2815
	BC.LeftArmColor = BrickColor.new("Fossil")
2816
	BC.LeftLegColor = BrickColor.new("Fossil")
2817
	BC.RightArmColor = BrickColor.new("Smoky grey")
2818
	BC.RightLegColor = BrickColor.new("Fossil")
2819
	BC.TorsoColor = BrickColor.new("Fossil")
2820
		elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2821
        DTrail5.Enabled = false
2822
        DTrail4.Enabled = false
2823
        DTrail3.Enabled = false
2824
        DTrail2.Enabled = false
2825
        DTrail.Enabled = false
2826
			Lunar = true
2827
			tecks2.Text = "Lunar"
2828
                        tecks2.Rotation = 0
2829
			tecks2.TextColor3 = Color3.new(0, 0, 1)
2830
			tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255)
2831
		for i, v in pairs(ArmourParts) do
2832
        	v.BrickColor = BrickColor.new("Dark blue")
2833
		      		end
2834
		for i, v in pairs(ArmourParts2) do
2835
        	v.BrickColor = BrickColor.new("Cyan")
2836
		      		end
2837
    	for i, v in pairs(NeonParts) do
2838
        	v.BrickColor = BrickColor.new("Steel blue")
2839
      				end
2840
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=231432333"
2841
		maincolor = BrickColor.new("Steel blue")
2842
	BC.HeadColor = BrickColor.new("Dark blue")
2843
	BC.LeftArmColor = BrickColor.new("Dark blue")
2844
	BC.LeftLegColor = BrickColor.new("Dark blue")
2845
	BC.RightArmColor = BrickColor.new("Steel blue")
2846
	BC.RightLegColor = BrickColor.new("Dark blue")
2847
	BC.TorsoColor = BrickColor.new("Dark blue")
2848
                        Music.TimePosition = 0.5
2849
			Music.SoundId = "rbxassetid://1574603917"
2850
			Music.Parent = tors
2851
			Music:Play()
2852
		elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false and Ashes == false then
2853
        DTrail5.Enabled = false
2854
        DTrail4.Enabled = false
2855
        DTrail3.Enabled = false
2856
        DTrail2.Enabled = false
2857
        DTrail.Enabled = false
2858
			Lunar = false
2859
			tecks2.Text = "Neutral"
2860
                        tecks2.Rotation = 0
2861
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2862
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2863
			resetmode()
2864
                        Music.TimePosition = 0
2865
			Music.SoundId = "rbxassetid://1117396305"
2866
			Music.Parent = tors
2867
			Music:Play()
2868
	BC.HeadColor = BrickColor.new("Fossil")
2869
	BC.LeftArmColor = BrickColor.new("Fossil")
2870
	BC.LeftLegColor = BrickColor.new("Fossil")
2871
	BC.RightArmColor = BrickColor.new("Smoky grey")
2872
	BC.RightLegColor = BrickColor.new("Fossil")
2873
	BC.TorsoColor = BrickColor.new("Fossil")
2874
		elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2875
			Destruction = true
2876
			tecks2.Text = "Destruction"
2877
                        tecks2.Rotation = 0
2878
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2879
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
2880
		for i, v in pairs(ArmourParts) do
2881
        	v.BrickColor = BrickColor.new("Really black")
2882
		      		end
2883
		for i, v in pairs(ArmourParts2) do
2884
        	v.BrickColor = BrickColor.new("Black")
2885
		      		end
2886
    	for i, v in pairs(NeonParts) do
2887
        	v.BrickColor = BrickColor.new("Really red")
2888
      				end
2889
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=201400785"
2890
        DTrail5.Enabled = true
2891
        DTrail4.Enabled = true
2892
        DTrail3.Enabled = true
2893
        DTrail2.Enabled = true
2894
        DTrail.Enabled = true
2895
		maincolor = BrickColor.new("Really red")
2896
	BC.HeadColor = BrickColor.new("Black")
2897
	BC.LeftArmColor = BrickColor.new("Black")
2898
	BC.LeftLegColor = BrickColor.new("Black")
2899
	BC.RightArmColor = BrickColor.new("Really red")
2900
	BC.RightLegColor = BrickColor.new("Black")
2901
	BC.TorsoColor = BrickColor.new("Black")
2902
                        Music.TimePosition = 2
2903
			Music.SoundId = "rbxassetid://1703475948"
2904
			Music.Parent = tors
2905
			Music:Play()
2906
		elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2907
        DTrail5.Enabled = false
2908
        DTrail4.Enabled = false
2909
        DTrail3.Enabled = false
2910
        DTrail2.Enabled = false
2911
        DTrail.Enabled = false
2912
			Destruction = false
2913
			tecks2.Text = "Neutral"
2914
                        tecks2.Rotation = 0
2915
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2916
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2917
			resetmode()
2918
                        Music.TimePosition = 0
2919
			Music.SoundId = "rbxassetid://1117396305"
2920
			Music.Parent = tors
2921
			Music:Play()
2922
	BC.HeadColor = BrickColor.new("Fossil")
2923
	BC.LeftArmColor = BrickColor.new("Fossil")
2924
	BC.LeftLegColor = BrickColor.new("Fossil")
2925
	BC.RightArmColor = BrickColor.new("Smoky grey")
2926
	BC.RightLegColor = BrickColor.new("Fossil")
2927
	BC.TorsoColor = BrickColor.new("Fossil")
2928
		elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2929
			helpme = true
2930
        DTrail5.Enabled = false
2931
        DTrail4.Enabled = false
2932
        DTrail3.Enabled = false
2933
        DTrail2.Enabled = false
2934
        DTrail.Enabled = false
2935
                        Music.TimePosition = 1
2936
			tecks2.Text = "iNsAnItY"
2937
			Music.SoundId = "rbxassetid://943961217"
2938
			Music.Parent = tors
2939
			Music:Play()
2940
	BC.HeadColor = BrickColor.random()
2941
	BC.LeftArmColor = BrickColor.random()
2942
	BC.LeftLegColor = BrickColor.random()
2943
	BC.RightArmColor = BrickColor.random()
2944
	BC.RightLegColor = BrickColor.random()
2945
	BC.TorsoColor = BrickColor.random()
2946
		elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2947
        DTrail5.Enabled = false
2948
        DTrail4.Enabled = false
2949
        DTrail3.Enabled = false
2950
        DTrail2.Enabled = false
2951
        DTrail.Enabled = false
2952
			helpme = false
2953
			tecks2.Text = "Neutral"
2954
                        tecks2.Rotation = 0
2955
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2956
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2957
			resetmode()
2958
                        Music.TimePosition = 0
2959
			Music.SoundId = "rbxassetid://1117396305"
2960
			Music.Parent = tors
2961
			Music:Play()
2962
	BC.HeadColor = BrickColor.new("Fossil")
2963
	BC.LeftArmColor = BrickColor.new("Fossil")
2964
	BC.LeftLegColor = BrickColor.new("Fossil")
2965
	BC.RightArmColor = BrickColor.new("Smoky grey")
2966
	BC.RightLegColor = BrickColor.new("Fossil")
2967
	BC.TorsoColor = BrickColor.new("Fossil")
2968
		elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
2969
			Frost = true
2970
        DTrail5.Enabled = false
2971
        DTrail4.Enabled = false
2972
        DTrail3.Enabled = false
2973
        DTrail2.Enabled = false
2974
        DTrail.Enabled = false
2975
			tecks2.Text = "Frost"
2976
                        tecks2.Rotation = 0
2977
			tecks2.TextColor3 = Color3.new(1, 1, 1)
2978
			tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255)
2979
		for i, v in pairs(ArmourParts) do
2980
        	v.BrickColor = BrickColor.new("Cyan")
2981
		      		end
2982
		for i, v in pairs(ArmourParts2) do
2983
        	v.BrickColor = BrickColor.new("White")
2984
		      		end
2985
    	for i, v in pairs(NeonParts) do
2986
        	v.BrickColor = BrickColor.new("Teal")
2987
      				end
2988
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=111523405"
2989
		maincolor = BrickColor.new("Teal")
2990
	BC.HeadColor = BrickColor.new("Cyan")
2991
	BC.LeftArmColor = BrickColor.new("Cyan")
2992
	BC.LeftLegColor = BrickColor.new("Cyan")
2993
	BC.RightArmColor = BrickColor.new("Teal")
2994
	BC.RightLegColor = BrickColor.new("Cyan")
2995
	BC.TorsoColor = BrickColor.new("Cyan")
2996
                        Music.TimePosition = 1
2997
			Music.SoundId = "rbxassetid://1579308042"
2998
			Music.Parent = tors
2999
			Music:Play()
3000
		elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true and Ashes == false then
3001
        DTrail5.Enabled = false
3002
        DTrail4.Enabled = false
3003
        DTrail3.Enabled = false
3004
        DTrail2.Enabled = false
3005
        DTrail.Enabled = false
3006
			Frost = false
3007
			tecks2.Text = "Neutral"
3008
                        tecks2.Rotation = 0
3009
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3010
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3011
			resetmode()
3012
                        Music.TimePosition = 0
3013
			Music.SoundId = "rbxassetid://1117396305"
3014
			Music.Parent = tors
3015
			Music:Play()
3016
	BC.HeadColor = BrickColor.new("Fossil")
3017
	BC.LeftArmColor = BrickColor.new("Fossil")
3018
	BC.LeftLegColor = BrickColor.new("Fossil")
3019
	BC.RightArmColor = BrickColor.new("Smoky grey")
3020
	BC.RightLegColor = BrickColor.new("Fossil")
3021
	BC.TorsoColor = BrickColor.new("Fossil")
3022
		elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
3023
			Ashes = true
3024
        DTrail5.Enabled = false
3025
        DTrail4.Enabled = false
3026
        DTrail3.Enabled = false
3027
        DTrail2.Enabled = false
3028
        DTrail.Enabled = false
3029
			tecks2.Text = "Ash"
3030
                        tecks2.Rotation = 0
3031
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3032
			tecks2.TextStrokeColor3 = Color3.fromRGB(91, 93, 105)
3033
		for i, v in pairs(ArmourParts) do
3034
        	v.BrickColor = BrickColor.new("Smoky grey")
3035
		      		end
3036
		for i, v in pairs(ArmourParts2) do
3037
        	v.BrickColor = BrickColor.new("Black")
3038
		      		end
3039
    	for i, v in pairs(NeonParts) do
3040
        	v.BrickColor = BrickColor.new("Really black")
3041
      				end
3042
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178"
3043
		maincolor = BrickColor.new("Really black")
3044
	BC.HeadColor = BrickColor.new("Smoky grey")
3045
	BC.LeftArmColor = BrickColor.new("Smoky grey")
3046
	BC.LeftLegColor = BrickColor.new("Smoky grey")
3047
	BC.RightArmColor = BrickColor.new("Really black")
3048
	BC.RightLegColor = BrickColor.new("Smoky grey")
3049
	BC.TorsoColor = BrickColor.new("Smoky grey")
3050
                        Music.TimePosition = 2
3051
			Music.SoundId = "rbxassetid://1514078310"
3052
			Music.Parent = tors
3053
			Music:Play()
3054
		elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == true then
3055
        DTrail5.Enabled = false
3056
        DTrail4.Enabled = false
3057
        DTrail3.Enabled = false
3058
        DTrail2.Enabled = false
3059
        DTrail.Enabled = false
3060
			Ashes = false
3061
			tecks2.Text = "Neutral"
3062
                        tecks2.Rotation = 0
3063
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3064
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3065
			resetmode()
3066
                        Music.TimePosition = 0
3067
			Music.SoundId = "rbxassetid://1117396305"
3068
			Music.Parent = tors
3069
			Music:Play()
3070
	BC.HeadColor = BrickColor.new("Fossil")
3071
	BC.LeftArmColor = BrickColor.new("Fossil")
3072
	BC.LeftLegColor = BrickColor.new("Fossil")
3073
	BC.RightArmColor = BrickColor.new("Smoky grey")
3074
	BC.RightLegColor = BrickColor.new("Fossil")
3075
	BC.TorsoColor = BrickColor.new("Fossil")
3076
		elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1  then
3077
			tecks2.TextTransparency = 0
3078
			tecks2.TextStrokeTransparency = 0
3079
		elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0  then
3080
			tecks2.TextTransparency = 1
3081
			tecks2.TextStrokeTransparency = 1
3082
		elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
3083
        DTrail5.Enabled = false
3084
        DTrail4.Enabled = false
3085
        DTrail3.Enabled = false
3086
        DTrail2.Enabled = false
3087
        DTrail.Enabled = false
3088
			Planetary = true
3089
			tecks2.Text = "Planetary"
3090
                        tecks2.Rotation = 0
3091
			tecks2.TextColor3 = Color3.fromRGB(61, 21, 133)
3092
			tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133)
3093
		for i, v in pairs(ArmourParts) do
3094
        	v.BrickColor = BrickColor.new("Dark indigo")
3095
		      		end
3096
		for i, v in pairs(ArmourParts2) do
3097
        	v.BrickColor = BrickColor.new("Dark indigo")
3098
		      		end
3099
    	for i, v in pairs(NeonParts) do
3100
        	v.BrickColor = BrickColor.new("Dark indigo")
3101
      				end
3102
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=148988280"
3103
		maincolor = BrickColor.new("Dark indigo")
3104
	BC.HeadColor = BrickColor.new("Dark indigo")
3105
	BC.LeftArmColor = BrickColor.new("Dark indigo")
3106
	BC.LeftLegColor = BrickColor.new("Dark indigo")
3107
	BC.RightArmColor = BrickColor.new("Dark indigo")
3108
	BC.RightLegColor = BrickColor.new("Dark indigo")
3109
	BC.TorsoColor = BrickColor.new("Dark indigo")
3110
                        Music.TimePosition = 0
3111
			Music.SoundId = "rbxassetid://609934004"
3112
			Music.Parent = tors
3113
			Music:Play()
3114
		elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false and Ashes == false then
3115
			Planetary = false
3116
        DTrail5.Enabled = false
3117
        DTrail4.Enabled = false
3118
        DTrail3.Enabled = false
3119
        DTrail2.Enabled = false
3120
        DTrail.Enabled = false
3121
			tecks2.Text = "Neutral"
3122
                        tecks2.Rotation = 0
3123
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3124
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3125
			resetmode()
3126
                        Music.TimePosition = 0
3127
			Music.SoundId = "rbxassetid://1117396305"
3128
			Music.Parent = tors
3129
			Music:Play()
3130
	                BC.HeadColor = BrickColor.new("Fossil")
3131
	                BC.LeftArmColor = BrickColor.new("Fossil")
3132
	                BC.LeftLegColor = BrickColor.new("Fossil")
3133
	                BC.RightArmColor = BrickColor.new("Smoky grey")
3134
	                BC.RightLegColor = BrickColor.new("Fossil")
3135
	                BC.TorsoColor = BrickColor.new("Fossil")
3136
		end
3137
	end
3138
end)
3139
mouse.KeyDown:connect(function(key)
3140
	if attack == false then
3141
		if EdgyMode == true then
3142
			if key == 'r' then
3143
			Decapitate()
3144
			elseif key == 'e' then
3145
				Laugh()
3146
			end
3147
		end
3148
		if Divinity == true then
3149
			if key == 'r' then
3150
				Beam_Of_Light()
3151
			elseif key == 'f' then
3152
				Blast_Of_God()
3153
			end
3154
		end
3155
		if Fighter == true then
3156
			if key == 'e' then
3157
				Flying_Kick()
3158
			elseif key == 'f' then
3159
				UpperCut()
3160
			elseif key == 't' then
3161
				Spinning_Kick()
3162
			end
3163
		end
3164
		if Purity == true then
3165
			if key == 'r' then
3166
				Purity_Slam()
3167
			end
3168
		end
3169
		if Solar == true then
3170
			if key == 'r' then
3171
				Eruption()
3172
			elseif key == 't' then
3173
				Solar_Flare()
3174
                        end
3175
		end
3176
		if Frost == true then
3177
			if key == 'r' then
3178
				Blizzard()
3179
			elseif key == 't' then
3180
				Cryo_Freeze()
3181
			end
3182
		end
3183
		if Ashes == true then
3184
			if key == 't' and notmenacing then
3185
				Menacing_Aura()
3186
			elseif key == 'r' and alternatecooldownbecausewhynotdood == false then
3187
				Heat_Stroke()
3188
			end
3189
		end
3190
		if Lunar == true then
3191
			if key == 't' then
3192
				ShadowWarp()
3193
			elseif key == 'r' then
3194
				Shade()
3195
			end
3196
		end
3197
		if Destruction == true then
3198
			if key == 'r' then
3199
				Diablo_Explosion()
3200
			elseif key == 'f' then
3201
				Hell_From_Above()
3202
			elseif key == 't' then
3203
				Spinning_Below()
3204
			end
3205
		end
3206
		if Planetary == true then
3207
			if key == 'r' then
3208
                                Multi_Bombs()
3209
			elseif key == 't' then
3210
				Universal_Crush()
3211
			end
3212
		end
3213
		if helpme == true then
3214
			if key == 'r' then
3215
				Painful_Stomp()
3216
			elseif key == 'f' then
3217
				Ending()
3218
			elseif key == 't' then
3219
				Ende_der_Weld()
3220
			end
3221
		end
3222
	end
3223
 end)
3224
3225
3226
coroutine.resume(coroutine.create(function()
3227
	while true do
3228
		swait(8)
3229
		if Solar == true then
3230
			sphereMK(5, 0.12, "Add", root.CFrame * CFrame.new(math.random(-6, 6), -10, math.random(-6, 6)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, maincolor, 0)
3231
		end
3232
	end
3233
end))
3234
coroutine.resume(coroutine.create(function()
3235
	while true do
3236
		swait(4)
3237
		if Frost == true then
3238
		        Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03)
3239
	                Effects.Ring.Create(BrickC("Teal"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.15, 0.15, 0.15, 0.02)
3240
		end
3241
	end
3242
end))
3243
coroutine.resume(coroutine.create(function()
3244
	while true do
3245
		swait(4)
3246
		if Lunar == true then
3247
		        Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03)
3248
		end
3249
	end
3250
end))
3251
3252
3253
3254
-------------------------------------------------------
3255
--Start Animations--
3256
-------------------------------------------------------
3257
local equipped = false
3258
local idle = 0
3259
local change = 1
3260
local val = 0
3261
local toim = 0
3262
local idleanim = 0.4
3263
hum.WalkSpeed = 8
3264
hum.Animator.Parent = nil
3265
while true do
3266
	swait()
3267
	Music.Parent = tors
3268
	if helpme == true then
3269
		for i, v in pairs(ArmourParts) do
3270
       			v.BrickColor = BrickColor.random()
3271
		    end
3272
				for i, v in pairs(ArmourParts2) do
3273
        	v.BrickColor = BrickColor.random()
3274
		 	end
3275
    			for i, v in pairs(NeonParts) do
3276
        	v.BrickColor = BrickColor.random()
3277
      		end
3278
				maincolor = BrickColor.random()
3279
                                char.Head.face.Texture = "http://www.roblox.com/asset/?id="..insanityface[math.random(1,#insanityface)]
3280
                                tecks2.Text = ""..insanity[math.random(1,#insanity)]
3281
				tecks2.TextColor3 = maincolor.Color
3282
				tecks2.TextStrokeColor3 = maincolor.Color
3283
				tecks2.Rotation = math.random(-11, 11)
3284
	                        BC.HeadColor = BrickColor.random()
3285
	                        BC.LeftArmColor = BrickColor.random()
3286
	                        BC.LeftLegColor = BrickColor.random()
3287
	                        BC.RightArmColor = BrickColor.random()
3288
	                        BC.RightLegColor = BrickColor.random()
3289
	                        BC.TorsoColor = BrickColor.random()
3290
			MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2))
3291
	end
3292
	if EdgyMode == true then
3293
		tecks2.Rotation = math.random(-2, 2)
3294
	end
3295
	if Planetary == true then
3296
		MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2)
3297
		tecks2.Rotation = math.random(-4, 4)
3298
	end
3299
	sine = sine + change
3300
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
3301
	local velderp = root.Velocity.y
3302
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
3303
	if equipped == true or equipped == false then
3304
		if attack == false then
3305
			idle = idle + 1
3306
		else
3307
			idle = 0
3308
		end
3309
		if 1 < root.Velocity.y and hitfloor == nil then
3310
			Anim = "Jump"
3311
			change = 1
3312
			if attack == false then
3313
				rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
3314
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
3315
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
3316
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
3317
				LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
3318
				RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
3319
			end
3320
		elseif -1 > root.Velocity.y and hitfloor == nil then
3321
			Anim = "Fall"
3322
			change = 1
3323
			if attack == false then
3324
				rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
3325
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
3326
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
3327
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
3328
				LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
3329
				RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
3330
			end
3331
		elseif torvel < 1 and hitfloor ~= nil then
3332
			Anim = "Idle"
3333
			change = 1
3334
			if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
3335
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
3336
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3337
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
3338
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
3339
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
3340
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1)
3341
			elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then
3342
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
3343
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3344
				if Mrandom(1,15) == 1 then
3345
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
3346
				end
3347
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(10)), 0.15)
3348
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
3349
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
3350
				LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
3351
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false then
3352
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
3353
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3354
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
3355
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
3356
		RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
3357
		LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1)
3358
			elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
3359
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
3360
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
3361
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
3362
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
3363
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1)
3364
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
3365
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then
3366
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15)
3367
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3)
3368
				RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15)
3369
				LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15)
3370
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
3371
				LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
3372
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
3373
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
3374
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3375
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15)
3376
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15)
3377
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
3378
				LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
3379
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true then
3380
                                rootj.C0 = clerp(rootj.C0, RootCF * cn(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1)
3381
                                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
3382
                                RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1)
3383
                                LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1)
3384
                                RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
3385
          LH.C0 = clerp(LH.C0, cn(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1)
3386
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false then
3387
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
3388
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3389
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15)
3390
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15)
3391
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
3392
				LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
3393
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
3394
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
3395
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
3396
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
3397
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
3398
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1)
3399
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
3400
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false then
3401
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
3402
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
3403
				if math.random(1,1) == 1 then
3404
					rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
3405
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
3406
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
3407
					LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
3408
					RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 +  0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15)
3409
					LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15)
3410
				end
3411
				for i, v in pairs(ArmourParts) do
3412
       			v.BrickColor = BrickColor.random()
3413
		    end
3414
				for i, v in pairs(ArmourParts2) do
3415
        	v.BrickColor = BrickColor.random()
3416
		 	end
3417
    			for i, v in pairs(NeonParts) do
3418
        	v.BrickColor = BrickColor.random()
3419
      		end
3420
				maincolor = BrickColor.random()
3421
				tecks2.TextColor3 = maincolor.Color
3422
				tecks2.TextStrokeColor3 = maincolor.Color
3423
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
3424
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
3425
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
3426
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
3427
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false then
3428
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
3429
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
3430
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
3431
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
3432
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
3433
				LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
3434
			end
3435
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
3436
			Anim = "Walk"
3437
			change = .6
3438
			if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false and Lunar == false then
3439
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
3440
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
3441
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3442
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3443
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45)  * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
3444
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45)  * Cos(sine / 7) , Rad(0) ,	Rad(-5) + la.RotVelocity.Y / 75), 0.1)
3445
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true then
3446
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
3447
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
3448
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3449
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3450
		RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
3451
		LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1)
3452
			elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false and Lunar == false then
3453
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15)
3454
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3455
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
3456
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
3457
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
3458
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
3459
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false and Lunar == false then
3460
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15)
3461
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3462
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
3463
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
3464
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
3465
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
3466
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false and Lunar == false then
3467
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
3468
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
3469
				if math.random(1,1) == 1 then
3470
					rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
3471
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
3472
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
3473
					LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
3474
					RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3475
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3476
				end
3477
				for i, v in pairs(ArmourParts) do
3478
       			v.BrickColor = BrickColor.random()
3479
		    end
3480
				for i, v in pairs(ArmourParts2) do
3481
        	v.BrickColor = BrickColor.random()
3482
		 	end
3483
    			for i, v in pairs(NeonParts) do
3484
        	v.BrickColor = BrickColor.random()
3485
      		end
3486
				maincolor = BrickColor.random()
3487
				tecks2.TextColor3 = maincolor.Color
3488
				tecks2.TextStrokeColor3 = maincolor.Color
3489
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
3490
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
3491
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
3492
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
3493
			elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then
3494
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
3495
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3496
				if Mrandom(1,15) == 1 then
3497
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
3498
				end
3499
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3500
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3501
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
3502
				LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
3503
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true and Lunar == false then
3504
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
3505
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3506
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
3507
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
3508
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
3509
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
3510
			end
3511
		elseif torvel >= 25 and hitfloor ~= nil then
3512
			Anim = "Sprint"
3513
			change = 1.35
3514
			if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
3515
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
3516
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
3517
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3518
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3519
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
3520
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110)  * Cos(sine / 7) , Rad(0) ,	Rad(-13) + la.RotVelocity.Y / 75), 0.15)
3521
			elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
3522
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
3523
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3524
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15)
3525
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15)
3526
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
3527
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
3528
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
3529
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15)
3530
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3531
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15)
3532
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15)
3533
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
3534
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
3535
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
3536
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
3537
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
3538
				if math.random(1,1) == 1 then
3539
					rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
3540
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1)
3541
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
3542
					LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
3543
					RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
3544
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
3545
				end
3546
				for i, v in pairs(ArmourParts) do
3547
       			v.BrickColor = BrickColor.random()
3548
		    end
3549
				for i, v in pairs(ArmourParts2) do
3550
        	v.BrickColor = BrickColor.random()
3551
		 	end
3552
    			for i, v in pairs(NeonParts) do
3553
        	v.BrickColor = BrickColor.random()
3554
      		end
3555
				maincolor = BrickColor.random()
3556
				tecks2.TextColor3 = maincolor.Color
3557
				tecks2.TextStrokeColor3 = maincolor.Color
3558
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
3559
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(16)), 0.15)
3560
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1)
3561
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1)
3562
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
3563
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15)
3564
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
3565
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
3566
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
3567
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1)
3568
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
3569
			end
3570
		end
3571
	end
3572
	if 0 < #Effects then
3573
		for e = 1, #Effects do
3574
			if Effects[e] ~= nil then
3575
				local Thing = Effects[e]
3576
				if Thing ~= nil then
3577
					local Part = Thing[1]
3578
					local Mode = Thing[2]
3579
					local Delay = Thing[3]
3580
					local IncX = Thing[4]
3581
					local IncY = Thing[5]
3582
					local IncZ = Thing[6]
3583
					if 1 >= Thing[1].Transparency then
3584
						if Thing[2] == "Block1" then
3585
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3586
							local Mesh = Thing[1].Mesh
3587
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3588
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3589
						elseif Thing[2] == "Block2" then
3590
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
3591
							local Mesh = Thing[7]
3592
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3593
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3594
						elseif Thing[2] == "Block3" then
3595
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
3596
							local Mesh = Thing[7]
3597
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3598
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3599
						elseif Thing[2] == "Cylinder" then
3600
							local Mesh = Thing[1].Mesh
3601
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3602
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3603
						elseif Thing[2] == "Blood" then
3604
							local Mesh = Thing[7]
3605
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
3606
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3607
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3608
						elseif Thing[2] == "Elec" then
3609
							local Mesh = Thing[1].Mesh
3610
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
3611
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3612
						elseif Thing[2] == "Disappear" then
3613
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3614
						elseif Thing[2] == "Shatter" then
3615
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3616
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
3617
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
3618
							Thing[6] = Thing[6] + Thing[5]
3619
						end
3620
					else
3621
						Part.Parent = nil
3622
						table.remove(Effects, e)
3623
					end
3624
				end
3625
			end
3626
		end
3627
	end
3628
end
3629
-------------------------------------------------------
3630
--End Animations And Script--
3631
-------------------------------------------------------