View difference between Paste ID: 3e1AJuNB and MEpcceBE
SHOW: | | - or go back to the newest paste.
1-
print("I don't want to be associated with this script anymore.")
1+
-- paul put h/https://pastebin.com/raw/MEpcceBE in the chat
2
--TODO: add comments or something idk
3
local Player = owner
4
local Mouse,mouse,UserInputService,ContextActionService
5
do
6
	script.Parent = Player.Character
7
	local CAS = {Actions={}}
8
	local Event = Instance.new("RemoteEvent")
9
	Event.Name = "UserInput_Event"
10
	Event.Parent = Player.Character
11
	local fakeEvent = function()
12
		local t = {_fakeEvent=true}
13
		t.Connect = function(self,f)self.Function=f end
14
		t.connect = t.Connect
15
		return t
16
	end
17
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
18
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
19
	function CAS:BindAction(name,fun,touch,...)
20
		CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
21
	end
22
	function CAS:UnbindAction(name)
23
		CAS.Actions[name] = nil
24
	end
25
	local function te(self,ev,...)
26
		local t = m[ev]
27
		if t and t._fakeEvent and t.Function then
28
			t.Function(...)
29
		end
30
	end
31
	m.TrigEvent = te
32
	UIS.TrigEvent = te
33
	Event.OnServerEvent:Connect(function(plr,io)
34
	    if plr~=Player then return end
35
		if io.isMouse then
36
			m.Target = io.Target
37
			m.Hit = io.Hit
38
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
39
	        if io.UserInputState == Enum.UserInputState.Begin then
40
				m:TrigEvent("Button1Down")
41
			else
42
				m:TrigEvent("Button1Up")
43
			end
44
		else
45
			for n,t in pairs(CAS.Actions) do
46
				for _,k in pairs(t.Keys) do
47
					if k==io.KeyCode then
48
						t.Function(t.Name,io.UserInputState,io)
49
					end
50
				end
51
			end
52
	        if io.UserInputState == Enum.UserInputState.Begin then
53
	            m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
54
				UIS:TrigEvent("InputBegan",io,false)
55
			else
56
				m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
57
				UIS:TrigEvent("InputEnded",io,false)
58
	        end
59
	    end
60
	end)
61
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
62
	end
63
64
wait(0.2)
65
66
warn([[SG AWAKEN Loaded.
67
The super switcher.
68
Velnorum is one of the first wielders.
69
70
Created, Reworked by NoobyGames12 and converted by Helkern
71
]])
72
73
74
------------- ORIGINAL WIELDER OC: Velnorum
75
print([[Icons:
76
! = New
77
? = Spoilers
78
* = Exclusivity
79
C = Changes
80
81
]])
82
warn("updates are gay lol")
83
--- its obs smooth af do not touch 
84
---- Sources and functions might be taken from others
85
glitchermode = "spectrum"
86
Cos = math.cos
87
Sin = math.sin
88
Rad = math.rad
89
local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
90
plr = owner
91
char = plr.Character
92
hum = char.Humanoid
93
local cam = game.Workspace.CurrentCamera
94
Camera = cam
95
local CamInterrupt = false
96
local TwoD = false
97
local TargetInfo = {nil, nil}
98
cam.CameraType = "Custom"
99
t = char.Torso
100
h = char.Head
101
ra = char["Right Arm"]
102
la = char["Left Arm"]
103
rl = char["Right Leg"]
104
ll = char["Left Leg"]
105
tors = char.Torso
106
lleg = char["Left Leg"]
107
root = char.HumanoidRootPart
108
hed = char.Head
109
rleg = char["Right Leg"]
110
rarm = char["Right Arm"]
111
larm = char["Left Arm"]
112
radian = math.rad
113
random = math.random
114
Vec3 = Vector3.new
115
Inst = Instance.new
116
cFrame = CFrame.new
117
Euler = CFrame.fromEulerAnglesXYZ
118
vt = Vector3.new
119
bc = BrickColor.new
120
br = BrickColor.random
121
it = Instance.new
122
cf = CFrame.new
123
124
local Booleans = {
125
  CamFollow = true,
126
  GyroUse = true
127
}
128
129
function lerp(object, newCFrame, alpha)
130
  return object:lerp(newCFrame, alpha)
131
end
132
133
local Humanoid = char.Humanoid
134
local p = plr
135
torso = char.Torso
136
local learm = char["Left Arm"]
137
local riarm = char["Right Arm"]
138
local leleg = char["Left Leg"]
139
local rileg = char["Right Leg"]
140
local root = char.HumanoidRootPart
141
local hed = char.Head
142
Humanoid.WalkSpeed = 16
143
144
145
for i,v in pairs(char:children()) do
146
    if v:IsA("Accessory") then
147
        v:Destroy()
148
    end
149
end
150
151
shirt = Instance.new("Shirt", char)
152
shirt.Name = "Shirt"
153
pants = Instance.new("Pants", char)
154
pants.Name = "Pants"
155
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=980582561" -- everything went in an unexpected manner
156
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=967791292"
157
-- body colors
158
char["Body Colors"].HeadColor = BrickColor.new("Navy blue")
159
char["Body Colors"].TorsoColor = BrickColor.new("Navy blue")
160
char["Body Colors"].LeftArmColor = BrickColor.new("Navy blue")
161
char["Body Colors"].RightArmColor = BrickColor.new("Navy blue")
162
char["Body Colors"].LeftLegColor = BrickColor.new("Navy blue")
163
char["Body Colors"].RightLegColor = BrickColor.new("Navy blue")
164
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
165
Hair7 = Instance.new("Part", p.Character)
166
Hair7.Name = "Hair"
167
Hair7.CanCollide = false
168
Hair7.Locked = true
169
Hair7.TopSurface = "Smooth"
170
Hair7.BottomSurface = "Smooth"
171
Hair7.formFactor = "Symmetric"
172
Hair7.Material = "Metal"
173
Hair7.BrickColor = BrickColor.new("Navy blue")
174
Hair7.CFrame = p.Character.Torso.CFrame
175
Hair7.Size = Vector3.new(1, 1, 1)
176
Hair7.Transparency = 0
177
178
Weld1 = Instance.new("Weld", p.Character.Head)
179
Weld1.Part0 = p.Character.Head
180
Weld1.Part1 = Hair7
181
Weld1.C0 = CFrame.new(0, 1, 0)
182
183
Mesh = Instance.new("SpecialMesh", Hair7)
184
Mesh.Offset = Vector3.new(0, -0.2, 0)
185
Mesh.Scale = Vector3.new(1.2, 1.2, 1.2)
186
Mesh.MeshType = "FileMesh"
187
Mesh.MeshId = "http://www.roblox.com/asset/?id=1197096309"
188
Mesh.TextureId = ""
189
Hair77 = Instance.new("Part", p.Character)
190
Hair77.Name = "Hair"
191
Hair77.CanCollide = false
192
Hair77.Locked = true
193
Hair77.TopSurface = "Smooth"
194
Hair77.BottomSurface = "Smooth"
195
Hair77.formFactor = "Symmetric"
196
Hair77.Material = "Metal"
197
Hair77.BrickColor = BrickColor.new("Deep blue")
198
Hair77.CFrame = p.Character.Torso.CFrame
199
Hair77.Size = Vector3.new(1, 1, 1)
200
Hair77.Transparency = 1
201
202
Weld1 = Instance.new("Weld", p.Character.Head)
203
Weld1.Part0 = p.Character.Head
204
Weld1.Part1 = Hair77
205
Weld1.C0 = CFrame.new(0, 1, 0)
206
207
Mesh2 = Instance.new("SpecialMesh", Hair77)
208
Mesh2.Offset = Vector3.new(0, -2, 0.5)
209
Mesh2.Scale = Vector3.new(1.2, 1.2, 1.2)
210
Mesh2.MeshType = "FileMesh"
211
Mesh2.MeshId = "http://www.roblox.com/asset/?id=1217975451"
212
Mesh2.TextureId = ""
213
214
gui1=Instance.new("BillboardGui", p.Character.Head)
215
gui1.Adornee = p.Character.Head
216
gui1.Size=UDim2.new(2.5,0,2.5,0)
217
gui1.StudsOffset=Vector3.new(0,2,0)
218
gui1.AlwaysOnTop = true
219
text1=Instance.new("ImageLabel")
220
text1.Image = "http://www.roblox.com/asset/?id= 1320763349" --
221
text1.Size=UDim2.new(1,0,1,0)
222
text1.Position=UDim2.new(0,0,0,0)
223
text1.BackgroundTransparency = 1
224
text1.Parent=gui1
225
226
local Directer = Inst("BodyGyro", root)
227
Directer.MaxTorque = Vec3(0, 0, 0)
228
Directer.P = 600000
229
local CPart = Inst("Part")
230
CPart.Anchored = true
231
CPart.CanCollide = false
232
CPart.Locked = true
233
CPart.Transparency = 1
234
235
local rainbowmode = false
236
local chaosmode = false
237
238
local kan = Instance.new("Sound",char)
239
kan.Volume = 1.25
240
kan.TimePosition = 0
241
kan.PlaybackSpeed = 1
242
kan.Pitch = 1
243
kan.SoundId = "rbxassetid://614032233"
244
kan.Name = "wrecked"
245
kan.Looped = true
246
kan:Play()
247
248
local currentThemePlaying = kan.SoundId
249
local currentPitch = kan.Pitch
250
local currentVol = kan.Volume
251
function newTheme(ID,timepos,pitch,vol)
252
local kanz = kan
253
kanz:Stop()
254
kanz.Volume = 5
255
kanz.TimePosition = timepos
256
kanz.PlaybackSpeed = pitch
257
kanz.Pitch = pitch
258
kanz.SoundId = ID
259
kanz.Name = "wrecked"
260
kanz.Looped = true
261
currentThemePlaying = kanz.SoundId
262
currentVol = kanz.Volume
263
currentPitch = kanz.Pitch
264
kanz:Play()
265
--coroutine.resume(coroutine.create(function()
266
--wait(0.05)
267
--end))
268
end
269
270
271
function newThemeCust(ID,timepos,pitch,vol)
272
local kanz = kan
273
kanz:Stop()
274
kanz.Volume = vol
275
kanz.TimePosition = timepos
276
kanz.PlaybackSpeed = pitch
277
kanz.Pitch = pitch
278
kanz.SoundId = ID
279
kanz.Name = "wrecked"
280
kanz.Looped = true
281
currentThemePlaying = kanz.SoundId
282
currentVol = kanz.Volume
283
currentPitch = kanz.Pitch
284
kanz:Play()
285
coroutine.resume(coroutine.create(function()
286
wait(0.05)
287
end))
288
end
289
290
local mutedtog = false
291
292
function CameraEnshaking(Length,Intensity)
293
coroutine.resume(coroutine.create(function()
294
      local intensity = 1*Intensity
295
      local rotM = 0.01*Intensity
296
for i = 0, Length, 0.1 do
297
swait()
298
intensity = intensity - 0.05*Intensity/Length
299
rotM = rotM - 0.0005*Intensity/Length
300
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
301
      cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
302
end
303
Humanoid.CameraOffset = Vec3(0, 0, 0)
304
end))
305
end
306
CamShake=function(Part,Distan,Power,Times) 
307
local de=Part.Position
308
for i,v in pairs(workspace:children()) do
309
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
310
for _,c in pairs(v:children()) do
311
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
312
local Noob=v.Humanoid
313
if Noob~=nil then
314
coroutine.resume(coroutine.create(function()
315
FV = Instance.new("BoolValue", Noob)
316
FV.Name = "CameraShake"
317
for ShakeNum=1,Times do
318
swait()
319
local ef=Power
320
  if ef>=1 then
321
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
322
  else
323
   ef=Power*10
324
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
325
  end	
326
end
327
Humanoid.CameraOffset = Vector3.new(0,0,0)
328
FV:Destroy()
329
end))
330
CameraShake(Times, Power, Noob)
331
end
332
end
333
end
334
end
335
end
336
end
337
338
local toggleTag = true
339
local bilguit = Instance.new("BillboardGui", hed)
340
bilguit.Adornee = nil
341
bilguit.Name = "ModeName"
342
bilguit.Size = UDim2.new(4, 0, 1.2, 0)
343
bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
344
local modet = Instance.new("TextLabel", bilguit)
345
modet.Size = UDim2.new(10/2, 0, 7/2, 0)
346
modet.FontSize = "Size8"
347
modet.TextScaled = true
348
modet.TextTransparency = 0
349
modet.BackgroundTransparency = 1 
350
modet.TextTransparency = 0
351
modet.TextStrokeTransparency = 0
352
modet.Font = "Antique"
353
modet.TextStrokeColor3 = Color3.new(1,0,0)
354
modet.TextColor3 = Color3.new(0.25,0,0)
355
modet.Text = "MAYHEM"
356
357
358
function chatfunc(text,color,typet,font,timeex)
359
local chat = coroutine.wrap(function()
360
if Character:FindFirstChild("TalkingBillBoard")~= nil then
361
Character:FindFirstChild("TalkingBillBoard"):destroy()
362
end
363
local naeeym2 = Instance.new("BillboardGui",Character)
364
naeeym2.Size = UDim2.new(0,100,0,40)
365
naeeym2.StudsOffset = Vector3.new(0,3,0)
366
naeeym2.Adornee = Character.Head
367
naeeym2.Name = "TalkingBillBoard"
368
local tecks2 = Instance.new("TextLabel",naeeym2)
369
tecks2.BackgroundTransparency = 1
370
tecks2.BorderSizePixel = 0
371
tecks2.Text = ""
372
tecks2.Font = font
373
tecks2.TextSize = 30
374
tecks2.TextStrokeTransparency = 0
375
tecks2.TextColor3 = color
376
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
377
tecks2.Size = UDim2.new(1,0,0.5,0)
378
local tecks3 = Instance.new("TextLabel",naeeym2)
379
tecks3.BackgroundTransparency = 1
380
tecks3.BorderSizePixel = 0
381
tecks3.Text = ""
382
tecks3.Font = font
383
tecks3.TextSize = 30
384
tecks3.TextStrokeTransparency = 0
385
if typet == "Inverted" then
386
tecks3.TextColor3 = Color3.new(0,0,0)
387
tecks3.TextStrokeColor3 = color
388
elseif typet == "Normal" then
389
tecks3.TextColor3 = color
390
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
391
end
392
tecks3.Size = UDim2.new(1,0,0.5,0)
393
coroutine.resume(coroutine.create(function()
394
while true do
395
swait(1)
396
if chaosmode == true then
397
tecks2.TextColor3 = BrickColor.random().Color
398
tecks3.TextStrokeColor3 = BrickColor.random().Color
399
end
400
end
401
end))
402
modet.TextTransparency = modet.TextTransparency  + 1
403
modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
404
for i = 0, 74*timeex do
405
swait()
406
modet.TextTransparency = 1
407
modet.TextStrokeTransparency = 1
408
tecks2.Text = text
409
tecks3.Text = text
410
end
411
local randomrot = math.random(1,2)
412
if randomrot == 1 then
413
for i = 1, 50 do
414
swait()
415
tecks2.Text = text
416
tecks3.Text = text
417
modet.TextTransparency = modet.TextTransparency - .02
418
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
419
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
420
tecks2.TextTransparency = tecks2.TextTransparency + .04
421
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
422
tecks3.TextTransparency = tecks2.TextTransparency + .04
423
end
424
elseif randomrot == 2 then
425
	for i = 1, 50 do
426
swait()
427
tecks2.Text = text
428
tecks3.Text = text
429
modet.TextTransparency = modet.TextTransparency - .02
430
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
431
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
432
tecks2.TextTransparency = tecks2.TextTransparency + .04
433
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
434
tecks3.TextTransparency = tecks2.TextTransparency + .04
435
end
436
end
437
modet.TextTransparency = 0
438
modet.TextStrokeTransparency = 0
439
if toggleTag == false then
440
modet.TextTransparency = 1
441
modet.TextStrokeTransparency = 1
442
end
443
naeeym2:Destroy()
444
end)
445
chat()
446
end
447
448
function bosschatfunc(text,color,watval)
449
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
450
coroutine.resume(coroutine.create(function()
451
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
452
v.PlayerGui:FindFirstChild("Dialog"):destroy()
453
end
454
local scrg = Instance.new("ScreenGui",v.PlayerGui)
455
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
456
scrg.Name = "Dialog"
457
local txtlb = Instance.new("TextLabel",scrg)
458
txtlb.Text = ""
459
txtlb.Font = "Bodoni"
460
txtlb.TextColor3 = Color3.new(0,0,0)
461
txtlb.TextStrokeTransparency = 0
462
txtlb.BackgroundTransparency = 0.75
463
txtlb.BackgroundColor3 = Color3.new(0,0,0)
464
txtlb.TextStrokeColor3 = color
465
txtlb.TextScaled = true
466
txtlb.Size = UDim2.new(1,0,0.25,0)
467
txtlb.TextXAlignment = "Left"
468
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
469
local txtlb2 = Instance.new("TextLabel",scrg)
470
txtlb2.Text = "?:"
471
txtlb2.Font = "Arcade"
472
txtlb2.TextColor3 = Color3.new(0,0,0)
473
txtlb2.TextStrokeTransparency = 0
474
txtlb2.BackgroundTransparency = 1
475
txtlb2.TextStrokeColor3 = color
476
txtlb2.TextSize = 40
477
txtlb2.Size = UDim2.new(1,0,0.25,0)
478
txtlb2.TextXAlignment = "Left"
479
txtlb2.Position = UDim2.new(0,0,1,0)
480
local fvalen = 0.55
481
local fval = -0.49
482
coroutine.resume(coroutine.create(function()
483
while true do
484
swait()
485
if chaosmode == true then
486
txtlb.Rotation = math.random(-1,1)
487
txtlb2.Rotation = math.random(-1,1)
488
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
489
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
490
txtlb.TextStrokeColor3 = BrickColor.random().Color
491
txtlb2.TextStrokeColor3 = BrickColor.random().Color
492
end
493
end
494
end))
495
coroutine.resume(coroutine.create(function()
496
while true do
497
swait()
498
if scrg.Parent ~= nil then
499
	fvalen = fvalen - 0.0001
500
elseif scrg.Parent == nil then
501
break
502
end
503
end
504
end))
505
local flol = 1.75
506
local flil = 1.6
507
coroutine.resume(coroutine.create(function()
508
	for i = 0, 9 do
509
		swait()
510
		fval = fval + 0.05
511
		flol = flol - 0.1
512
		flil = flil - 0.1
513
		txtlb.Text = ""
514
		txtlb.Position = UDim2.new(0,0,flol,0)
515
		txtlb2.Position = UDim2.new(0,0,flil,0)
516
	end
517
	txtlb.Text = text
518
wait(watval)
519
local valinc = 0
520
for i = 0, 99 do
521
swait()
522
valinc = valinc + 0.0001
523
flol = flol + valinc
524
flil = flil + valinc
525
txtlb.Rotation = txtlb.Rotation + valinc*20
526
txtlb2.Rotation = txtlb2.Rotation - valinc*50
527
txtlb.Position = UDim2.new(0,0,flol,0)
528
txtlb2.Position = UDim2.new(0,0,flil,0)
529
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
530
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
531
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
532
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
533
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
534
end
535
scrg:Destroy()
536
end))
537
end))
538
end
539
end
540
541
542
local Create = LoadLibrary("RbxUtility").Create
543
544
CFuncs = {	
545
	["Part"] = {
546
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
547
			local Part = Create("Part"){
548
				Parent = Parent,
549
				Reflectance = Reflectance,
550
				Transparency = Transparency,
551
				CanCollide = false,
552
				Locked = true,
553
				BrickColor = BrickColor.new(tostring(BColor)),
554
				Name = Name,
555
				Size = Size,
556
				Material = Material,
557
			}
558
			RemoveOutlines(Part)
559
			return Part
560
		end;
561
	};
562
	
563
	["Mesh"] = {
564
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
565
			local Msh = Create(Mesh){
566
				Parent = Part,
567
				Offset = OffSet,
568
				Scale = Scale,
569
			}
570
			if Mesh == "SpecialMesh" then
571
				Msh.MeshType = MeshType
572
				Msh.MeshId = MeshId
573
			end
574
			return Msh
575
		end;
576
	};
577
	
578
	["Mesh"] = {
579
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
580
			local Msh = Create(Mesh){
581
				Parent = Part,
582
				Offset = OffSet,
583
				Scale = Scale,
584
			}
585
			if Mesh == "SpecialMesh" then
586
				Msh.MeshType = MeshType
587
				Msh.MeshId = MeshId
588
			end
589
			return Msh
590
		end;
591
	};
592
	
593
	["Weld"] = {
594
		Create = function(Parent, Part0, Part1, C0, C1)
595
			local Weld = Create("Weld"){
596
				Parent = Parent,
597
				Part0 = Part0,
598
				Part1 = Part1,
599
				C0 = C0,
600
				C1 = C1,
601
			}
602
			return Weld
603
		end;
604
	};
605
606
	["Sound"] = {
607
		Create = function(id, par, vol, pit) 
608
			coroutine.resume(coroutine.create(function()
609
				local S = Create("Sound"){
610
					Volume = vol,
611
                                        Name = "EffectSoundo",
612
					Pitch = pit or 1,
613
					SoundId = id,
614
					Parent = par or workspace,
615
				}
616
				wait() 
617
				S:play() 
618
				game:GetService("Debris"):AddItem(S, 10)
619
			end))
620
		end;
621
	};
622
623
	["TimeSound"] = {
624
		Create = function(id, par, vol, pit, timepos) 
625
			coroutine.resume(coroutine.create(function()
626
				local S = Create("Sound"){
627
					Volume = vol,
628
                                        Name = "EffectSoundo",
629
					Pitch = pit or 1,
630
					SoundId = id,
631
                                        TimePosition = timepos,
632
					Parent = par or workspace,
633
				}
634
				wait() 
635
				S:play() 
636
				game:GetService("Debris"):AddItem(S, 10)
637
			end))
638
		end;
639
	};
640
		["EchoSound"] = {
641
		Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) 
642
			coroutine.resume(coroutine.create(function()
643
				local Sas = Create("Sound"){
644
					Volume = vol,
645
                    Name = "EffectSoundo",
646
					Pitch = pit or 1,
647
					SoundId = id,
648
                    TimePosition = timepos,
649
					Parent = par or workspace,
650
				}
651
				local E = Create("EchoSoundEffect"){
652
					Delay = echodelay,
653
                    Name = "Echo",
654
					Feedback = fedb,
655
                    DryLevel = dryl,
656
					Parent = Sas,
657
				}
658
				wait() 
659
				Sas:play() 
660
				game:GetService("Debris"):AddItem(Sas, delays)
661
			end))
662
		end;
663
	};
664
665
["LongSound"] = {
666
		Create = function(id, par, vol, pit) 
667
			coroutine.resume(coroutine.create(function()
668
				local S = Create("Sound"){
669
					Volume = vol,
670
					Pitch = pit or 1,
671
					SoundId = id,
672
					Parent = par or workspace,
673
				}
674
				wait() 
675
				S:play() 
676
				game:GetService("Debris"):AddItem(S, 60)
677
			end))
678
		end;
679
	};
680
	
681
	["ParticleEmitter"] = {
682
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
683
			local fp = Create("ParticleEmitter"){
684
				Parent = Parent,
685
				Color = ColorSequence.new(Color1, Color2),
686
				LightEmission = LightEmission,
687
				Size = Size,
688
				Texture = Texture,
689
				Transparency = Transparency,
690
				ZOffset = ZOffset,
691
				Acceleration = Accel,
692
				Drag = Drag,
693
				LockedToPart = LockedToPart,
694
				VelocityInheritance = VelocityInheritance,
695
				EmissionDirection = EmissionDirection,
696
				Enabled = Enabled,
697
				Lifetime = LifeTime,
698
				Rate = Rate,
699
				Rotation = Rotation,
700
				RotSpeed = RotSpeed,
701
				Speed = Speed,
702
				VelocitySpread = VelocitySpread,
703
			}
704
			return fp
705
		end;
706
	};
707
708
	CreateTemplate = {
709
	
710
	};
711
}
712
713
714
715
New = function(Object, Parent, Name, Data)
716
	local Object = Instance.new(Object)
717
	for Index, Value in pairs(Data or {}) do
718
		Object[Index] = Value
719
	end
720
	Object.Parent = Parent
721
	Object.Name = Name
722
	return Object
723
end
724
local halocolor = BrickColor.new("Pastel light blue")
725
local halocolor2 = BrickColor.new("Cool yellow")
726
local starcolor = BrickColor.new("Bright yellow")
727
local lunacolor = BrickColor.new("Navy blue")
728
local lunacolor2 = BrickColor.new("Bright blue")
729
local wepcolor = BrickColor.new("Really black")
730
local maincolor = BrickColor.new("Really black")
731
local m = Instance.new("Model",char)
732
local m2 = Instance.new("Model",char)
733
local m3 = Instance.new("Model",char)
734
local mw1 = Instance.new("Model",char)
735
local mw2 = Instance.new("Model",char)
736
737
738
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
739
  local gui = it(GuiType)
740
  gui.Parent = parent
741
  gui.Text = text
742
  gui.BackgroundTransparency = backtrans
743
  gui.BackgroundColor3 = backcol
744
  gui.SizeConstraint = "RelativeXY"
745
  gui.TextXAlignment = "Center"
746
  gui.TextYAlignment = "Center"
747
  gui.Position = pos
748
  gui.Size = size
749
  gui.Font = "SourceSans"
750
  gui.FontSize = "Size14"
751
  gui.TextWrapped = false
752
  gui.TextStrokeTransparency = 0
753
  gui.TextColor = BrickColor.new("White")
754
  return gui
755
end
756
--------------------------- GUI STUFF
757
local basgui = it("GuiMain")
758
basgui.Parent = plr.PlayerGui
759
basgui.Name = "VISgui"
760
local fullscreenz = it("Frame")
761
fullscreenz.Parent = basgui
762
fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
763
fullscreenz.BackgroundTransparency = 1
764
fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
765
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
766
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
767
local imgl2 = Instance.new("ImageLabel",fullscreenz)
768
imgl2.BackgroundTransparency = 1
769
imgl2.BorderSizePixel = 0
770
imgl2.ImageTransparency = 0.5
771
imgl2.ImageColor3 = Color3.new(1,0,0)
772
imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
773
imgl2.Size = UDim2.new(0,1000,0,1000)
774
imgl2.Image = "rbxassetid://2325939897"
775
local techc = imgl2:Clone()
776
techc.Parent = fullscreenz
777
techc.ImageTransparency = 0
778
techc.Size = UDim2.new(0,900,0,900)
779
techc.Position = UDim2.new(0.75,-150,0.55,-150)
780
techc.ImageColor3 = Color3.new(1,0,0)
781
techc.Image = "rbxassetid://2273224484"
782
local circl = imgl2:Clone()
783
circl.Parent = fullscreenz
784
circl.ImageTransparency = 0
785
circl.Size = UDim2.new(0,550,0,550)
786
circl.Position = UDim2.new(0.75,25,0.55,25)
787
circl.ImageColor3 = Color3.new(0,0,0)
788
circl.Image = "rbxassetid://2312119891"
789
local circl2 = imgl2:Clone()
790
circl2.Parent = fullscreenz
791
circl2.ImageTransparency = 0
792
circl2.Size = UDim2.new(0,700,0,700)
793
circl2.Position = UDim2.new(0.75,-50,0.55,-50)
794
circl2.ImageColor3 = Color3.new(1,0,0)
795
circl2.Image = "rbxassetid://2312119891"
796
local imgl2b = imgl2:Clone()
797
imgl2b.Parent = fullscreenz
798
imgl2b.ImageTransparency = 0
799
imgl2b.Size = UDim2.new(0,800,0,800)
800
imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
801
imgl2b.ImageColor3 = Color3.new(0,0,0)
802
local ned = Instance.new("TextLabel",fullscreenz)
803
ned.ZIndex = 2
804
ned.Font = "Arcade"
805
ned.BackgroundTransparency = 1
806
ned.BorderSizePixel = 0.65
807
ned.Size = UDim2.new(0.3,0,0.2,0)
808
ned.Position = UDim2.new(0.7,0,0.8,0)
809
ned.TextColor3 = BrickColor.new("Really red").Color
810
ned.TextStrokeColor3 = BrickColor.new("Really black").Color
811
ned.TextScaled = true
812
ned.TextStrokeTransparency = 0
813
ned.Text = "MAYHEM"
814
ned.TextSize = 24
815
ned.Rotation = 1
816
ned.TextXAlignment = "Right"
817
ned.TextYAlignment = "Bottom"
818
819
local extrawingmod1 = Instance.new("Model",char)
820
local extrawingmod2 = Instance.new("Model",char)
821
822
function CreateParta(parent,transparency,reflectance,material,brickcolor)
823
local p = Instance.new("Part")
824
p.TopSurface = 0
825
p.BottomSurface = 0
826
p.Parent = parent
827
p.Size = Vector3.new(0.1,0.1,0.1)
828
p.Transparency = transparency
829
p.Reflectance = reflectance
830
p.CanCollide = false
831
p.Locked = true
832
p.BrickColor = brickcolor
833
p.Material = material
834
return p
835
end
836
837
function CreateMesh(parent,meshtype,x1,y1,z1)
838
local mesh = Instance.new("SpecialMesh",parent)
839
mesh.MeshType = meshtype
840
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
841
return mesh
842
end
843
844
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
845
local mesh = Instance.new("SpecialMesh",parent)
846
mesh.MeshType = "FileMesh"
847
mesh.MeshId = meshid
848
mesh.Scale = Vector3.new(x1,y1,z1)
849
return mesh
850
end
851
852
853
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
854
local mesh = Instance.new("SpecialMesh",parent)
855
mesh.MeshType = "FileMesh"
856
mesh.MeshId = meshid
857
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
858
mesh.Scale = Vector3.new(x1,y1,z1)
859
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
860
return mesh
861
end
862
863
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
864
local weld = Instance.new("Weld")
865
weld.Parent = parent
866
weld.Part0 = part0
867
weld.Part1 = part1
868
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
869
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
870
return weld
871
end
872
873
874
--------------
875
--------------
876
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
877
CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
878
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
879
CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
880
881
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
882
CreateMesh(handle,"Brick",0,0,0)
883
local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
884
local valuaring = 10
885
for i = 0, 49 do
886
	valuaring = valuaring + 10
887
rn = CreateParta(mw2,0,0,"Neon",halocolor)
888
CreateMesh(rn,"Brick",0.25,0.1,0.1)
889
CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
890
end
891
892
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
893
CreateMesh(handle,"Brick",0,0,0)
894
CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
895
local valuaring = 10
896
for i = 0, 49 do
897
	valuaring = valuaring + 10
898
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
899
CreateMesh(rn,"Brick",0.5,0.2,0.2)
900
CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
901
end
902
903
904
local handle = CreateParta(m,1,1,"Neon",maincolor)
905
CreateMesh(handle,"Brick",0.5,0.5,0.5)
906
local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
907
908
--- Left wing.
909
910
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
911
CreateMesh(handle,"Brick",0.5,0.5,0.5)
912
local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
913
914
wed = CreateParta(mw1,0,0,"Neon",halocolor)
915
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
916
CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
917
wed = CreateParta(mw1,0,0,"Neon",halocolor)
918
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
919
CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
920
A0 = Instance.new('Attachment',wed)
921
A0.Position = vt(0,0.25,0.25)
922
wed = CreateParta(mw1,0,0,"Neon",halocolor)
923
CreateMesh(wed,"Wedge",0.05,0.5,3)
924
CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
925
A1 = Instance.new('Attachment',wed)
926
A1.Position = vt(0,-0.25,-2)
927
wed = CreateParta(mw1,0,0,"Neon",halocolor)
928
CreateMesh(wed,"Wedge",0.05,3,0.5)
929
CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
930
931
tl1 = Instance.new('Trail',wed)
932
tl1.Attachment0 = A1
933
tl1.Attachment1 = A0
934
tl1.Texture = "rbxassetid://2108945559"
935
tl1.LightEmission = 1
936
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
937
tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
938
tl1.Lifetime = 0.6
939
940
941
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
942
CreateMesh(handle,"Brick",0.5,0.5,0.5)
943
local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
944
945
wed = CreateParta(mw1,0,0,"Neon",halocolor)
946
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
947
CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
948
wed = CreateParta(mw1,0,0,"Neon",halocolor)
949
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
950
CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
951
A0 = Instance.new('Attachment',wed)
952
A0.Position = vt(0,0.25,0.25)
953
wed = CreateParta(mw1,0,0,"Neon",halocolor)
954
CreateMesh(wed,"Wedge",0.05,0.5,3)
955
CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
956
A1 = Instance.new('Attachment',wed)
957
A1.Position = vt(0,-0.25,-2)
958
wed = CreateParta(mw1,0,0,"Neon",halocolor)
959
CreateMesh(wed,"Wedge",0.05,3,0.5)
960
CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
961
962
tl2 = Instance.new('Trail',wed)
963
tl2.Attachment0 = A1
964
tl2.Attachment1 = A0
965
tl2.Texture = "rbxassetid://2108945559"
966
tl2.LightEmission = 1
967
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
968
tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
969
tl2.Lifetime = 0.6
970
971
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
972
CreateMesh(handle,"Brick",0.5,0.5,0.5)
973
local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
974
975
wed = CreateParta(mw1,0,0,"Neon",halocolor)
976
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
977
CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
978
wed = CreateParta(mw1,0,0,"Neon",halocolor)
979
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
980
CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
981
A0 = Instance.new('Attachment',wed)
982
A0.Position = vt(0,0.25,0.25)
983
wed = CreateParta(mw1,0,0,"Neon",halocolor)
984
CreateMesh(wed,"Wedge",0.05,0.5,3)
985
CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
986
A1 = Instance.new('Attachment',wed)
987
A1.Position = vt(0,-0.25,-2)
988
wed = CreateParta(mw1,0,0,"Neon",halocolor)
989
CreateMesh(wed,"Wedge",0.05,3,0.5)
990
CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
991
992
tl3 = Instance.new('Trail',wed)
993
tl3.Attachment0 = A1
994
tl3.Attachment1 = A0
995
tl3.Texture = "rbxassetid://2108945559"
996
tl3.LightEmission = 1
997
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
998
tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
999
tl3.Lifetime = 0.6
1000
1001
tl1.Enabled = false
1002
tl2.Enabled = false
1003
tl3.Enabled = false
1004
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
1005
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1006
local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1007
1008
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1009
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1010
CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1011
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1012
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1013
CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1014
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1015
CreateMesh(wed,"Wedge",0.05,0.5,3)
1016
CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1017
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1018
CreateMesh(wed,"Wedge",0.05,3,0.5)
1019
CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1020
1021
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
1022
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1023
local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1024
1025
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1026
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1027
CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1028
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1029
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1030
CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1031
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1032
CreateMesh(wed,"Wedge",0.05,0.5,3)
1033
CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1034
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1035
CreateMesh(wed,"Wedge",0.05,3,0.5)
1036
CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1037
1038
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
1039
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1040
local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1041
1042
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1043
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1044
CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1045
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1046
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1047
CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1048
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1049
CreateMesh(wed,"Wedge",0.05,0.5,3)
1050
CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1051
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1052
CreateMesh(wed,"Wedge",0.05,3,0.5)
1053
CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1054
1055
-- Right wing.
1056
1057
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
1058
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1059
local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1060
1061
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1062
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1063
CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1064
A0 = Instance.new('Attachment',wed)
1065
A0.Position = vt(0,0.25,0.25)
1066
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1067
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1068
CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1069
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1070
CreateMesh(wed,"Wedge",0.05,0.5,3)
1071
CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1072
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1073
CreateMesh(wed,"Wedge",0.05,3,0.5)
1074
CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1075
A1 = Instance.new('Attachment',wed)
1076
A1.Position = vt(0,2,0.25)
1077
1078
tr1 = Instance.new('Trail',wed)
1079
tr1.Attachment0 = A1
1080
tr1.Attachment1 = A0
1081
tr1.Texture = "rbxassetid://2108945559"
1082
tr1.LightEmission = 1
1083
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1084
tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1085
tr1.Lifetime = 0.6
1086
1087
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
1088
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1089
local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1090
1091
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1092
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1093
CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1094
A0 = Instance.new('Attachment',wed)
1095
A0.Position = vt(0,0.25,0.25)
1096
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1097
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1098
CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1099
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1100
CreateMesh(wed,"Wedge",0.05,0.5,3)
1101
CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1102
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1103
CreateMesh(wed,"Wedge",0.05,3,0.5)
1104
CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1105
A1 = Instance.new('Attachment',wed)
1106
A1.Position = vt(0,2,0.25)
1107
1108
tr2 = Instance.new('Trail',wed)
1109
tr2.Attachment0 = A1
1110
tr2.Attachment1 = A0
1111
tr2.Texture = "rbxassetid://2108945559"
1112
tr2.LightEmission = 1
1113
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1114
tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1115
tr2.Lifetime = 0.6
1116
1117
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
1118
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1119
local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1120
1121
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1122
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1123
CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1124
A0 = Instance.new('Attachment',wed)
1125
A0.Position = vt(0,0.25,0.25)
1126
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1127
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1128
CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1129
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1130
CreateMesh(wed,"Wedge",0.05,0.5,3)
1131
CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1132
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1133
CreateMesh(wed,"Wedge",0.05,3,0.5)
1134
CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1135
A1 = Instance.new('Attachment',wed)
1136
A1.Position = vt(0,2,0.25)
1137
1138
tr3 = Instance.new('Trail',wed)
1139
tr3.Attachment0 = A1
1140
tr3.Attachment1 = A0
1141
tr3.Texture = "rbxassetid://2108945559"
1142
tr3.LightEmission = 1
1143
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1144
tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1145
tr3.Lifetime = 0.6
1146
1147
1148
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
1149
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1150
local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1151
1152
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1153
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1154
CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1155
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1156
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1157
CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1158
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1159
CreateMesh(wed,"Wedge",0.05,0.5,3)
1160
CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1161
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1162
CreateMesh(wed,"Wedge",0.05,3,0.5)
1163
CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1164
1165
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
1166
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1167
local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1168
1169
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1170
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1171
CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1172
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1173
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1174
CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1175
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1176
CreateMesh(wed,"Wedge",0.05,0.5,3)
1177
CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1178
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1179
CreateMesh(wed,"Wedge",0.05,3,0.5)
1180
CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1181
1182
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
1183
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1184
local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1185
1186
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1187
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1188
CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1189
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1190
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1191
CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1192
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1193
CreateMesh(wed,"Wedge",0.05,0.5,3)
1194
CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1195
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1196
CreateMesh(wed,"Wedge",0.05,3,0.5)
1197
CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1198
1199
---- HERES THE RING
1200
1201
1202
--[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1203
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1204
CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1205
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1206
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1207
CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1208
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1209
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1210
CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1211
1212
1213
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1214
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1215
CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1216
1217
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1218
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1219
CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1220
1221
1222
1223
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1224
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1225
CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1226
1227
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1228
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1229
CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1230
1231
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1232
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1233
CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1234
1235
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1236
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1237
CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1238
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1239
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1240
CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1241
1242
--- second ring
1243
1244
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1245
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1246
CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1247
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1248
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1249
CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1250
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1251
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1252
CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1253
1254
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1255
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1256
CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1257
1258
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1259
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1260
CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1261
1262
1263
1264
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1265
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1266
CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1267
1268
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1269
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1270
CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1271
1272
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1273
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1274
CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1275
1276
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1277
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1278
CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1279
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1280
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1281
CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
1282
1283
1284
1285
for i, v in pairs(m:GetChildren()) do
1286
if v:IsA("Part") then
1287
v.BrickColor = BrickColor.new("Really black")
1288
v.Material = "Glass"
1289
end
1290
end
1291
for i, v in pairs(m2:GetChildren()) do
1292
if v:IsA("Part") then
1293
v.BrickColor = BrickColor.new("Crimson")
1294
v.Material = "Granite"
1295
end
1296
end
1297
for i, v in pairs(m3:GetChildren()) do
1298
if v:IsA("Part") then
1299
v.BrickColor = BrickColor.new("Really red")
1300
v.Material = "Neon"
1301
end
1302
end
1303
for i, v in pairs(mw2:GetChildren()) do
1304
if v:IsA("Part") then
1305
v.BrickColor = BrickColor.new("Really red")
1306
v.Material = "Neon"
1307
end
1308
end
1309
for i, v in pairs(mw1:GetChildren()) do
1310
if v:IsA("Part") then
1311
v.Transparency = 1
1312
v.BrickColor = BrickColor.new("Really red")
1313
v.Material = "Neon"
1314
end
1315
end
1316
for i, v in pairs(extrawingmod1:GetChildren()) do
1317
if v:IsA("Part") then
1318
v.Transparency = 1
1319
v.BrickColor = BrickColor.new("White")
1320
v.Material = "Neon"
1321
end
1322
end
1323
for i, v in pairs(extrawingmod2:GetChildren()) do
1324
if v:IsA("Part") then
1325
v.Transparency = 1
1326
v.BrickColor = BrickColor.new("White")
1327
v.Material = "Neon"
1328
end
1329
end
1330
local MAINRUINCOLOR = BrickColor.new("Really red")
1331
------
1332
1333
1334
function RemoveOutlines(part)
1335
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1336
end
1337
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1338
  local Part = Create("Part")({
1339
    Parent = Parent,
1340
    Reflectance = Reflectance,
1341
    Transparency = Transparency,
1342
    CanCollide = false,
1343
    Locked = true,
1344
    BrickColor = BrickColor.new(tostring(BColor)),
1345
    Name = Name,
1346
    Size = Size,
1347
    Material = Material
1348
  })
1349
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1350
  RemoveOutlines(Part)
1351
  return Part
1352
end
1353
function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1354
  local Msh = Create(Mesh)({
1355
    Parent = Part,
1356
    Offset = OffSet,
1357
    Scale = Scale
1358
  })
1359
  if Mesh == "SpecialMesh" then
1360
    Msh.MeshType = MeshType
1361
    Msh.MeshId = MeshId
1362
  end
1363
  return Msh
1364
end
1365
function CreateWeld(Parent, Part0, Part1, C0, C1)
1366
  local Weld = Create("Weld")({
1367
    Parent = Parent,
1368
    Part0 = Part0,
1369
    Part1 = Part1,
1370
    C0 = C0,
1371
    C1 = C1
1372
  })
1373
  return Weld
1374
end
1375
1376
Character=Player.Character 
1377
PlayerGui=Player.PlayerGui 
1378
Backpack=Player.Backpack 
1379
Torso=Character.Torso 
1380
Head=Character.Head 
1381
Humanoid=Character.Humanoid
1382
m=Instance.new('Model',Character)
1383
LeftArm=Character["Left Arm"] 
1384
LeftLeg=Character["Left Leg"] 
1385
RightArm=Character["Right Arm"] 
1386
RightLeg=Character["Right Leg"] 
1387
LS=Torso["Left Shoulder"] 
1388
LH=Torso["Left Hip"] 
1389
RS=Torso["Right Shoulder"] 
1390
RH=Torso["Right Hip"] 
1391
Face = Head.face
1392
Neck=Torso.Neck
1393
it=Instance.new
1394
attacktype=1
1395
vt=Vector3.new
1396
cf=CFrame.new
1397
euler=CFrame.fromEulerAnglesXYZ
1398
angles=CFrame.Angles
1399
cloaked=false
1400
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1401
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1402
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
1403
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
1404
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
1405
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
1406
RootPart=Character.HumanoidRootPart
1407
RootJoint=RootPart.RootJoint
1408
RootCF=euler(-1.57,0,3.14)
1409
attack = false 
1410
attackdebounce = false 
1411
deb=false
1412
equipped=true
1413
hand=false
1414
combo=0
1415
mana=0
1416
trispeed=.2
1417
attackmode='none'
1418
local idle=0
1419
local Anim="Idle"
1420
local Effects={}
1421
local gun=false
1422
local shoot=false
1423
local sine = 0
1424
local change = 1
1425
1426
function RecolorTextAndRename(name,col1,col2,font)
1427
modet.TextStrokeColor3 = col2
1428
modet.TextColor3 = col1
1429
modet.Font = font
1430
modet.Text = name
1431
techc.ImageColor3 = col2
1432
circl.ImageColor3 = col2
1433
circl2.ImageColor3 = col1
1434
imgl2.ImageColor3 = col1
1435
imgl2b.ImageColor3 = col2
1436
ned.Text = name
1437
ned.TextColor3 = col1
1438
ned.TextStrokeColor3 = col2
1439
end
1440
1441
function warnedpeople(text,represfont,color,color2)
1442
	if disably ~= true then
1443
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
1444
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
1445
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1446
coroutine.resume(coroutine.create(function()
1447
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
1448
v.PlayerGui:FindFirstChild("Spinny"):destroy()
1449
end
1450
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1451
scrg.Name = "Spinny"
1452
local frm = Instance.new("Frame",scrg)
1453
frm.BackgroundTransparency = 0.25
1454
frm.BackgroundColor3 = color
1455
frm.BorderSizePixel = 0
1456
frm.Rotation = 45
1457
frm.Size = UDim2.new(3,0,0,100)
1458
frm.Position = UDim2.new(-4,0,0,0)
1459
local frm2 = frm:Clone()
1460
frm2.Parent = scrg
1461
frm2.BackgroundColor3 = color2
1462
frm2.Position = UDim2.new(-4.05,0,0,0)
1463
local imlb = Instance.new("ImageLabel",scrg)
1464
imlb.BackgroundTransparency = 1
1465
imlb.BackgroundColor3 = Color3.new(0,0,0)
1466
imlb.Image = "rbxassetid://2344851144"
1467
imlb.Size = UDim2.new(0,750,0,750)
1468
imlb.ImageColor3 = color2
1469
imlb.ImageTransparency = 0.25
1470
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
1471
local imlb2 = imlb:Clone()
1472
imlb2.Image = "rbxassetid://2076458450"
1473
imlb2.Size = UDim2.new(1,0,1,0)
1474
imlb2.ImageColor3 = color
1475
imlb2.ImageTransparency = 0
1476
imlb2.Position = UDim2.new(0,0,0,0)
1477
local imlb3 = imlb:Clone()
1478
imlb3.Image = "rbxassetid://2312119891"
1479
imlb3.Size = UDim2.new(1,0,1,0)
1480
imlb3.ImageColor3 = color2
1481
imlb3.ImageTransparency = 0
1482
imlb3.Position = UDim2.new(0,0,0,0)
1483
local imlb4 = imlb:Clone()
1484
imlb4.Image = "rbxassetid://2092248396"
1485
imlb4.Size = UDim2.new(3,0,3,0)
1486
imlb3.ImageColor3 = color
1487
imlb4.ImageTransparency = 0
1488
imlb4.Position = UDim2.new(-1,0,-1,0)
1489
local imlb5 = imlb:Clone()
1490
imlb5.Image = "rbxassetid://2344870656"
1491
imlb5.Size = UDim2.new(10,0,10,0)
1492
imlb5.ImageColor3 = color2
1493
imlb5.ImageTransparency = 0
1494
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
1495
imlb2.Parent = imlb
1496
imlb3.Parent = imlb
1497
imlb4.Parent = imlb
1498
imlb5.Parent = imlb
1499
local txtlb2 = Instance.new("TextLabel",imlb)
1500
coroutine.resume(coroutine.create(function()
1501
while true do
1502
swait()
1503
if Error == false then
1504
txtlb2.Text = text
1505
elseif Error == true then
1506
txtlb2.Text = est[math.random(1,17)]
1507
end
1508
end
1509
end))
1510
txtlb2.Font = represfont
1511
txtlb2.TextColor3 = color
1512
txtlb2.TextStrokeTransparency = 0
1513
txtlb2.BackgroundTransparency = 1
1514
txtlb2.TextStrokeColor3 = color2
1515
txtlb2.TextScaled = true
1516
txtlb2.Size = UDim2.new(1,0,1,0)
1517
txtlb2.Position = UDim2.new(0,0,0,0)
1518
local fvalen = 0.55
1519
local fval = -0.49
1520
coroutine.resume(coroutine.create(function()
1521
while true do
1522
swait()
1523
if rainbowmode == true then
1524
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1525
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1526
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
1527
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
1528
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
1529
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
1530
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
1531
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
1532
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
1533
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
1534
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
1535
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
1536
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
1537
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
1538
end
1539
end
1540
end))
1541
coroutine.resume(coroutine.create(function()
1542
while true do
1543
swait()
1544
if Error == true then
1545
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1546
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1547
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1548
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1549
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1550
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1551
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1552
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1553
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1554
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1555
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1556
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1557
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
1558
text = est[math.random(1,17)]
1559
end
1560
end
1561
end))
1562
coroutine.resume(coroutine.create(function()
1563
while true do
1564
swait()
1565
if CRAZED == true then
1566
txtlb2.Rotation = math.random(-1,1)
1567
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1568
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1569
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1570
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
1571
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
1572
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
1573
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
1574
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
1575
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
1576
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
1577
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
1578
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
1579
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
1580
end
1581
end
1582
end))
1583
coroutine.resume(coroutine.create(function()
1584
while true do
1585
swait()
1586
if chaosmode == true then
1587
txtlb2.Rotation = math.random(-1,1)
1588
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1589
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1590
imlb.ImageColor3 = BrickColor.random().Color
1591
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1592
end
1593
end
1594
end))
1595
1596
coroutine.resume(coroutine.create(function()
1597
while true do
1598
swait()
1599
if scrg.Parent ~= nil then
1600
	fvalen = fvalen - 0.0001
1601
elseif scrg.Parent == nil then
1602
break
1603
end
1604
end
1605
end))
1606
local flol = -5
1607
local flil = 1.6
1608
coroutine.resume(coroutine.create(function()
1609
	for i = 0, 49 do
1610
		swait()
1611
		flol = flol + 0.125
1612
		flil = flil - 0.1
1613
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
1614
		frm.Rotation = frm.Rotation - 0.25
1615
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
1616
		frm2.Rotation = frm.Rotation + 0.325
1617
		imlb3.Rotation = imlb3.Rotation - 10
1618
		imlb2.Rotation = imlb.Rotation + 7.5
1619
		imlb.Rotation = imlb.Rotation + 5
1620
		if Error == false then
1621
		txtlb2.Rotation = txtlb2.Rotation - 5.125
1622
		elseif Error == true then
1623
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
1624
		end
1625
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
1626
	end
1627
	for i = 0, 99 do
1628
		swait()
1629
		fval = fval + 0.05
1630
		flol = flol + 0.005
1631
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
1632
		frm.Rotation = frm.Rotation - 0.075
1633
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
1634
		frm2.Rotation = frm2.Rotation + 0.125
1635
		imlb3.Rotation = imlb3.Rotation - 2
1636
		imlb2.Rotation = imlb.Rotation + 1.5
1637
		imlb.Rotation = imlb.Rotation + 1
1638
		if Error == false then
1639
		txtlb2.Rotation = txtlb2.Rotation - 1.125
1640
		elseif Error == true then
1641
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
1642
		end
1643
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
1644
	end
1645
local valinc = 0
1646
local vinc2 = 1
1647
for i = 0, 99 do
1648
swait()
1649
vinc2 = vinc2 + 0.25
1650
valinc = valinc + 0.0001
1651
flol = flol + valinc
1652
flil = flil + valinc
1653
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
1654
imlb3.Rotation = imlb3.Rotation - 2*vinc2
1655
imlb.Rotation = imlb.Rotation + 1*vinc2
1656
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
1657
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
1658
frm.Rotation = frm.Rotation + 0.1*vinc2
1659
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
1660
frm2.Rotation = frm2.Rotation + 0.225*vinc2
1661
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
1662
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
1663
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
1664
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
1665
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
1666
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
1667
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
1668
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1669
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1670
end
1671
scrg:Destroy()
1672
end))
1673
end))
1674
end
1675
end
1676
end
1677
1678
1679
--save shoulders 
1680
RSH, LSH=nil, nil 
1681
--welds 
1682
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
1683
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
1684
LH=Torso["Left Hip"]
1685
RH=Torso["Right Hip"]
1686
TorsoColor=Torso.BrickColor
1687
function NoOutline(Part)
1688
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1689
end
1690
ch=Character
1691
RSH=ch.Torso["Right Shoulder"] 
1692
LSH=ch.Torso["Left Shoulder"] 
1693
-- 
1694
RSH.Parent=nil 
1695
LSH.Parent=nil 
1696
-- 
1697
RW.Name="Right Shoulder"
1698
RW.Part0=ch.Torso 
1699
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
1700
RW.C1=cf(0, 0.5, 0) 
1701
RW.Part1=ch["Right Arm"] 
1702
RW.Parent=ch.Torso 
1703
-- 
1704
LW.Name="Left Shoulder"
1705
LW.Part0=ch.Torso 
1706
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
1707
LW.C1=cf(0, 0.5, 0) 
1708
LW.Part1=ch["Left Arm"] 
1709
LW.Parent=ch.Torso 
1710
1711
local Stats=Instance.new("BoolValue")
1712
Stats.Name="Stats"
1713
Stats.Parent=Character
1714
local Atk=Instance.new("NumberValue")
1715
Atk.Name="Damage"
1716
Atk.Parent=Stats
1717
Atk.Value=1
1718
local Def=Instance.new("NumberValue")
1719
Def.Name="Defense"
1720
Def.Parent=Stats
1721
Def.Value=1
1722
local Speed=Instance.new("NumberValue")
1723
Speed.Name="Speed"
1724
Speed.Parent=Stats
1725
Speed.Value=1
1726
local Mvmt=Instance.new("NumberValue")
1727
Mvmt.Name="Movement"
1728
Mvmt.Parent=Stats
1729
Mvmt.Value=1
1730
1731
local donum=0
1732
 
1733
1734
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1735
local fp=it("Part")
1736
fp.formFactor=formfactor 
1737
fp.Parent=parent
1738
fp.Reflectance=reflectance
1739
fp.Transparency=transparency
1740
fp.CanCollide=false 
1741
fp.Locked=true
1742
fp.BrickColor=brickcolor
1743
fp.Name=name
1744
fp.Size=size
1745
fp.Position=Torso.Position 
1746
NoOutline(fp)
1747
fp.Material="SmoothPlastic"
1748
fp:BreakJoints()
1749
return fp 
1750
end 
1751
 
1752
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1753
local mesh=it(Mesh) 
1754
mesh.Parent=part
1755
if Mesh=="SpecialMesh" then
1756
mesh.MeshType=meshtype
1757
if meshid~="nil" then
1758
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1759
end
1760
end
1761
mesh.Offset=offset
1762
mesh.Scale=scale
1763
return mesh
1764
end
1765
 
1766
function weld(parent,part0,part1,c0)
1767
local weld=it("Weld") 
1768
weld.Parent=parent
1769
weld.Part0=part0 
1770
weld.Part1=part1 
1771
weld.C0=c0
1772
return weld
1773
end
1774
 
1775
local Color1=Torso.BrickColor
1776
1777
local bodvel=Instance.new("BodyVelocity")
1778
local bg=Instance.new("BodyGyro")
1779
1780
--------- SazEreno's Artificial HB --------------
1781
ArtificialHB = Instance.new("BindableEvent", script)
1782
ArtificialHB.Name = "ArtificialHB"
1783
1784
script:WaitForChild("ArtificialHB")
1785
Frame_Speed = 1 / 60
1786
frame = Frame_Speed
1787
tf = 0
1788
allowframeloss = false
1789
tossremainder = false
1790
lastframe = tick()
1791
script.ArtificialHB:Fire()
1792
1793
game:GetService("RunService").Heartbeat:connect(function(s, p)
1794
	tf = tf + s
1795
	if tf >= frame then
1796
		if allowframeloss then
1797
			script.ArtificialHB:Fire()
1798
			lastframe = tick()
1799
		else
1800
			for i = 1, math.floor(tf / frame) do
1801
				script.ArtificialHB:Fire()
1802
			end
1803
		lastframe = tick()
1804
		end
1805
		if tossremainder then
1806
			tf = 0
1807
		else
1808
			tf = tf - frame * math.floor(tf / frame)
1809
		end
1810
	end
1811
end)
1812
1813
------------------
1814
function swait(num)
1815
function swait(num)
1816
if num==0 or num==nil then
1817
game:service'RunService'.Stepped:wait(0)
1818
else
1819
for i=0,num do
1820
game:service'RunService'.Stepped:wait(0)
1821
end
1822
end
1823
end
1824
end
1825
1826
-------- RAINBOW LEAVE IT TO ME
1827
local r = 255
1828
local g = 0
1829
local b = 0
1830
coroutine.resume(coroutine.create(function()
1831
while wait() do
1832
	for i = 0, 254/5 do
1833
		swait()
1834
		g = g + 5
1835
	end
1836
	for i = 0, 254/5 do
1837
		swait()
1838
		r = r - 5
1839
	end
1840
	for i = 0, 254/5 do
1841
		swait()
1842
		b = b + 5
1843
	end
1844
	for i = 0, 254/5 do
1845
		swait()
1846
		g = g - 5
1847
	end
1848
	for i = 0, 254/5 do
1849
		swait()
1850
		r = r + 5
1851
	end
1852
	for i = 0, 254/5 do
1853
		swait()
1854
		b = b - 5
1855
	end
1856
end
1857
end))
1858
 
1859
 
1860
so = function(id,par,vol,pit) 
1861
coroutine.resume(coroutine.create(function()
1862
local sou = Instance.new("Sound",par or workspace)
1863
sou.Volume=vol
1864
sou.Pitch=pit or 1
1865
sou.SoundId=id
1866
swait() 
1867
sou:play() 
1868
game:GetService("Debris"):AddItem(sou,6)
1869
end))
1870
end
1871
 
1872
function clerp(a,b,t) 
1873
local qa = {QuaternionFromCFrame(a)}
1874
local qb = {QuaternionFromCFrame(b)} 
1875
local ax, ay, az = a.x, a.y, a.z 
1876
local bx, by, bz = b.x, b.y, b.z
1877
local _t = 1-t
1878
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1879
end 
1880
 
1881
function QuaternionFromCFrame(cf) 
1882
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1883
local trace = m00 + m11 + m22 
1884
if trace > 0 then 
1885
local s = math.sqrt(1 + trace) 
1886
local recip = 0.5/s 
1887
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1888
else 
1889
local i = 0 
1890
if m11 > m00 then
1891
i = 1
1892
end
1893
if m22 > (i == 0 and m00 or m11) then 
1894
i = 2 
1895
end 
1896
if i == 0 then 
1897
local s = math.sqrt(m00-m11-m22+1) 
1898
local recip = 0.5/s 
1899
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1900
elseif i == 1 then 
1901
local s = math.sqrt(m11-m22-m00+1) 
1902
local recip = 0.5/s 
1903
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1904
elseif i == 2 then 
1905
local s = math.sqrt(m22-m00-m11+1) 
1906
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1907
end 
1908
end 
1909
end
1910
 
1911
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1912
local xs, ys, zs = x + x, y + y, z + z 
1913
local wx, wy, wz = w*xs, w*ys, w*zs 
1914
local xx = x*xs 
1915
local xy = x*ys 
1916
local xz = x*zs 
1917
local yy = y*ys 
1918
local yz = y*zs 
1919
local zz = z*zs 
1920
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)) 
1921
end
1922
 
1923
function QuaternionSlerp(a, b, t) 
1924
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1925
local startInterp, finishInterp; 
1926
if cosTheta >= 0.0001 then 
1927
if (1 - cosTheta) > 0.0001 then 
1928
local theta = math.acos(cosTheta) 
1929
local invSinTheta = 1/math.sin(theta) 
1930
startInterp = math.sin((1-t)*theta)*invSinTheta 
1931
finishInterp = math.sin(t*theta)*invSinTheta  
1932
else 
1933
startInterp = 1-t 
1934
finishInterp = t 
1935
end 
1936
else 
1937
if (1+cosTheta) > 0.0001 then 
1938
local theta = math.acos(-cosTheta) 
1939
local invSinTheta = 1/math.sin(theta) 
1940
startInterp = math.sin((t-1)*theta)*invSinTheta 
1941
finishInterp = math.sin(t*theta)*invSinTheta 
1942
else 
1943
startInterp = t-1 
1944
finishInterp = t 
1945
end 
1946
end 
1947
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 
1948
end
1949
1950
local function CFrameFromTopBack(at, top, back)
1951
local right = top:Cross(back)
1952
return CFrame.new(at.x, at.y, at.z,
1953
right.x, top.x, back.x,
1954
right.y, top.y, back.y,
1955
right.z, top.z, back.z)
1956
end
1957
1958
function Triangle(a, b, c)
1959
local edg1 = (c-a):Dot((b-a).unit)
1960
local edg2 = (a-b):Dot((c-b).unit)
1961
local edg3 = (b-c):Dot((a-c).unit)
1962
if edg1 <= (b-a).magnitude and edg1 >= 0 then
1963
a, b, c = a, b, c
1964
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
1965
a, b, c = b, c, a
1966
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
1967
a, b, c = c, a, b
1968
else
1969
assert(false, "unreachable")
1970
end
1971
 
1972
local len1 = (c-a):Dot((b-a).unit)
1973
local len2 = (b-a).magnitude - len1
1974
local width = (a + (b-a).unit*len1 - c).magnitude
1975
 
1976
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
1977
 
1978
local list = {}
1979
 
1980
if len1 > 0.01 then
1981
local w1 = Instance.new('WedgePart', m)
1982
game:GetService("Debris"):AddItem(w1,5)
1983
w1.Material = "SmoothPlastic"
1984
w1.FormFactor = 'Custom'
1985
w1.BrickColor = BrickColor.new("Really red")
1986
w1.Transparency = 0
1987
w1.Reflectance = 0
1988
w1.Material = "SmoothPlastic"
1989
w1.CanCollide = false
1990
local l1 = Instance.new("PointLight",w1)
1991
l1.Color = Color3.new(170,0,0)
1992
NoOutline(w1)
1993
local sz = Vector3.new(0.2, width, len1)
1994
w1.Size = sz
1995
local sp = Instance.new("SpecialMesh",w1)
1996
sp.MeshType = "Wedge"
1997
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
1998
w1:BreakJoints()
1999
w1.Anchored = true
2000
w1.Parent = workspace
2001
w1.Transparency = 0.7
2002
table.insert(Effects,{w1,"Disappear",.01})
2003
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
2004
table.insert(list,w1)
2005
end
2006
 
2007
if len2 > 0.01 then
2008
local w2 = Instance.new('WedgePart', m)
2009
game:GetService("Debris"):AddItem(w2,5)
2010
w2.Material = "SmoothPlastic"
2011
w2.FormFactor = 'Custom'
2012
w2.BrickColor = BrickColor.new("Really red")
2013
w2.Transparency = 0
2014
w2.Reflectance = 0
2015
w2.Material = "SmoothPlastic"
2016
w2.CanCollide = false
2017
local l2 = Instance.new("PointLight",w2)
2018
l2.Color = Color3.new(170,0,0)
2019
NoOutline(w2)
2020
local sz = Vector3.new(0.2, width, len2)
2021
w2.Size = sz
2022
local sp = Instance.new("SpecialMesh",w2)
2023
sp.MeshType = "Wedge"
2024
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
2025
w2:BreakJoints()
2026
w2.Anchored = true
2027
w2.Parent = workspace
2028
w2.Transparency = 0.7
2029
table.insert(Effects,{w2,"Disappear",.01})
2030
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
2031
table.insert(list,w2)
2032
end
2033
return unpack(list)
2034
end
2035
 
2036
2037
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2038
  if hit.Parent == nil then
2039
    return
2040
  end
2041
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2042
  for _, v in pairs(hit.Parent:children()) do
2043
    if v:IsA("Humanoid") then
2044
      h = v
2045
    end
2046
  end
2047
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
2048
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
2049
      return
2050
    end
2051
    local c = Create("ObjectValue")({
2052
      Name = "creator",
2053
      Value = game:GetService("Players").LocalPlayer,
2054
      Parent = h
2055
    })
2056
    game:GetService("Debris"):AddItem(c, 0.5)
2057
    if HitSound ~= nil and HitPitch ~= nil then
2058
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
2059
    end
2060
    local Damage = math.random(minim, maxim)
2061
    local blocked = false
2062
    local block = hit.Parent:findFirstChild("Block")
2063
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
2064
      blocked = true
2065
      block.Value = block.Value - 1
2066
      print(block.Value)
2067
    end
2068
    if blocked == false then
2069
      HitHealth = h.Health
2070
      h.MaxHealth = 100
2071
      h.Health = h.Health - Damage
2072
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
2073
        print("gained kill")
2074
        dmg(h.Parent)
2075
      end
2076
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2077
    else
2078
      h.Health = h.Health - Damage / 2
2079
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2080
    end
2081
    if Type == "Knockdown" then
2082
      local hum = hit.Parent.Humanoid
2083
      hum.PlatformStand = true
2084
      coroutine.resume(coroutine.create(function(HHumanoid)
2085
        swait(1)
2086
        HHumanoid.PlatformStand = false
2087
      end), hum)
2088
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
2089
      local bodvol = Create("BodyVelocity")({
2090
        velocity = angle * knockback,
2091
        P = 5000,
2092
        maxForce = Vector3.new(8000, 8000, 8000),
2093
        Parent = hit
2094
      })
2095
      local rl = Create("BodyAngularVelocity")({
2096
        P = 3000,
2097
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
2098
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
2099
        Parent = hit
2100
      })
2101
      game:GetService("Debris"):AddItem(bodvol, 0.5)
2102
      game:GetService("Debris"):AddItem(rl, 0.5)
2103
    elseif Type == "Normal" then
2104
      local vp = Create("BodyVelocity")({
2105
        P = 500,
2106
        maxForce = Vector3.new(math.huge, 0, math.huge),
2107
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
2108
      })
2109
      if knockback > 0 then
2110
        vp.Parent = hit.Parent.Head
2111
      end
2112
      game:GetService("Debris"):AddItem(vp, 0.5)
2113
    elseif Type == "Up" then
2114
      local bodyVelocity = Create("BodyVelocity")({
2115
        velocity = Vector3.new(0, 20, 0),
2116
        P = 5000,
2117
        maxForce = Vector3.new(8000, 8000, 8000),
2118
        Parent = hit
2119
      })
2120
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2121
      local bodyVelocity = Create("BodyVelocity")({
2122
        velocity = Vector3.new(0, 20, 0),
2123
        P = 5000,
2124
        maxForce = Vector3.new(8000, 8000, 8000),
2125
        Parent = hit
2126
      })
2127
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2128
    elseif Type == "Leech" then
2129
      local hum = hit.Parent.Humanoid
2130
      if hum ~= nil then
2131
        for i = 0, 2 do
2132
          Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
2133
        end
2134
        Humanoid.Health = Humanoid.Health + 10
2135
      end
2136
    elseif Type == "UpKnock" then
2137
      local hum = hit.Parent.Humanoid
2138
      hum.PlatformStand = true
2139
      if hum ~= nil then
2140
        hitr = true
2141
      end
2142
      coroutine.resume(coroutine.create(function(HHumanoid)
2143
        swait(5)
2144
        HHumanoid.PlatformStand = false
2145
        hitr = false
2146
      end), hum)
2147
      local bodyVelocity = Create("BodyVelocity")({
2148
        velocity = Vector3.new(0, 20, 0),
2149
        P = 5000,
2150
        maxForce = Vector3.new(8000, 8000, 8000),
2151
        Parent = hit
2152
      })
2153
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2154
      local bodyVelocity = Create("BodyVelocity")({
2155
        velocity = Vector3.new(0, 20, 0),
2156
        P = 5000,
2157
        maxForce = Vector3.new(8000, 8000, 8000),
2158
        Parent = hit
2159
      })
2160
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2161
    elseif Type == "Snare" then
2162
      local bp = Create("BodyPosition")({
2163
        P = 2000,
2164
        D = 100,
2165
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2166
        position = hit.Parent.Torso.Position,
2167
        Parent = hit.Parent.Torso
2168
      })
2169
      game:GetService("Debris"):AddItem(bp, 1)
2170
    elseif Type == "Slashnare" then
2171
      Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
2172
      for i = 1, math.random(4, 5) do
2173
        Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
2174
      end
2175
      local bp = Create("BodyPosition")({
2176
        P = 2000,
2177
        D = 100,
2178
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2179
        position = hit.Parent.Torso.Position,
2180
        Parent = hit.Parent.Torso
2181
      })
2182
      game:GetService("Debris"):AddItem(bp, 1)
2183
    elseif Type == "Spike" then
2184
      CreateBigIceSword(hit.Parent.Torso.CFrame)
2185
      local bp = Create("BodyPosition")({
2186
        P = 2000,
2187
        D = 100,
2188
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2189
        position = hit.Parent.Torso.Position,
2190
        Parent = hit.Parent.Torso
2191
      })
2192
      game:GetService("Debris"):AddItem(bp, 1)
2193
    elseif Type == "Freeze" then
2194
      local BodPos = Create("BodyPosition")({
2195
        P = 50000,
2196
        D = 1000,
2197
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2198
        position = hit.Parent.Torso.Position,
2199
        Parent = hit.Parent.Torso
2200
      })
2201
      local BodGy = Create("BodyGyro")({
2202
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
2203
        P = 20000,
2204
        Parent = hit.Parent.Torso,
2205
        cframe = hit.Parent.Torso.CFrame
2206
      })
2207
      hit.Parent.Torso.Anchored = true
2208
      coroutine.resume(coroutine.create(function(Part)
2209
        swait(1.5)
2210
        Part.Anchored = false
2211
      end), hit.Parent.Torso)
2212
      game:GetService("Debris"):AddItem(BodPos, 3)
2213
      game:GetService("Debris"):AddItem(BodGy, 3)
2214
    end
2215
    local debounce = Create("BoolValue")({
2216
      Name = "DebounceHit",
2217
      Parent = hit.Parent,
2218
      Value = true
2219
    })
2220
    game:GetService("Debris"):AddItem(debounce, Delay)
2221
    c = Instance.new("ObjectValue")
2222
    c.Name = "creator"
2223
    c.Value = Player
2224
    c.Parent = h
2225
    game:GetService("Debris"):AddItem(c, 0.5)
2226
  end
2227
end
2228
function ShowDamage(Pos, Text, Time, Color)
2229
  local Rate = 0.03333333333333333
2230
  local Pos = Pos or Vector3.new(0, 0, 0)
2231
  local Text = Text or ""
2232
  local Time = Time or 2
2233
  local Color = Color or Color3.new(1, 0, 1)
2234
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2235
  EffectPart.Anchored = true
2236
  local BillboardGui = Create("BillboardGui")({
2237
    Size = UDim2.new(3, 0, 3, 0),
2238
    Adornee = EffectPart,
2239
    Parent = EffectPart
2240
  })
2241
  local TextLabel = Create("TextLabel")({
2242
    BackgroundTransparency = 1,
2243
    Size = UDim2.new(1, 0, 1, 0),
2244
    Text = Text,
2245
    TextColor3 = Color,
2246
    TextScaled = true,
2247
    Font = Enum.Font.ArialBold,
2248
    Parent = BillboardGui
2249
  })
2250
  game.Debris:AddItem(EffectPart, Time + 0.1)
2251
  EffectPart.Parent = game:GetService("Workspace")
2252
  delay(0, function()
2253
    local Frames = Time / Rate
2254
    for Frame = 1, Frames do
2255
      wait(Rate)
2256
      local Percent = Frame / Frames
2257
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2258
      TextLabel.TextTransparency = Percent
2259
    end
2260
    if EffectPart and EffectPart.Parent then
2261
      EffectPart:Destroy()
2262
    end
2263
  end)
2264
end
2265
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
2266
  for _, c in pairs(workspace:children()) do
2267
    local hum = c:findFirstChildOfClass("Humanoid")
2268
    if hum ~= nil then
2269
      local head = c:findFirstChild("Head")
2270
      if head ~= nil then
2271
        local targ = head.Position - Part.Position
2272
        local mag = targ.magnitude
2273
        if magni >= mag and c.Name ~= Player.Name then
2274
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2275
        end
2276
      end
2277
    end
2278
  end
2279
end
2280
2281
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
2282
  for _, c in pairs(workspace:children()) do
2283
    local hum = c:findFirstChild("Humanoid")
2284
    if hum ~= nil then
2285
      local head = c:findFirstChild("Torso")
2286
      if head ~= nil then
2287
        local targ = head.Position - Part.Position
2288
        local mag = targ.magnitude
2289
        if magni >= mag and c.Name ~= Player.Name then
2290
	MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
2291
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2292
        end
2293
      end
2294
    end
2295
  end
2296
end
2297
2298
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2299
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2300
end 
2301
2302
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
2303
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2304
prt.Anchored=true
2305
prt.CFrame=cframe
2306
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
2307
--http://www.roblox.com/asset/?id=4770560
2308
game:GetService("Debris"):AddItem(prt,2)
2309
CF=prt.CFrame
2310
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
2311
for i=0,1,0.2 do
2312
wait()
2313
Part.CFrame=CF*cf(0,0,-0.4)
2314
end
2315
for i=0,1,delay do
2316
wait()
2317
--Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
2318
Mesh.Scale=Mesh.Scale
2319
end
2320
for i=0,1,0.1 do
2321
wait()
2322
Part.Transparency=i
2323
end
2324
Part.Parent=nil
2325
end),prt,msh,CF)
2326
end
2327
 
2328
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2329
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2330
prt.Anchored=true
2331
prt.Material = "Neon"
2332
prt.CFrame=cframe
2333
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2334
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2335
game:GetService("Debris"):AddItem(prt,5)
2336
coroutine.resume(coroutine.create(function(Part,Mesh) 
2337
for i=0,1,delay do
2338
swait()
2339
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2340
Part.Transparency=i
2341
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2342
end
2343
Part.Parent=nil
2344
end),prt,msh)
2345
end
2346
2347
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2348
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2349
prt.Anchored=true
2350
prt.Material = "Neon"
2351
prt.CFrame=cframe
2352
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2353
game:GetService("Debris"):AddItem(prt,5)
2354
coroutine.resume(coroutine.create(function(Part,Mesh) 
2355
	local rtype = rottype
2356
for i=0,1,delay do
2357
swait()
2358
if rtype == 1 then
2359
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2360
elseif rtype == 2 then
2361
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2362
end
2363
Part.Transparency=i
2364
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2365
end
2366
Part.Parent=nil
2367
end),prt,msh)
2368
end
2369
2370
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2371
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2372
prt.Anchored=true
2373
prt.CFrame=cframe
2374
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2375
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2376
game:GetService("Debris"):AddItem(prt,5)
2377
coroutine.resume(coroutine.create(function(Part,Mesh) 
2378
for i=0,1,delay do
2379
wait()
2380
Part.Transparency=i
2381
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2382
end
2383
Part.Parent=nil
2384
end),prt,msh)
2385
end
2386
2387
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2388
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2389
prt.Anchored=true
2390
prt.Material = "Neon"
2391
prt.CFrame=cframe
2392
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2393
game:GetService("Debris"):AddItem(prt,5)
2394
coroutine.resume(coroutine.create(function(Part,Mesh) 
2395
	local rtype = rottype
2396
for i=0,1,delay do
2397
swait()
2398
if rtype == 1 then
2399
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2400
elseif rtype == 2 then
2401
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2402
end
2403
Part.Transparency=i
2404
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2405
end
2406
Part.Parent=nil
2407
end),prt,msh)
2408
end
2409
2410
function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
2411
local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
2412
prt.Anchored=true
2413
prt.Material = "Neon"
2414
prt.CFrame=cframe
2415
local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
2416
local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
2417
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
2418
game:GetService("Debris"):AddItem(prt,5)
2419
coroutine.resume(coroutine.create(function(Part,Mesh) 
2420
	local rtype = rottype
2421
for i=0,1,delay do
2422
swait()
2423
if rtype == 1 then
2424
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2425
elseif rtype == 2 then
2426
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2427
end
2428
dec.Transparency=i
2429
dec2.Transparency=i
2430
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2431
end
2432
Part.Parent=nil
2433
end),prt,msh)
2434
end
2435
2436
function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
2437
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2438
prt.Anchored=true
2439
prt.Material = "Neon"
2440
prt.CFrame=cframe
2441
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
2442
game:GetService("Debris"):AddItem(prt,5)
2443
coroutine.resume(coroutine.create(function(Part,Mesh) 
2444
	local rtype = rottype
2445
for i=0,1,delay do
2446
swait()
2447
if rtype == 1 then
2448
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2449
elseif rtype == 2 then
2450
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2451
end
2452
prt.Transparency=i
2453
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2454
end
2455
Part.Parent=nil
2456
end),prt,msh)
2457
end
2458
2459
function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
2460
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2461
prt.Anchored=true
2462
prt.Material = "Neon"
2463
prt.CFrame=cframe
2464
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
2465
game:GetService("Debris"):AddItem(prt,5)
2466
coroutine.resume(coroutine.create(function(Part,Mesh) 
2467
	local rtype = rottype
2468
for i=0,1,delay do
2469
swait()
2470
if rtype == 1 then
2471
prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
2472
elseif rtype == 2 then
2473
prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
2474
end
2475
prt.Transparency=i
2476
Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
2477
end
2478
Part.Parent=nil
2479
end),prt,msh)
2480
end
2481
2482
function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
2483
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2484
prt.Anchored=true
2485
prt.Material = "Neon"
2486
prt.CFrame=cframe
2487
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2488
game:GetService("Debris"):AddItem(prt,5)
2489
coroutine.resume(coroutine.create(function(Part,Mesh) 
2490
	local rtype = rottype
2491
for i=0,1,delay do
2492
swait()
2493
if rtype == 1 then
2494
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2495
elseif rtype == 2 then
2496
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2497
end
2498
prt.Transparency=i
2499
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2500
end
2501
Part.Parent=nil
2502
end),prt,msh)
2503
end
2504
2505
function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2506
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2507
prt.Anchored=true
2508
prt.Material = "Neon"
2509
prt.CFrame=cframe
2510
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2511
game:GetService("Debris"):AddItem(prt,5)
2512
coroutine.resume(coroutine.create(function(Part,Mesh) 
2513
	local rtype = rottype
2514
for i=0,1,delay do
2515
swait()
2516
if rtype == 1 then
2517
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2518
elseif rtype == 2 then
2519
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2520
end
2521
prt.Transparency=i
2522
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2523
end
2524
Part.Parent=nil
2525
end),prt,msh)
2526
end
2527
 
2528
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2529
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2530
prt.Anchored=false
2531
prt.CFrame=cframe
2532
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2533
local wld=weld(prt,prt,Parent,cframe)
2534
game:GetService("Debris"):AddItem(prt,5)
2535
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2536
for i=0,1,delay do
2537
wait()
2538
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
2539
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2540
Part.Transparency=i
2541
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2542
end
2543
Part.Parent=nil
2544
end),prt,msh,wld)
2545
end
2546
 
2547
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2548
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2549
prt.Anchored=false
2550
prt.CFrame=cframe
2551
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2552
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
2553
game:GetService("Debris"):AddItem(prt,5)
2554
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2555
for i=0,1,delay do
2556
wait()
2557
Weld.C0=euler(i*20,0,0)
2558
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2559
Part.Transparency=i
2560
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2561
end
2562
Part.Parent=nil
2563
end),prt,msh,wld)
2564
end
2565
 
2566
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2567
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2568
prt.Anchored=true
2569
prt.CFrame=cframe
2570
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2571
game:GetService("Debris"):AddItem(prt,2)
2572
coroutine.resume(coroutine.create(function(Part,Mesh) 
2573
for i=0,1,delay do
2574
wait()
2575
Part.CFrame=Part.CFrame
2576
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2577
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2578
prt2.Anchored=true
2579
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2580
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
2581
game:GetService("Debris"):AddItem(prt2,2)
2582
coroutine.resume(coroutine.create(function(Part,Mesh) 
2583
for i=0,1,0.1 do
2584
wait()
2585
Part.CFrame=Part.CFrame*cf(0,0.5,0)
2586
end
2587
Part.Parent=nil
2588
end),prt2,msh2)
2589
end
2590
for i=0,1,delay*2 do
2591
wait()
2592
Part.CFrame=Part.CFrame
2593
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
2594
end
2595
Part.Parent=nil
2596
end),prt,msh)
2597
end
2598
 
2599
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2600
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2601
prt.Anchored=true
2602
prt.CFrame=cframe
2603
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2604
game:GetService("Debris"):AddItem(prt,2)
2605
coroutine.resume(coroutine.create(function(Part,Mesh) 
2606
for i=0,1,delay do
2607
wait()
2608
Part.CFrame=Part.CFrame
2609
Part.Transparency=i
2610
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2611
end
2612
Part.Parent=nil
2613
end),prt,msh)
2614
end
2615
 
2616
function BreakEffect(brickcolor,cframe,x1,y1,z1)
2617
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2618
prt.Anchored=true
2619
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2620
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2621
game:GetService("Debris"):AddItem(prt,2)
2622
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
2623
CF=Part.CFrame
2624
Numbb=0
2625
randnumb=math.random()/10
2626
rand1=math.random()/10
2627
for i=0,1,rand1 do
2628
wait()
2629
CF=CF*cf(0,math.random()/2,0)
2630
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
2631
Part.CFrame=CF*euler(Numbb,0,0)
2632
Part.Transparency=i
2633
Numbb=Numbb+randnumb
2634
end
2635
Part.Parent=nil
2636
end),prt,CF,Numbb,randnumb)
2637
end
2638
 
2639
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2640
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2641
prt.Anchored=true
2642
prt.CFrame=cframe
2643
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
2644
game:GetService("Debris"):AddItem(prt,5)
2645
coroutine.resume(coroutine.create(function(Part,Mesh) 
2646
for i=0,1,delay do
2647
wait()
2648
Part.CFrame=Part.CFrame*euler(0,0.7,0)
2649
Part.Transparency=i
2650
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2651
end
2652
Part.Parent=nil
2653
end),prt,msh)
2654
end
2655
 
2656
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2657
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2658
prt.Anchored=true
2659
prt.CFrame=cframe
2660
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
2661
game:GetService("Debris"):AddItem(prt,2)
2662
coroutine.resume(coroutine.create(function(Part,Mesh) 
2663
for i=0,1,delay do
2664
wait()
2665
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
2666
Part.Transparency=i
2667
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2668
end
2669
Part.Parent=nil
2670
end),prt,msh)
2671
end
2672
 
2673
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
2674
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2675
prt.Anchored=true
2676
prt.CFrame=cframe*cf(x,y,z)
2677
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
2678
game:GetService("Debris"):AddItem(prt,5)
2679
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
2680
local num=math.random()
2681
local num2=math.random(-3,2)+math.random()
2682
local numm=0
2683
for i=0,1,delay*2 do
2684
swait()
2685
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
2686
Part.Transparency=i
2687
numm=numm+0.01
2688
end
2689
Part.Parent=nil
2690
Mesh.Parent=nil
2691
end),prt,msh,x,y,z)
2692
end
2693
2694
function dmgstart(dmg,what)
2695
	hitcon = what.Touched:connect(function(hit)
2696
		local hum = hit.Parent:FindFirstChild("Humanoid")
2697
		if hum and not hum:IsDescendantOf(Character) then
2698
			hum:TakeDamage(dmg)
2699
		end
2700
	end)
2701
end
2702
2703
function dmgstop()
2704
	hitcon:disconnect()
2705
end
2706
2707
function Cloak()
2708
Face.Parent=nil
2709
cloaked=true
2710
        for _,v in pairs(Torso.Parent:children()) do
2711
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2712
                coroutine.resume(coroutine.create(function() 
2713
                for i=0,1,0.2 do
2714
                wait()
2715
                v.Transparency=i
2716
                end
2717
                v.Transparency=1
2718
                end))
2719
                end
2720
                if v.className=="Hat" then
2721
                hatp=v.Handle
2722
                coroutine.resume(coroutine.create(function(derp) 
2723
                for i=0,1,0.2 do
2724
                wait()
2725
                derp.Transparency=i
2726
                end
2727
                derp.Transparency=1
2728
                end),hatp)
2729
                end
2730
        end
2731
        for _,v in pairs(m:children()) do
2732
                if v.className=="Part" then
2733
                coroutine.resume(coroutine.create(function() 
2734
                for i=0,1,0.2 do
2735
                wait()
2736
                v.Transparency=i
2737
                end
2738
                v.Transparency=1
2739
                end))
2740
                end
2741
        end
2742
end
2743
 
2744
function UnCloak()
2745
so("http://roblox.com/asset/?id=",Torso,1,1.1) 
2746
Face.Parent=Head 
2747
cloaked=false
2748
        for _,v in pairs(Torso.Parent:children()) do
2749
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2750
                coroutine.resume(coroutine.create(function() 
2751
                for i=0,1,0.1 do
2752
                wait()
2753
                v.Transparency=v.Transparency-0.1
2754
                end
2755
                v.Transparency=0
2756
                end))
2757
                end
2758
                if v.className=="Hat" then
2759
                hatp=v.Handle
2760
                coroutine.resume(coroutine.create(function(derp) 
2761
                for i=0,1,0.1 do
2762
                wait()
2763
                derp.Transparency=derp.Transparency-0.1
2764
                end
2765
                derp.Transparency=0
2766
                end),hatp)
2767
                end
2768
        end
2769
        for _,v in pairs(m:children()) do
2770
                if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
2771
                coroutine.resume(coroutine.create(function() 
2772
                for i=0,1,0.1 do
2773
                wait()
2774
                v.Transparency=v.Transparency-0.1
2775
                end
2776
                v.Transparency=0
2777
                end))
2778
                v.Transparency=0
2779
                end
2780
        end
2781
end
2782
2783
local origcolor = BrickColor.new("Pastel light blue")
2784
---- This section of explosions.
2785
2786
----
2787
2788
2789
function ring(type,pos,scale,value)
2790
local type = type
2791
local rng = Instance.new("Part", char)
2792
        rng.Anchored = true
2793
        rng.BrickColor = origcolor
2794
        rng.CanCollide = false
2795
        rng.FormFactor = 3
2796
        rng.Name = "Ring"
2797
        rng.Size = Vector3.new(1, 1, 1)
2798
        rng.Transparency = 0
2799
        rng.TopSurface = 0
2800
        rng.BottomSurface = 0
2801
        rng.CFrame = pos
2802
        local rngm = Instance.new("SpecialMesh", rng)
2803
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2804
rngm.Scale = scale
2805
local scaler2 = 1
2806
if type == "Add" then
2807
scaler2 = 1*value
2808
elseif type == "Divide" then
2809
scaler2 = 1/value
2810
end
2811
coroutine.resume(coroutine.create(function()
2812
for i = 0,10,0.1 do
2813
swait()
2814
if type == "Add" then
2815
scaler2 = scaler2 - 0.01*value
2816
elseif type == "Divide" then
2817
scaler2 = scaler2 - 0.01/value
2818
end
2819
rng.Transparency = rng.Transparency + 0.01
2820
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
2821
end
2822
rng:Destroy()
2823
end))
2824
end
2825
2826
2827
function wave(type,pos,scale,value)
2828
local type = type
2829
local rng = Instance.new("Part", char)
2830
        rng.Anchored = true
2831
        rng.BrickColor = origcolor
2832
        rng.CanCollide = false
2833
        rng.FormFactor = 3
2834
        rng.Name = "Ring"
2835
        rng.Size = Vector3.new(1, 1, 1)
2836
        rng.Transparency = 0
2837
        rng.TopSurface = 0
2838
        rng.BottomSurface = 0
2839
        rng.CFrame = pos
2840
        local rngm = Instance.new("SpecialMesh", rng)
2841
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
2842
rngm.Scale = scale
2843
local scaler2 = 1
2844
if type == "Add" then
2845
scaler2 = 1*value
2846
elseif type == "Divide" then
2847
scaler2 = 1/value
2848
end
2849
coroutine.resume(coroutine.create(function()
2850
for i = 0,10,0.1 do
2851
swait()
2852
if type == "Add" then
2853
scaler2 = scaler2 - 0.01*value
2854
elseif type == "Divide" then
2855
scaler2 = scaler2 - 0.01/value
2856
end
2857
rng.Transparency = rng.Transparency + 0.01
2858
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2859
end
2860
rng:Destroy()
2861
end))
2862
end
2863
2864
function wind(type,pos,scale,value,speed)
2865
local type = type
2866
local rng = Instance.new("Part", char)
2867
        rng.Anchored = true
2868
        rng.BrickColor = origcolor
2869
        rng.CanCollide = false
2870
        rng.FormFactor = 3
2871
        rng.Name = "Ring"
2872
        rng.Size = Vector3.new(1, 1, 1)
2873
        rng.Transparency = 0
2874
        rng.TopSurface = 0
2875
        rng.BottomSurface = 0
2876
        rng.CFrame = pos
2877
        local rngm = Instance.new("SpecialMesh", rng)
2878
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2879
rngm.Scale = scale
2880
local scaler2 = 1
2881
if type == "Add" then
2882
scaler2 = 1*value
2883
elseif type == "Divide" then
2884
scaler2 = 1/value
2885
end
2886
coroutine.resume(coroutine.create(function()
2887
for i = 0,10,0.1 do
2888
swait()
2889
if type == "Add" then
2890
scaler2 = scaler2 - 0.01*value
2891
elseif type == "Divide" then
2892
scaler2 = scaler2 - 0.01/value
2893
end
2894
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
2895
rng.Transparency = rng.Transparency + 0.01
2896
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2897
end
2898
rng:Destroy()
2899
end))
2900
end
2901
2902
function groundwind(type,pos,scale,value,speed)
2903
local type = type
2904
local rng = Instance.new("Part", char)
2905
        rng.Anchored = true
2906
        rng.BrickColor = origcolor
2907
        rng.CanCollide = false
2908
        rng.FormFactor = 3
2909
        rng.Name = "Ring"
2910
        rng.Size = Vector3.new(1, 1, 1)
2911
        rng.Transparency = 0
2912
        rng.TopSurface = 0
2913
        rng.BottomSurface = 0
2914
        rng.CFrame = pos
2915
        local rngm = Instance.new("SpecialMesh", rng)
2916
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2917
rngm.Scale = scale
2918
local scaler2 = 1
2919
if type == "Add" then
2920
scaler2 = 1*value
2921
elseif type == "Divide" then
2922
scaler2 = 1/value
2923
end
2924
coroutine.resume(coroutine.create(function()
2925
for i = 0,10,0.1 do
2926
swait()
2927
if type == "Add" then
2928
scaler2 = scaler2 - 0.01*value
2929
elseif type == "Divide" then
2930
scaler2 = scaler2 - 0.01/value
2931
end
2932
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
2933
rng.Transparency = rng.Transparency + 0.01
2934
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
2935
end
2936
rng:Destroy()
2937
end))
2938
end
2939
2940
function CameraManager()
2941
  if TwoD and not CamInterrupt then
2942
    if Humanoid.Health > 0 then
2943
      Camera.CameraSubject = Humanoid
2944
      Camera.CameraType = "Scriptable"
2945
      Humanoid.AutoRotate = false
2946
      if Booleans.GyroUse then
2947
        Directer.MaxTorque = Vec3(0, huge, 0)
2948
      else
2949
        Directer.MaxTorque = Vec3(0, 0, 0)
2950
      end
2951
      if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
2952
        if Booleans.CamFollow then
2953
          CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
2954
          Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
2955
        else
2956
          CPart.Position = RootPart.Position
2957
        end
2958
      else
2959
        local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
2960
        CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
2961
      end
2962
      Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
2963
    else
2964
      Camera.CameraSubject = Humanoid
2965
      Camera.CameraType = "Custom"
2966
      Controller.Disabled = false
2967
    end
2968
  end
2969
end
2970
2971
function ring(type,pos,scale,value)
2972
local type = type
2973
local rng = Instance.new("Part", char)
2974
        rng.Anchored = true
2975
        rng.BrickColor = origcolor
2976
        rng.CanCollide = false
2977
        rng.FormFactor = 3
2978
        rng.Name = "Ring"
2979
        rng.Size = Vector3.new(1, 1, 1)
2980
        rng.Transparency = 0
2981
        rng.TopSurface = 0
2982
        rng.BottomSurface = 0
2983
        rng.CFrame = pos
2984
        local rngm = Instance.new("SpecialMesh", rng)
2985
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2986
rngm.Scale = scale
2987
local scaler2 = 1
2988
if type == "Add" then
2989
scaler2 = 1*value
2990
elseif type == "Divide" then
2991
scaler2 = 1/value
2992
end
2993
coroutine.resume(coroutine.create(function()
2994
for i = 0,10,0.1 do
2995
swait()
2996
if type == "Add" then
2997
scaler2 = scaler2 - 0.01*value
2998
elseif type == "Divide" then
2999
scaler2 = scaler2 - 0.01/value
3000
end
3001
rng.Transparency = rng.Transparency + 0.01
3002
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
3003
end
3004
rng:Destroy()
3005
end))
3006
end
3007
3008
3009
function wave(type,pos,scale,value)
3010
local type = type
3011
local rng = Instance.new("Part", char)
3012
        rng.Anchored = true
3013
        rng.BrickColor = origcolor
3014
        rng.CanCollide = false
3015
        rng.FormFactor = 3
3016
        rng.Name = "Ring"
3017
        rng.Size = Vector3.new(1, 1, 1)
3018
        rng.Transparency = 0
3019
        rng.TopSurface = 0
3020
        rng.BottomSurface = 0
3021
        rng.CFrame = pos
3022
        local rngm = Instance.new("SpecialMesh", rng)
3023
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
3024
rngm.Scale = scale
3025
local scaler2 = 1
3026
if type == "Add" then
3027
scaler2 = 1*value
3028
elseif type == "Divide" then
3029
scaler2 = 1/value
3030
end
3031
coroutine.resume(coroutine.create(function()
3032
for i = 0,10,0.1 do
3033
swait()
3034
if type == "Add" then
3035
scaler2 = scaler2 - 0.01*value
3036
elseif type == "Divide" then
3037
scaler2 = scaler2 - 0.01/value
3038
end
3039
rng.Transparency = rng.Transparency + 0.01
3040
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3041
end
3042
rng:Destroy()
3043
end))
3044
end
3045
3046
function sphere(bonuspeed,type,pos,scale,value,color)
3047
local type = type
3048
local rng = Instance.new("Part", char)
3049
        rng.Anchored = true
3050
if ModeOfGlitch ~= 9 then
3051
        rng.BrickColor = color
3052
elseif ModeOfGlitch == 9 then
3053
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3054
end
3055
        rng.CanCollide = false
3056
        rng.FormFactor = 3
3057
        rng.Name = "Ring"
3058
        rng.Material = "Neon"
3059
        rng.Size = Vector3.new(1, 1, 1)
3060
        rng.Transparency = 0
3061
        rng.TopSurface = 0
3062
        rng.BottomSurface = 0
3063
        rng.CFrame = pos
3064
        local rngm = Instance.new("SpecialMesh", rng)
3065
        rngm.MeshType = "Sphere"
3066
rngm.Scale = scale
3067
if rainbowmode == true then
3068
rng.Color = Color3.new(r/255,g/255,b/255)
3069
end
3070
if ModeOfGlitch == 9 then
3071
coroutine.resume(coroutine.create(function()
3072
while true do
3073
swait()
3074
if rng.Parent ~= nil then
3075
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3076
else
3077
break
3078
end
3079
end
3080
end))
3081
end
3082
local scaler2 = 1
3083
if type == "Add" then
3084
scaler2 = 1*value
3085
elseif type == "Divide" then
3086
scaler2 = 1/value
3087
end
3088
coroutine.resume(coroutine.create(function()
3089
for i = 0,10/bonuspeed,0.1 do
3090
swait()
3091
if rainbowmode == true then
3092
rng.Color = Color3.new(r/255,g/255,b/255)
3093
end
3094
if type == "Add" then
3095
scaler2 = scaler2 - 0.01*value/bonuspeed
3096
elseif type == "Divide" then
3097
scaler2 = scaler2 - 0.01/value*bonuspeed
3098
end
3099
if chaosmode == true then
3100
rng.BrickColor = BrickColor.random()
3101
end
3102
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3103
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3104
end
3105
rng:Destroy()
3106
end))
3107
end
3108
3109
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
3110
local type = type
3111
local rng = Instance.new("Part", char)
3112
        rng.Anchored = true
3113
if ModeOfGlitch ~= 9 then
3114
        rng.BrickColor = color
3115
elseif ModeOfGlitch == 9 then
3116
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3117
end
3118
        rng.CanCollide = false
3119
        rng.FormFactor = 3
3120
        rng.Name = "Ring"
3121
        rng.Material = "Neon"
3122
        rng.Size = Vector3.new(1, 1, 1)
3123
        rng.Transparency = 0
3124
        rng.TopSurface = 0
3125
        rng.BottomSurface = 0
3126
        rng.CFrame = pos
3127
        local rngm = Instance.new("SpecialMesh", rng)
3128
        rngm.MeshType = "Sphere"
3129
rngm.Scale = scale
3130
local scaler2 = 1
3131
local scaler2b = 1
3132
local scaler2c = 1
3133
if type == "Add" then
3134
scaler2 = 1*value
3135
scaler2b = 1*value2
3136
scaler2c = 1*value3
3137
elseif type == "Divide" then
3138
scaler2 = 1/value
3139
scaler2b = 1/value2
3140
scaler2c = 1/value3
3141
end
3142
if ModeOfGlitch == 9 then
3143
coroutine.resume(coroutine.create(function()
3144
while true do
3145
swait()
3146
if rng.Parent ~= nil then
3147
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3148
else
3149
break
3150
end
3151
end
3152
end))
3153
end
3154
coroutine.resume(coroutine.create(function()
3155
for i = 0,10/bonuspeed,0.1 do
3156
swait()
3157
if type == "Add" then
3158
scaler2 = scaler2 - 0.01*value/bonuspeed
3159
scaler2b = scaler2b - 0.01*value/bonuspeed
3160
scaler2c = scaler2c - 0.01*value/bonuspeed
3161
elseif type == "Divide" then
3162
scaler2 = scaler2 - 0.01/value*bonuspeed
3163
scaler2b = scaler2b - 0.01/value*bonuspeed
3164
scaler2c = scaler2c - 0.01/value*bonuspeed
3165
end
3166
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3167
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
3168
end
3169
rng:Destroy()
3170
end))
3171
end
3172
3173
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
3174
local type = type
3175
local rotenable = rotatingop
3176
local rng = Instance.new("Part", char)
3177
        rng.Anchored = true
3178
        rng.BrickColor = color
3179
        rng.CanCollide = false
3180
        rng.FormFactor = 3
3181
        rng.Name = "Ring"
3182
        rng.Material = "Neon"
3183
        rng.Size = Vector3.new(1, 1, 1)
3184
        rng.Transparency = 0
3185
if typeoftrans == "In" then
3186
rng.Transparency = 1
3187
end
3188
        rng.TopSurface = 0
3189
        rng.BottomSurface = 0
3190
        rng.CFrame = pos
3191
        local rngm = Instance.new("SpecialMesh", rng)
3192
        rngm.MeshType = "FileMesh"
3193
if typeofshape == "Normal" then
3194
rngm.MeshId = "rbxassetid://662586858"
3195
elseif typeofshape == "Round" then
3196
rngm.MeshId = "rbxassetid://662585058"
3197
end
3198
rngm.Scale = scale
3199
local scaler2 = 1/10
3200
if type == "Add" then
3201
scaler2 = 1*value/10
3202
elseif type == "Divide" then
3203
scaler2 = 1/value/10
3204
end
3205
local randomrot = math.random(1,2)
3206
coroutine.resume(coroutine.create(function()
3207
for i = 0,10/bonuspeed,0.1 do
3208
swait()
3209
if type == "Add" then
3210
scaler2 = scaler2 - 0.01*value/bonuspeed/10
3211
elseif type == "Divide" then
3212
scaler2 = scaler2 - 0.01/value*bonuspeed/10
3213
end
3214
if rotenable == true then
3215
if randomrot == 1 then
3216
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
3217
elseif randomrot == 2 then
3218
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
3219
end
3220
end
3221
if typeoftrans == "Out" then
3222
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3223
elseif typeoftrans == "In" then
3224
rng.Transparency = rng.Transparency - 0.01*bonuspeed
3225
end
3226
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
3227
end
3228
rng:Destroy()
3229
end))
3230
end
3231
3232
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3233
local type = type
3234
local rng = Instance.new("Part", char)
3235
        rng.Anchored = true
3236
        rng.BrickColor = color
3237
        rng.CanCollide = false
3238
        rng.FormFactor = 3
3239
        rng.Name = "Ring"
3240
        rng.Material = "Neon"
3241
        rng.Size = Vector3.new(1, 1, 1)
3242
        rng.Transparency = 0
3243
        rng.TopSurface = 0
3244
        rng.BottomSurface = 0
3245
        rng.CFrame = pos
3246
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3247
        local rngm = Instance.new("SpecialMesh", rng)
3248
        rngm.MeshType = "Brick"
3249
rngm.Scale = vt(x1,y1,z1)
3250
if rainbowmode == true then
3251
rng.Color = Color3.new(r/255,g/255,b/255)
3252
end
3253
local scaler2 = 1
3254
local speeder = FastSpeed/10
3255
if type == "Add" then
3256
scaler2 = 1*value
3257
elseif type == "Divide" then
3258
scaler2 = 1/value
3259
end
3260
coroutine.resume(coroutine.create(function()
3261
for i = 0,10/bonuspeed,0.1 do
3262
swait()
3263
if rainbowmode == true then
3264
rng.Color = Color3.new(r/255,g/255,b/255)
3265
end
3266
if type == "Add" then
3267
scaler2 = scaler2 - 0.01*value/bonuspeed
3268
elseif type == "Divide" then
3269
scaler2 = scaler2 - 0.01/value*bonuspeed
3270
end
3271
if chaosmode == true then
3272
rng.BrickColor = BrickColor.random()
3273
end
3274
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
3275
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3276
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
3277
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3278
end
3279
rng:Destroy()
3280
end))
3281
end
3282
3283
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3284
local type = type
3285
local rng = Instance.new("Part", char)
3286
        rng.Anchored = true
3287
        rng.BrickColor = color
3288
        rng.CanCollide = false
3289
        rng.FormFactor = 3
3290
        rng.Name = "Ring"
3291
        rng.Material = "Neon"
3292
        rng.Size = Vector3.new(1, 1, 1)
3293
        rng.Transparency = 0
3294
        rng.TopSurface = 0
3295
        rng.BottomSurface = 0
3296
        rng.CFrame = pos
3297
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3298
        local rngm = Instance.new("SpecialMesh", rng)
3299
        rngm.MeshType = "Brick"
3300
rngm.Scale = vt(x1,y1,z1)
3301
if rainbowmode == true then
3302
rng.Color = Color3.new(r/255,g/255,b/255)
3303
end
3304
local scaler2 = 1
3305
local speeder = FastSpeed/10
3306
if type == "Add" then
3307
scaler2 = 1*value
3308
elseif type == "Divide" then
3309
scaler2 = 1/value
3310
end
3311
coroutine.resume(coroutine.create(function()
3312
for i = 0,10/bonuspeed,0.1 do
3313
swait()
3314
if rainbowmode == true then
3315
rng.Color = Color3.new(r/255,g/255,b/255)
3316
end
3317
if type == "Add" then
3318
scaler2 = scaler2 - 0.01*value/bonuspeed
3319
elseif type == "Divide" then
3320
scaler2 = scaler2 - 0.01/value*bonuspeed
3321
end
3322
if chaosmode == true then
3323
rng.BrickColor = BrickColor.random()
3324
end
3325
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
3326
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3327
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3328
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3329
end
3330
rng:Destroy()
3331
end))
3332
end
3333
3334
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3335
local type = type
3336
local rng = Instance.new("Part", char)
3337
        rng.Anchored = true
3338
        rng.BrickColor = color
3339
        rng.CanCollide = false
3340
        rng.FormFactor = 3
3341
        rng.Name = "Ring"
3342
        rng.Material = "Neon"
3343
        rng.Size = Vector3.new(1, 1, 1)
3344
        rng.Transparency = 0
3345
        rng.TopSurface = 0
3346
        rng.BottomSurface = 0
3347
        rng.CFrame = pos
3348
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3349
        local rngm = Instance.new("SpecialMesh", rng)
3350
        rngm.MeshType = "Brick"
3351
rngm.Scale = vt(x1,y1,z1)
3352
if rainbowmode == true then
3353
rng.Color = Color3.new(r/255,g/255,b/255)
3354
end
3355
local scaler2 = 0
3356
local speeder = FastSpeed/10
3357
if type == "Add" then
3358
scaler2 = 1*value
3359
elseif type == "Divide" then
3360
scaler2 = 1/value
3361
end
3362
coroutine.resume(coroutine.create(function()
3363
for i = 0,10/bonuspeed,0.1 do
3364
swait()
3365
if rainbowmode == true then
3366
rng.Color = Color3.new(r/255,g/255,b/255)
3367
end
3368
if type == "Add" then
3369
scaler2 = scaler2 - 0.01*value/bonuspeed
3370
elseif type == "Divide" then
3371
scaler2 = scaler2 - 0.01/value*bonuspeed
3372
end
3373
if chaosmode == true then
3374
rng.BrickColor = BrickColor.random()
3375
end
3376
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
3377
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3378
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
3379
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3380
end
3381
rng:Destroy()
3382
end))
3383
end
3384
3385
function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
3386
local type = type
3387
local rng = Instance.new("Part", char)
3388
        rng.Anchored = true
3389
        rng.BrickColor = color
3390
        rng.Color = color3
3391
        rng.CanCollide = false
3392
        rng.FormFactor = 3
3393
        rng.Name = "Ring"
3394
        rng.Material = "Neon"
3395
        rng.Size = Vector3.new(1, 1, 1)
3396
        rng.Transparency = 0
3397
        rng.TopSurface = 0
3398
        rng.BottomSurface = 0
3399
        rng.CFrame = pos
3400
        local rngm = Instance.new("SpecialMesh", rng)
3401
        rngm.MeshType = "Brick"
3402
rngm.Scale = scale
3403
local scaler2 = 1
3404
local scaler2b = 1
3405
local scaler2c = 1
3406
if type == "Add" then
3407
scaler2 = 1*value
3408
scaler2b = 1*value2
3409
scaler2c = 1*value3
3410
elseif type == "Divide" then
3411
scaler2 = 1/value
3412
scaler2b = 1/value2
3413
scaler2c = 1/value3
3414
end
3415
coroutine.resume(coroutine.create(function()
3416
for i = 0,10/bonuspeed,0.1 do
3417
swait()
3418
if type == "Add" then
3419
scaler2 = scaler2 - 0.01*value/bonuspeed
3420
scaler2b = scaler2b - 0.01*value/bonuspeed
3421
scaler2c = scaler2c - 0.01*value/bonuspeed
3422
elseif type == "Divide" then
3423
scaler2 = scaler2 - 0.01/value*bonuspeed
3424
scaler2b = scaler2b - 0.01/value*bonuspeed
3425
scaler2c = scaler2c - 0.01/value*bonuspeed
3426
end
3427
rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3428
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3429
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
3430
end
3431
rng:Destroy()
3432
end))
3433
end
3434
3435
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3436
local type = type
3437
local rng = Instance.new("Part", char)
3438
        rng.Anchored = true
3439
if ModeOfGlitch ~= 9 then
3440
        rng.BrickColor = color
3441
elseif ModeOfGlitch == 9 then
3442
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3443
end
3444
        rng.CanCollide = false
3445
        rng.FormFactor = 3
3446
        rng.Name = "Ring"
3447
        rng.Material = "Neon"
3448
        rng.Size = Vector3.new(1, 1, 1)
3449
        rng.Transparency = 0
3450
        rng.TopSurface = 0
3451
        rng.BottomSurface = 0
3452
        rng.CFrame = pos
3453
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3454
        local rngm = Instance.new("SpecialMesh", rng)
3455
        rngm.MeshType = "Sphere"
3456
rngm.Scale = vt(x1,y1,z1)
3457
if rainbowmode == true then
3458
rng.Color = Color3.new(r/255,g/255,b/255)
3459
end
3460
if ModeOfGlitch == 9 then
3461
coroutine.resume(coroutine.create(function()
3462
while true do
3463
swait()
3464
if rng.Parent ~= nil then
3465
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3466
else
3467
break
3468
end
3469
end
3470
end))
3471
end
3472
local scaler2 = 1
3473
local speeder = FastSpeed
3474
if type == "Add" then
3475
scaler2 = 1*value
3476
elseif type == "Divide" then
3477
scaler2 = 1/value
3478
end
3479
coroutine.resume(coroutine.create(function()
3480
for i = 0,10/bonuspeed,0.1 do
3481
swait()
3482
if rainbowmode == true then
3483
rng.Color = Color3.new(r/255,g/255,b/255)
3484
end
3485
if type == "Add" then
3486
scaler2 = scaler2 - 0.01*value/bonuspeed
3487
elseif type == "Divide" then
3488
scaler2 = scaler2 - 0.01/value*bonuspeed
3489
end
3490
if chaosmode == true then
3491
rng.BrickColor = BrickColor.random()
3492
end
3493
speeder = speeder - 0.01*FastSpeed*bonuspeed
3494
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3495
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3496
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3497
end
3498
rng:Destroy()
3499
end))
3500
end
3501
3502
3503
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3504
local type = type
3505
local rng = Instance.new("Part", char)
3506
        rng.Anchored = true
3507
if ModeOfGlitch ~= 9 then
3508
        rng.BrickColor = color
3509
elseif ModeOfGlitch == 9 then
3510
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3511
end
3512
        rng.CanCollide = false
3513
        rng.FormFactor = 3
3514
        rng.Name = "Ring"
3515
        rng.Material = "Neon"
3516
        rng.Size = Vector3.new(1, 1, 1)
3517
        rng.Transparency = 1
3518
        rng.TopSurface = 0
3519
        rng.BottomSurface = 0
3520
        rng.CFrame = pos
3521
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3522
        local rngm = Instance.new("SpecialMesh", rng)
3523
        rngm.MeshType = "Sphere"
3524
rngm.Scale = vt(x1,y1,z1)
3525
if rainbowmode == true then
3526
rng.Color = Color3.new(r/255,g/255,b/255)
3527
end
3528
if ModeOfGlitch == 9 then
3529
coroutine.resume(coroutine.create(function()
3530
while true do
3531
swait()
3532
if rng.Parent ~= nil then
3533
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3534
else
3535
break
3536
end
3537
end
3538
end))
3539
end
3540
local scaler2 = 1
3541
local speeder = FastSpeed
3542
if type == "Add" then
3543
scaler2 = 1*value
3544
elseif type == "Divide" then
3545
scaler2 = 1/value
3546
end
3547
coroutine.resume(coroutine.create(function()
3548
for i = 0,10/bonuspeed,0.1 do
3549
swait()
3550
if rainbowmode == true then
3551
rng.Color = Color3.new(r/255,g/255,b/255)
3552
end
3553
if type == "Add" then
3554
scaler2 = scaler2 - 0.01*value/bonuspeed
3555
elseif type == "Divide" then
3556
scaler2 = scaler2 - 0.01/value*bonuspeed
3557
end
3558
if chaosmode == true then
3559
rng.BrickColor = BrickColor.random()
3560
end
3561
speeder = speeder - 0.01*FastSpeed*bonuspeed
3562
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3563
rng.Transparency = rng.Transparency - 0.01*bonuspeed
3564
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3565
end
3566
rng:Destroy()
3567
end))
3568
end
3569
3570
function dmg(dude)
3571
if dude.Name ~= Character then
3572
local keptcolor = MAINRUINCOLOR
3573
local bgf = Instance.new("BodyGyro",dude.Head)
3574
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
3575
--[[local val = Instance.new("BoolValue",dude)
3576
val.Name = "IsHit"]]--
3577
local ds = coroutine.wrap(function()
3578
dude:WaitForChild("Head"):BreakJoints()
3579
for i, v in pairs(dude:GetChildren()) do
3580
if v:IsA("Part") or v:IsA("MeshPart") then
3581
v.Name = "DEMINISHED"
3582
end
3583
end
3584
wait(0.5)
3585
targetted = nil
3586
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
3587
coroutine.resume(coroutine.create(function()
3588
for i, v in pairs(dude:GetChildren()) do
3589
if v:IsA("Accessory") then
3590
v:Destroy()
3591
end
3592
if v:IsA("Humanoid") then
3593
v:Destroy()
3594
end
3595
if v:IsA("CharacterMesh") then
3596
v:Destroy()
3597
end
3598
if v:IsA("Model") then
3599
v:Destroy()
3600
end
3601
if v:IsA("Part") or v:IsA("MeshPart") then
3602
for x, o in pairs(v:GetChildren()) do
3603
if o:IsA("Decal") then
3604
o:Destroy()
3605
end
3606
end
3607
coroutine.resume(coroutine.create(function()
3608
v.Material = "Neon"
3609
v.CanCollide = false
3610
v.Anchored = false
3611
local bld = Instance.new("ParticleEmitter",v)
3612
bld.LightEmission = 0.75
3613
bld.Texture = "rbxassetid://363275192" ---284205403
3614
bld.Color = ColorSequence.new(keptcolor.Color)
3615
bld.Rate = 500
3616
bld.Lifetime = NumberRange.new(1)
3617
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
3618
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
3619
bld.Speed = NumberRange.new(2,5)
3620
bld.VelocitySpread = 50000
3621
bld.Rotation = NumberRange.new(-500,500)
3622
bld.RotSpeed = NumberRange.new(-500,500)
3623
        local sbs = Instance.new("BodyPosition", v)
3624
        sbs.P = 3000
3625
        sbs.D = 1000
3626
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
3627
        sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
3628
v.Color = keptcolor.Color
3629
coroutine.resume(coroutine.create(function()
3630
for i = 0, 49 do
3631
swait(1)
3632
v:BreakJoints()
3633
v.Transparency = v.Transparency + 0.02
3634
end
3635
v:BreakJoints()
3636
sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
3637
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
3638
bld.Speed = NumberRange.new(10,25)
3639
bld.Drag = 5
3640
bld.Acceleration = vt(0,2,0)
3641
wait(0.5)
3642
bld.Enabled = false
3643
wait(8)
3644
v:Destroy()
3645
dude:Destroy()
3646
end))
3647
end))
3648
end
3649
end
3650
end))
3651
end)
3652
ds()
3653
end
3654
end
3655
3656
3657
function FindNearestHead(Position, Distance, SinglePlayer)
3658
	if SinglePlayer then
3659
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
3660
	end
3661
	local List = {}
3662
	for i, v in pairs(workspace:GetChildren()) do
3663
		if v:IsA("Model") then
3664
			if v:findFirstChild("Head") then
3665
				if v ~= Character then
3666
					if (v.Head.Position - Position).magnitude <= Distance then
3667
						table.insert(List, v)
3668
					end 
3669
				end 
3670
			end 
3671
		end 
3672
	end
3673
	return List
3674
end
3675
3676
function FaceMouse()
3677
  Cam = workspace.CurrentCamera
3678
  return {
3679
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
3680
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3681
  }
3682
end
3683
3684
function FaceMouse2()
3685
  Cam = workspace.CurrentCamera
3686
  return {
3687
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
3688
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3689
  }
3690
end
3691
3692
local ModeOfGlitch = 1
3693
-- Functions are ready.
3694
local storehumanoidWS = 16
3695
3696
function CorruptBlink()
3697
for i = 0, 14 do
3698
PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
3699
end
3700
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3701
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
3702
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
3703
CameraEnshaking(2,10)
3704
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
3705
if v:FindFirstChild('Head') then
3706
dmg(v)
3707
end
3708
end
3709
for i = 0, 14 do
3710
PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
3711
end
3712
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3713
end
3714
function PureBomb()
3715
attack = true
3716
hum.WalkSpeed = 0
3717
local orb = Instance.new("Part", char)
3718
        orb.Anchored = true
3719
        orb.BrickColor = BrickColor.new("Toothpaste")
3720
        orb.CanCollide = false
3721
        orb.FormFactor = 3
3722
        orb.Name = "Ring"
3723
        orb.Material = "Neon"
3724
        orb.Size = Vector3.new(1, 1, 1)
3725
        orb.Transparency = 0
3726
        orb.TopSurface = 0
3727
        orb.BottomSurface = 0
3728
        local orbm = Instance.new("SpecialMesh", orb)
3729
        orbm.MeshType = "Sphere"
3730
orbm.Name = "SizeMesh"
3731
orbm.Scale = vt(0,0,0)
3732
local scaled = 0.1
3733
local posid = 0
3734
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
3735
for i = 0, 5, 0.1 do
3736
swait()
3737
scaled = scaled - 0.001
3738
posid = posid - scaled
3739
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3740
local scaled = 0.1
3741
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
3742
sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
3743
PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
3744
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
3745
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
3746
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3747
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3748
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
3749
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
3750
end
3751
for i = 0, 2, 0.1 do
3752
swait()
3753
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3754
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
3755
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
3756
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
3757
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
3758
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
3759
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
3760
end
3761
coroutine.resume(coroutine.create(function()
3762
orb.Anchored = false
3763
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
3764
	local a = Instance.new("Part",workspace)
3765
	a.Name = "Direction"	
3766
	a.Anchored = true
3767
	a.BrickColor = bc("Bright red")
3768
a.Material = "Neon"
3769
a.Transparency = 1
3770
	a.CanCollide = false
3771
	local ray = Ray.new(
3772
	    orb.CFrame.p,                           -- origin
3773
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
3774
	) 
3775
	local ignore = orb
3776
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3777
	a.BottomSurface = 10
3778
	a.TopSurface = 10
3779
	local distance = (orb.CFrame.p - position).magnitude
3780
	a.Size = Vector3.new(0.1, 0.1, 0.1)
3781
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3782
orb.CFrame = a.CFrame
3783
a:Destroy()
3784
local bv = Instance.new("BodyVelocity")
3785
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3786
bv.velocity = orb.CFrame.lookVector*125
3787
bv.Parent = orb
3788
local hitted = false
3789
game:GetService("Debris"):AddItem(orb, 15)
3790
wait()
3791
local hit =orb.Touched:connect(function(hit) 
3792
	if hitted == false then
3793
	hitted = true
3794
CameraEnshaking(10,2.5)
3795
CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
3796
	MagniDamage(orb, 65, 65,90, 0, "Normal")
3797
sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
3798
sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
3799
for i = 0, 49 do
3800
PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
3801
end
3802
for i = 0, 9 do
3803
sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
3804
sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
3805
end
3806
orb.Anchored = true
3807
orb.Transparency = 1
3808
wait(8)
3809
orb:Destroy()
3810
end
3811
end)
3812
end))
3813
for i = 0, 1, 0.1 do
3814
swait()
3815
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
3816
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
3817
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
3818
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
3819
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
3820
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
3821
end
3822
hum.WalkSpeed = storehumanoidWS
3823
attack = false
3824
end
3825
3826
function BanishingOrb()
3827
attack = true
3828
hum.WalkSpeed = 0
3829
local orb = Instance.new("Part", char)
3830
        orb.Anchored = true
3831
        orb.BrickColor = BrickColor.new("Black")
3832
        orb.CanCollide = false
3833
        orb.FormFactor = 3
3834
        orb.Name = "Ring"
3835
        orb.Material = "Neon"
3836
        orb.Size = Vector3.new(1, 1, 1)
3837
        orb.Transparency = 0
3838
        orb.TopSurface = 0
3839
        orb.BottomSurface = 0
3840
        local orbm = Instance.new("SpecialMesh", orb)
3841
        orbm.MeshType = "Sphere"
3842
orbm.Name = "SizeMesh"
3843
orbm.Scale = vt(0,0,0)
3844
local scaled = 0.1
3845
local posid = 0
3846
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
3847
for i = 0, 5, 0.1 do
3848
swait()
3849
scaled = scaled - 0.001
3850
posid = posid - scaled
3851
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3852
local scaled = 0.1
3853
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
3854
sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Black"),10)
3855
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
3856
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
3857
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3858
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3859
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
3860
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
3861
end
3862
for i = 0, 2, 0.1 do
3863
swait()
3864
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3865
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
3866
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
3867
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
3868
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
3869
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
3870
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
3871
end
3872
coroutine.resume(coroutine.create(function()
3873
orb.Anchored = false
3874
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
3875
	local a = Instance.new("Part",workspace)
3876
	a.Name = "Direction"	
3877
	a.Anchored = true
3878
	a.BrickColor = bc("Bright red")
3879
a.Material = "Neon"
3880
a.Transparency = 1
3881
	a.CanCollide = false
3882
	local ray = Ray.new(
3883
	    orb.CFrame.p,                           -- origin
3884
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
3885
	) 
3886
	local ignore = orb
3887
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3888
	a.BottomSurface = 10
3889
	a.TopSurface = 10
3890
	local distance = (orb.CFrame.p - position).magnitude
3891
	a.Size = Vector3.new(0.1, 0.1, 0.1)
3892
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3893
orb.CFrame = a.CFrame
3894
a:Destroy()
3895
local bv = Instance.new("BodyVelocity")
3896
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3897
bv.velocity = orb.CFrame.lookVector*0
3898
bv.Parent = orb
3899
local hitted = false
3900
local rate = 0
3901
coroutine.resume(coroutine.create(function()
3902
for i = 0, 24 do
3903
wait(0.1)
3904
rate = rate + 0.25
3905
bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
3906
for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
3907
if v:FindFirstChild('Head') then
3908
dmg(v)
3909
end
3910
end
3911
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
3912
sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
3913
sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
3914
end
3915
orb.Anchored = true
3916
orb.Transparency = 1
3917
for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
3918
if v:FindFirstChild('Head') then
3919
dmg(v)
3920
end
3921
end
3922
local eff = Instance.new("ParticleEmitter",orb)
3923
eff.Texture = "rbxassetid://296874871"
3924
eff.LightEmission = 0.95
3925
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3926
eff.Rate = 1000000000
3927
eff.Lifetime = NumberRange.new(3)
3928
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
3929
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3930
eff.Speed = NumberRange.new(30)
3931
eff.Acceleration = vt(0,-15,0)
3932
eff.Rotation = NumberRange.new(-500,500)
3933
eff.VelocitySpread = 100000
3934
eff.RotSpeed = NumberRange.new(-500,500)
3935
coroutine.resume(coroutine.create(function()
3936
	wait(0.6)
3937
	eff.Enabled = false
3938
end))
3939
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
3940
CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
3941
sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
3942
sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3943
sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
3944
game:GetService("Debris"):AddItem(orb, 15)
3945
end))
3946
end))
3947
for i = 0, 1, 0.1 do
3948
swait()
3949
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
3950
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
3951
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
3952
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
3953
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
3954
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
3955
end
3956
hum.WalkSpeed = storehumanoidWS
3957
attack = false
3958
end
3959
3960
3961
function ChaosGroundStrike()
3962
attack = true
3963
for i = 0, 2, 0.1 do
3964
swait()
3965
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
3966
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
3967
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3968
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3969
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
3970
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
3971
end
3972
CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
3973
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
3974
CameraEnshaking(4,12)
3975
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
3976
if v:FindFirstChild('Head') then
3977
dmg(v)
3978
end
3979
end
3980
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
3981
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
3982
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
3983
for i = 0, 2, 0.1 do
3984
swait()
3985
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
3986
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
3987
RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
3988
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
3989
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3990
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3991
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
3992
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
3993
end
3994
attack = false
3995
end
3996
3997
3998
3999
function Starfall()
4000
attack = true
4001
hum.WalkSpeed = 0
4002
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
4003
for i = 0, 5, 0.1 do
4004
swait()
4005
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4006
PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4007
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
4008
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
4009
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4010
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
4011
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
4012
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
4013
end
4014
local Overed = false
4015
CameraEnshaking(2,20)
4016
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4017
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4018
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
4019
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
4020
local orb = Instance.new("Part", char)
4021
        orb.Anchored = true
4022
        orb.BrickColor = BrickColor.new("Toothpaste")
4023
        orb.CanCollide = false
4024
        orb.FormFactor = 3
4025
        orb.Name = "Remenant"
4026
        orb.Material = "Neon"
4027
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
4028
        orb.Size = Vector3.new(1, 1, 1)
4029
        orb.Transparency = 1
4030
        orb.TopSurface = 0
4031
        orb.BottomSurface = 0
4032
hum.WalkSpeed = storehumanoidWS
4033
coroutine.resume(coroutine.create(function()
4034
for i = 0, 9 do
4035
swait(10)
4036
				 local lb = Instance.new("Part")
4037
    lb.Color = MAINRUINCOLOR.Color
4038
     lb.CanCollide = false
4039
lb.Material = "Neon"
4040
     lb.Anchored = true
4041
lb.TopSurface = 0
4042
        lb.BottomSurface = 0
4043
     lb.Transparency = 0
4044
     lb.Size = vt(1,1,1)
4045
     lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
4046
lb.Anchored = false
4047
  lb.Parent = char
4048
local thingery = Instance.new("SpecialMesh",lb)
4049
     thingery.MeshType = "Sphere"
4050
thingery.Scale = vt(20,20,20)
4051
game:GetService("Debris"):AddItem(lb, 10)
4052
  local bv = Instance.new("BodyVelocity")
4053
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4054
  bv.velocity = lb.CFrame.lookVector*math.random(75,250)
4055
  bv.Parent = lb
4056
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
4057
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
4058
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
4059
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
4060
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
4061
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
4062
local hitted = false
4063
coroutine.resume(coroutine.create(function()
4064
while true do
4065
swait(1)
4066
if lb.Parent ~= nil and hitted == false then
4067
PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
4068
elseif lb.Parent == nil then
4069
break
4070
end
4071
end
4072
end))
4073
4074
game:GetService("Debris"):AddItem(a, 0.1)
4075
4076
coroutine.resume(coroutine.create(function()
4077
swait(1)
4078
lb.Touched:connect(function(hit)
4079
if hitted == false then
4080
hitted = true
4081
lb.Transparency = 1
4082
lb.Anchored = true
4083
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
4084
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
4085
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
4086
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
4087
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
4088
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
4089
MagniDamage(lb, 45, 45,85, 0, "Normal")
4090
CameraEnshaking(1,5)
4091
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
4092
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
4093
for i = 0, 9 do
4094
sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
4095
end
4096
for i = 0, 49 do
4097
swait()
4098
MagniDamage(lb, 30, 2,4, 0, "Normal")
4099
PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
4100
end
4101
end
4102
end)
4103
end))
4104
end
4105
Overed = true
4106
orb:Destroy()
4107
end))
4108
4109
attack = false
4110
end
4111
4112
function StarfallEX()
4113
attack = true
4114
hum.WalkSpeed = 0
4115
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
4116
for i = 0, 10, 0.1 do
4117
swait()
4118
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4119
PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4120
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
4121
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
4122
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4123
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
4124
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
4125
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
4126
end
4127
local Overed = false
4128
CameraEnshaking(2,20)
4129
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4130
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4131
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
4132
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
4133
local orb = Instance.new("Part", char)
4134
        orb.Anchored = true
4135
        orb.BrickColor = BrickColor.new("Toothpaste")
4136
        orb.CanCollide = false
4137
        orb.FormFactor = 3
4138
        orb.Name = "Remenant"
4139
        orb.Material = "Neon"
4140
orb.CFrame = root.CFrame*CFrame.new(0,250,0)
4141
        orb.Size = Vector3.new(1, 1, 1)
4142
        orb.Transparency = 1
4143
        orb.TopSurface = 0
4144
        orb.BottomSurface = 0
4145
hum.WalkSpeed = storehumanoidWS
4146
coroutine.resume(coroutine.create(function()
4147
for i = 0, 4 do
4148
swait(15)
4149
				 local lb = Instance.new("Part")
4150
    lb.Color = MAINRUINCOLOR.Color
4151
     lb.CanCollide = false
4152
lb.Material = "Neon"
4153
     lb.Anchored = true
4154
lb.TopSurface = 0
4155
        lb.BottomSurface = 0
4156
     lb.Transparency = 0
4157
     lb.Size = vt(1,1,1)
4158
     lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
4159
lb.Anchored = false
4160
  lb.Parent = char
4161
local thingery = Instance.new("SpecialMesh",lb)
4162
     thingery.MeshType = "Sphere"
4163
thingery.Scale = vt(50,50,50)
4164
game:GetService("Debris"):AddItem(lb, 10)
4165
  local bv = Instance.new("BodyVelocity")
4166
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4167
  bv.velocity = lb.CFrame.lookVector*math.random(50,420)
4168
  bv.Parent = lb
4169
sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
4170
sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
4171
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
4172
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
4173
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
4174
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
4175
local hitted = false
4176
coroutine.resume(coroutine.create(function()
4177
while true do
4178
swait(1)
4179
if lb.Parent ~= nil and hitted == false then
4180
PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
4181
elseif lb.Parent == nil then
4182
break
4183
end
4184
end
4185
end))
4186
4187
game:GetService("Debris"):AddItem(a, 0.1)
4188
4189
coroutine.resume(coroutine.create(function()
4190
swait(1)
4191
lb.Touched:connect(function(hit)
4192
if hitted == false then
4193
hitted = true
4194
lb.Transparency = 1
4195
lb.Anchored = true
4196
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
4197
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
4198
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
4199
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
4200
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
4201
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
4202
MagniDamage(lb, 50, 60,99, 0, "Normal")
4203
CameraEnshaking(1,5)
4204
sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
4205
sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
4206
for i = 0, 9 do
4207
sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
4208
end
4209
for i = 0, 99 do
4210
swait()
4211
MagniDamage(lb, 30, 6,18, 0, "Normal")
4212
PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
4213
end
4214
end
4215
end)
4216
end))
4217
end
4218
Overed = true
4219
orb:Destroy()
4220
end))
4221
4222
attack = false
4223
end
4224
4225
function DivineBlast()
4226
attack = true
4227
hum.WalkSpeed = 0
4228
local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
4229
elocacenter.Anchored = true
4230
elocacenter.CFrame = sorb.CFrame
4231
local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
4232
eloca1.Anchored = true
4233
eloca1.CFrame = elocacenter.CFrame
4234
local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
4235
eloca2.Anchored = true
4236
eloca2.CFrame = elocacenter.CFrame
4237
local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
4238
eloca3.Anchored = true
4239
eloca3.CFrame = elocacenter.CFrame
4240
local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
4241
eloca4.Anchored = true
4242
eloca4.CFrame = elocacenter.CFrame
4243
local lookavec = 0 
4244
local speeds = 0
4245
CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
4246
for i = 0, 3, 0.1 do
4247
swait()
4248
---
4249
lookavec = lookavec + 0.1
4250
speeds = speeds + 10
4251
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4252
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4253
PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4254
4255
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4256
PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4257
4258
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4259
PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4260
4261
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4262
PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4263
---
4264
root.CFrame = FaceMouse()[1]
4265
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4266
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4267
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4268
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
4269
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
4270
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
4271
end
4272
for i = 0, 3, 0.1 do
4273
swait()
4274
---
4275
speeds = speeds + 10
4276
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4277
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4278
PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4279
4280
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4281
PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4282
4283
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4284
PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4285
4286
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4287
PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4288
---
4289
root.CFrame = FaceMouse()[1]
4290
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4291
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4292
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4293
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
4294
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
4295
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
4296
end
4297
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
4298
for i = 0, 3, 0.1 do
4299
swait()
4300
---
4301
speeds = speeds + 10
4302
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4303
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4304
PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4305
4306
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4307
PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4308
4309
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4310
PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4311
4312
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4313
PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4314
---
4315
root.CFrame = FaceMouse()[1]
4316
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4317
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4318
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
4319
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
4320
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
4321
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
4322
end
4323
coroutine.resume(coroutine.create(function()
4324
local a = Instance.new("Part",Character)
4325
	a.Name = "Direction"	
4326
	a.Anchored = true
4327
	a.BrickColor = bc("White")
4328
a.Material = "Neon"
4329
a.Transparency = 0
4330
a.Shape = "Cylinder"
4331
	a.CanCollide = false
4332
local a2 = Instance.new("Part",Character)
4333
	a2.Name = "Direction"	
4334
	a2.Anchored = true
4335
	a2.BrickColor = bc("Bright yellow")
4336
a2.Material = "Neon"
4337
a2.Transparency = 0
4338
a2.Shape = "Cylinder"
4339
	a2.CanCollide = false
4340
local b = Instance.new("Part",Character)
4341
	b.Name = "HitDirect"	
4342
	b.Anchored = true
4343
	b.BrickColor = bc("Cool yellow")
4344
b.Material = "Neon"
4345
b.Transparency = 1
4346
	b.CanCollide = false
4347
	local ray = Ray.new(
4348
	    elocacenter.CFrame.p,                           -- origin
4349
	    (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
4350
	) 
4351
	local ignore = Character
4352
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4353
	a.BottomSurface = 10
4354
	a.TopSurface = 10
4355
	a2.BottomSurface = 10
4356
	a2.TopSurface = 10
4357
	local distance = (elocacenter.CFrame.p - position).magnitude
4358
	a.Size = Vector3.new(distance, 1, 1)
4359
	a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4360
	a2.Size = Vector3.new(distance, 1, 1)
4361
	a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4362
b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
4363
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4364
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4365
game:GetService("Debris"):AddItem(a, 10)
4366
game:GetService("Debris"):AddItem(a2, 10)
4367
game:GetService("Debris"):AddItem(b, 10)
4368
local msh = Instance.new("SpecialMesh",a)
4369
msh.MeshType = "Cylinder"
4370
msh.Scale = vt(1,2,2)
4371
local msh2 = Instance.new("SpecialMesh",a2)
4372
msh2.MeshType = "Cylinder"
4373
msh2.Scale = vt(1,2.5,2.5)
4374
CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
4375
coroutine.resume(coroutine.create(function()
4376
for i = 0,10,0.1 do
4377
swait()
4378
msh.Scale = msh.Scale + vt(0,0.05,0.05)
4379
a.Transparency = a.Transparency + 0.025
4380
msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
4381
a2.Transparency = a2.Transparency + 0.05
4382
end
4383
a:Destroy()
4384
a2:Destroy()
4385
end))
4386
CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
4387
CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
4388
CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
4389
CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
4390
CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
4391
CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
4392
MagniDamage(b, 25, 40,65, 0, "Normal")
4393
for i = 0, 49 do
4394
PixelBlock(2,math.random(10,20),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.04,BrickColor.new("Bright yellow"),0)
4395
PixelBlock(1,math.random(1,10),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Bright yellow"),0)
4396
end
4397
sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
4398
sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
4399
sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
4400
sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
4401
sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
4402
sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
4403
end))
4404
game:GetService("Debris"):AddItem(elocacenter, 5)
4405
hum.WalkSpeed = storehumanoidWS
4406
attack = false
4407
end
4408
4409
function StarDivision()
4410
attack = true
4411
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
4412
for i = 0, 2, 0.1 do
4413
swait()
4414
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4415
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4416
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4417
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
4418
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
4419
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
4420
end
4421
local orb = Instance.new("Part", char)
4422
        orb.BrickColor = MAINRUINCOLOR
4423
        orb.CanCollide = false
4424
        orb.FormFactor = 3
4425
        orb.Name = "Ring"
4426
        orb.Material = "Neon"
4427
        orb.Size = Vector3.new(1, 1, 1)
4428
        orb.Transparency = 0
4429
        orb.TopSurface = 0
4430
        orb.BottomSurface = 0
4431
        local orbm = Instance.new("SpecialMesh", orb)
4432
        orbm.MeshType = "Sphere"
4433
orbm.Name = "SizeMesh"
4434
orbm.Scale = vt(2,2,2)
4435
local a = Instance.new("Part",workspace)
4436
	a.Name = "Direction"	
4437
	a.Anchored = true
4438
	a.BrickColor = bc("Bright red")
4439
a.Material = "Neon"
4440
a.Transparency = 1
4441
	a.CanCollide = false
4442
	local ray = Ray.new(
4443
	    sorb.CFrame.p,                           -- origin
4444
	    (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
4445
	) 
4446
	local ignore = sorb
4447
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4448
	a.BottomSurface = 10
4449
	a.TopSurface = 10
4450
	local distance = (sorb.CFrame.p - position).magnitude
4451
	a.Size = Vector3.new(0.1, 0.1, 0.1)
4452
	a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
4453
orb.CFrame = a.CFrame
4454
a:Destroy()
4455
local bv = Instance.new("BodyVelocity")
4456
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4457
bv.velocity = orb.CFrame.lookVector*100
4458
bv.Parent = orb
4459
local hitted = false
4460
game:GetService("Debris"):AddItem(orb, 10)
4461
CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
4462
CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
4463
CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
4464
CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
4465
CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
4466
coroutine.resume(coroutine.create(function()
4467
while true do
4468
swait(1)
4469
if orb.Parent ~= nil and hitted == false then
4470
PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
4471
elseif orb.Parent == nil then
4472
break
4473
end
4474
end
4475
end))
4476
coroutine.resume(coroutine.create(function()
4477
swait(1)
4478
orb.Touched:connect(function(hit)
4479
if hitted == false then
4480
hitted = true
4481
game:GetService("Debris"):AddItem(orb, 5)
4482
orb.Transparency = 1
4483
orb.Anchored = true
4484
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4485
elocacenter.Anchored = true
4486
elocacenter.CFrame = orb.CFrame
4487
elocacenter.Orientation = vt(0,0,0)
4488
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4489
eloca1.Anchored = true
4490
eloca1.CFrame = elocacenter.CFrame
4491
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4492
eloca2.Anchored = true
4493
eloca2.CFrame = elocacenter.CFrame
4494
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4495
eloca3.Anchored = true
4496
eloca3.CFrame = elocacenter.CFrame
4497
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4498
eloca4.Anchored = true
4499
eloca4.CFrame = elocacenter.CFrame
4500
local lookavec = 0 
4501
local speeds = 0
4502
CameraEnshaking(1,1)
4503
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
4504
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4505
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4506
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4507
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4508
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4509
for i = 0, 99 do
4510
swait()
4511
lookavec = lookavec + 1
4512
speeds = speeds + 0.1
4513
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4514
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4515
PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4516
4517
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4518
PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4519
4520
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4521
PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4522
4523
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4524
PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4525
end
4526
4527
for i = 0, 149 do
4528
swait()
4529
speeds = speeds + 0.1
4530
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4531
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4532
PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4533
4534
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4535
PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4536
4537
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4538
PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4539
4540
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4541
PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4542
end
4543
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
4544
if v:FindFirstChild('Head') then
4545
dmg(v)
4546
end
4547
end
4548
CameraEnshaking(7,30)
4549
MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
4550
CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
4551
CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
4552
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
4553
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
4554
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
4555
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
4556
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4557
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4558
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4559
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4560
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4561
for i = 0, 24 do
4562
sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
4563
sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
4564
sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
4565
sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
4566
end
4567
coroutine.resume(coroutine.create(function()
4568
for i = 0, 499 do
4569
swait(1)
4570
MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
4571
PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
4572
end
4573
elocacenter:Destroy()
4574
eloca1:Destroy()
4575
eloca2:Destroy()
4576
eloca3:Destroy()
4577
eloca4:Destroy()
4578
end))
4579
end
4580
end)
4581
end))
4582
attack = false
4583
end
4584
4585
4586
function THE_TRUE_POWER_OF_VIOLENCE()
4587
attack = true
4588
hum.WalkSpeed = 0
4589
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
4590
for i = 0, 10, 0.1 do
4591
swait()
4592
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4593
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
4594
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.4)
4595
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
4596
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
4597
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
4598
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
4599
end
4600
local orb = Instance.new("Part", char)
4601
        orb.BrickColor = MAINRUINCOLOR
4602
        orb.CanCollide = false
4603
        orb.FormFactor = 3
4604
        orb.Name = "Ring"
4605
        orb.Material = "Neon"
4606
        orb.Size = Vector3.new(1, 1, 1)
4607
        orb.Transparency = 0
4608
        orb.TopSurface = 0
4609
        orb.BottomSurface = 0
4610
orb.CFrame = sorb.CFrame
4611
        local orbm = Instance.new("SpecialMesh", orb)
4612
        orbm.MeshType = "Sphere"
4613
orbm.Name = "SizeMesh"
4614
orbm.Scale = vt(0,0,0)
4615
        local sbs = Instance.new("BodyPosition", orb)
4616
        sbs.P = 3000
4617
        sbs.D = 1000
4618
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
4619
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
4620
CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
4621
sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4622
sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4623
sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4624
sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4625
sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4626
for i = 0, 10, 0.1 do
4627
swait()
4628
PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
4629
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
4630
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
4631
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
4632
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
4633
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
4634
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
4635
end
4636
orb.Anchored = true
4637
local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4638
elocacenter.Anchored = true
4639
elocacenter.CFrame = orb.CFrame
4640
elocacenter.Orientation = vt(0,0,0)
4641
local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4642
eloca1.Anchored = true
4643
eloca1.CFrame = elocacenter.CFrame
4644
local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4645
eloca2.Anchored = true
4646
eloca2.CFrame = elocacenter.CFrame
4647
local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4648
eloca3.Anchored = true
4649
eloca3.CFrame = elocacenter.CFrame
4650
local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4651
eloca4.Anchored = true
4652
eloca4.CFrame = elocacenter.CFrame
4653
local lookavec = 0 
4654
local speeds = 0
4655
CameraEnshaking(1,1)
4656
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
4657
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
4658
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
4659
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
4660
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4661
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4662
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4663
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4664
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4665
for i = 0, 99 do
4666
swait()
4667
lookavec = lookavec + 2.5
4668
speeds = speeds + 0.25
4669
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4670
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4671
PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4672
4673
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4674
PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4675
4676
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4677
PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4678
4679
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4680
PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4681
end
4682
4683
for i = 0, 149 do
4684
swait()
4685
speeds = speeds + 0.25
4686
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4687
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4688
PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4689
4690
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4691
PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4692
4693
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4694
PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4695
4696
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4697
PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4698
end
4699
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
4700
for i = 0, 99 do
4701
swait()
4702
lookavec = lookavec - 2.5
4703
speeds = speeds + 0.25
4704
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4705
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4706
PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4707
4708
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4709
PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4710
4711
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4712
PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4713
4714
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4715
PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4716
end
4717
local scaled = 0.1*75
4718
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
4719
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
4720
CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
4721
CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
4722
CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
4723
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
4724
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4725
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4726
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4727
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4728
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4729
for i = 0, 10, 0.1 do
4730
swait()
4731
scaled = scaled - 0.001*75
4732
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4733
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4734
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
4735
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
4736
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
4737
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
4738
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
4739
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
4740
end
4741
for x = 0, 4 do
4742
for i = 0, 9 do
4743
sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
4744
end
4745
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
4746
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
4747
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4748
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4749
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4750
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4751
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4752
for i = 0, 5, 0.1 do
4753
swait()
4754
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4755
PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4756
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
4757
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
4758
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4759
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
4760
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
4761
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
4762
end
4763
end
4764
local speedearn = 0
4765
CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
4766
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
4767
CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
4768
for i = 0, 30, 0.1 do
4769
swait()
4770
scaled = scaled - 0.001*75/10
4771
speedearn = speedearn + 0.5
4772
for i = 0, 4 do 
4773
sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
4774
end
4775
PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
4776
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4777
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4778
PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4779
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
4780
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
4781
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
4782
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
4783
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
4784
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
4785
end
4786
orb.Transparency = 1
4787
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
4788
if v:FindFirstChild('Head') then
4789
dmg(v)
4790
end
4791
end
4792
CameraEnshaking(7,30)
4793
MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
4794
CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
4795
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
4796
CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
4797
CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
4798
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
4799
CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
4800
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
4801
CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
4802
CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
4803
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
4804
CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
4805
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
4806
CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
4807
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4808
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4809
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4810
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4811
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4812
for i = 0, 99 do
4813
PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
4814
PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
4815
end
4816
for i = 0, 24 do
4817
sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
4818
sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
4819
sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
4820
sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
4821
sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
4822
end
4823
game:GetService("Debris"):AddItem(orb, 10)
4824
hum.WalkSpeed = storehumanoidWS
4825
attack = false
4826
end
4827
4828
4829
function ViolentRing()
4830
attack = true
4831
CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
4832
for i = 0, 2, 0.1 do
4833
swait()
4834
local snap = math.random(1,10)
4835
if snap == 1 then
4836
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
4837
end
4838
PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
4839
PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
4840
PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
4841
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
4842
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
4843
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
4844
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
4845
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
4846
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
4847
RootPart.CFrame = FaceMouse()[1]
4848
end
4849
local orb = Instance.new("Part", char)
4850
        orb.BrickColor = MAINRUINCOLOR
4851
        orb.CanCollide = false
4852
        orb.FormFactor = 3
4853
        orb.Name = "Ring"
4854
        orb.Material = "Neon"
4855
        orb.Size = Vector3.new(1, 1, 1)
4856
        orb.Transparency = 0
4857
        orb.TopSurface = 0
4858
        orb.BottomSurface = 0
4859
        local orbm = Instance.new("SpecialMesh", orb)
4860
        orbm.MeshType = "Sphere"
4861
orbm.Name = "SizeMesh"
4862
orbm.Scale = vt(2,2,2)
4863
orb.CFrame = mouse.Hit
4864
local bv = Instance.new("BodyVelocity")
4865
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4866
bv.velocity = orb.CFrame.lookVector*100
4867
bv.Parent = orb
4868
local hitted = false
4869
coroutine.resume(coroutine.create(function()
4870
game:GetService("Debris"):AddItem(orb, 5)
4871
orb.Transparency = 1
4872
orb.Anchored = true
4873
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4874
elocacenter.Anchored = true
4875
elocacenter.CFrame = orb.CFrame
4876
elocacenter.Orientation = vt(0,0,0)
4877
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4878
eloca1.Anchored = true
4879
eloca1.CFrame = elocacenter.CFrame
4880
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4881
eloca2.Anchored = true
4882
eloca2.CFrame = elocacenter.CFrame
4883
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4884
eloca3.Anchored = true
4885
eloca3.CFrame = elocacenter.CFrame
4886
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4887
eloca4.Anchored = true
4888
eloca4.CFrame = elocacenter.CFrame
4889
local lookavec = 0 
4890
local speeds = 0
4891
CameraEnshaking(1,1)
4892
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
4893
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4894
sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4895
sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4896
sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4897
sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4898
for i = 0, 24 do
4899
swait()
4900
lookavec = lookavec + 3.5
4901
speeds = speeds + 1
4902
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4903
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4904
PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4905
4906
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4907
PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4908
4909
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4910
PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4911
4912
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4913
PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4914
end
4915
4916
local risen = 0
4917
for i = 0, 49 do
4918
swait()
4919
risen = risen + 0.05
4920
speeds = speeds + 0.1
4921
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4922
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4923
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4924
4925
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4926
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4927
4928
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4929
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4930
4931
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4932
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4933
end
4934
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
4935
if v:FindFirstChild('Head') then
4936
dmg(v)
4937
end
4938
end
4939
CameraEnshaking(4,10)
4940
MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
4941
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
4942
CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
4943
CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
4944
CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
4945
CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
4946
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
4947
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
4948
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4949
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4950
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4951
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4952
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4953
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
4954
for i = 0, 24 do
4955
sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
4956
sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
4957
sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
4958
sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
4959
end
4960
coroutine.resume(coroutine.create(function()
4961
wait(10)
4962
elocacenter:Destroy()
4963
eloca1:Destroy()
4964
eloca2:Destroy()
4965
eloca3:Destroy()
4966
eloca4:Destroy()
4967
end))
4968
end))
4969
attack = false
4970
end
4971
4972
function UniversalCollapse()
4973
attack = true
4974
local speedearn = 0
4975
hum.WalkSpeed = 0
4976
        local sbs = Instance.new("BodyPosition", root)
4977
        sbs.P = 3000
4978
        sbs.D = 1000
4979
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
4980
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
4981
CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
4982
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
4983
for i = 0, 110, 0.1 do
4984
swait()
4985
speedearn = speedearn + 0.1
4986
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
4987
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
4988
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
4989
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
4990
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
4991
sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
4992
RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
4993
LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
4994
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4995
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
4996
RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
4997
LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
4998
end
4999
CameraEnshaking(5,50)
5000
sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
5001
for i = 0, 2 do 
5002
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
5003
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
5004
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
5005
CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
5006
end
5007
for i = 0, 49 do
5008
sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
5009
sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
5010
sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
5011
sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
5012
end
5013
sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5014
sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5015
sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5016
sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5017
sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5018
sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5019
sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5020
sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5021
sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5022
sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5023
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5024
sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5025
for i = 0, 99 do
5026
PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
5027
PixelBlock(2,math.random(250,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
5028
end
5029
for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
5030
if v:FindFirstChild('Head') then
5031
dmg(v)
5032
end
5033
end
5034
MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
5035
sbs:Destroy()
5036
hum.WalkSpeed = storehumanoidWS
5037
attack = false
5038
end
5039
5040
5041
function ChaosEND()
5042
attack = true
5043
local speedearn = 0
5044
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
5045
for i = 0, 15, 0.1 do
5046
swait()
5047
speedearn = speedearn + 0.25
5048
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5049
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5050
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5051
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5052
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5053
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
5054
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
5055
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5056
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5057
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
5058
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
5059
end
5060
CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
5061
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
5062
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
5063
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
5064
CameraEnshaking(5,25)
5065
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
5066
if v:FindFirstChild('Head') then
5067
dmg(v)
5068
end
5069
end
5070
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
5071
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
5072
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
5073
for i = 0, 3, 0.1 do
5074
swait()
5075
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
5076
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
5077
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
5078
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
5079
RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
5080
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
5081
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
5082
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
5083
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
5084
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
5085
end
5086
attack = false
5087
end
5088
5089
function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
5090
local orb = Instance.new("Part", char)
5091
        orb.Anchored = true
5092
        orb.BrickColor = color
5093
        orb.CanCollide = false
5094
        orb.FormFactor = 3
5095
        orb.Name = "Ring"
5096
        orb.Material = "Neon"
5097
        orb.Size = Vector3.new(1, 1, 1)
5098
        orb.Transparency = 0
5099
        orb.TopSurface = 0
5100
        orb.BottomSurface = 0
5101
        local orbm = Instance.new("SpecialMesh", orb)
5102
        orbm.MeshType = "Sphere"
5103
orb.CFrame = positted
5104
orbm.Name = "SizeMesh"
5105
orbm.Scale = vt(1,1,1)
5106
CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
5107
sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
5108
--[[for i = 0, 2 do
5109
sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
5110
end]]--
5111
coroutine.resume(coroutine.create(function()
5112
wait(timer)
5113
CameraEnshaking(3,ShakePower)
5114
orb.Transparency = 1
5115
MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
5116
sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
5117
--[[for i = 0, 4 do
5118
sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
5119
end]]--
5120
CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
5121
wait(3)
5122
orb:Destroy()
5123
end))
5124
end
5125
5126
function orb_spawn(positted,timer)
5127
local randomcol = math.random(1,2)
5128
local orb = Instance.new("Part", char)
5129
        orb.Anchored = true
5130
if randomcol == 1 then
5131
        orb.BrickColor = BrickColor.new("White")
5132
elseif randomcol == 2 then
5133
orb.BrickColor = BrickColor.new("Really black")
5134
end
5135
        orb.CanCollide = false
5136
        orb.FormFactor = 3
5137
        orb.Name = "Ring"
5138
        orb.Material = "Neon"
5139
        orb.Size = Vector3.new(1, 1, 1)
5140
        orb.Transparency = 0
5141
        orb.TopSurface = 0
5142
        orb.BottomSurface = 0
5143
        local orbm = Instance.new("SpecialMesh", orb)
5144
        orbm.MeshType = "Sphere"
5145
orb.CFrame = positted
5146
orbm.Name = "SizeMesh"
5147
orbm.Scale = vt(1,1,1)
5148
CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
5149
sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
5150
for i = 0, 2 do
5151
sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
5152
end
5153
coroutine.resume(coroutine.create(function()
5154
wait(timer)
5155
CameraEnshaking(3,2)
5156
orb.Transparency = 1
5157
MagniDamage(orb, 17.5, 10,50, 0, "Normal")
5158
sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
5159
for i = 0, 4 do
5160
sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
5161
end
5162
CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
5163
wait(3)
5164
orb:Destroy()
5165
end))
5166
end
5167
5168
function scattercorrupt()
5169
attack = true
5170
local rot = 0
5171
local randomrotations = math.random(1,2)
5172
local lookv = 2.5
5173
local power = 5
5174
sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
5175
sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
5176
for i = 0, 9 do
5177
sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
5178
end
5179
	CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
5180
	CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
5181
	CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
5182
CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
5183
CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
5184
local hite = Instance.new("Part", char)
5185
        hite.Anchored = true
5186
        hite.CanCollide = false
5187
        hite.FormFactor = 3
5188
        hite.Name = "Ring"
5189
        hite.Material = "Neon"
5190
        hite.Size = Vector3.new(1, 1, 1)
5191
        hite.Transparency = 1
5192
        hite.TopSurface = 0
5193
        hite.BottomSurface = 0
5194
hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
5195
local rem = Instance.new("Part", char)
5196
        rem.Anchored = true
5197
        rem.CanCollide = false
5198
        rem.FormFactor = 3
5199
        rem.Name = "Ring"
5200
        rem.Material = "Neon"
5201
        rem.Size = Vector3.new(1, 1, 1)
5202
        rem.Transparency = 1
5203
        rem.TopSurface = 0
5204
        rem.BottomSurface = 0
5205
rem.CFrame = hite.CFrame
5206
local rem2 = rem:Clone()
5207
rem2.Parent = char
5208
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
5209
local rem3 = rem:Clone()
5210
rem3.Parent = char
5211
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
5212
local rem4 = rem:Clone()
5213
rem4.Parent = char
5214
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
5215
hite:Destroy()
5216
coroutine.resume(coroutine.create(function()
5217
for i = 0, 24 do
5218
swait(1)
5219
if randomrotations == 1 then
5220
rot = rot + 1
5221
elseif randomrotations == 2 then
5222
rot = rot - 1
5223
end
5224
power = power + 0.5
5225
lookv = lookv + 7.5
5226
rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
5227
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
5228
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
5229
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
5230
orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
5231
orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
5232
orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
5233
orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
5234
end
5235
end))
5236
attack = false
5237
end
5238
function yinyangi()
5239
attack = true
5240
for i = 0, 2, 0.1 do
5241
swait()
5242
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
5243
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
5244
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
5245
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5246
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
5247
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
5248
end
5249
local bv = Instance.new("BodyVelocity")
5250
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5251
bv.velocity = root.CFrame.lookVector*175
5252
bv.Parent = root
5253
for Rotations = 0, 9 do
5254
for i = 0, 1, 0.5 do
5255
swait()
5256
bv.velocity = root.CFrame.lookVector*175
5257
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
5258
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
5259
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
5260
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5261
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5262
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5263
end
5264
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5265
for i = 0, 1, 0.5 do
5266
swait()
5267
bv.velocity = root.CFrame.lookVector*175
5268
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
5269
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
5270
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
5271
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5272
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5273
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5274
end
5275
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5276
for i = 0, 1, 0.5 do
5277
swait()
5278
bv.velocity = root.CFrame.lookVector*175
5279
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
5280
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
5281
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
5282
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5283
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5284
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5285
end
5286
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5287
for i = 0, 1, 0.5 do
5288
swait()
5289
bv.velocity = root.CFrame.lookVector*175
5290
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
5291
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
5292
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
5293
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5294
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5295
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5296
end
5297
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5298
end
5299
bv:Destroy()
5300
attack = false
5301
end
5302
5303
function createBGCircle(size,parent,color)
5304
local bgui = Instance.new("BillboardGui",parent)
5305
bgui.Size = UDim2.new(size, 0, size, 0)
5306
local imgc = Instance.new("ImageLabel",bgui)
5307
imgc.BackgroundTransparency = 1
5308
imgc.ImageTransparency = 0
5309
imgc.Size = UDim2.new(1,0,1,0)
5310
imgc.Image = "rbxassetid://3337202" --997291547,521073910
5311
imgc.ImageColor3 = color
5312
return bgui,imgc
5313
end
5314
5315
function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
5316
local bgui,imgc = createBGCircle(size,guipar,color)
5317
bgui.AlwaysOnTop = true
5318
imgc.Image = "rbxassetid://" ..img
5319
local rrot = math.random(1,2)
5320
CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
5321
coroutine.resume(coroutine.create(function()
5322
for i = 0, 24*delay do
5323
swait()
5324
if rotationenabled == true then
5325
if rrot == 1 then
5326
imgc.Rotation = imgc.Rotation + rotsp
5327
elseif rrot == 2 then
5328
imgc.Rotation = imgc.Rotation - rotsp
5329
end
5330
end
5331
bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
5332
imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
5333
end
5334
bgui:Destroy()
5335
end))
5336
end
5337
function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
5338
for i, v in pairs(mw2:GetChildren()) do
5339
if v:IsA("Part") then
5340
v.BrickColor = one
5341
v.Material = "Neon"
5342
end
5343
end
5344
CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
5345
symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
5346
symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
5347
tr1.Color = ColorSequence.new(one.Color)
5348
tr2.Color = ColorSequence.new(one.Color)
5349
tr3.Color = ColorSequence.new(one.Color)
5350
for i, v in pairs(mw1:GetChildren()) do
5351
if v:IsA("Part") then
5352
if secondaryenabled == false then
5353
v.Transparency = 1
5354
elseif secondaryenabled == true then
5355
v.Transparency = 0
5356
end
5357
v.BrickColor = two
5358
v.Material = "Neon"
5359
end
5360
end
5361
if secondaryenabled == false then
5362
tl1.Enabled = false
5363
tl2.Enabled = false
5364
tl3.Enabled = false
5365
elseif secondaryenabled == true then
5366
tl1.Enabled = true
5367
tl2.Enabled = true
5368
tl3.Enabled = true
5369
end
5370
tl1.Color = ColorSequence.new(two.Color)
5371
tl2.Color = ColorSequence.new(two.Color)
5372
tl3.Color = ColorSequence.new(two.Color)
5373
for i, v in pairs(m:GetChildren()) do
5374
if v:IsA("Part") then
5375
v.BrickColor = three
5376
v.Material = "Ice"
5377
end
5378
end
5379
for i, v in pairs(m2:GetChildren()) do
5380
if v:IsA("Part") then
5381
v.BrickColor = four
5382
v.Material = "Ice"
5383
end
5384
end
5385
for i, v in pairs(m3:GetChildren()) do
5386
if v:IsA("Part") then
5387
v.BrickColor = five
5388
v.Material = "Neon"
5389
end
5390
end
5391
for i, v in pairs(extrawingmod1:GetChildren()) do
5392
if v:IsA("Part") then
5393
v.Transparency = exonetran
5394
v.BrickColor = exone
5395
v.Material = "Neon"
5396
end
5397
end
5398
for i, v in pairs(extrawingmod2:GetChildren()) do
5399
if v:IsA("Part") then
5400
v.Transparency = extwotran
5401
v.BrickColor = extwo
5402
v.Material = "Neon"
5403
end
5404
end
5405
end
5406
5407
5408
function normalmog()
5409
attack = true
5410
hum.WalkSpeed = 0
5411
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
5412
for i = 0,6,0.1 do
5413
swait()
5414
sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
5415
slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
5416
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
5417
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
5418
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5419
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
5420
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5421
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5422
end
5423
CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
5424
CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
5425
CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
5426
CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
5427
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
5428
CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
5429
CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
5430
rainbowmode = false
5431
chaosmode = false
5432
ModeOfGlitch = 1
5433
storehumanoidWS = 16
5434
newTheme("rbxassetid://614032233",48.6,1,1.25)
5435
RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
5436
CameraEnshaking(5,2.5)
5437
MAINRUINCOLOR = BrickColor.new("Really red")
5438
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5439
for i = 0, 49 do
5440
PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
5441
end
5442
for i = 0, 24 do
5443
sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
5444
slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
5445
end
5446
for i = 0,3,0.1 do
5447
sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
5448
end
5449
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
5450
for i = 0,2,0.1 do
5451
swait()
5452
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
5453
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
5454
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
5455
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
5456
RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
5457
LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
5458
end
5459
hum.WalkSpeed = storehumanoidWS
5460
attack = false
5461
end
5462
5463
function attackone()
5464
	attack = true
5465
local keptcolor = MAINRUINCOLOR
5466
	for i = 0,1,0.1 do
5467
		swait()
5468
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
5469
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
5470
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
5471
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
5472
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
5473
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
5474
	end
5475
local distlook = 5
5476
coroutine.resume(coroutine.create(function()
5477
for i = 0, 4 do
5478
swait(2)
5479
CameraEnshaking(2,3)
5480
local hite = Instance.new("Part", char)
5481
        hite.Anchored = true
5482
        hite.CanCollide = false
5483
        hite.FormFactor = 3
5484
        hite.Name = "Ring"
5485
        hite.Material = "Neon"
5486
        hite.Size = Vector3.new(1, 1, 1)
5487
        hite.Transparency = 1
5488
        hite.TopSurface = 0
5489
        hite.BottomSurface = 0
5490
hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
5491
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
5492
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
5493
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
5494
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
5495
MagniDamage(hite, 9, 10,25, 0, "Normal")
5496
for i = 0, 14 do
5497
local rsiz = math.random(5,20)
5498
sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
5499
end
5500
CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
5501
CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
5502
game:GetService("Debris"):AddItem(hite, 5)
5503
distlook = distlook + 10
5504
end
5505
end))
5506
	for i = 0,1,0.1 do
5507
		swait()
5508
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
5509
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
5510
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
5511
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
5512
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
5513
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
5514
	end
5515
	attack = false
5516
end
5517
5518
function attacktwo()
5519
	attack = true
5520
hum.WalkSpeed = 2
5521
local keptcolor = MAINRUINCOLOR
5522
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
5523
sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
5524
sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
5525
for i = 0, 14 do
5526
end
5527
for i = 0,1,0.1 do
5528
swait()
5529
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
5530
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
5531
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
5532
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
5533
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
5534
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
5535
LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
5536
end
5537
for i = 0, 1 do
5538
CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
5539
for i = 0,1,0.6 do
5540
swait()
5541
sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
5542
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
5543
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
5544
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
5545
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
5546
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
5547
LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
5548
end
5549
for i = 0,1,0.6 do
5550
swait()
5551
sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
5552
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
5553
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
5554
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
5555
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
5556
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
5557
LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
5558
end
5559
for i = 0,1,0.6 do
5560
swait()
5561
sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
5562
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
5563
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
5564
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
5565
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
5566
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
5567
LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
5568
end
5569
for i = 0,1,0.6 do
5570
swait()
5571
sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
5572
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
5573
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
5574
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
5575
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
5576
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
5577
LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
5578
end
5579
local rot = 0
5580
local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
5581
CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
5582
dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
5583
CreateMesh(dis,"Sphere",10,1,10)
5584
local at1 = Instance.new("Attachment",dis)
5585
at1.Position = vt(-5,0,0)
5586
local at2 = Instance.new("Attachment",dis)
5587
at2.Position = vt(5,0,0)
5588
local trl = Instance.new('Trail',wed)
5589
trl.Attachment0 = at1
5590
trl.Attachment1 = at2
5591
trl.Texture = "rbxassetid://1049219073"
5592
trl.LightEmission = 1
5593
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
5594
trl.Color = ColorSequence.new(dis.Color)
5595
trl.Lifetime = 0.6
5596
local a = Instance.new("Part",workspace)
5597
	a.Name = "Direction"	
5598
	a.Anchored = true
5599
	a.BrickColor = bc("Bright red")
5600
a.Material = "Neon"
5601
a.Transparency = 1
5602
	a.CanCollide = false
5603
	local ray = Ray.new(
5604
	    dis.CFrame.p,                           -- origin
5605
	    (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
5606
	) 
5607
	local ignore = dis
5608
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5609
	a.BottomSurface = 10
5610
	a.TopSurface = 10
5611
	local distance = (dis.CFrame.p - position).magnitude
5612
	a.Size = Vector3.new(0.1, 0.1, 0.1)
5613
	a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
5614
dis.CFrame = a.CFrame
5615
dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
5616
a:Destroy()
5617
local bv = Instance.new("BodyVelocity")
5618
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5619
bv.velocity = dis.CFrame.lookVector*250
5620
bv.Parent = dis
5621
game:GetService("Debris"):AddItem(dis, 5)
5622
local hitted = false
5623
coroutine.resume(coroutine.create(function()
5624
dis.Touched:connect(function(hit) 
5625
	if hitted == false and hit.Parent ~= char then
5626
	hitted = true
5627
	CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
5628
	MagniDamage(dis, 30, 33,56, 0, "Normal")
5629
	sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
5630
	sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
5631
	sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
5632
	coroutine.resume(coroutine.create(function()
5633
		for i = 0, 9 do
5634
local disr = CreateParta(char,1,1,"Neon",keptcolor)
5635
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
5636
local at1 = Instance.new("Attachment",disr)
5637
at1.Position = vt(-5,0,0)
5638
local at2 = Instance.new("Attachment",disr)
5639
at2.Position = vt(5,0,0)
5640
local trl = Instance.new('Trail',disr)
5641
trl.Attachment0 = at1
5642
trl.FaceCamera = true
5643
trl.Attachment1 = at2
5644
trl.Texture = "rbxassetid://2342682798"
5645
trl.LightEmission = 1
5646
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
5647
trl.Color = ColorSequence.new(keptcolor.Color)
5648
trl.Lifetime = 0.5
5649
local bv = Instance.new("BodyVelocity")
5650
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5651
bv.velocity = disr.CFrame.lookVector*math.random(50,200)
5652
bv.Parent = disr
5653
local val = 0
5654
coroutine.resume(coroutine.create(function()
5655
	swait(30)
5656
	for i = 0, 9 do
5657
		swait()
5658
		val = val + 0.1
5659
		trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
5660
	end
5661
game:GetService("Debris"):AddItem(disr, 3)
5662
end))
5663
end
5664
local eff = Instance.new("ParticleEmitter",dis)
5665
eff.Texture = "rbxassetid://2273224484"
5666
eff.LightEmission = 1
5667
eff.Color = ColorSequence.new(keptcolor.Color)
5668
eff.Rate = 50
5669
eff.Lifetime = NumberRange.new(0.5,2)
5670
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
5671
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
5672
eff.Speed = NumberRange.new(20,250)
5673
eff.Drag = 5
5674
eff.Rotation = NumberRange.new(-500,500)
5675
eff.VelocitySpread = 9000
5676
eff.RotSpeed = NumberRange.new(-50,50)
5677
wait(0.25)
5678
eff.Enabled = false
5679
end))
5680
	for i = 0, 9 do
5681
			end
5682
for i = 0, 19 do
5683
end
5684
coroutine.resume(coroutine.create(function()
5685
for i = 0, 19 do
5686
swait()
5687
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
5688
end
5689
hum.CameraOffset = vt(0,0,0)
5690
end))
5691
dis.Anchored = true
5692
dis.Transparency = 1
5693
wait(8)
5694
dis:Destroy()
5695
end
5696
end)
5697
end))
5698
rot = rot - 15
5699
end
5700
for i = 0,2,0.1 do
5701
swait()
5702
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
5703
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
5704
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
5705
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
5706
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
5707
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
5708
end
5709
attack = false
5710
hum.WalkSpeed = storehumanoidWS
5711
end
5712
5713
function attackthree()
5714
attack = true
5715
local keptcolor = MAINRUINCOLOR
5716
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
5717
	for i = 0,2,0.1 do
5718
		swait()
5719
		sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
5720
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
5721
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
5722
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
5723
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
5724
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3)
5725
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(40)),.3)
5726
	end
5727
CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
5728
CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
5729
CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
5730
CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
5731
sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
5732
sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
5733
for i = 0, 24 do
5734
	end
5735
for i = 0,4,0.1 do
5736
		swait()
5737
		root.CFrame = root.CFrame + root.CFrame.lookVector*5
5738
		local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
5739
CreateMesh(dis,"Sphere",1,1,1)
5740
dis.Anchored = true
5741
dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
5742
sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
5743
coroutine.resume(coroutine.create(function()
5744
	swait(30)
5745
	dis.Transparency = 1
5746
coroutine.resume(coroutine.create(function()
5747
for i = 0, 19 do
5748
swait()
5749
hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
5750
end
5751
hum.CameraOffset = vt(0,0,0)
5752
end))
5753
coroutine.resume(coroutine.create(function()
5754
local eff = Instance.new("ParticleEmitter",dis)
5755
eff.Texture = "rbxassetid://2273224484"
5756
eff.LightEmission = 1
5757
eff.Color = ColorSequence.new(dis.Color)
5758
eff.Rate = 500000
5759
eff.Lifetime = NumberRange.new(0.5,2)
5760
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
5761
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
5762
eff.Speed = NumberRange.new(50,450)
5763
eff.Drag = 5
5764
eff.Rotation = NumberRange.new(-500,500)
5765
eff.VelocitySpread = 9000
5766
eff.RotSpeed = NumberRange.new(-50,50)
5767
wait(0.125)
5768
eff.Enabled = false
5769
end))
5770
MagniDamage(dis, 30, 45,50, 0, "Normal")
5771
    for i = 0, 2 do
5772
		--slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor)
5773
	end
5774
	CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
5775
	CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
5776
	CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
5777
	sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
5778
end))
5779
game:GetService("Debris"):AddItem(dis, 5)
5780
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
5781
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
5782
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
5783
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
5784
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
5785
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
5786
	end
5787
attack = false
5788
end
5789
----------------------------------- Abilities
5790
5791
function ExtinctiveHeartbreak()
5792
local targetted = nil
5793
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
5794
targetted = mouse.Target.Parent
5795
end
5796
if targetted ~= nil then
5797
attack = true
5798
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
5799
for i = 0, 9 do
5800
--sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
5801
end
5802
for i = 0, 24 do
5803
--
5804
end
5805
--sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
5806
local originalpos = root.CFrame
5807
RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
5808
for i = 0, 9 do
5809
--sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
5810
end
5811
for i = 0, 24 do
5812
end
5813
hum.WalkSpeed = 0
5814
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
5815
local radm = math.random(1,3)
5816
if radm == 1 then
5817
--bosschatfunc("YOU WON'T BE NECCESSARY.",MAINRUINCOLOR.Color,2)
5818
elseif radm == 2 then
5819
--bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
5820
elseif radm == 3 then
5821
--bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
5822
end
5823
for i = 0,2,0.1 do
5824
swait()
5825
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
5826
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
5827
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
5828
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
5829
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
5830
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
5831
end
5832
CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
5833
CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
5834
for i = 0,2,0.1 do
5835
swait()
5836
coroutine.resume(coroutine.create(function()
5837
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
5838
for i,v in pairs(targetted:GetChildren()) do
5839
if v:IsA("Part") or v:IsA("MeshPart") then
5840
v.Velocity = vt(0,0,0)
5841
end
5842
end
5843
end))
5844
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
5845
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
5846
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
5847
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
5848
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
5849
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
5850
end
5851
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
5852
CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
5853
for i = 0, 1 do
5854
CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
5855
end
5856
CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
5857
--chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
5858
for i = 0,4,0.1 do
5859
swait()
5860
coroutine.resume(coroutine.create(function()
5861
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
5862
dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
5863
local at1 = Instance.new("Attachment",dis)
5864
at1.Position = vt(-25000,0,0)
5865
local at2 = Instance.new("Attachment",dis)
5866
at2.Position = vt(25000,0,0)
5867
local trl = Instance.new('Trail',dis)
5868
trl.Attachment0 = at1
5869
trl.FaceCamera = true
5870
trl.Attachment1 = at2
5871
trl.Texture = "rbxassetid://1049219073"
5872
trl.LightEmission = 1
5873
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
5874
trl.Color = ColorSequence.new(Color3.new(1,0,0))
5875
trl.Lifetime = 5
5876
local bv = Instance.new("BodyVelocity")
5877
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5878
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
5879
bv.Parent = dis
5880
game:GetService("Debris"):AddItem(dis, 5)
5881
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
5882
CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
5883
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
5884
CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
5885
CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
5886
CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
5887
sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
5888
targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
5889
for i = 0, 2 do
5890
--slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
5891
end
5892
symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
5893
for i,v in pairs(targetted:GetChildren()) do
5894
if v:IsA("Part") or v:IsA("MeshPart") then
5895
v.Velocity = vt(0,0,0)
5896
end
5897
end
5898
end))
5899
hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
5900
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
5901
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
5902
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
5903
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
5904
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
5905
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
5906
end
5907
hum.CameraOffset = vt(0,0,0)
5908
for i = 0, 49 do
5909
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
5910
dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
5911
local at1 = Instance.new("Attachment",dis)
5912
at1.Position = vt(-50000,0,0)
5913
local at2 = Instance.new("Attachment",dis)
5914
at2.Position = vt(50000,0,0)
5915
local trl = Instance.new('Trail',dis)
5916
trl.Attachment0 = at1
5917
trl.FaceCamera = true
5918
trl.Attachment1 = at2
5919
trl.Texture = "rbxassetid://1049219073"
5920
trl.LightEmission = 1
5921
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
5922
trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
5923
trl.Lifetime = 5
5924
local bv = Instance.new("BodyVelocity")
5925
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5926
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
5927
bv.Parent = dis
5928
game:GetService("Debris"):AddItem(dis, 5)
5929
end
5930
for i = 0, 49 do
5931
sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
5932
--slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
5933
end
5934
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
5935
for i = 0, 1 do
5936
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
5937
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
5938
end
5939
for i = 0, 4 do
5940
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
5941
end
5942
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
5943
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
5944
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
5945
dmg(targetted)
5946
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
5947
for i = 0, 9 do
5948
--sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
5949
end
5950
for i = 0, 24 do
5951
end
5952
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
5953
root.CFrame = originalpos
5954
for i = 0, 9 do
5955
--sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
5956
end
5957
for i = 0, 24 do
5958
end
5959
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
5960
attack = false
5961
hum.WalkSpeed = storehumanoidWS
5962
end
5963
end
5964
5965
function CorruptionEvent()
5966
attack = true
5967
hum.WalkSpeed = 0
5968
CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
5969
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
5970
local keptcolor = MAINRUINCOLOR
5971
for i = 0,4,0.1 do
5972
swait()
5973
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
5974
block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
5975
RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
5976
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
5977
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
5978
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
5979
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
5980
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
5981
end
5982
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
5983
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
5984
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
5985
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
5986
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
5987
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
5988
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
5989
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
5990
hum.CameraOffset = vt(0,0,0)
5991
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
5992
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
5993
for i = 0, 24 do
5994
--slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
5995
end
5996
local rrot = 0
5997
coroutine.resume(coroutine.create(function()
5998
for i = 0, 4 do
5999
rrot = rrot + 45
6000
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6001
xa.Anchored = true
6002
local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6003
xb.Anchored = true
6004
local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6005
xc.Anchored = true
6006
local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6007
xd.Anchored = true
6008
CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
6009
CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
6010
CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
6011
CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
6012
CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
6013
CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
6014
CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
6015
CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
6016
CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
6017
CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
6018
CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
6019
CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
6020
xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
6021
xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
6022
xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
6023
xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
6024
MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6025
MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6026
MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6027
MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6028
block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6029
block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6030
block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6031
block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6032
sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6033
sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6034
sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6035
sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6036
sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6037
sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6038
sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6039
sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6040
game:GetService("Debris"):AddItem(xa, 5)
6041
game:GetService("Debris"):AddItem(xb, 5)
6042
game:GetService("Debris"):AddItem(xc, 5)
6043
game:GetService("Debris"):AddItem(xd, 5)
6044
coroutine.resume(coroutine.create(function()
6045
for i = 0, 19 do
6046
swait()
6047
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
6048
end
6049
hum.CameraOffset = vt(0,0,0)
6050
end))
6051
swait(9)
6052
end
6053
end))
6054
for i = 0,2,0.1 do
6055
swait()
6056
RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
6057
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
6058
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
6059
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
6060
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
6061
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
6062
end
6063
attack = false
6064
hum.WalkSpeed = storehumanoidWS
6065
end
6066
6067
function EndGROUND()
6068
	attack = true
6069
hum.WalkSpeed = 0
6070
bosschatfunc("yeetus",MAINRUINCOLOR.Color,1)
6071
--CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
6072
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
6073
CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
6074
CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
6075
local keptcolor = MAINRUINCOLOR
6076
for i = 0,4,0.1 do
6077
swait()
6078
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
6079
block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6080
--slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
6081
RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
6082
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
6083
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
6084
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
6085
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
6086
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
6087
end
6088
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
6089
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
6090
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
6091
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
6092
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
6093
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
6094
coroutine.resume(coroutine.create(function()
6095
	local shval = 10
6096
	for i = 0, 99 do
6097
		swait()
6098
		shval = shval - 0.1
6099
		hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
6100
	end
6101
	hum.CameraOffset = vt(0,0,0)
6102
end))
6103
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6104
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6105
for i = 0, 24 do
6106
--slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
6107
end
6108
local rrot = 0
6109
local xam = 1
6110
coroutine.resume(coroutine.create(function()
6111
for i = 0, 14 do
6112
--swait()
6113
rrot = rrot + 40*xam
6114
xam = xam + 0.25
6115
local bonus = xam
6116
local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
6117
xa.Anchored = true
6118
xa.Color = Color3.new(0,0,0)
6119
xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
6120
CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
6121
local xc = 0
6122
coroutine.resume(coroutine.create(function()
6123
for i = 0, 99 do
6124
	swait()
6125
	xc = xc + 0.01
6126
	xa.Color = Color3.new(xc,0,0)
6127
end
6128
xa.Transparency = 1
6129
CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
6130
MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
6131
for i = 0, 9 do
6132
--slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
6133
end
6134
block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6135
sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
6136
sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
6137
game:GetService("Debris"):AddItem(xa, 5)
6138
coroutine.resume(coroutine.create(function()
6139
for i = 0, 19 do
6140
swait()
6141
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
6142
end
6143
hum.CameraOffset = vt(0,0,0)
6144
end))
6145
end))
6146
end
6147
end))
6148
for i = 0,2,0.1 do
6149
swait()
6150
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
6151
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
6152
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
6153
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
6154
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
6155
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
6156
end
6157
attack = false
6158
hum.WalkSpeed = storehumanoidWS
6159
end
6160
6161
function HeavenlyDisk()
6162
attack = true
6163
hum.WalkSpeed = 2
6164
local keptcolor = MAINRUINCOLOR
6165
local radm = math.random(1,3)
6166
if radm == 1 then
6167
--bosschatfunc("Don't make this too easy for you.",MAINRUINCOLOR.Color,1)
6168
elseif radm == 2 then
6169
--bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
6170
elseif radm == 3 then
6171
--bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
6172
end
6173
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
6174
CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
6175
for i = 0, 14 do
6176
--
6177
end
6178
for i = 0,2,0.1 do
6179
swait()
6180
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6181
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
6182
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
6183
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
6184
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
6185
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
6186
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
6187
end
6188
CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
6189
for i = 0,1,0.6 do
6190
swait()
6191
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6192
--slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
6193
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
6194
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
6195
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
6196
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
6197
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
6198
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
6199
end
6200
for i = 0,1,0.6 do
6201
swait()
6202
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6203
--slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
6204
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
6205
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
6206
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
6207
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
6208
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
6209
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
6210
end
6211
for i = 0,1,0.6 do
6212
swait()
6213
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6214
--slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
6215
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
6216
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
6217
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
6218
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
6219
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
6220
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
6221
end
6222
for i = 0,1,0.6 do
6223
swait()
6224
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6225
--slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
6226
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
6227
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
6228
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
6229
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
6230
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
6231
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
6232
end
6233
local rot = 15
6234
for i = 0, 2 do
6235
local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
6236
CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
6237
dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
6238
CreateMesh(dis,"Sphere",10,1,10)
6239
local at1 = Instance.new("Attachment",dis)
6240
at1.Position = vt(-5,0,0)
6241
local at2 = Instance.new("Attachment",dis)
6242
at2.Position = vt(5,0,0)
6243
local trl = Instance.new('Trail',wed)
6244
trl.Attachment0 = at1
6245
trl.Attachment1 = at2
6246
trl.Texture = "rbxassetid://1049219073"
6247
trl.LightEmission = 1
6248
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6249
trl.Color = ColorSequence.new(dis.Color)
6250
trl.Lifetime = 0.6
6251
local a = Instance.new("Part",workspace)
6252
	a.Name = "Direction"	
6253
	a.Anchored = true
6254
	a.BrickColor = bc("Bright red")
6255
a.Material = "Neon"
6256
a.Transparency = 1
6257
	a.CanCollide = false
6258
	local ray = Ray.new(
6259
	    dis.CFrame.p,                           -- origin
6260
	    (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
6261
	) 
6262
	local ignore = dis
6263
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
6264
	a.BottomSurface = 10
6265
	a.TopSurface = 10
6266
	local distance = (dis.CFrame.p - position).magnitude
6267
	a.Size = Vector3.new(0.1, 0.1, 0.1)
6268
	a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
6269
dis.CFrame = a.CFrame
6270
dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
6271
a:Destroy()
6272
local bv = Instance.new("BodyVelocity")
6273
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6274
bv.velocity = dis.CFrame.lookVector*250
6275
bv.Parent = dis
6276
game:GetService("Debris"):AddItem(dis, 5)
6277
local hitted = false
6278
coroutine.resume(coroutine.create(function()
6279
dis.Touched:connect(function(hit) 
6280
	if hitted == false and hit.Parent ~= char then
6281
	hitted = true
6282
	CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
6283
	MagniDamage(dis, 30, 82,34575, 0, "Normal")
6284
	--sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
6285
	--sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
6286
	--sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
6287
	coroutine.resume(coroutine.create(function()
6288
		for i = 0, 9 do
6289
local disr = CreateParta(char,1,1,"Neon",keptcolor)
6290
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6291
local at1 = Instance.new("Attachment",disr)
6292
at1.Position = vt(-2,0,0)
6293
local at2 = Instance.new("Attachment",disr)
6294
at2.Position = vt(2,0,0)
6295
local trl = Instance.new('Trail',disr)
6296
trl.Attachment0 = at1
6297
trl.FaceCamera = true
6298
trl.Attachment1 = at2
6299
trl.Texture = "rbxassetid://2342682798"
6300
trl.LightEmission = 1
6301
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6302
trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
6303
trl.Lifetime = 0.5
6304
local bv = Instance.new("BodyVelocity")
6305
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6306
bv.velocity = disr.CFrame.lookVector*math.random(50,200)
6307
bv.Parent = disr
6308
local val = 0
6309
coroutine.resume(coroutine.create(function()
6310
	swait(30)
6311
	for i = 0, 9 do
6312
		swait()
6313
		val = val + 0.1
6314
		trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
6315
	end
6316
game:GetService("Debris"):AddItem(disr, 3)
6317
end))
6318
end
6319
local eff = Instance.new("ParticleEmitter",dis)
6320
eff.Texture = "rbxassetid://2273224484"
6321
eff.LightEmission = 1
6322
eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
6323
eff.Rate = 500000
6324
eff.Lifetime = NumberRange.new(0.5,2)
6325
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
6326
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
6327
eff.Speed = NumberRange.new(20,250)
6328
eff.Drag = 5
6329
eff.Rotation = NumberRange.new(-500,500)
6330
eff.VelocitySpread = 9000
6331
eff.RotSpeed = NumberRange.new(-50,50)
6332
wait(0.25)
6333
eff.Enabled = false
6334
end))
6335
	for i = 0, 9 do
6336
		--slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
6337
	end
6338
for i = 0, 19 do
6339
--
6340
end
6341
coroutine.resume(coroutine.create(function()
6342
for i = 0, 19 do
6343
swait()
6344
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
6345
end
6346
hum.CameraOffset = vt(0,0,0)
6347
end))
6348
dis.Anchored = true
6349
dis.Transparency = 1
6350
wait(8)
6351
dis:Destroy()
6352
end
6353
end)
6354
end))
6355
rot = rot - 15
6356
end
6357
for i = 0,2,0.1 do
6358
swait()
6359
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
6360
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
6361
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
6362
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
6363
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
6364
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
6365
end
6366
attack = false
6367
hum.WalkSpeed = storehumanoidWS
6368
end
6369
6370
function RapidBurst()
6371
attack = true
6372
hum.WalkSpeed = 0
6373
CFuncs["Sound"].Create("rbxassetid://1368598393", char, 8, 0.5)
6374
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 8, 0.5)
6375
CFuncs["EchoSound"].Create("rbxassetid://1864852634", char, 10, 1,0,10,0.15,0.5,1)
6376
bosschatfunc("You're screwed!",MAINRUINCOLOR.Color,2)
6377
local keptcolor = MAINRUINCOLOR
6378
for i = 0,8,0.1 do
6379
swait()
6380
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
6381
--slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
6382
block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
6383
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
6384
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
6385
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
6386
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
6387
RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
6388
LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
6389
end
6390
for i = 0, 99 do
6391
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6392
dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6393
local at1 = Instance.new("Attachment",dis)
6394
at1.Position = vt(-25000,0,0)
6395
local at2 = Instance.new("Attachment",dis)
6396
at2.Position = vt(25000,0,0)
6397
local trl = Instance.new('Trail',dis)
6398
trl.Attachment0 = at1
6399
trl.FaceCamera = true
6400
trl.Attachment1 = at2
6401
trl.Texture = "rbxassetid://1049219073"
6402
trl.LightEmission = 1
6403
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6404
trl.Color = ColorSequence.new(BrickColor.random().Color)
6405
trl.Lifetime = 5
6406
local bv = Instance.new("BodyVelocity")
6407
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6408
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6409
bv.Parent = dis
6410
game:GetService("Debris"):AddItem(dis, 5)
6411
end
6412
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
6413
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
6414
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
6415
sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
6416
sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
6417
sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
6418
sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
6419
CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
6420
CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
6421
CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
6422
hum.CameraOffset = vt(0,0,0)
6423
for i = 0, 24 do
6424
--slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random())
6425
end
6426
local distam = 0
6427
coroutine.resume(coroutine.create(function()
6428
for i = 0, 99 do
6429
	wait()
6430
distam = distam + 1
6431
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6432
xa.Anchored = true
6433
xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
6434
game:GetService("Debris"):AddItem(xa, 5)
6435
for i = 0, 4 do
6436
--slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random())
6437
end
6438
coroutine.resume(coroutine.create(function()
6439
local eff = Instance.new("ParticleEmitter",xa)
6440
eff.Texture = "rbxassetid://2273224484"
6441
eff.LightEmission = 1
6442
eff.Color = ColorSequence.new(BrickColor.random().Color)
6443
eff.Rate = 500000
6444
eff.Lifetime = NumberRange.new(1,3)
6445
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
6446
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
6447
eff.Speed = NumberRange.new(50,500)
6448
eff.Drag = 5
6449
eff.Rotation = NumberRange.new(-500,500)
6450
eff.VelocitySpread = 9000
6451
eff.RotSpeed = NumberRange.new(-50,50)
6452
wait(0.25)
6453
eff.Enabled = false
6454
end))
6455
coroutine.resume(coroutine.create(function()
6456
for i = 0, 19 do
6457
swait()
6458
hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
6459
end
6460
hum.CameraOffset = vt(0,0,0)
6461
end))
6462
CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
6463
--sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
6464
--sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
6465
MagniDamage(xa, 60, 9999,99999, 0, "Normal")
6466
end
6467
end))
6468
attack = false
6469
hum.WalkSpeed = storehumanoidWS
6470
end
6471
6472
6473
function FallenOrbs()
6474
attack = true
6475
hum.WalkSpeed = 2
6476
local keptcolor = MAINRUINCOLOR
6477
CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
6478
CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
6479
local radm = math.random(1,3)
6480
if radm == 1 then
6481
bosschatfunc("This won't be easy for you.",MAINRUINCOLOR.Color,1)
6482
elseif radm == 2 then
6483
bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
6484
elseif radm == 3 then
6485
bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
6486
end
6487
coroutine.resume(coroutine.create(function()
6488
for i = 0, 29 do
6489
swait(2)
6490
local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
6491
dis.Anchored = true
6492
CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
6493
dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
6494
CreateMesh(dis,"Sphere",2,2,2)
6495
--sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
6496
--slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
6497
coroutine.resume(coroutine.create(function()
6498
wait(0.5)
6499
dis.Anchored = false
6500
CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
6501
local at1 = Instance.new("Attachment",dis)
6502
at1.Position = vt(-1,0,0)
6503
local at2 = Instance.new("Attachment",dis)
6504
at2.Position = vt(1,0,0)
6505
local trl = Instance.new('Trail',dis)
6506
trl.Attachment0 = at1
6507
trl.FaceCamera = true
6508
trl.Attachment1 = at2
6509
trl.Texture = "rbxassetid://1049219073"
6510
trl.LightEmission = 1
6511
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6512
trl.Color = ColorSequence.new(dis.Color)
6513
trl.Lifetime = 0.6
6514
local a = Instance.new("Part",workspace)
6515
	a.Name = "Direction"	
6516
	a.Anchored = true
6517
	a.BrickColor = bc("Bright red")
6518
a.Material = "Neon"
6519
a.Transparency = 1
6520
	a.CanCollide = false
6521
	local ray = Ray.new(
6522
	    dis.CFrame.p,                           -- origin
6523
	    (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
6524
	) 
6525
	local ignore = dis
6526
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
6527
	a.BottomSurface = 10
6528
	a.TopSurface = 10
6529
	local distance = (dis.CFrame.p - position).magnitude
6530
	a.Size = Vector3.new(0.1, 0.1, 0.1)
6531
	a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
6532
dis.CFrame = a.CFrame
6533
a:Destroy()
6534
local bv = Instance.new("BodyVelocity")
6535
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6536
bv.velocity = dis.CFrame.lookVector*500
6537
bv.Parent = dis
6538
game:GetService("Debris"):AddItem(dis, 5)
6539
local hitted = false
6540
coroutine.resume(coroutine.create(function()
6541
dis.Touched:connect(function(hit) 
6542
	if hitted == false and hit.Parent ~= char then
6543
	hitted = true
6544
	CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
6545
	MagniDamage(dis, 60, 25456,124672, 0, "Normal")
6546
	--sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
6547
	--sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
6548
	coroutine.resume(coroutine.create(function()
6549
for i = 0, 4 do
6550
local disr = CreateParta(char,1,1,"Neon",keptcolor)
6551
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6552
local at1 = Instance.new("Attachment",disr)
6553
at1.Position = vt(-10,0,0)
6554
local at2 = Instance.new("Attachment",disr)
6555
at2.Position = vt(10,0,0)
6556
local trl = Instance.new('Trail',disr)
6557
trl.Attachment0 = at1
6558
trl.FaceCamera = true
6559
trl.Attachment1 = at2
6560
trl.Texture = "rbxassetid://2342682798"
6561
trl.LightEmission = 1
6562
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6563
trl.Color = ColorSequence.new(disr.Color)
6564
trl.Lifetime = 0.5
6565
local bv = Instance.new("BodyVelocity")
6566
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6567
bv.velocity = disr.CFrame.lookVector*math.random(125,250)
6568
bv.Parent = disr
6569
local val = 0
6570
coroutine.resume(coroutine.create(function()
6571
	swait(30)
6572
	for i = 0, 9 do
6573
		swait()
6574
		val = val + 0.1
6575
		trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
6576
	end
6577
game:GetService("Debris"):AddItem(disr, 3)
6578
end))
6579
end
6580
local eff = Instance.new("ParticleEmitter",dis)
6581
eff.Texture = "rbxassetid://2273224484"
6582
eff.LightEmission = 1
6583
eff.Color = ColorSequence.new(dis.Color)
6584
eff.Rate = 500000
6585
eff.Lifetime = NumberRange.new(0.5,2)
6586
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
6587
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
6588
eff.Speed = NumberRange.new(20,250)
6589
eff.Drag = 5
6590
eff.Rotation = NumberRange.new(-500,500)
6591
eff.VelocitySpread = 9000
6592
eff.RotSpeed = NumberRange.new(-50,50)
6593
wait(0.5)
6594
eff.Enabled = false
6595
end))
6596
	for i = 0, 4 do
6597
		--slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
6598
	end
6599
coroutine.resume(coroutine.create(function()
6600
for i = 0, 19 do
6601
swait()
6602
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
6603
end
6604
hum.CameraOffset = vt(0,0,0)
6605
end))
6606
dis.Anchored = true
6607
dis.Transparency = 1
6608
wait(8)
6609
dis:Destroy()
6610
end
6611
end)
6612
end))
6613
end))
6614
end
6615
end))
6616
for i = 0,9,0.1 do
6617
swait()
6618
sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6619
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
6620
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
6621
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
6622
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3)
6623
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
6624
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
6625
end
6626
attack = false
6627
hum.WalkSpeed = storehumanoidWS
6628
end
6629
6630
function EquinoxOrbs()
6631
hum.WalkSpeed = 0
6632
attack = true
6633
for i = 0,1,0.1 do
6634
swait()
6635
	RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
6636
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
6637
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
6638
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
6639
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
6640
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
6641
end
6642
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
6643
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
6644
for i = 0, 24 do
6645
		--slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
6646
end
6647
CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
6648
CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
6649
CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
6650
CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
6651
for i = 0,4,0.1 do
6652
swait()
6653
root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
6654
local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
6655
CreateMesh(dis,"Sphere",1,1,1)
6656
dis.Anchored = true
6657
dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
6658
local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
6659
CreateMesh(dis2,"Sphere",1,1,1)
6660
dis2.Anchored = true
6661
dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
6662
--sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
6663
--sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
6664
coroutine.resume(coroutine.create(function()
6665
	swait(60)
6666
	dis.Transparency = 1
6667
	dis2.Transparency = 1
6668
coroutine.resume(coroutine.create(function()
6669
for i = 0, 19 do
6670
swait()
6671
hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
6672
end
6673
hum.CameraOffset = vt(0,0,0)
6674
end))
6675
coroutine.resume(coroutine.create(function()
6676
local eff = Instance.new("ParticleEmitter",dis)
6677
eff.Texture = "rbxassetid://2273224484"
6678
eff.LightEmission = 1
6679
eff.Color = ColorSequence.new(dis.Color)
6680
eff.Rate = 500000
6681
eff.Lifetime = NumberRange.new(0.5,2)
6682
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
6683
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
6684
eff.Speed = NumberRange.new(50,450)
6685
eff.Drag = 5
6686
eff.Rotation = NumberRange.new(-500,500)
6687
eff.VelocitySpread = 9000
6688
eff.RotSpeed = NumberRange.new(-50,50)
6689
local eff2 = eff:Clone()
6690
eff2.Parent = dis2
6691
eff2.LightEmission = 0
6692
eff2.Color = ColorSequence.new(dis2.Color)
6693
wait(0.25)
6694
eff.Enabled = false
6695
eff2.Enabled = false
6696
end))
6697
MagniDamage(dis, 55, 89,219788936, 0, "Normal")
6698
MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
6699
	CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
6700
	CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
6701
	CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
6702
	CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
6703
	CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
6704
	CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
6705
	sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
6706
	sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
6707
end))
6708
game:GetService("Debris"):AddItem(dis, 5)
6709
game:GetService("Debris"):AddItem(dis2, 5)
6710
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
6711
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
6712
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
6713
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
6714
RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
6715
LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
6716
end
6717
attack = false
6718
hum.WalkSpeed = storehumanoidWS
6719
end
6720
6721
function EquinoxOrbsGay()
6722
CFuncs["Sound"].Create("rbxassetid://943503813", root, 8,1)
6723
hum.WalkSpeed = 0
6724
attack = true
6725
for i = 0,1,0.1 do
6726
swait()
6727
	RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
6728
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
6729
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
6730
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
6731
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
6732
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
6733
end
6734
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
6735
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
6736
for i = 0, 24 do
6737
		--slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
6738
end
6739
CFuncs["Sound"].Create("rbxassetid://502284205", root, 8,1)
6740
for i = 0,4,0.1 do
6741
swait()
6742
root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
6743
local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
6744
CreateMesh(dis,"Sphere",1,1,1)
6745
dis.Anchored = true
6746
dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
6747
local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
6748
CreateMesh(dis2,"Sphere",1,1,1)
6749
dis2.Anchored = true
6750
dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
6751
--sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
6752
--sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
6753
coroutine.resume(coroutine.create(function()
6754
	swait(60)
6755
	dis.Transparency = 1
6756
	dis2.Transparency = 1
6757
coroutine.resume(coroutine.create(function()
6758
for i = 0, 19 do
6759
swait()
6760
hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
6761
end
6762
hum.CameraOffset = vt(0,0,0)
6763
end))
6764
coroutine.resume(coroutine.create(function()
6765
local eff = Instance.new("ParticleEmitter",dis)
6766
eff.Texture = "rbxassetid://2273224484"
6767
eff.LightEmission = 1
6768
eff.Color = ColorSequence.new(dis.Color)
6769
eff.Rate = 500000
6770
eff.Lifetime = NumberRange.new(0.5,2)
6771
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
6772
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
6773
eff.Speed = NumberRange.new(50,450)
6774
eff.Drag = 5
6775
eff.Rotation = NumberRange.new(-500,500)
6776
eff.VelocitySpread = 9000
6777
eff.RotSpeed = NumberRange.new(-50,50)
6778
local eff2 = eff:Clone()
6779
eff2.Parent = dis2
6780
eff2.LightEmission = 0
6781
eff2.Color = ColorSequence.new(dis2.Color)
6782
wait(0.25)
6783
eff.Enabled = false
6784
eff2.Enabled = false
6785
end))
6786
MagniDamage(dis, 55, 89,219788936, 0, "Normal")
6787
MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
6788
	sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
6789
	sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
6790
end))
6791
game:GetService("Debris"):AddItem(dis, 5)
6792
game:GetService("Debris"):AddItem(dis2, 5)
6793
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
6794
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
6795
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
6796
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
6797
RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
6798
LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
6799
end
6800
attack = false
6801
hum.WalkSpeed = storehumanoidWS
6802
end
6803
function FallenDEMISE()
6804
attack = true
6805
hum.WalkSpeed = 0
6806
local keptcolor = MAINRUINCOLOR
6807
--bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
6808
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
6809
CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
6810
for i = 0, 15, 0.1 do
6811
swait()
6812
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6813
dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6814
local at1 = Instance.new("Attachment",dis)
6815
at1.Position = vt(-25000,0,0)
6816
local at2 = Instance.new("Attachment",dis)
6817
at2.Position = vt(25000,0,0)
6818
local trl = Instance.new('Trail',dis)
6819
trl.Attachment0 = at1
6820
trl.FaceCamera = true
6821
trl.Attachment1 = at2
6822
trl.Texture = "rbxassetid://1049219073"
6823
trl.LightEmission = 1
6824
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6825
trl.Color = ColorSequence.new(dis.Color)
6826
trl.Lifetime = 5
6827
local bv = Instance.new("BodyVelocity")
6828
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6829
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6830
bv.Parent = dis
6831
game:GetService("Debris"):AddItem(dis, 1)
6832
sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
6833
--slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
6834
--slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
6835
RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
6836
LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
6837
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
6838
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
6839
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
6840
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
6841
end
6842
CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
6843
for i = 0, 30, 0.1 do
6844
swait()
6845
coroutine.resume(coroutine.create(function()
6846
for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
6847
if v:FindFirstChild('Head') then
6848
dmg(v)
6849
end
6850
end
6851
end))
6852
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6853
dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6854
local at1 = Instance.new("Attachment",dis)
6855
at1.Position = vt(-50000,0,0)
6856
local at2 = Instance.new("Attachment",dis)
6857
at2.Position = vt(50000,0,0)
6858
local trl = Instance.new('Trail',dis)
6859
trl.Attachment0 = at1
6860
trl.FaceCamera = true
6861
trl.Attachment1 = at2
6862
trl.Texture = "rbxassetid://1049219073"
6863
trl.LightEmission = 1
6864
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6865
trl.Color = ColorSequence.new(dis.Color)
6866
trl.Lifetime = 10
6867
local bv = Instance.new("BodyVelocity")
6868
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6869
bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
6870
bv.Parent = dis
6871
game:GetService("Debris"):AddItem(dis, math.random(1,4))
6872
--sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
6873
--sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
6874
--sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
6875
--sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
6876
--slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
6877
--slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
6878
for i = 0, 2 do
6879
--slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR)
6880
end
6881
RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
6882
LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
6883
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
6884
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
6885
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
6886
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
6887
end
6888
attack = false
6889
hum.WalkSpeed = storehumanoidWS
6890
end
6891
6892
function hugg()
6893
attack = true
6894
hum.WalkSpeed = 5
6895
local rsiz = math.random(5,15)
6896
for i = 0, 2, 0.1 do
6897
swait()
6898
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
6899
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
6900
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
6901
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
6902
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
6903
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
6904
end
6905
CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
6906
	local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6907
	hb.Anchored = true
6908
	hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6909
local huggedperson = nil
6910
local act = false
6911
local alreadydid = false
6912
for i = 0, 3, 0.1 do
6913
swait()
6914
if act == false then
6915
for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
6916
if v:FindFirstChild('Head') then
6917
if alreadydid == false then
6918
huggedperson = v
6919
hum.WalkSpeed = 0
6920
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
6921
CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
6922
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
6923
CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
6924
local radm = math.random(1,3)
6925
if radm == 1 then
6926
bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
6927
elseif radm == 2 then
6928
bosschatfunc("I..I'm interested in you..",MAINRUINCOLOR.Color,1)
6929
elseif radm == 3 then
6930
bosschatfunc("Don't worry.. I'm with you..",MAINRUINCOLOR.Color,1)
6931
end
6932
root.Anchored = true
6933
coroutine.resume(coroutine.create(function()
6934
huggedperson.Humanoid.WalkSpeed = 0
6935
huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
6936
end))
6937
chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
6938
alreadydid = true
6939
act = true
6940
print(huggedperson.Name)
6941
end
6942
end
6943
end
6944
hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6945
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
6946
elseif act == true then
6947
coroutine.resume(coroutine.create(function()
6948
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6949
end))
6950
rsiz = math.random(5,15)
6951
sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
6952
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1)
6953
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6954
end
6955
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
6956
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
6957
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
6958
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6959
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6960
end
6961
hb:Destroy()
6962
if act == true then
6963
for x = 0, 2 do
6964
for i = 0, 2, 0.1 do
6965
swait()
6966
coroutine.resume(coroutine.create(function()
6967
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6968
end))
6969
rsiz = math.random(5,15)
6970
sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
6971
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1)
6972
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6973
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
6974
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
6975
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
6976
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6977
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6978
end
6979
for i = 0, 2, 0.1 do
6980
swait()
6981
coroutine.resume(coroutine.create(function()
6982
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6983
end))
6984
rsiz = math.random(5,15)
6985
sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
6986
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1)
6987
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6988
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
6989
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
6990
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
6991
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6992
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6993
end
6994
end
6995
end
6996
hum.WalkSpeed = storehumanoidWS
6997
root.Anchored = false
6998
if act == true then
6999
coroutine.resume(coroutine.create(function()
7000
huggedperson.Humanoid.WalkSpeed = 16
7001
huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
7002
end))
7003
end
7004
hum.WalkSpeed = storehumanoidWS
7005
attack = false
7006
end
7007
-------------------------------------
7008
7009
Humanoid.Animator.Parent = nil
7010
7011
-------------------------------------
7012
7013
local attacktype = 1
7014
mouse.Button1Down:connect(function()
7015
  if attack == false and attacktype == 1 then
7016
    attacktype = 2
7017
    attackone()
7018
  elseif attack == false and attacktype == 2 then
7019
    attacktype = 3
7020
    attacktwo()
7021
  elseif attack == false and attacktype == 3 then
7022
    attacktype = 1
7023
    attackthree()
7024
  elseif attack == false and attacktype == 4 then
7025
    attacktype = 1
7026
    --attackfour()
7027
  end
7028
end)
7029
mouse.KeyDown:connect(function(k)
7030
if k == "q" and attack == false and ModeOfGlitch ~= 1 then
7031
--normalmog() ---Disabled due to crashing... only in VSB
7032
ModeOfGlitch = 1
7033
glitchermode = "spectrum"
7034
storehumanoidWS = 16
7035
hum.WalkSpeed = 16
7036
rainbowmode = false
7037
chaosmode = false
7038
newTheme("rbxassetid://283729032",48.6,1,1.25)
7039
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7040
RecolorTextAndRename("LUNATIC",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
7041
MAINRUINCOLOR = BrickColor.new("Really red")
7042
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
7043
end
7044
if k == "e" and attack == false and ModeOfGlitch ~= 2 and glitchermode == "spectrum" then
7045
ModeOfGlitch = 2
7046
storehumanoidWS = 16
7047
hum.WalkSpeed = 16
7048
rainbowmode = false
7049
chaosmode = false
7050
RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
7051
newTheme("rbxassetid://1284184245",0,1,1.25)
7052
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7053
MAINRUINCOLOR = BrickColor.new("Toothpaste")
7054
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7055
end
7056
if k == "e" and attack == false and ModeOfGlitch ~= 1002 and glitchermode == "diversal" then
7057
ModeOfGlitch = 1002
7058
storehumanoidWS = 16
7059
hum.WalkSpeed = 16
7060
rainbowmode = false
7061
chaosmode = false
7062
RecolorTextAndRename("CLARITY",Color3.new(0.8,1,1),Color3.new(1,1,1),"Code")
7063
newTheme("rbxassetid://2271033460",0,1,1.25)
7064
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7065
MAINRUINCOLOR = BrickColor.new("Pastel blue")
7066
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,0,MAINRUINCOLOR,true,true)
7067
end
7068
if k == "r" and attack == false and ModeOfGlitch ~= 3 and glitchermode == "spectrum" then
7069
               ModeOfGlitch = 3
7070
storehumanoidWS = 16
7071
hum.WalkSpeed = 16
7072
rainbowmode = false
7073
chaosmode = false
7074
RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
7075
newTheme("rbxassetid://1514023927",58.15,0.98,1.25)
7076
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7077
MAINRUINCOLOR = BrickColor.new("Royal purple")
7078
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7079
end
7080
if k == "r" and attack == false and ModeOfGlitch ~= 2334 and glitchermode == "diversal" then
7081
               ModeOfGlitch = 2334
7082
storehumanoidWS = 16
7083
hum.WalkSpeed = 16
7084
rainbowmode = false
7085
chaosmode = false
7086
RecolorTextAndRename("memer",Color3.new(0,0,0.5),Color3.new(0,0,1),"Antique")
7087
newTheme("rbxassetid://217774230",0,1,1.25)
7088
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7089
MAINRUINCOLOR = BrickColor.new("Deep blue")
7090
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
7091
chatfunc("imagine porting animations",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
7092
wait(2)
7093
chatfunc("this post was made by og anims gang",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
7094
end
7095
if k == "t" and attack == false and ModeOfGlitch ~= 2335 and glitchermode == "diversal" then
7096
               ModeOfGlitch = 2335
7097
storehumanoidWS = 16
7098
hum.WalkSpeed = 16
7099
rainbowmode = false
7100
chaosmode = false
7101
RecolorTextAndRename("DIVINITY X",Color3.new(1,1,0.5),Color3.new(11,1),"Antique")
7102
newTheme("rbxassetid://2593058535",0,1,1.25)
7103
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7104
MAINRUINCOLOR = BrickColor.new("New Yeller")
7105
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,0,MAINRUINCOLOR,false,true)
7106
7107
end
7108
if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 41 then
7109
               ModeOfGlitch = 41
7110
storehumanoidWS = 19
7111
hum.WalkSpeed = 19
7112
rainbowmode = false
7113
chaosmode = false
7114
RecolorTextAndRename("RIVER STYX",Color3.new(1,0,1),Color3.new(0,0,0),"Antique")
7115
newTheme("rbxassetid://1513905128",0,0.9,1.25)
7116
hed.face.Texture = "http://www.roblox.com/asset/?id=8329434"
7117
MAINRUINCOLOR = BrickColor.new("Plum")
7118
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7119
end
7120
if k == "m" and attack == false and ModeOfGlitch == 41 and ModeOfGlitch ~= 412 then
7121
               ModeOfGlitch = 412
7122
storehumanoidWS = 30
7123
hum.WalkSpeed = 30
7124
rainbowmode = false
7125
chaosmode = false
7126
RecolorTextAndRename("E C H O E S",Color3.new(0.2,0.2,0.2),Color3.new(0.5,0,0.5),"Antique")
7127
newTheme("rbxassetid://1832953575",0,1.2,1.25)
7128
hed.face.Texture = "http://www.roblox.com/asset/?id=8329434"
7129
MAINRUINCOLOR = BrickColor.new("Really red")
7130
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7131
end
7132
if k == "t" and attack == false and ModeOfGlitch ~= 4 and glitchermode == "spectrum" then
7133
               ModeOfGlitch = 4
7134
storehumanoidWS = 16
7135
hum.WalkSpeed = 16
7136
rainbowmode = false
7137
chaosmode = true
7138
RecolorTextAndRename("CHAOS",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
7139
newTheme("rbxassetid://148915250",0,1.01,1.25)
7140
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7141
MAINRUINCOLOR = BrickColor.new("Black")
7142
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7143
end
7144
if k == "y" and attack == false and ModeOfGlitch ~= 765688533321 and glitchermode == "diversal" then
7145
               ModeOfGlitch = 765688533321
7146
storehumanoidWS = 260
7147
hum.WalkSpeed = 260
7148
rainbowmode = false
7149
chaosmode = false
7150
RecolorTextAndRename("UNSTABLE",Color3.new(1,1,1),Color3.new(1,0,0),"Arcade")
7151
disably = false
7152
disably = true
7153
newTheme("rbxassetid://899090278",0,1.005,1.75)
7154
MAINRUINCOLOR = BrickColor.new("Really black")
7155
RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Crimson"),0,BrickColor.new("Really black"),true,true)
7156
end
7157
if k == "y" and attack == false and ModeOfGlitch ~= 5 and glitchermode == "spectrum" then
7158
               ModeOfGlitch = 5
7159
storehumanoidWS = 16
7160
hum.WalkSpeed = 16
7161
rainbowmode = false
7162
chaosmode = false
7163
RecolorTextAndRename("SORCERY",Color3.new(0,0,1),Color3.new(0.5,0,0.5),"SciFi")
7164
newTheme("rbxassetid://966502459",0,1.02,1.25)
7165
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7166
MAINRUINCOLOR = BrickColor.new("Really red")
7167
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7168
end
7169
if k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 2019 then
7170
               ModeOfGlitch = 2019
7171
storehumanoidWS = 375
7172
hum.WalkSpeed = 375
7173
rainbowmode = false
7174
chaosmode = false
7175
RecolorTextAndRename("THEORIES",Color3.new(1,1,0),Color3.new(0.5,1,0.5),"SciFi")
7176
newTheme("rbxassetid://2547817338",0,1.02,1.25)
7177
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7178
MAINRUINCOLOR = BrickColor.new("New Yeller")
7179
RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7180
end
7181
if k == "b" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1999 then
7182
               ModeOfGlitch = 1999
7183
storehumanoidWS = 375
7184
hum.WalkSpeed = 375
7185
rainbowmode = false
7186
chaosmode = false
7187
RecolorTextAndRename("BELIEF",Color3.new(1,0,1),Color3.new(1,0.5,0),"SciFi")
7188
newTheme("rbxassetid://150486669",0,1.02,1.25)
7189
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7190
MAINRUINCOLOR = BrickColor.new("Plum")
7191
RecolorThing(MAINRUINCOLOR,BrickColor.new("Deep orange"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7192
end
7193
if k == "u" and attack == false and ModeOfGlitch ~= 6 and glitchermode == "spectrum" then
7194
               ModeOfGlitch = 6
7195
storehumanoidWS = 100
7196
hum.WalkSpeed = 100
7197
rainbowmode = false
7198
chaosmode = false
7199
RecolorTextAndRename("EQUINOX",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
7200
newTheme("rbxassetid://1433146997",0,1.01,1.25)
7201
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7202
MAINRUINCOLOR = BrickColor.new("White")
7203
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7204
end
7205
if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 69 then
7206
               ModeOfGlitch = 69
7207
storehumanoidWS = 100
7208
hum.WalkSpeed = 100
7209
rainbowmode = true
7210
chaosmode = false
7211
RecolorTextAndRename("GRACEFUL",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
7212
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7213
newTheme("rbxassetid://186294875",0,1.01,1.25)
7214
MAINRUINCOLOR = BrickColor.new("New Yeller")
7215
RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7216
end
7217
if k == "b" and attack == false and ModeOfGlitch == 8889 and ModeOfGlitch ~= 74 then
7218
               ModeOfGlitch = 74
7219
storehumanoidWS = 100
7220
hum.WalkSpeed = 100
7221
rainbowmode = true
7222
chaosmode = false
7223
RecolorTextAndRename("RESURRECTION BLOSSOM",Color3.new(0.5,1,0.5),Color3.new(1,0.5,1),"Fantasy")
7224
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7225
newTheme("rbxassetid://1302143473",0,1.01,1.25)
7226
MAINRUINCOLOR = BrickColor.new("Hot pink")
7227
RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7228
end
7229
if k == "f" and attack == false and ModeOfGlitch ~= 8 and glitchermode == "spectrum" then
7230
               ModeOfGlitch = 8
7231
storehumanoidWS = 140
7232
hum.WalkSpeed = 140
7233
rainbowmode = false
7234
chaosmode = false
7235
RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
7236
newTheme("rbxassetid://317205389",0,1.01,1.25)
7237
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7238
MAINRUINCOLOR = BrickColor.new("Alder")
7239
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7240
end
7241
if k == "g" and attack == false and ModeOfGlitch ~= 9 and glitchermode == "spectrum" then
7242
               ModeOfGlitch = 9
7243
storehumanoidWS = 150
7244
hum.WalkSpeed = 150
7245
rainbowmode = false
7246
chaosmode = false
7247
RecolorTextAndRename("INFECTION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
7248
newTheme("rbxassetid://1347151661",0,1,1.25)
7249
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7250
MAINRUINCOLOR = BrickColor.new("Deep blue")
7251
RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7252
end
7253
if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 712 then
7254
               ModeOfGlitch = 712
7255
storehumanoidWS = 570
7256
hum.WalkSpeed = 570
7257
rainbowmode = false
7258
chaosmode = false
7259
RecolorTextAndRename("PLAGUE",Color3.new(0,1,0),Color3.new(0,0.5,0),"Fantasy")
7260
newTheme("rbxassetid://149966328",0,1,1.25)
7261
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7262
MAINRUINCOLOR = BrickColor.new("Forest green")
7263
RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7264
end
7265
if k == "h" and attack == false and ModeOfGlitch ~= 81 and glitchermode == "spectrum" then
7266
               ModeOfGlitch = 81
7267
storehumanoidWS = 16
7268
hum.WalkSpeed = 16
7269
rainbowmode = false
7270
chaosmode = false
7271
RecolorTextAndRename("ACE-OF-SPADES",Color3.new(1,1,0),Color3.new(0,0,0),"Bodoni")
7272
newTheme("rbxassetid://175098341",0,1.2,1.25)
7273
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7274
MAINRUINCOLOR = BrickColor.new("New Yeller")
7275
RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7276
end
7277
if k == "j" and attack == false and ModeOfGlitch ~= 34 and glitchermode == "spectrum" then
7278
               ModeOfGlitch = 34
7279
storehumanoidWS = 16
7280
hum.WalkSpeed = 16
7281
rainbowmode = false
7282
chaosmode = false
7283
RecolorTextAndRename("HIDDEN GOD",Color3.new(1,0.5,0),Color3.new(0,0,1),"Bodoni")
7284
newTheme("rbxassetid://974557102",0,1,1.25)
7285
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7286
MAINRUINCOLOR = BrickColor.new("Forest green")
7287
RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7288
end
7289
if k == "k" and attack == false and ModeOfGlitch ~= 11 and glitchermode == "spectrum" then
7290
               ModeOfGlitch = 11
7291
storehumanoidWS = 700
7292
hum.WalkSpeed = 700
7293
rainbowmode = true
7294
chaosmode = false
7295
RecolorTextAndRename("~*FANTASY*~",Color3.new(1,0.5,0.5),Color3.new(1,0,1),"Fantasy")
7296
newTheme("rbxassetid://566327116",0,1,1.25)
7297
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7298
MAINRUINCOLOR = BrickColor.new("Plum")
7299
RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7300
end
7301
if k == "p" and attack == false and ModeOfGlitch ~= 676767 then
7302
               ModeOfGlitch = 676767
7303
storehumanoidWS = 600
7304
hum.WalkSpeed = 600
7305
rainbowmode = true
7306
chaosmode = false
7307
RecolorTextAndRename("DIVERSITY",Color3.new(1,1,1),Color3.new(1,0,1),"Fantasy")
7308
glitchermode = "diversal"
7309
newTheme("rbxassetid://603567552",0,1,1.25)
7310
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7311
MAINRUINCOLOR = BrickColor.new("Royal purple")
7312
RecolorThing(BrickColor.new("Royal purple"),BrickColor.new("Royal purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Plum"),0,BrickColor.new("Plum"),true,true)
7313
--warnedpeople("I MADE THIS HELL JUST FOR YOU.","Antique",MAINRUINCOLOR.Color,BrickColor.new("Plum").Color)
7314
end
7315
if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 12 then
7316
               ModeOfGlitch = 12
7317
storehumanoidWS = 6
7318
hum.WalkSpeed = 6
7319
rainbowmode = false
7320
chaosmode = false
7321
RecolorTextAndRename("SCHIZOPHRENIA",Color3.new(1,0,1),Color3.new(1,0,0),"Fantasy")
7322
newTheme("rbxassetid://317199050",0,1,1.25)
7323
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7324
MAINRUINCOLOR = BrickColor.new("Plum")
7325
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7326
end
7327
if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
7328
               ModeOfGlitch = 8889
7329
storehumanoidWS = 180
7330
hum.WalkSpeed = 180
7331
rainbowmode = false
7332
chaosmode = false
7333
RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
7334
newTheme("rbxassetid://1214650518",0,1.01,1.25)
7335
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7336
MAINRUINCOLOR = BrickColor.new("Really Red")
7337
RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7338
end
7339
if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
7340
               ModeOfGlitch = 55469696922
7341
CFuncs["Sound"].Create("rbxassetid://576588160", char, 10, 1,0,10,0.15,0.5,1)
7342
storehumanoidWS = 24
7343
hum.WalkSpeed = 24
7344
rainbowmode = false
7345
chaosmode = false
7346
RecolorTextAndRename("anime mode",Color3.new(1,0.5,1),BrickColor.new("Hot pink").Color,"Cartoon")
7347
bosschatfunc("notice me senpai",MAINRUINCOLOR.Color,1)
7348
7349
newTheme("rbxassetid://1459585892",0,1.005,1.25)
7350
hed.face.Texture = "http://www.roblox.com/asset/?id=2568608091"
7351
MAINRUINCOLOR = BrickColor.new("Hot pink")
7352
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7353
end
7354
if k == "u" and attack == false and ModeOfGlitch ~= 102 and glitchermode == "diversal" then
7355
               ModeOfGlitch = 102
7356
storehumanoidWS = 18
7357
hum.WalkSpeed = 18
7358
rainbowmode = false
7359
chaosmode = false
7360
RecolorTextAndRename("U-K-E",Color3.new(1,1,0),BrickColor.new("White").Color,"Cartoon")
7361
newTheme("rbxassetid://1426044282",0,1.005,1.25)
7362
hed.face.Texture = "http://www.roblox.com/asset/?id=2568608091"
7363
MAINRUINCOLOR = BrickColor.new("New Yeller")
7364
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7365
end
7366
7367
if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
7368
               ModeOfGlitch = 4367677813
7369
storehumanoidWS = 225
7370
hum.WalkSpeed = 225
7371
rainbowmode = false
7372
chaosmode = false
7373
RecolorTextAndRename("BRIGHTNESS",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
7374
newTheme("rbxassetid://1585580500",0,1.01,1.25)
7375
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7376
MAINRUINCOLOR = BrickColor.new("Baby blue")
7377
RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7378
end
7379
if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 7652 then
7380
               ModeOfGlitch = 7652
7381
storehumanoidWS = 56
7382
hum.WalkSpeed = 56
7383
rainbowmode = false
7384
chaosmode = false
7385
RecolorTextAndRename("NATIVE FAITH",Color3.new(0,0,0),BrickColor.new("Forest Green").Color,"Arcade")
7386
newTheme("rbxassetid://1406035861",0,1.01,1.25)
7387
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7388
MAINRUINCOLOR = BrickColor.new("Black")
7389
RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7390
end
7391
if k == "b" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 8008135 then
7392
               ModeOfGlitch = 8008135
7393
storehumanoidWS = 70
7394
hum.WalkSpeed = 70
7395
rainbowmode = false
7396
chaosmode = false
7397
RecolorTextAndRename("JUDGEMENT",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
7398
newTheme("rbxassetid://960136731",0,1.01,1.25)
7399
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7400
MAINRUINCOLOR = BrickColor.new("Toothpaste")
7401
RecolorThing(MAINRUINCOLOR,BrickColor.new("New yeller"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7402
end
7403
if k == "m" and attack == false and ModeOfGlitch == 1264532489 and ModeOfGlitch ~= 9999999921111 then
7404
attack = true
7405
newTheme("rbxassetid://2066150940",0,1,1.25)
7406
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7407
wait(0.2)
7408
timepos = 0
7409
wait(38)
7410
ModeOfGlitch = 9999999921111
7411
storehumanoidWS = 300
7412
hum.WalkSpeed = 300
7413
rainbowmode = false
7414
chaosmode = false
7415
RecolorTextAndRename("OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
7416
MAINRUINCOLOR = BrickColor.new("Bright bluish green")
7417
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7418
end
7419
wait(2)
7420
attack = false
7421
if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
7422
               ModeOfGlitch = 999999999556
7423
storehumanoidWS = 500
7424
hum.WalkSpeed = 500
7425
rainbowmode = false
7426
chaosmode = false
7427
RecolorTextAndRename("CRAZED",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
7428
newTheme("rbxassetid://635829691",0,1.02,1.25)
7429
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7430
MAINRUINCOLOR = BrickColor.new("Navy blue")
7431
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7432
end
7433
if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
7434
               ModeOfGlitch = 1264532489
7435
storehumanoidWS = 250
7436
hum.WalkSpeed = 250
7437
rainbowmode = false
7438
chaosmode = false
7439
RecolorTextAndRename("ALPHA",Color3.new(1,0.5,1),BrickColor.new("Hot pink").Color,"Antique")
7440
newTheme("rbxassetid://1286905771",0,1.01,1.25)
7441
hed.face.Texture = "http://www.roblox.com/asset/?id=168332209"
7442
MAINRUINCOLOR = BrickColor.new("Pastel green")
7443
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7444
end
7445
if k == "l" and mutedtog == false then
7446
mutedtog = true
7447
kan.Volume = 0
7448
elseif k == "l" and mutedtog == true then
7449
mutedtog = false
7450
kan.Volume = 1.25
7451
end
7452
if k == "z" and attack == false and ModeOfGlitch == 1 then
7453
ExtinctiveHeartbreak()
7454
elseif k == "z" and attack == false and ModeOfGlitch == 2 then
7455
HeavenlyDisk()
7456
elseif k == "z" and attack == false and ModeOfGlitch == 3 then
7457
CorruptionEvent()
7458
elseif k == "z" and attack == false and ModeOfGlitch == 4 then
7459
RapidBurst()
7460
elseif k == "z" and attack == false and ModeOfGlitch == 5 then
7461
HeavenlyDisk()
7462
elseif k == "z" and attack == false and ModeOfGlitch == 6 then
7463
EquinoxOrbs()
7464
elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
7465
FallenOrbs()
7466
elseif k == "z" and attack == false and ModeOfGlitch == 55469696922 then
7467
EquinoxOrbsGay()
7468
elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
7469
hed.face.Texture = "http://www.roblox.com/asset/?id=1581354575"
7470
CFuncs["Sound"].Create("rbxassetid://1375158940", char, 10, 1,0,10,0.15,0.5,1)
7471
wait(6)
7472
hed.face.Texture = "http://www.roblox.com/asset/?id=2568608091"
7473
elseif k == "c" and attack == false and ModeOfGlitch == 55469696922 then
7474
CFuncs["LongSound"].Create("rbxassetid://2610540529", char, 10, 1,0,10,0.15,0.5,1)
7475
elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
7476
CFuncs["LongSound"].Create("rbxassetid://533873447", char, 10, 1,0,10,0.15,0.5,1)
7477
elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
7478
hed.face.Texture = "http://www.roblox.com/asset/?id=405704879"
7479
CFuncs["LongSound"].Create("rbxassetid://358094397", char, 10, 1,0,10,0.15,0.5,1)
7480
wait(3)
7481
hed.face.Texture = "http://www.roblox.com/asset/?id=2568608091"
7482
elseif k == "i" and attack == false and ModeOfGlitch == 55469696922 then
7483
CFuncs["LongSound"].Create("rbxassetid://2607544190", char, 10, 0.25,0,10,0.15,0.5,1)
7484
elseif k == "o" and attack == false and ModeOfGlitch == 55469696922 then
7485
CFuncs["LongSound"].Create("rbxassetid://12222242", char, 10, 1,0,10,0.15,0.5,1)
7486
end
7487
if k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
7488
CorruptionEvent()
7489
FallenOrbs()
7490
end
7491
if k == "x" and attack == false and ModeOfGlitch == 1 then
7492
EndGROUND()
7493
end
7494
if k == "x" and attack == false and ModeOfGlitch == 81 then
7495
EndGROUND()
7496
end
7497
if k == "z" and attack == false and ModeOfGlitch == 81 then
7498
EquinoxOrbsGay()
7499
end
7500
if k == "c" and attack == false and ModeOfGlitch == 102 then
7501
hugg()
7502
end
7503
end)
7504
7505
--[[coroutine.resume(coroutine.create(function()
7506
while true do
7507
swait(2)
7508
if chaosmode == true then
7509
tl1.Color = ColorSequence.new(BrickColor.random().Color)
7510
tl2.Color = ColorSequence.new(BrickColor.random().Color)
7511
tl3.Color = ColorSequence.new(BrickColor.random().Color)
7512
RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
7513
for i, v in pairs(mw1:GetChildren()) do
7514
if v:IsA("Part") then
7515
v.Transparency = 0.75
7516
v.BrickColor = BrickColor.random()
7517
v.Material = "Neon"
7518
end
7519
end
7520
for i, v in pairs(m2:GetChildren()) do
7521
if v:IsA("Part") then
7522
v.BrickColor = BrickColor.random()
7523
v.Material = "Neon"
7524
end
7525
end
7526
end
7527
end
7528
end))]]--
7529
Humanoid.Name = "STARGLITCHER"
7530
Humanoid.MaxHealth = math.huge
7531
Humanoid.Health = math.huge
7532
Humanoid.NameDisplayDistance = 100
7533
7534
Instance.new("ForceField",char).Visible = false
7535
7536
local bguis = Instance.new("BillboardGui",tors)
7537
bguis.Size = UDim2.new(25, 0, 25, 0)
7538
local imgca = Instance.new("ImageLabel",bguis)
7539
imgca.BackgroundTransparency = 1
7540
imgca.ImageTransparency = 1
7541
imgca.Size = UDim2.new(1,0,1,0)
7542
imgca.Image = "rbxassetid://177470913" --997291547,521073910,2312119891
7543
imgca.ImageColor3 = Color3.new(0,0,0)
7544
7545
idleanim=.4
7546
while true do
7547
if mutedtog == false then
7548
kan.Volume = currentVol
7549
elseif mutedtog == true then
7550
kan.Volume = 0
7551
end
7552
kan.PlaybackSpeed = currentPitch
7553
kan.Pitch = currentPitch
7554
kan.SoundId = currentThemePlaying
7555
kan.Looped = true
7556
kan.Parent = char
7557
kan:Resume()
7558
if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 7652 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
7559
imgca.ImageTransparency = 1
7560
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 7652 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
7561
imgca.ImageColor3 = MAINRUINCOLOR.Color
7562
imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
7563
end
7564
imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
7565
bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
7566
coroutine.resume(coroutine.create(function()
7567
	if chaosmode == true then
7568
for i, v in pairs(mw1:GetChildren()) do
7569
if v:IsA("Part") then
7570
v.Transparency = 0
7571
v.BrickColor = BrickColor.random()
7572
v.Material = "Neon"
7573
end
7574
end
7575
tl1.Color = ColorSequence.new(BrickColor.random().Color)
7576
tl2.Color = ColorSequence.new(BrickColor.random().Color)
7577
tl3.Color = ColorSequence.new(BrickColor.random().Color)
7578
	RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
7579
	end
7580
end))
7581
if chaosmode == false then
7582
modet.Position = UDim2.new(0,0,0,0)
7583
modet.Rotation = -5 * math.cos(sine / 32)
7584
techc.Rotation = techc.Rotation + 1
7585
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
7586
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
7587
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
7588
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
7589
ned.Rotation = 0 - 2 * math.cos(sine / 24)
7590
ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
7591
else
7592
	techc.Rotation = techc.Rotation + 1
7593
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
7594
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
7595
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
7596
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
7597
ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
7598
ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
7599
modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
7600
modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
7601
end
7602
CameraManager()
7603
swait()
7604
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
7605
lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
7606
lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
7607
lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
7608
lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
7609
lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
7610
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
7611
rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
7612
rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
7613
rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
7614
rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
7615
rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
7616
 sine = sine + change
7617
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
7618
local velderp=RootPart.Velocity.y
7619
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
7620
if equipped==true or equipped==false then
7621
if attack==false then
7622
idle=idle+1
7623
else
7624
idle=0
7625
end
7626
if idle>=500 then
7627
if attack==false then
7628
--Sheath()
7629
end
7630
end
7631
if RootPart.Velocity.y > 1 and hitfloor==nil then 
7632
Anim="Jump"
7633
if attack==false then
7634
RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
7635
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
7636
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
7637
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
7638
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
7639
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
7640
end
7641
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
7642
Anim="Fall"
7643
if attack==false then
7644
RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
7645
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
7646
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
7647
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
7648
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
7649
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
7650
end
7651
elseif torvel<1 and hitfloor~=nil then
7652
Anim="Idle"
7653
if attack==false then
7654
if ModeOfGlitch == 1 or ModeOfGlitch == 12 then
7655
local snap = math.random(1,10)
7656
if snap == 1 then
7657
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
7658
end
7659
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
7660
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
7661
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
7662
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
7663
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
7664
LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
7665
elseif ModeOfGlitch == 2 or ModeOfGlitch == 1002 then
7666
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
7667
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
7668
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
7669
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
7670
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
7671
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
7672
elseif ModeOfGlitch == 3 or ModeOfGlitch == 81 then
7673
local snap = math.random(1,32)
7674
if snap == 1 then
7675
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
7676
end
7677
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
7678
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
7679
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
7680
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
7681
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
7682
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
7683
elseif ModeOfGlitch == 4 or ModeOfGlitch == 41 then
7684
local snap = math.random(1,5)
7685
if snap == 1 then
7686
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
7687
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
7688
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
7689
end
7690
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
7691
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
7692
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
7693
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
7694
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
7695
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
7696
elseif ModeOfGlitch == 5 then
7697
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
7698
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
7699
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
7700
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
7701
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
7702
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
7703
elseif ModeOfGlitch == 6 or ModeOfGlitch == 412 or ModeOfGlitch == 69 then
7704
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
7705
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
7706
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
7707
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
7708
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1)
7709
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
7710
elseif ModeOfGlitch == 8 then
7711
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
7712
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
7713
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1)
7714
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1)
7715
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
7716
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
7717
elseif ModeOfGlitch == 9 or ModeOfGlitch == 34 or ModeOfGlitch == 712 or ModeOfGlitch == 2334 or ModeOfGlitch == 2335 then
7718
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
7719
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
7720
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
7721
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
7722
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1)
7723
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
7724
elseif ModeOfGlitch == 8889 or ModeOfGlitch == 74 or ModeOfGlitch == 8008135 or ModeOfGlitch == 2019 or ModeOfGlitch == 1999 then
7725
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
7726
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
7727
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
7728
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
7729
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
7730
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
7731
elseif ModeOfGlitch == 1264532489 then
7732
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
7733
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
7734
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
7735
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
7736
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
7737
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
7738
elseif ModeOfGlitch == 676767 or ModeOfGlitch == 765688533321 then
7739
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
7740
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
7741
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6 + 0.5 * math.cos(sine / 24))*angles(math.rad(10 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
7742
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 1 * math.cos(sine / 0.5265)),math.rad(0 - 1 * math.cos(sine / 0.25)),math.rad(0 - 1 * math.cos(sine / 0.465))),.1)
7743
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
7744
LW.C0=clerp(LW.C0,cf(-1.3,0.7,0)*angles(math.rad(0 + 1 * math.cos(sine / 0.568)),math.rad(15 - 5 * math.cos(sine / 24)),math.rad(-145 - 15 * math.cos(sine / 24))),.1)
7745
elseif ModeOfGlitch == 9999999921111 then
7746
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
7747
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
7748
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
7749
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
7750
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
7751
LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
7752
elseif ModeOfGlitch == 4367677813 or ModeOfGlitch == 7652 then
7753
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
7754
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
7755
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
7756
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
7757
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
7758
LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
7759
elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 11 then
7760
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
7761
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
7762
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
7763
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
7764
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
7765
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
7766
elseif ModeOfGlitch == 999999999556 then
7767
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
7768
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
7769
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
7770
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1)
7771
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
7772
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
7773
elseif ModeOfGlitch == 102 then
7774
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
7775
LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
7776
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
7777
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 7 * math.cos(sine / 53))),.1)
7778
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
7779
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
7780
end
7781
end
7782
elseif torvel>2 and torvel<22 and hitfloor~=nil then
7783
Anim="Walk"
7784
if attack==false then
7785
RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
7786
LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
7787
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
7788
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
7789
RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
7790
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
7791
end
7792
elseif torvel>=22 and hitfloor~=nil then
7793
Anim="Run"
7794
if attack==false then
7795
if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 11 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 7652 and ModeOfGlitch ~= 8008135 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 2019 and ModeOfGlitch ~= 1999 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 765688533321 then
7796
RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
7797
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
7798
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
7799
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
7800
RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
7801
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
7802
if ModeOfGlitch == 9 then
7803
--
7804
end
7805
elseif ModeOfGlitch == 676767 or ModeOfGlitch == 765688533321 then
7806
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
7807
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
7808
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,6.5 + 0.25 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
7809
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
7810
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
7811
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
7812
elseif ModeOfGlitch == 6 or ModeOfGlitch == 412 or ModeOfGlitch == 69 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 11 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 7652 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 2019 or ModeOfGlitch == 1999 or ModeOfGlitch == 8889 or ModeOfGlitch == 74 or ModeOfGlitch == 8008135 then
7813
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
7814
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
7815
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
7816
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
7817
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
7818
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
7819
end
7820
end
7821
end
7822
end
7823
end