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