View difference between Paste ID: nXHJ4JwG and qZUWEGf3
SHOW: | | - or go back to the newest paste.
1-
print'i dont wanna be associated with SB anymore'
1+
warn'Nebby\'s Star Glitcher Loaded.'
2
warn'All purpose switcher...'
3
warn'Created by Noobygames12'
4
warn'Edited by Nebula_Zorua'
5
warn([[Icons:
6
! = New
7
? = Spoilers
8
* = Exclusivity]])
9
print([[V woomy.woomy.luigi.chara.let's play.READY GOOOOOOOOOOOOO.TETRIS.RIP Rumia T_T (ON PROGRESS) Update Log:
10
! - Changed Judgement back to Justice
11
! - Gave Divinity an attack named Judgement. Credit to XXUNORIB
12
! - Replaced Corruption with Glitchy
13
! - Fixed some bugs, too
14
! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas)
15
! - WOOMY IS BACK AGAIN
16
! - PLAYTIME ADDED AS LOOST
17
! - PLAYTIME HAS A THEME NOW
18
! - TETRIS ADDED AS RAINBOW
19
! - RIP Rumia 2015 - 2018
20
? - Spoliers For Miku and Baldi Basics
21
Nintendo dont delete this script pls
22
]])
23
24
warn([[
25
This ISN'T NebulaGlitcher. That is a seperate script, not an edit.
26
]])
27
28
warn([[
29
CONTROLS -
30
PEARL (MAYHEM) - Z (Like the non edited one), M
31
ULTIMATE PEARL (Woomy) - Z  (Like Pearl)
32
LUIGI (Purity) - Z
33
ODYSSSEY LUIGI (???) - Z
34
GLITCHY (CORRUPTION) - Z
35
CHAOS - Z, M
36
GENOCIDER - Z
37
INFUNITY- Z
38
FORBBENSCRIPT (i cant spell) - Z, X
39
RAINBOW - Z, 
40
TETRIS - Z, U (no difference except song)
41
Miku - Z (I borked it lol), X, M
42
1/6 out of the gravity - Z, M
43
PPLAYTIME - Z, M
44
45
TO UNLOCK PLAYTIME'S M: Do the keystroke wwssadad
46
TO UNLOCK MIKU'S M: Do the keystroke wwaassdd
47
TO DO CHAOS'S KILL ALL: Do the keystroke DDAWAS
48
]])
49
50
--- its obs smooth af do not touch 
51
---- Sources and functions might be taken from others
52
plr = game:GetService("Players").LocalPlayer
53
char = plr.Character
54
hum = char:FindFirstChildOfClass'Humanoid'
55
local cam = game.Workspace.CurrentCamera
56
local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
57
Camera = cam
58
local CamInterrupt = false
59
local TwoD = false
60
local TargetInfo = {nil, nil}
61
cam.CameraType = "Custom"
62
t = char.Torso
63
h = char.Head
64
ra = char["Right Arm"]
65
la = char["Left Arm"]
66
rl = char["Right Leg"]
67
ll = char["Left Leg"]
68
tors = char.Torso
69
lleg = char["Left Leg"]
70
root = char.HumanoidRootPart
71
hed = char.Head
72
rleg = char["Right Leg"]
73
rarm = char["Right Arm"]
74
larm = char["Left Arm"]
75
radian = math.rad
76
random = math.random
77
Vec3 = Vector3.new
78
Inst = Instance.new
79
cFrame = CFrame.new
80
Euler = CFrame.fromEulerAnglesXYZ
81
vt = Vector3.new
82
bc = BrickColor.new
83
br = BrickColor.random
84
it = Instance.new
85
cf = CFrame.new
86
87
local ODers = {}
88
89
local AllowRape = false;
90
local AllowCata = false;
91
92
local Booleans = {
93
  CamFollow = true,
94
  GyroUse = true
95
}
96
97
function lerp(object, newCFrame, alpha)
98
  return object:lerp(newCFrame, alpha)
99
end
100
101
local Directer = Inst("BodyGyro", root)
102
Directer.MaxTorque = Vec3(0, 0, 0)
103
Directer.P = 600000
104
local CPart = Inst("Part")
105
CPart.Anchored = true
106
CPart.CanCollide = false
107
CPart.Locked = true
108
CPart.Transparency = 1
109
110
local rainbowmode = false
111
local chaosmode = false
112
local glitchymode = false
113
kan = Instance.new("Sound",char)
114
kan.Volume = 1.25
115
kan.TimePosition = 0
116
kan.PlaybackSpeed = 1
117
kan.Pitch = 1
118
kan.SoundId = "rbxassetid://1931652948"
119
kan.Name = "again"
120
kan.Looped = true
121
kan:Play()
122
123
local MID = "rbxassetid://1931652948";
124
local Pitch = 1;
125
126
function newTheme(ID,timepos,pitch,vol)
127
local kanz = kan
128
--kanz:Stop()
129
--kanz.Volume = vol
130
--kanz.TimePosition = timepos
131
kanz.PlaybackSpeed = pitch
132
kanz.Pitch = pitch
133
kanz.SoundId = ID
134
kanz.Name = "wrecked"
135
kanz.Looped = true
136
Pitch = pitch
137
MID = ID
138
--kanz:Play()
139
--coroutine.resume(coroutine.create(function()
140
--wait(0.05)
141
--end))
142
end
143
144
function newThemeCust(ID,timepos,pitch,vol)
145
local kanz = kan
146
kanz:Stop()
147
kanz.Volume = vol
148
kanz.TimePosition = timepos
149
kanz.PlaybackSpeed = pitch
150
kanz.Pitch = pitch
151
MID = ID
152
kanz.SoundId = ID
153
kanz.Name = "wrecked"
154
kanz.Looped = true
155
kanz:Play()
156
coroutine.resume(coroutine.create(function()
157
wait(0.05)
158
end))
159
end
160
161
162
163
function CameraShake(Times, Power, PlayerTarget)
164
coroutine.resume(coroutine.create(function()
165
FV = Instance.new("BoolValue", PlayerTarget)
166
FV.Name = "CameraShake"
167
for ShakeNum=1,Times do
168
swait()
169
local ef=Power
170
  if ef>=1 then
171
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
172
  else
173
   ef=Power*10
174
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
175
  end	
176
end
177
Humanoid.CameraOffset = Vector3.new(0,0,0)
178
FV:Destroy()
179
end))
180
end
181
182
function CameraEnshaking(Length,Intensity)
183
coroutine.resume(coroutine.create(function()
184
      local intensity = 1*Intensity
185
      local rotM = 0.01*Intensity
186
for i = 0, Length, 0.1 do
187
swait()
188
intensity = intensity - 0.05*Intensity/Length
189
rotM = rotM - 0.0005*Intensity/Length
190
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
191
      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)
192
end
193
Humanoid.CameraOffset = Vec3(0, 0, 0)
194
end))
195
end
196
CamShake=function(Part,Distan,Power,Times) 
197
local de=Part.Position
198
for i,v in pairs(workspace:children()) do
199
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
200
for _,c in pairs(v:children()) do
201
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
202
local Noob=vFindFirstChildOfClass'Humanoid'
203
if Noob~=nil then
204
coroutine.resume(coroutine.create(function()
205
FV = Instance.new("BoolValue", Noob)
206
FV.Name = "CameraShake"
207
for ShakeNum=1,Times do
208
swait()
209
local ef=Power
210
  if ef>=1 then
211
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
212
  else
213
   ef=Power*10
214
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
215
  end	
216
end
217
Humanoid.CameraOffset = Vector3.new(0,0,0)
218
FV:Destroy()
219
end))
220
CameraShake(Times, Power, Noob)
221
end
222
end
223
end
224
end
225
end
226
end
227
228
function chatfunc(text,color)
229
local chat = coroutine.wrap(function()
230
if Character:FindFirstChild("TalkingBillBoard")~= nil then
231
Character:FindFirstChild("TalkingBillBoard"):destroy()
232
end
233
local naeeym2 = Instance.new("BillboardGui",Character)
234
naeeym2.Size = UDim2.new(0,100,0,40)
235
naeeym2.StudsOffset = Vector3.new(0,3,0)
236
naeeym2.Adornee = Character.Head
237
naeeym2.Name = "TalkingBillBoard"
238
local tecks2 = Instance.new("TextLabel",naeeym2)
239
tecks2.BackgroundTransparency = 1
240
tecks2.BorderSizePixel = 0
241
tecks2.Text = ""
242
tecks2.Font = "SciFi"
243
tecks2.TextSize = 30
244
tecks2.TextStrokeTransparency = 0
245
tecks2.TextColor3 = color
246
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
247
tecks2.Size = UDim2.new(1,0,0.5,0)
248
local tecks3 = Instance.new("TextLabel",naeeym2)
249
tecks3.BackgroundTransparency = 1
250
tecks3.BorderSizePixel = 0
251
tecks3.Text = ""
252
tecks3.Font = "SciFi"
253
tecks3.TextSize = 30
254
tecks3.TextStrokeTransparency = 0
255
tecks3.TextColor3 = Color3.new(0,0,0)
256
tecks3.TextStrokeColor3 = color
257
tecks3.Size = UDim2.new(1,0,0.5,0)
258
coroutine.resume(coroutine.create(function()
259
while true do
260
swait(1)
261
if chaosmode == true then
262
tecks2.TextColor3 = BrickColor.new("Really red").Color
263
tecks3.TextStrokeColor3 = BrickColor.new("Really red").Color
264
end
265
if(glitchymode)then
266
	local val = math.random(1,255)
267
	local color = Color3.fromRGB(val,val,val)
268
	tecks2.TextColor3 = color
269
	tecks3.TextStrokeColor3 = color
270
end
271
tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
272
tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
273
tecks2.Rotation = math.random(-5,5)
274
tecks3.Rotation = math.random(-5,5)
275
end
276
end))
277
for i = 1,string.len(text),1 do
278
CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
279
tecks2.Text = string.sub(text,1,i)
280
tecks3.Text = string.sub(text,1,i)
281
swait(1)
282
end
283
wait(1)
284
local randomrot = math.random(1,2)
285
if randomrot == 1 then
286
for i = 1, 50 do
287
swait()
288
tecks2.Rotation = tecks2.Rotation - .75
289
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
290
tecks2.TextTransparency = tecks2.TextTransparency + .04
291
tecks3.Rotation = tecks2.Rotation + .75
292
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
293
tecks3.TextTransparency = tecks2.TextTransparency + .04
294
end
295
elseif randomrot == 2 then
296
	for i = 1, 50 do
297
swait()
298
tecks2.Rotation = tecks2.Rotation + .75
299
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
300
tecks2.TextTransparency = tecks2.TextTransparency + .04
301
tecks3.Rotation = tecks2.Rotation - .75
302
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
303
tecks3.TextTransparency = tecks2.TextTransparency + .04
304
end
305
end
306
naeeym2:Destroy()
307
end)
308
chat()
309
end
310
311
312
local Create = LoadLibrary("RbxUtility").Create
313
314
CFuncs = {	
315
	["Part"] = {
316
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
317
			local Part = Create("Part"){
318
				Parent = Parent,
319
				Reflectance = Reflectance,
320
				Transparency = Transparency,
321
				CanCollide = false,
322
				Locked = true,
323
				BrickColor = BrickColor.new(tostring(BColor)),
324
				Name = Name,
325
				Size = Size,
326
				Material = Material,
327
			}
328
			RemoveOutlines(Part)
329
			return Part
330
		end;
331
	};
332
	
333
	["Mesh"] = {
334
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
335
			local Msh = Create(Mesh){
336
				Parent = Part,
337
				Offset = OffSet,
338
				Scale = Scale,
339
			}
340
			if Mesh == "SpecialMesh" then
341
				Msh.MeshType = MeshType
342
				Msh.MeshId = MeshId
343
			end
344
			return Msh
345
		end;
346
	};
347
	
348
	["Mesh"] = {
349
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
350
			local Msh = Create(Mesh){
351
				Parent = Part,
352
				Offset = OffSet,
353
				Scale = Scale,
354
			}
355
			if Mesh == "SpecialMesh" then
356
				Msh.MeshType = MeshType
357
				Msh.MeshId = MeshId
358
			end
359
			return Msh
360
		end;
361
	};
362
	
363
	["Weld"] = {
364
		Create = function(Parent, Part0, Part1, C0, C1)
365
			local Weld = Create("Weld"){
366
				Parent = Parent,
367
				Part0 = Part0,
368
				Part1 = Part1,
369
				C0 = C0,
370
				C1 = C1,
371
			}
372
			return Weld
373
		end;
374
	};
375
376
	["Sound"] = {
377
		Create = function(id, par, vol, pit) 
378
			return coroutine.wrap(function()
379
				local S = Create("Sound"){
380
					Volume = vol,
381
                                        Name = "EffectSoundo",
382
					Pitch = pit or 1,
383
					SoundId = id,
384
					Parent = par or workspace,
385
				}
386
				S:Play() 
387
				S.Ended:connect(function()
388
					S:Destroy()
389
				end)
390
				return S;
391
			end)()
392
		end;
393
	};
394
395
["LongSound"] = {
396
		Create = function(id, par, vol, pit) 
397
			coroutine.resume(coroutine.create(function()
398
				local S = Create("Sound"){
399
					Volume = vol,
400
					Pitch = pit or 1,
401
					SoundId = id,
402
					Parent = par or workspace,
403
				}
404
				wait() 
405
				S:play() 
406
				game:GetService("Debris"):AddItem(S, 30)
407
			end))
408
		end;
409
	};
410
	
411
	["ParticleEmitter"] = {
412
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
413
			local fp = Create("ParticleEmitter"){
414
				Parent = Parent,
415
				Color = ColorSequence.new(Color1, Color2),
416
				LightEmission = LightEmission,
417
				Size = Size,
418
				Texture = Texture,
419
				Transparency = Transparency,
420
				ZOffset = ZOffset,
421
				Acceleration = Accel,
422
				Drag = Drag,
423
				LockedToPart = LockedToPart,
424
				VelocityInheritance = VelocityInheritance,
425
				EmissionDirection = EmissionDirection,
426
				Enabled = Enabled,
427
				Lifetime = LifeTime,
428
				Rate = Rate,
429
				Rotation = Rotation,
430
				RotSpeed = RotSpeed,
431
				Speed = Speed,
432
				VelocitySpread = VelocitySpread,
433
			}
434
			return fp
435
		end;
436
	};
437
438
	CreateTemplate = {
439
	
440
	};
441
}
442
443
444
445
New = function(Object, Parent, Name, Data)
446
	local Object = Instance.new(Object)
447
	for Index, Value in pairs(Data or {}) do
448
		Object[Index] = Value
449
	end
450
	Object.Parent = Parent
451
	Object.Name = Name
452
	return Object
453
end
454
local halocolor = BrickColor.new("Lime green")
455
local halocolor2 = BrickColor.new("Bright bluish violet")
456
local starcolor = BrickColor.new("Bright bluish violet")
457
local lunacolor = BrickColor.new("Navy blue")
458
local lunacolor2 = BrickColor.new("Bright blue")
459
local wepcolor = BrickColor.new("Carnation pink")
460
local maincolor = BrickColor.new("Carnation pink")
461
local m = Instance.new("Model",char)
462
local m2 = Instance.new("Model",char)
463
local m3 = Instance.new("Model",char)
464
local mw1 = Instance.new("Model",char)
465
local mw2 = Instance.new("Model",char)
466
467
local extrawingmod1 = Instance.new("Model",char)
468
local extrawingmod2 = Instance.new("Model",char)
469
470
function CreateParta(parent,transparency,reflectance,material,brickcolor)
471
local p = Instance.new("Part")
472
p.TopSurface = 0
473
p.BottomSurface = 0
474
p.Parent = parent
475
p.Size = Vector3.new(0.1,0.1,0.1)
476
p.Transparency = transparency
477
p.Reflectance = reflectance
478
p.CanCollide = false
479
p.Locked = true
480
p.BrickColor = brickcolor
481
p.Material = material
482
return p
483
end
484
485
function CreateMesh(parent,meshtype,x1,y1,z1)
486
local mesh = Instance.new("SpecialMesh",parent)
487
mesh.MeshType = meshtype
488
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
489
return mesh
490
end
491
492
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
493
local mesh = Instance.new("SpecialMesh",parent)
494
mesh.MeshType = "FileMesh"
495
mesh.MeshId = meshid
496
mesh.Scale = Vector3.new(x1,y1,z1)
497
return mesh
498
end
499
500
501
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
502
local mesh = Instance.new("SpecialMesh",parent)
503
mesh.MeshType = "FileMesh"
504
mesh.MeshId = meshid
505
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
506
mesh.Scale = Vector3.new(x1,y1,z1)
507
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
508
return mesh
509
end
510
511
--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))
512
513
514
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
515
local weld = Instance.new("Weld")
516
weld.Parent = parent
517
weld.Part0 = part0
518
weld.Part1 = part1
519
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
520
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
521
return weld
522
end
523
524
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
525
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))
526
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
527
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))
528
529
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
530
CreateMesh(handle,"Brick",0,0,0)
531
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))
532
local valuaring = 10
533
for i = 0, 49 do
534
	valuaring = valuaring + 10
535
rn = CreateParta(mw2,0,0,"Neon",halocolor)
536
CreateMesh(rn,"Brick",0.25,0.1,0.1)
537
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))
538
end
539
540
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
541
CreateMesh(handle,"Brick",0,0,0)
542
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))
543
local valuaring = 10
544
for i = 0, 49 do
545
	valuaring = valuaring + 10
546
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
547
CreateMesh(rn,"Brick",0.5,0.2,0.2)
548
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))
549
end
550
551
552
local handle = CreateParta(m,1,1,"Neon",maincolor)
553
CreateMesh(handle,"Brick",0.5,0.5,0.5)
554
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))
555
556
--- Left wing.
557
558
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
559
CreateMesh(handle,"Brick",0.5,0.5,0.5)
560
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))
561
562
wed = CreateParta(mw1,0,0,"Neon",halocolor)
563
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
564
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))
565
wed = CreateParta(mw1,0,0,"Neon",halocolor)
566
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
567
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))
568
A0 = Instance.new('Attachment',wed)
569
wed = CreateParta(mw1,0,0,"Neon",halocolor)
570
CreateMesh(wed,"Wedge",0.05,0.5,3)
571
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))
572
A1 = Instance.new('Attachment',wed)
573
wed = CreateParta(mw1,0,0,"Neon",halocolor)
574
CreateMesh(wed,"Wedge",0.05,3,0.5)
575
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))
576
577
tl1 = Instance.new('Trail',wed)
578
tl1.Attachment0 = A0
579
tl1.Attachment1 = A1
580
--tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
581
tl1.LightEmission = 1
582
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
583
tl1.Color = ColorSequence.new(BrickColor.new("Carnation pink").Color)
584
tl1.Lifetime = 0.6
585
586
587
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
588
CreateMesh(handle,"Brick",0.5,0.5,0.5)
589
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))
590
591
wed = CreateParta(mw1,0,0,"Neon",halocolor)
592
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
593
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))
594
wed = CreateParta(mw1,0,0,"Neon",halocolor)
595
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
596
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))
597
A0 = Instance.new('Attachment',wed)
598
wed = CreateParta(mw1,0,0,"Neon",halocolor)
599
CreateMesh(wed,"Wedge",0.05,0.5,3)
600
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))
601
A1 = Instance.new('Attachment',wed)
602
wed = CreateParta(mw1,0,0,"Neon",halocolor)
603
CreateMesh(wed,"Wedge",0.05,3,0.5)
604
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))
605
606
tl2 = Instance.new('Trail',wed)
607
tl2.Attachment0 = A0
608
tl2.Attachment1 = A1
609
--tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
610
tl2.LightEmission = 1
611
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
612
tl2.Color = ColorSequence.new(BrickColor.new("Carnation pink").Color)
613
tl2.Lifetime = 0.6
614
615
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
616
CreateMesh(handle,"Brick",0.5,0.5,0.5)
617
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))
618
619
wed = CreateParta(mw1,0,0,"Neon",halocolor)
620
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
621
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))
622
wed = CreateParta(mw1,0,0,"Neon",halocolor)
623
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
624
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))
625
A0 = Instance.new('Attachment',wed)
626
wed = CreateParta(mw1,0,0,"Neon",halocolor)
627
CreateMesh(wed,"Wedge",0.05,0.5,3)
628
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))
629
A1 = Instance.new('Attachment',wed)
630
wed = CreateParta(mw1,0,0,"Neon",halocolor)
631
CreateMesh(wed,"Wedge",0.05,3,0.5)
632
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))
633
634
tl3 = Instance.new('Trail',wed)
635
tl3.Attachment0 = A0
636
tl3.Attachment1 = A1
637
--tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
638
tl3.LightEmission = 1
639
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
640
tl3.Color = ColorSequence.new(BrickColor.new("Carnation pink").Color)
641
tl3.Lifetime = 0.6
642
643
tl1.Enabled = false
644
tl2.Enabled = false
645
tl3.Enabled = false
646
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
647
CreateMesh(handle,"Brick",0.5,0.5,0.5)
648
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))
649
650
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
651
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
652
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))
653
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
654
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
655
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))
656
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
657
CreateMesh(wed,"Wedge",0.05,0.5,3)
658
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))
659
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
660
CreateMesh(wed,"Wedge",0.05,3,0.5)
661
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))
662
663
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
664
CreateMesh(handle,"Brick",0.5,0.5,0.5)
665
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))
666
667
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
668
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
669
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))
670
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
671
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
672
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))
673
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
674
CreateMesh(wed,"Wedge",0.05,0.5,3)
675
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))
676
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
677
CreateMesh(wed,"Wedge",0.05,3,0.5)
678
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))
679
680
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
681
CreateMesh(handle,"Brick",0.5,0.5,0.5)
682
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))
683
684
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
685
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
686
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))
687
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
688
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
689
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))
690
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
691
CreateMesh(wed,"Wedge",0.05,0.5,3)
692
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))
693
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
694
CreateMesh(wed,"Wedge",0.05,3,0.5)
695
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))
696
697
-- Right wing.
698
699
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
700
CreateMesh(handle,"Brick",0.5,0.5,0.5)
701
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))
702
703
wed = CreateParta(mw2,0,0,"Neon",halocolor)
704
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
705
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))
706
A0 = Instance.new('Attachment',wed)
707
wed = CreateParta(mw2,0,0,"Neon",halocolor)
708
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
709
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))
710
wed = CreateParta(mw2,0,0,"Neon",halocolor)
711
CreateMesh(wed,"Wedge",0.05,0.5,3)
712
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))
713
wed = CreateParta(mw2,0,0,"Neon",halocolor)
714
CreateMesh(wed,"Wedge",0.05,3,0.5)
715
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))
716
A1 = Instance.new('Attachment',wed)
717
718
tr1 = Instance.new('Trail',wed)
719
tr1.Attachment0 = A0
720
tr1.Attachment1 = A1
721
--tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
722
tr1.LightEmission = 1
723
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
724
tr1.Color = ColorSequence.new(BrickColor.new('Carnation pink').Color)
725
tr1.Lifetime = 0.6
726
727
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
728
CreateMesh(handle,"Brick",0.5,0.5,0.5)
729
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))
730
731
wed = CreateParta(mw2,0,0,"Neon",halocolor)
732
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
733
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))
734
A0 = Instance.new('Attachment',wed)
735
wed = CreateParta(mw2,0,0,"Neon",halocolor)
736
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
737
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))
738
wed = CreateParta(mw2,0,0,"Neon",halocolor)
739
CreateMesh(wed,"Wedge",0.05,0.5,3)
740
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))
741
wed = CreateParta(mw2,0,0,"Neon",halocolor)
742
CreateMesh(wed,"Wedge",0.05,3,0.5)
743
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))
744
A1 = Instance.new('Attachment',wed)
745
746
tr2 = Instance.new('Trail',wed)
747
tr2.Attachment0 = A0
748
tr2.Attachment1 = A1
749
--tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
750
tr2.LightEmission = 1
751
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
752
tr2.Color = ColorSequence.new(BrickColor.new('Carnation pink').Color)
753
tr2.Lifetime = 0.6
754
755
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
756
CreateMesh(handle,"Brick",0.5,0.5,0.5)
757
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))
758
759
wed = CreateParta(mw2,0,0,"Neon",halocolor)
760
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
761
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))
762
A0 = Instance.new('Attachment',wed)
763
wed = CreateParta(mw2,0,0,"Neon",halocolor)
764
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
765
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))
766
wed = CreateParta(mw2,0,0,"Neon",halocolor)
767
CreateMesh(wed,"Wedge",0.05,0.5,3)
768
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))
769
wed = CreateParta(mw2,0,0,"Neon",halocolor)
770
CreateMesh(wed,"Wedge",0.05,3,0.5)
771
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))
772
A1 = Instance.new('Attachment',wed)
773
774
tr3 = Instance.new('Trail',wed)
775
tr3.Attachment0 = A0
776
tr3.Attachment1 = A1
777
--tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
778
tr3.LightEmission = 1
779
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
780
tr3.Color = ColorSequence.new(BrickColor.new('Carnation pink').Color)
781
tr3.Lifetime = 0.6
782
783
784
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
785
CreateMesh(handle,"Brick",0.5,0.5,0.5)
786
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))
787
788
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
789
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
790
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))
791
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
792
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
793
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))
794
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
795
CreateMesh(wed,"Wedge",0.05,0.5,3)
796
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))
797
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
798
CreateMesh(wed,"Wedge",0.05,3,0.5)
799
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))
800
801
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
802
CreateMesh(handle,"Brick",0.5,0.5,0.5)
803
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))
804
805
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
806
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
807
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))
808
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
809
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
810
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))
811
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
812
CreateMesh(wed,"Wedge",0.05,0.5,3)
813
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))
814
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
815
CreateMesh(wed,"Wedge",0.05,3,0.5)
816
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))
817
818
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
819
CreateMesh(handle,"Brick",0.5,0.5,0.5)
820
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))
821
822
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
823
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
824
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))
825
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
826
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
827
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))
828
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
829
CreateMesh(wed,"Wedge",0.05,0.5,3)
830
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))
831
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
832
CreateMesh(wed,"Wedge",0.05,3,0.5)
833
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))
834
835
---- HERES THE RING
836
837
838
--[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
839
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
840
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))
841
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
842
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
843
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))
844
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
845
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
846
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))
847
848
849
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
850
CreateMesh(gan,"Brick",1.075,0.1,1.075)
851
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))
852
853
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
854
CreateMesh(gan,"Brick",1.075,0.1,1.075)
855
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))
856
857
858
859
gan = CreateParta(m2,0,0,"Neon",halocolor2)
860
CreateMesh(gan,"Brick",1.095,0.035,1.095)
861
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))
862
863
gan = CreateParta(m2,0,0,"Neon",halocolor2)
864
CreateMesh(gan,"Brick",1.095,0.035,1.095)
865
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))
866
867
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
868
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
869
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))
870
871
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
872
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
873
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))
874
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
875
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
876
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))
877
878
-- S section A
879
880
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
881
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
882
CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
883
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
884
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
885
CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
886
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
887
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
888
CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
889
890
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
891
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
892
CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
893
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
894
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
895
CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
896
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
897
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
898
CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
899
900
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
901
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
902
CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
903
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
904
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
905
CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
906
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
907
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
908
CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
909
910
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
911
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
912
CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
913
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
914
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
915
CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
916
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
917
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
918
CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
919
920
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
921
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
922
CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
923
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
924
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
925
CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
926
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
927
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
928
CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
929
930
-- S section B
931
932
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
933
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
934
CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
935
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
936
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
937
CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
938
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
939
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
940
CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
941
942
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
943
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
944
CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
945
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
946
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
947
CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
948
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
949
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
950
CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
951
952
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
953
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
954
CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
955
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
956
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
957
CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
958
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
959
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
960
CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
961
962
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
963
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
964
CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
965
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
966
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
967
CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
968
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
969
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
970
CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
971
972
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
973
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
974
CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
975
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
976
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
977
CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
978
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
979
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
980
CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
981
982
--- second ring
983
984
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
985
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
986
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))
987
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
988
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
989
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))
990
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
991
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
992
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))
993
994
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
995
CreateMesh(gan,"Brick",1.075,0.1,1.075)
996
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))
997
998
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
999
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1000
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))
1001
1002
1003
1004
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1005
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1006
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))
1007
1008
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1009
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1010
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))
1011
1012
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1013
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1014
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))
1015
1016
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1017
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1018
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))
1019
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1020
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1021
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))
1022
1023
-- S section A
1024
1025
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1026
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1027
CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1028
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1029
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1030
CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1031
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1032
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1033
CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1034
1035
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1036
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1037
CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1038
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1039
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1040
CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1041
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1042
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1043
CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1044
1045
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1046
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1047
CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1048
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1049
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1050
CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1051
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1052
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1053
CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1054
1055
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1056
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1057
CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1058
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1059
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1060
CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1061
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1062
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1063
CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1064
1065
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1066
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1067
CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1068
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1069
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1070
CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1071
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1072
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1073
CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1074
1075
-- S section B
1076
1077
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1078
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1079
CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1080
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1081
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1082
CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1083
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1084
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1085
CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1086
1087
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1088
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1089
CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1090
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1091
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1092
CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1093
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1094
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1095
CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1096
1097
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1098
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1099
CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1100
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1101
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1102
CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1103
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1104
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1105
CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1106
1107
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1108
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1109
CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1110
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1111
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1112
CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1113
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1114
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1115
CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1116
1117
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1118
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1119
CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1120
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1121
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1122
CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1123
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1124
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1125
CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
1126
1127
1128
for i, v in pairs(m:GetChildren()) do
1129
if v:IsA("Part") then
1130
v.BrickColor = BrickColor.new("Carnation pink")
1131
v.Material = "Glass"
1132
end
1133
end
1134
for i, v in pairs(m2:GetChildren()) do
1135
if v:IsA("Part") then
1136
v.BrickColor = BrickColor.new("Dark stone grey")
1137
v.Material = "Granite"
1138
end
1139
end
1140
for i, v in pairs(m3:GetChildren()) do
1141
if v:IsA("Part") then
1142
v.BrickColor = BrickColor.new("Carnation pink")
1143
v.Material = "Neon"
1144
end
1145
end
1146
for i, v in pairs(mw2:GetChildren()) do
1147
if v:IsA("Part") then
1148
v.BrickColor = BrickColor.new("Carnation pink")
1149
v.Material = "Neon"
1150
end
1151
end
1152
for i, v in pairs(mw1:GetChildren()) do
1153
if v:IsA("Part") then
1154
v.Transparency = 1
1155
v.BrickColor = BrickColor.new("Carnation pink")
1156
v.Material = "Neon"
1157
end
1158
end
1159
for i, v in pairs(extrawingmod1:GetChildren()) do
1160
if v:IsA("Part") then
1161
v.Transparency = 1
1162
v.BrickColor = BrickColor.new("White")
1163
v.Material = "Neon"
1164
end
1165
end
1166
for i, v in pairs(extrawingmod2:GetChildren()) do
1167
if v:IsA("Part") then
1168
v.Transparency = 1
1169
v.BrickColor = BrickColor.new("White")
1170
v.Material = "Neon"
1171
end
1172
end
1173
local MAINRUINCOLOR = BrickColor.new("Carnation pink")
1174
------
1175
1176
1177
function RemoveOutlines(part)
1178
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1179
end
1180
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1181
  local Part = Create("Part")({
1182
    Parent = Parent,
1183
    Reflectance = Reflectance,
1184
    Transparency = Transparency,
1185
    CanCollide = false,
1186
    Locked = true,
1187
    BrickColor = BrickColor.new(tostring(BColor)),
1188
    Name = Name,
1189
    Size = Size,
1190
    Material = Material
1191
  })
1192
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1193
  RemoveOutlines(Part)
1194
  return Part
1195
end
1196
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1197
  local Msh = Create(Mesh)({
1198
    Parent = Part,
1199
    Offset = OffSet,
1200
    Scale = Scale
1201
  })
1202
  if Mesh == "SpecialMesh" then
1203
    Msh.MeshType = MeshType
1204
    Msh.MeshId = MeshId
1205
  end
1206
  return Msh
1207
end
1208
function CreateWeld(Parent, Part0, Part1, C0, C1)
1209
  local Weld = Create("Weld")({
1210
    Parent = Parent,
1211
    Part0 = Part0,
1212
    Part1 = Part1,
1213
    C0 = C0,
1214
    C1 = C1
1215
  })
1216
  return Weld
1217
end
1218
1219
Player=game:GetService("Players").LocalPlayer
1220
Character=Player.Character 
1221
PlayerGui=Player.PlayerGui 
1222
Backpack=Player.Backpack 
1223
Torso=Character.Torso 
1224
Head=Character.Head 
1225
Humanoid=Character:FindFirstChildOfClass'Humanoid'
1226
m=Instance.new('Model',Character)
1227
LeftArm=Character["Left Arm"] 
1228
LeftLeg=Character["Left Leg"] 
1229
RightArm=Character["Right Arm"] 
1230
RightLeg=Character["Right Leg"] 
1231
LS=Torso["Left Shoulder"] 
1232
LH=Torso["Left Hip"] 
1233
RS=Torso["Right Shoulder"] 
1234
RH=Torso["Right Hip"] 
1235
Face = Head.face
1236
Neck=Torso.Neck
1237
it=Instance.new
1238
attacktype=1
1239
vt=Vector3.new
1240
cf=CFrame.new
1241
euler=CFrame.fromEulerAnglesXYZ
1242
angles=CFrame.Angles
1243
cloaked=false
1244
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1245
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1246
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
1247
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
1248
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
1249
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
1250
RootPart=Character.HumanoidRootPart
1251
RootJoint=RootPart.RootJoint
1252
RootCF=euler(-1.57,0,3.14)
1253
attack = false 
1254
attackdebounce = false 
1255
deb=false
1256
equipped=true
1257
hand=false
1258
MMouse=nil
1259
combo=0
1260
mana=0
1261
trispeed=.2
1262
attackmode='none'
1263
local idle=0
1264
local Anim="Idle"
1265
local Effects={}
1266
local gun=false
1267
local shoot=false
1268
local sine = 0
1269
local change = 1
1270
player=nil 
1271
pcall(function()char.LeftWing:destroy()end)
1272
pcall(function()char.Halo:destroy()end)
1273
local toggleTag = true
1274
local txt = Instance.new("BillboardGui", Head)
1275
txt.Adornee = nil
1276
txt.Name = "NameDetect"
1277
txt.Size = UDim2.new(4, 0, 1.2, 0)
1278
txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
1279
local text = Instance.new("TextLabel", txt)
1280
text.Size = UDim2.new(10/2, 0, 7/2, 0)
1281
text.FontSize = "Size8"
1282
text.TextScaled = true
1283
text.TextTransparency = 0
1284
text.BackgroundTransparency = 1 
1285
text.TextTransparency = 0
1286
text.TextStrokeTransparency = 0
1287
text.Font = "Fantasy"
1288
text.TextStrokeColor3 = bc("Carnation pink").Color
1289
text.TextColor3 = Color3.new(0,0,0)
1290
text.Text = "Pearl"
1291
1292
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
1293
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
1294
1295
function RecolorTextAndRename(name,col1,col2)
1296
text.TextStrokeColor3 = col2
1297
text.TextColor3 = col1
1298
text.Text = name
1299
end
1300
mouse=Player:GetMouse()
1301
--save shoulders 
1302
RSH, LSH=nil, nil 
1303
--welds 
1304
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
1305
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
1306
LH=Torso["Left Hip"]
1307
RH=Torso["Right Hip"]
1308
TorsoColor=Torso.BrickColor
1309
function NoOutline(Part)
1310
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1311
end
1312
player=Player 
1313
ch=Character
1314
RSH=ch.Torso["Right Shoulder"] 
1315
LSH=ch.Torso["Left Shoulder"] 
1316
-- 
1317
RSH.Parent=nil 
1318
LSH.Parent=nil 
1319
-- 
1320
RW.Name="Right Shoulder"
1321
RW.Part0=ch.Torso 
1322
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
1323
RW.C1=cf(0, 0.5, 0) 
1324
RW.Part1=ch["Right Arm"] 
1325
RW.Parent=ch.Torso 
1326
-- 
1327
LW.Name="Left Shoulder"
1328
LW.Part0=ch.Torso 
1329
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
1330
LW.C1=cf(0, 0.5, 0) 
1331
LW.Part1=ch["Left Arm"] 
1332
LW.Parent=ch.Torso 
1333
1334
local Stats=Instance.new("BoolValue")
1335
Stats.Name="Stats"
1336
Stats.Parent=Character
1337
local Atk=Instance.new("NumberValue")
1338
Atk.Name="Damage"
1339
Atk.Parent=Stats
1340
Atk.Value=1
1341
local Def=Instance.new("NumberValue")
1342
Def.Name="Defense"
1343
Def.Parent=Stats
1344
Def.Value=1
1345
local Speed=Instance.new("NumberValue")
1346
Speed.Name="Speed"
1347
Speed.Parent=Stats
1348
Speed.Value=1
1349
local Mvmt=Instance.new("NumberValue")
1350
Mvmt.Name="Movement"
1351
Mvmt.Parent=Stats
1352
Mvmt.Value=1
1353
1354
local donum=0
1355
 
1356
1357
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1358
local fp=it("Part")
1359
fp.formFactor=formfactor 
1360
fp.Parent=parent
1361
fp.Reflectance=reflectance
1362
fp.Transparency=transparency
1363
fp.CanCollide=false 
1364
fp.Locked=true
1365
fp.BrickColor=brickcolor
1366
fp.Name=name
1367
fp.Size=size
1368
fp.Position=Torso.Position 
1369
NoOutline(fp)
1370
fp.Material="SmoothPlastic"
1371
fp:BreakJoints()
1372
return fp 
1373
end 
1374
 
1375
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1376
local mesh=it(Mesh) 
1377
mesh.Parent=part
1378
if Mesh=="SpecialMesh" then
1379
mesh.MeshType=meshtype
1380
if meshid~="nil" then
1381
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1382
end
1383
end
1384
mesh.Offset=offset
1385
mesh.Scale=scale
1386
return mesh
1387
end
1388
 
1389
function weld(parent,part0,part1,c0)
1390
local weld=it("Weld") 
1391
weld.Parent=parent
1392
weld.Part0=part0 
1393
weld.Part1=part1 
1394
weld.C0=c0
1395
return weld
1396
end
1397
 
1398
local Color1=Torso.BrickColor
1399
1400
local bodvel=Instance.new("BodyVelocity")
1401
local bg=Instance.new("BodyGyro")
1402
1403
--// Artificial HB \\--
1404
1405
local ArtificialHB = Instance.new("BindableEvent", script)
1406
ArtificialHB.Name = "Heartbeat"
1407
1408
script:WaitForChild("Heartbeat")
1409
1410
local tf = 0
1411
local allowframeloss = false
1412
local tossremainder = false
1413
local lastframe = tick()
1414
local frame = 1/60
1415
ArtificialHB:Fire()
1416
1417
game:GetService("RunService").Heartbeat:connect(function(s, p)
1418
	tf = tf + s
1419
	if tf >= frame then
1420
		if allowframeloss then
1421
			script.Heartbeat:Fire()
1422
			lastframe = tick()
1423
		else
1424
			for i = 1, math.floor(tf / frame) do
1425
				ArtificialHB:Fire()
1426
			end
1427
			lastframe = tick()
1428
		end
1429
		if tossremainder then
1430
			tf = 0
1431
		else
1432
			tf = tf - frame * math.floor(tf / frame)
1433
		end
1434
	end
1435
end)
1436
1437
function swait(num)
1438
	if num == 0 or num == nil then
1439
		ArtificialHB.Event:wait()
1440
	else
1441
		for i = 0, num do
1442
			ArtificialHB.Event:wait()
1443
		end
1444
	end
1445
end
1446
1447
-------- RAINBOW LEAVE IT TO ME
1448
local r = 255
1449
local g = 0
1450
local b = 0
1451
coroutine.resume(coroutine.create(function()
1452
while wait() do
1453
	for i = 0, 254/5 do
1454
		swait()
1455
		g = g + 5
1456
	end
1457
	for i = 0, 254/5 do
1458
		swait()
1459
		r = r - 5
1460
	end
1461
	for i = 0, 254/5 do
1462
		swait()
1463
		b = b + 5
1464
	end
1465
	for i = 0, 254/5 do
1466
		swait()
1467
		g = g - 5
1468
	end
1469
	for i = 0, 254/5 do
1470
		swait()
1471
		r = r + 5
1472
	end
1473
	for i = 0, 254/5 do
1474
		swait()
1475
		b = b - 5
1476
	end
1477
end
1478
end))
1479
 
1480
 
1481
so = function(id,par,vol,pit) 
1482
coroutine.resume(coroutine.create(function()
1483
local sou = Instance.new("Sound",par or workspace)
1484
sou.Volume=vol
1485
sou.Pitch=pit or 1
1486
sou.SoundId=id
1487
swait() 
1488
sou:play() 
1489
game:GetService("Debris"):AddItem(sou,6)
1490
end))
1491
end
1492
 
1493
function clerp(a,b,t) 
1494
	return a:lerp(b,t)
1495
end
1496
1497
local function CFrameFromTopBack(at, top, back)
1498
local right = top:Cross(back)
1499
return CFrame.new(at.x, at.y, at.z,
1500
right.x, top.x, back.x,
1501
right.y, top.y, back.y,
1502
right.z, top.z, back.z)
1503
end
1504
1505
function Triangle(a, b, c)
1506
local edg1 = (c-a):Dot((b-a).unit)
1507
local edg2 = (a-b):Dot((c-b).unit)
1508
local edg3 = (b-c):Dot((a-c).unit)
1509
if edg1 <= (b-a).magnitude and edg1 >= 0 then
1510
a, b, c = a, b, c
1511
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
1512
a, b, c = b, c, a
1513
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
1514
a, b, c = c, a, b
1515
else
1516
assert(false, "unreachable")
1517
end
1518
 
1519
local len1 = (c-a):Dot((b-a).unit)
1520
local len2 = (b-a).magnitude - len1
1521
local width = (a + (b-a).unit*len1 - c).magnitude
1522
 
1523
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
1524
 
1525
local list = {}
1526
 
1527
if len1 > 0.01 then
1528
local w1 = Instance.new('WedgePart', m)
1529
game:GetService("Debris"):AddItem(w1,5)
1530
w1.Material = "SmoothPlastic"
1531
w1.FormFactor = 'Custom'
1532
w1.BrickColor = BrickColor.new("Carnation pink")
1533
w1.Transparency = 0
1534
w1.Reflectance = 0
1535
w1.Material = "SmoothPlastic"
1536
w1.CanCollide = false
1537
local l1 = Instance.new("PointLight",w1)
1538
l1.Color = Color3.new(170,0,0)
1539
NoOutline(w1)
1540
local sz = Vector3.new(0.2, width, len1)
1541
w1.Size = sz
1542
local sp = Instance.new("SpecialMesh",w1)
1543
sp.MeshType = "Wedge"
1544
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
1545
w1:BreakJoints()
1546
w1.Anchored = true
1547
w1.Parent = workspace
1548
w1.Transparency = 0.7
1549
table.insert(Effects,{w1,"Disappear",.01})
1550
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
1551
table.insert(list,w1)
1552
end
1553
 
1554
if len2 > 0.01 then
1555
local w2 = Instance.new('WedgePart', m)
1556
game:GetService("Debris"):AddItem(w2,5)
1557
w2.Material = "SmoothPlastic"
1558
w2.FormFactor = 'Custom'
1559
w2.BrickColor = BrickColor.new("Carnation pink")
1560
w2.Transparency = 0
1561
w2.Reflectance = 0
1562
w2.Material = "SmoothPlastic"
1563
w2.CanCollide = false
1564
local l2 = Instance.new("PointLight",w2)
1565
l2.Color = Color3.new(170,0,0)
1566
NoOutline(w2)
1567
local sz = Vector3.new(0.2, width, len2)
1568
w2.Size = sz
1569
local sp = Instance.new("SpecialMesh",w2)
1570
sp.MeshType = "Wedge"
1571
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
1572
w2:BreakJoints()
1573
w2.Anchored = true
1574
w2.Parent = workspace
1575
w2.Transparency = 0.7
1576
table.insert(Effects,{w2,"Disappear",.01})
1577
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
1578
table.insert(list,w2)
1579
end
1580
return unpack(list)
1581
end
1582
 
1583
1584
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1585
  if hit.Parent == nil then
1586
    return
1587
  end
1588
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
1589
  for _, v in pairs(hit.Parent:children()) do
1590
    if v:IsA("Humanoid") then
1591
      h = v
1592
    end
1593
  end
1594
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
1595
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
1596
      return
1597
    end
1598
    local c = Create("ObjectValue")({
1599
      Name = "creator",
1600
      Value = game:service("Players").LocalPlayer,
1601
      Parent = h
1602
    })
1603
    game:GetService("Debris"):AddItem(c, 0.5)
1604
    if HitSound ~= nil and HitPitch ~= nil then
1605
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
1606
    end
1607
    local Damage = math.random(minim, maxim)
1608
    local blocked = false
1609
    local block = hit.Parent:findFirstChild("Block")
1610
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
1611
      blocked = true
1612
      block.Value = block.Value - 1
1613
      print(block.Value)
1614
    end
1615
    if blocked == false then
1616
      HitHealth = h.Health
1617
      h.Health = h.Health - Damage
1618
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
1619
        print("gained kill")
1620
      end
1621
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1622
    else
1623
      h.Health = h.Health - Damage / 2
1624
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1625
    end
1626
    if Type == "Knockdown" then
1627
      local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
1628
      hum.PlatformStand = true
1629
      coroutine.resume(coroutine.create(function(HHumanoid)
1630
        swait(1)
1631
        HHumanoid.PlatformStand = false
1632
      end), hum)
1633
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
1634
      local bodvol = Create("BodyVelocity")({
1635
        velocity = angle * knockback,
1636
        P = 5000,
1637
        maxForce = Vector3.new(8000, 8000, 8000),
1638
        Parent = hit
1639
      })
1640
      local rl = Create("BodyAngularVelocity")({
1641
        P = 3000,
1642
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1643
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1644
        Parent = hit
1645
      })
1646
      game:GetService("Debris"):AddItem(bodvol, 0.5)
1647
      game:GetService("Debris"):AddItem(rl, 0.5)
1648
    elseif Type == "Normal" then
1649
      local vp = Create("BodyVelocity")({
1650
        P = 500,
1651
        maxForce = Vector3.new(math.huge, 0, math.huge),
1652
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
1653
      })
1654
      if knockback > 0 then
1655
        vp.Parent = hit.Parent.Head
1656
      end
1657
      game:GetService("Debris"):AddItem(vp, 0.5)
1658
    elseif Type == "Up" then
1659
      local bodyVelocity = Create("BodyVelocity")({
1660
        velocity = Vector3.new(0, 20, 0),
1661
        P = 5000,
1662
        maxForce = Vector3.new(8000, 8000, 8000),
1663
        Parent = hit
1664
      })
1665
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1666
      local bodyVelocity = Create("BodyVelocity")({
1667
        velocity = Vector3.new(0, 20, 0),
1668
        P = 5000,
1669
        maxForce = Vector3.new(8000, 8000, 8000),
1670
        Parent = hit
1671
      })
1672
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1673
    elseif Type == "Leech" then
1674
      local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
1675
      if hum ~= nil then
1676
        for i = 0, 2 do
1677
          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)
1678
        end
1679
        Humanoid.Health = Humanoid.Health + 10
1680
      end
1681
    elseif Type == "UpKnock" then
1682
      local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
1683
      hum.PlatformStand = true
1684
      if hum ~= nil then
1685
        hitr = true
1686
      end
1687
      coroutine.resume(coroutine.create(function(HHumanoid)
1688
        swait(5)
1689
        HHumanoid.PlatformStand = false
1690
        hitr = false
1691
      end), hum)
1692
      local bodyVelocity = Create("BodyVelocity")({
1693
        velocity = Vector3.new(0, 20, 0),
1694
        P = 5000,
1695
        maxForce = Vector3.new(8000, 8000, 8000),
1696
        Parent = hit
1697
      })
1698
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1699
      local bodyVelocity = Create("BodyVelocity")({
1700
        velocity = Vector3.new(0, 20, 0),
1701
        P = 5000,
1702
        maxForce = Vector3.new(8000, 8000, 8000),
1703
        Parent = hit
1704
      })
1705
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1706
    elseif Type == "Snare" then
1707
      local bp = Create("BodyPosition")({
1708
        P = 2000,
1709
        D = 100,
1710
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1711
        position = hit.Parent.Torso.Position,
1712
        Parent = hit.Parent.Torso
1713
      })
1714
      game:GetService("Debris"):AddItem(bp, 1)
1715
    elseif Type == "Slashnare" then
1716
      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)
1717
      for i = 1, math.random(4, 5) do
1718
        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)
1719
      end
1720
      local bp = Create("BodyPosition")({
1721
        P = 2000,
1722
        D = 100,
1723
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1724
        position = hit.Parent.Torso.Position,
1725
        Parent = hit.Parent.Torso
1726
      })
1727
      game:GetService("Debris"):AddItem(bp, 1)
1728
    elseif Type == "Spike" then
1729
      CreateBigIceSword(hit.Parent.Torso.CFrame)
1730
      local bp = Create("BodyPosition")({
1731
        P = 2000,
1732
        D = 100,
1733
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1734
        position = hit.Parent.Torso.Position,
1735
        Parent = hit.Parent.Torso
1736
      })
1737
      game:GetService("Debris"):AddItem(bp, 1)
1738
    elseif Type == "Freeze" then
1739
      local BodPos = Create("BodyPosition")({
1740
        P = 50000,
1741
        D = 1000,
1742
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1743
        position = hit.Parent.Torso.Position,
1744
        Parent = hit.Parent.Torso
1745
      })
1746
      local BodGy = Create("BodyGyro")({
1747
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
1748
        P = 20000,
1749
        Parent = hit.Parent.Torso,
1750
        cframe = hit.Parent.Torso.CFrame
1751
      })
1752
      hit.Parent.Torso.Anchored = true
1753
      coroutine.resume(coroutine.create(function(Part)
1754
        swait(1.5)
1755
        Part.Anchored = false
1756
      end), hit.Parent.Torso)
1757
      game:GetService("Debris"):AddItem(BodPos, 3)
1758
      game:GetService("Debris"):AddItem(BodGy, 3)
1759
    end
1760
    local debounce = Create("BoolValue")({
1761
      Name = "DebounceHit",
1762
      Parent = hit.Parent,
1763
      Value = true
1764
    })
1765
    game:GetService("Debris"):AddItem(debounce, Delay)
1766
    c = Instance.new("ObjectValue")
1767
    c.Name = "creator"
1768
    c.Value = Player
1769
    c.Parent = h
1770
    game:GetService("Debris"):AddItem(c, 0.5)
1771
  end
1772
end
1773
function ShowDamage(Pos, Text, Time, Color)
1774
  local Rate = 0.03333333333333333
1775
  local Pos = Pos or Vector3.new(0, 0, 0)
1776
  local Text = Text or ""
1777
  local Time = Time or 2
1778
  local Color = Color or Color3.new(1, 0, 1)
1779
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1780
  EffectPart.Anchored = true
1781
  local BillboardGui = Create("BillboardGui")({
1782
    Size = UDim2.new(3, 0, 3, 0),
1783
    Adornee = EffectPart,
1784
    Parent = EffectPart
1785
  })
1786
  local TextLabel = Create("TextLabel")({
1787
    BackgroundTransparency = 1,
1788
    Size = UDim2.new(1, 0, 1, 0),
1789
    Text = Text,
1790
    TextColor3 = Color,
1791
    TextScaled = true,
1792
    Font = Enum.Font.ArialBold,
1793
    Parent = BillboardGui
1794
  })
1795
  game.Debris:AddItem(EffectPart, Time + 0.1)
1796
  EffectPart.Parent = game:GetService("Workspace")
1797
  delay(0, function()
1798
    local Frames = Time / Rate
1799
    for Frame = 1, Frames do
1800
      wait(Rate)
1801
      local Percent = Frame / Frames
1802
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1803
      TextLabel.TextTransparency = Percent
1804
    end
1805
    if EffectPart and EffectPart.Parent then
1806
      EffectPart:Destroy()
1807
    end
1808
  end)
1809
end
1810
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1811
  for _, c in pairs(workspace:children()) do
1812
    local hum = c:findFirstChildOfClass("Humanoid")
1813
    if hum ~= nil then
1814
      local head = c:findFirstChild("Head")
1815
      if head ~= nil then
1816
        local targ = head.Position - Part.Position
1817
        local mag = targ.magnitude
1818
        if magni >= mag and c.Name ~= Player.Name then
1819
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1820
        end
1821
      end
1822
    end
1823
  end
1824
end
1825
1826
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
1827
  for _, c in pairs(workspace:children()) do
1828
    local hum = c:findFirstChild("Humanoid")
1829
    if hum ~= nil then
1830
      local head = c:findFirstChild("Torso")
1831
      if head ~= nil then
1832
        local targ = head.Position - Part.Position
1833
        local mag = targ.magnitude
1834
        if magni >= mag and c.Name ~= Player.Name then
1835
	MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
1836
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1837
        end
1838
      end
1839
    end
1840
  end
1841
end
1842
1843
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1844
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1845
end 
1846
1847
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
1848
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1849
prt.Anchored=true
1850
prt.CFrame=cframe
1851
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
1852
--http://www.roblox.com/asset/?id=4770560
1853
game:GetService("Debris"):AddItem(prt,2)
1854
CF=prt.CFrame
1855
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
1856
for i=0,1,0.2 do
1857
wait()
1858
Part.CFrame=CF*cf(0,0,-0.4)
1859
end
1860
for i=0,1,delay do
1861
wait()
1862
--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)
1863
Mesh.Scale=Mesh.Scale
1864
end
1865
for i=0,1,0.1 do
1866
wait()
1867
Part.Transparency=i
1868
end
1869
Part.Parent=nil
1870
end),prt,msh,CF)
1871
end
1872
 
1873
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1874
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1875
prt.Anchored=true
1876
prt.Material = "Neon"
1877
prt.CFrame=cframe
1878
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1879
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1880
game:GetService("Debris"):AddItem(prt,5)
1881
coroutine.resume(coroutine.create(function(Part,Mesh) 
1882
for i=0,1,delay do
1883
swait()
1884
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1885
Part.Transparency=i
1886
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1887
end
1888
Part.Parent=nil
1889
end),prt,msh)
1890
end
1891
1892
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
1893
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1894
prt.Anchored=true
1895
prt.Material = "Neon"
1896
prt.CFrame=cframe
1897
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1898
game:GetService("Debris"):AddItem(prt,5)
1899
coroutine.resume(coroutine.create(function(Part,Mesh) 
1900
	local rtype = rottype
1901
for i=0,1,delay do
1902
swait()
1903
if rtype == 1 then
1904
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
1905
elseif rtype == 2 then
1906
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
1907
end
1908
Part.Transparency=i
1909
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1910
end
1911
Part.Parent=nil
1912
end),prt,msh)
1913
end
1914
1915
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1916
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1917
prt.Anchored=true
1918
prt.CFrame=cframe
1919
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1920
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
1921
game:GetService("Debris"):AddItem(prt,5)
1922
coroutine.resume(coroutine.create(function(Part,Mesh) 
1923
for i=0,1,delay do
1924
wait()
1925
Part.Transparency=i
1926
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1927
end
1928
Part.Parent=nil
1929
end),prt,msh)
1930
end
1931
1932
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
1933
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1934
prt.Anchored=true
1935
prt.Material = "Neon"
1936
prt.CFrame=cframe
1937
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1938
game:GetService("Debris"):AddItem(prt,5)
1939
coroutine.resume(coroutine.create(function(Part,Mesh) 
1940
	local rtype = rottype
1941
for i=0,1,delay do
1942
swait()
1943
if rtype == 1 then
1944
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
1945
elseif rtype == 2 then
1946
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
1947
end
1948
Part.Transparency=i
1949
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1950
end
1951
Part.Parent=nil
1952
end),prt,msh)
1953
end
1954
1955
function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
1956
local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
1957
prt.Anchored=true
1958
prt.Material = "Neon"
1959
prt.CFrame=cframe
1960
local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
1961
local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
1962
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
1963
game:GetService("Debris"):AddItem(prt,5)
1964
coroutine.resume(coroutine.create(function(Part,Mesh) 
1965
	local rtype = rottype
1966
for i=0,1,delay do
1967
swait()
1968
if rtype == 1 then
1969
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
1970
elseif rtype == 2 then
1971
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
1972
end
1973
dec.Transparency=i
1974
dec2.Transparency=i
1975
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
1976
end
1977
Part.Parent=nil
1978
end),prt,msh)
1979
end
1980
1981
function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
1982
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1983
prt.Anchored=true
1984
prt.Material = "Neon"
1985
prt.CFrame=cframe
1986
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
1987
game:GetService("Debris"):AddItem(prt,5)
1988
coroutine.resume(coroutine.create(function(Part,Mesh) 
1989
	local rtype = rottype
1990
for i=0,1,delay do
1991
swait()
1992
if rtype == 1 then
1993
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
1994
elseif rtype == 2 then
1995
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
1996
end
1997
prt.Transparency=i
1998
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
1999
end
2000
Part.Parent=nil
2001
end),prt,msh)
2002
end
2003
2004
function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
2005
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2006
prt.Anchored=true
2007
prt.Material = "Neon"
2008
prt.CFrame=cframe
2009
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
2010
game:GetService("Debris"):AddItem(prt,5)
2011
coroutine.resume(coroutine.create(function(Part,Mesh) 
2012
	local rtype = rottype
2013
for i=0,1,delay do
2014
swait()
2015
if rtype == 1 then
2016
prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
2017
elseif rtype == 2 then
2018
prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
2019
end
2020
prt.Transparency=i
2021
Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
2022
end
2023
Part.Parent=nil
2024
end),prt,msh)
2025
end
2026
2027
function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
2028
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2029
prt.Anchored=true
2030
prt.Material = "Neon"
2031
prt.CFrame=cframe
2032
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2033
game:GetService("Debris"):AddItem(prt,5)
2034
coroutine.resume(coroutine.create(function(Part,Mesh) 
2035
	local rtype = rottype
2036
for i=0,1,delay do
2037
swait()
2038
if rtype == 1 then
2039
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2040
elseif rtype == 2 then
2041
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2042
end
2043
prt.Transparency=i
2044
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2045
end
2046
Part.Parent=nil
2047
end),prt,msh)
2048
end
2049
2050
function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2051
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2052
prt.Anchored=true
2053
prt.Material = "Neon"
2054
prt.CFrame=cframe
2055
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2056
game:GetService("Debris"):AddItem(prt,5)
2057
coroutine.resume(coroutine.create(function(Part,Mesh) 
2058
	local rtype = rottype
2059
for i=0,1,delay do
2060
swait()
2061
if rtype == 1 then
2062
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2063
elseif rtype == 2 then
2064
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2065
end
2066
prt.Transparency=i
2067
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2068
end
2069
Part.Parent=nil
2070
end),prt,msh)
2071
end
2072
 
2073
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2074
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2075
prt.Anchored=false
2076
prt.CFrame=cframe
2077
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2078
local wld=weld(prt,prt,Parent,cframe)
2079
game:GetService("Debris"):AddItem(prt,5)
2080
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2081
for i=0,1,delay do
2082
wait()
2083
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
2084
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2085
Part.Transparency=i
2086
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2087
end
2088
Part.Parent=nil
2089
end),prt,msh,wld)
2090
end
2091
 
2092
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2093
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2094
prt.Anchored=false
2095
prt.CFrame=cframe
2096
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2097
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
2098
game:GetService("Debris"):AddItem(prt,5)
2099
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2100
for i=0,1,delay do
2101
wait()
2102
Weld.C0=euler(i*20,0,0)
2103
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2104
Part.Transparency=i
2105
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2106
end
2107
Part.Parent=nil
2108
end),prt,msh,wld)
2109
end
2110
 
2111
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2112
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2113
prt.Anchored=true
2114
prt.CFrame=cframe
2115
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2116
game:GetService("Debris"):AddItem(prt,2)
2117
coroutine.resume(coroutine.create(function(Part,Mesh) 
2118
for i=0,1,delay do
2119
wait()
2120
Part.CFrame=Part.CFrame
2121
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2122
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2123
prt2.Anchored=true
2124
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2125
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
2126
game:GetService("Debris"):AddItem(prt2,2)
2127
coroutine.resume(coroutine.create(function(Part,Mesh) 
2128
for i=0,1,0.1 do
2129
wait()
2130
Part.CFrame=Part.CFrame*cf(0,0.5,0)
2131
end
2132
Part.Parent=nil
2133
end),prt2,msh2)
2134
end
2135
for i=0,1,delay*2 do
2136
wait()
2137
Part.CFrame=Part.CFrame
2138
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
2139
end
2140
Part.Parent=nil
2141
end),prt,msh)
2142
end
2143
 
2144
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2145
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2146
prt.Anchored=true
2147
prt.CFrame=cframe
2148
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2149
game:GetService("Debris"):AddItem(prt,2)
2150
coroutine.resume(coroutine.create(function(Part,Mesh) 
2151
for i=0,1,delay do
2152
wait()
2153
Part.CFrame=Part.CFrame
2154
Part.Transparency=i
2155
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2156
end
2157
Part.Parent=nil
2158
end),prt,msh)
2159
end
2160
 
2161
function BreakEffect(brickcolor,cframe,x1,y1,z1)
2162
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2163
prt.Anchored=true
2164
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2165
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2166
game:GetService("Debris"):AddItem(prt,2)
2167
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
2168
CF=Part.CFrame
2169
Numbb=0
2170
randnumb=math.random()/10
2171
rand1=math.random()/10
2172
for i=0,1,rand1 do
2173
wait()
2174
CF=CF*cf(0,math.random()/2,0)
2175
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
2176
Part.CFrame=CF*euler(Numbb,0,0)
2177
Part.Transparency=i
2178
Numbb=Numbb+randnumb
2179
end
2180
Part.Parent=nil
2181
end),prt,CF,Numbb,randnumb)
2182
end
2183
 
2184
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2185
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2186
prt.Anchored=true
2187
prt.CFrame=cframe
2188
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
2189
game:GetService("Debris"):AddItem(prt,5)
2190
coroutine.resume(coroutine.create(function(Part,Mesh) 
2191
for i=0,1,delay do
2192
wait()
2193
Part.CFrame=Part.CFrame*euler(0,0.7,0)
2194
Part.Transparency=i
2195
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2196
end
2197
Part.Parent=nil
2198
end),prt,msh)
2199
end
2200
 
2201
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2202
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2203
prt.Anchored=true
2204
prt.CFrame=cframe
2205
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
2206
game:GetService("Debris"):AddItem(prt,2)
2207
coroutine.resume(coroutine.create(function(Part,Mesh) 
2208
for i=0,1,delay do
2209
wait()
2210
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
2211
Part.Transparency=i
2212
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2213
end
2214
Part.Parent=nil
2215
end),prt,msh)
2216
end
2217
 
2218
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
2219
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2220
prt.Anchored=true
2221
prt.CFrame=cframe*cf(x,y,z)
2222
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
2223
game:GetService("Debris"):AddItem(prt,5)
2224
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
2225
local num=math.random()
2226
local num2=math.random(-3,2)+math.random()
2227
local numm=0
2228
for i=0,1,delay*2 do
2229
swait()
2230
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
2231
Part.Transparency=i
2232
numm=numm+0.01
2233
end
2234
Part.Parent=nil
2235
Mesh.Parent=nil
2236
end),prt,msh,x,y,z)
2237
end
2238
2239
function dmgstart(dmg,what)
2240
	hitcon = what.Touched:connect(function(hit)
2241
		local hum = hit.Parent:FindFirstChild("Humanoid")
2242
		if hum and not hum:IsDescendantOf(Character) then
2243
			hum:TakeDamage(dmg)
2244
		end
2245
	end)
2246
end
2247
2248
function dmgstop()
2249
	hitcon:disconnect()
2250
end
2251
2252
function Cloak()
2253
Face.Parent=nil
2254
cloaked=true
2255
        for _,v in pairs(Torso.Parent:children()) do
2256
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2257
                coroutine.resume(coroutine.create(function() 
2258
                for i=0,1,0.2 do
2259
                wait()
2260
                v.Transparency=i
2261
                end
2262
                v.Transparency=1
2263
                end))
2264
                end
2265
                if v.className=="Hat" then
2266
                hatp=v.Handle
2267
                coroutine.resume(coroutine.create(function(derp) 
2268
                for i=0,1,0.2 do
2269
                wait()
2270
                derp.Transparency=i
2271
                end
2272
                derp.Transparency=1
2273
                end),hatp)
2274
                end
2275
        end
2276
        for _,v in pairs(m:children()) do
2277
                if v.className=="Part" then
2278
                coroutine.resume(coroutine.create(function() 
2279
                for i=0,1,0.2 do
2280
                wait()
2281
                v.Transparency=i
2282
                end
2283
                v.Transparency=1
2284
                end))
2285
                end
2286
        end
2287
end
2288
 
2289
function UnCloak()
2290
so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) 
2291
Face.Parent=Head 
2292
cloaked=false
2293
        for _,v in pairs(Torso.Parent:children()) do
2294
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2295
                coroutine.resume(coroutine.create(function() 
2296
                for i=0,1,0.1 do
2297
                wait()
2298
                v.Transparency=v.Transparency-0.1
2299
                end
2300
                v.Transparency=0
2301
                end))
2302
                end
2303
                if v.className=="Hat" then
2304
                hatp=v.Handle
2305
                coroutine.resume(coroutine.create(function(derp) 
2306
                for i=0,1,0.1 do
2307
                wait()
2308
                derp.Transparency=derp.Transparency-0.1
2309
                end
2310
                derp.Transparency=0
2311
                end),hatp)
2312
                end
2313
        end
2314
        for _,v in pairs(m:children()) do
2315
                if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
2316
                coroutine.resume(coroutine.create(function() 
2317
                for i=0,1,0.1 do
2318
                wait()
2319
                v.Transparency=v.Transparency-0.1
2320
                end
2321
                v.Transparency=0
2322
                end))
2323
                v.Transparency=0
2324
                end
2325
        end
2326
end
2327
2328
local origcolor = BrickColor.new("Pastel light blue")
2329
---- This section of explosions.
2330
function Explode(rad,par,pitch,vol,mindam,maxdam)
2331
	local expart = Instance.new("Part",char)
2332
	local expart2 = Instance.new("Part",char)
2333
	local rin = Instance.new("Part",char)
2334
	local rin2 = Instance.new("Part",char)
2335
	local partMesh = Instance.new("SpecialMesh",expart)
2336
	partMesh.MeshType = "Sphere"
2337
	local partMesh2 = Instance.new("SpecialMesh",expart2)
2338
	partMesh2.MeshType = "Sphere"
2339
	local partMesh3 = Instance.new("SpecialMesh",rin)
2340
	partMesh3.MeshType = "Brick"
2341
	local partMesh4 = Instance.new("SpecialMesh",rin2)
2342
	partMesh4.MeshType = "Brick"
2343
	CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
2344
	partMesh.Scale = vt(rad,rad,rad)
2345
	expart.Size = vt(1,1,1)
2346
	expart.Transparency = 0
2347
	expart.Anchored = true
2348
	expart.Material = "Neon"
2349
	expart.BrickColor = bc("White")
2350
	expart.CFrame = par.CFrame
2351
	partMesh2.Scale = vt(rad,rad,rad)
2352
	expart2.Size = vt(1.15,1.15,1.15)
2353
	expart2.Transparency = 0.5
2354
	expart2.Anchored = true
2355
	expart2.Material = "Neon"
2356
	expart2.BrickColor = par.BrickColor
2357
	expart2.CFrame = par.CFrame
2358
	rin.Size = vt(1.15,1.15,1.15)
2359
	rin.Transparency = 1
2360
	rin.Anchored = true
2361
	rin.Material = "Neon"
2362
	rin.BrickColor = par.BrickColor
2363
	rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2364
	rin2.Size = vt(1.15,1.15,1.15)
2365
	rin2.Transparency = 1
2366
	rin2.Anchored = true
2367
	rin2.Material = "Neon"
2368
	rin2.BrickColor = par.BrickColor
2369
	rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2370
	partMesh3.Scale = vt(0,1,0)
2371
	partMesh4.Scale = vt(0,1,0)
2372
local dec2 = Instance.new("Decal", rin)
2373
dec2.Face = "Top"
2374
dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
2375
dec2.Parent = rin
2376
local dec2b = dec2:Clone()
2377
dec2b.Face = "Bottom"
2378
dec2b.Parent = rin
2379
2380
local dec2a = Instance.new("Decal", rin2)
2381
dec2a.Face = "Top"
2382
dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
2383
dec2a.Parent = rin2
2384
local dec2ab = dec2a:Clone()
2385
dec2ab.Face = "Bottom"
2386
dec2ab.Parent = rin2
2387
expart.CanCollide = false
2388
expart2.CanCollide = false
2389
rin.CanCollide = false
2390
rin2.CanCollide = false
2391
MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
2392
        local value = 1*rad/6.5
2393
	for i = 0, 199 do
2394
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2395
		expart.CFrame = expart.CFrame
2396
                partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
2397
		expart2.CFrame = expart.CFrame
2398
                value = value - 0.035*rad/30
2399
                if value < 7.5 then
2400
	partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
2401
		rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
2402
	partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
2403
		rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
2404
		end
2405
                if value < 0 then
2406
dec2.Transparency = dec2.Transparency + 0.025
2407
dec2a.Transparency = dec2a.Transparency + 0.025
2408
dec2b.Transparency = dec2b.Transparency + 0.025
2409
dec2ab.Transparency = dec2ab.Transparency + 0.025
2410
		expart.Transparency = expart.Transparency + 0.025
2411
		expart2.Transparency = expart2.Transparency + 0.025
2412
		rin.Transparency = rin.Transparency + 0.025
2413
		rin2.Transparency = rin2.Transparency + 0.025
2414
                end
2415
		swait()
2416
	end
2417
game:GetService("Debris"):AddItem(expart, 1)
2418
game:GetService("Debris"):AddItem(expart2, 1)
2419
game:GetService("Debris"):AddItem(rin, 1)
2420
game:GetService("Debris"):AddItem(rin2, 1)
2421
end
2422
2423
function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
2424
	local expart = Instance.new("Part",char)
2425
	local expart2 = Instance.new("Part",char)
2426
	local partMesh = Instance.new("SpecialMesh",expart)
2427
	partMesh.MeshType = "Sphere"
2428
	local partMesh2 = Instance.new("SpecialMesh",expart2)
2429
	partMesh2.MeshType = "Sphere"
2430
	CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
2431
	partMesh.Scale = vt(rad,rad,rad)
2432
	expart.Size = vt(1,1,1)
2433
	expart.Transparency = 0
2434
	expart.Anchored = true
2435
	expart.Material = "Neon"
2436
	expart.BrickColor = bc("White")
2437
	expart.CFrame = par.CFrame
2438
	partMesh2.Scale = vt(rad,rad,rad)
2439
	expart2.Size = vt(1.15,1.15,1.15)
2440
	expart2.Transparency = 0.5
2441
	expart2.Anchored = true
2442
	expart2.Material = "Neon"
2443
	expart2.BrickColor = par.BrickColor
2444
	expart2.CFrame = par.CFrame
2445
expart.CanCollide = false
2446
expart2.CanCollide = false
2447
MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
2448
        local value = 1*rad/6.5
2449
	for i = 0, 75 do
2450
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2451
		expart.CFrame = expart.CFrame
2452
                partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
2453
		expart2.CFrame = expart.CFrame
2454
                value = value - 0.035*rad/5
2455
                if value < 0 then
2456
value = 0
2457
		expart.Transparency = expart.Transparency + 0.05
2458
		expart2.Transparency = expart2.Transparency + 0.05
2459
                end
2460
		swait()
2461
	end
2462
game:GetService("Debris"):AddItem(expart, 1)
2463
game:GetService("Debris"):AddItem(expart2, 1)
2464
end
2465
2466
function AreaDanger(rad,par,mindam,maxdam)
2467
	local expart = Instance.new("Part",char)
2468
	local partMesh = Instance.new("SpecialMesh",expart)
2469
	CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
2470
	partMesh.MeshType = "Sphere"
2471
	partMesh.Scale = vt(rad,rad,rad)
2472
	expart.Size = vt(1,1,1)
2473
	expart.Transparency = 0.5
2474
	expart.Anchored = true
2475
	expart.Material = "Neon"
2476
	expart.CanCollide = false
2477
	expart.BrickColor = par.BrickColor
2478
	expart.CFrame = par.CFrame
2479
        local value = 1*rad/5
2480
MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
2481
	for i = 0, 14 do
2482
		wait()
2483
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2484
		expart.CFrame = expart.CFrame
2485
                value = value - 0.035*rad
2486
                if value < 0 then
2487
	value = 0
2488
end
2489
	end
2490
	wait(0.25)
2491
CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
2492
wait(0.5)
2493
CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
2494
CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
2495
MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
2496
MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
2497
for i = 0, 14 do
2498
		wait()
2499
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2500
		expart.CFrame = expart.CFrame
2501
                value = value - 0.035*rad/2
2502
end
2503
expart.Transparency = 1
2504
game:GetService("Debris"):AddItem(expart, 5)
2505
end
2506
2507
function Swarmsplosions(negrad,rad,par,mindam,maxdam)
2508
		CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
2509
	CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
2510
	CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
2511
	CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
2512
			MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
2513
			MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
2514
	for i = 0, 24 do
2515
		MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
2516
	end
2517
	for i = 0, 24 do
2518
	local expart = Instance.new("Part",char)
2519
	expart.Transparency = 1
2520
	expart.Anchored = true
2521
	expart.CanCollide = false
2522
	expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
2523
CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
2524
CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
2525
MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
2526
MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
2527
for i = 0, 9 do
2528
		MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
2529
	end
2530
game:GetService("Debris"):AddItem(expart, 2)
2531
wait(0.1)
2532
	end
2533
end
2534
2535
function EXterPlosion(par)
2536
		CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
2537
	CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
2538
	CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
2539
	CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
2540
			MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
2541
			MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
2542
			MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
2543
	for i = 0, 24 do
2544
		MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
2545
	end
2546
	for i = 0, 24 do
2547
		MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
2548
	end
2549
end
2550
----
2551
2552
2553
function ring(type,pos,scale,value)
2554
local type = type
2555
local rng = Instance.new("Part", char)
2556
        rng.Anchored = true
2557
        rng.BrickColor = origcolor
2558
        rng.CanCollide = false
2559
        rng.FormFactor = 3
2560
        rng.Name = "Ring"
2561
        rng.Size = Vector3.new(1, 1, 1)
2562
        rng.Transparency = 0
2563
        rng.TopSurface = 0
2564
        rng.BottomSurface = 0
2565
        rng.CFrame = pos
2566
        local rngm = Instance.new("SpecialMesh", rng)
2567
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2568
rngm.Scale = scale
2569
local scaler2 = 1
2570
if type == "Add" then
2571
scaler2 = 1*value
2572
elseif type == "Divide" then
2573
scaler2 = 1/value
2574
end
2575
coroutine.resume(coroutine.create(function()
2576
for i = 0,10,0.1 do
2577
swait()
2578
if type == "Add" then
2579
scaler2 = scaler2 - 0.01*value
2580
elseif type == "Divide" then
2581
scaler2 = scaler2 - 0.01/value
2582
end
2583
rng.Transparency = rng.Transparency + 0.01
2584
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
2585
end
2586
rng:Destroy()
2587
end))
2588
end
2589
2590
2591
function wave(type,pos,scale,value)
2592
local type = type
2593
local rng = Instance.new("Part", char)
2594
        rng.Anchored = true
2595
        rng.BrickColor = origcolor
2596
        rng.CanCollide = false
2597
        rng.FormFactor = 3
2598
        rng.Name = "Ring"
2599
        rng.Size = Vector3.new(1, 1, 1)
2600
        rng.Transparency = 0
2601
        rng.TopSurface = 0
2602
        rng.BottomSurface = 0
2603
        rng.CFrame = pos
2604
        local rngm = Instance.new("SpecialMesh", rng)
2605
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
2606
rngm.Scale = scale
2607
local scaler2 = 1
2608
if type == "Add" then
2609
scaler2 = 1*value
2610
elseif type == "Divide" then
2611
scaler2 = 1/value
2612
end
2613
coroutine.resume(coroutine.create(function()
2614
for i = 0,10,0.1 do
2615
swait()
2616
if type == "Add" then
2617
scaler2 = scaler2 - 0.01*value
2618
elseif type == "Divide" then
2619
scaler2 = scaler2 - 0.01/value
2620
end
2621
rng.Transparency = rng.Transparency + 0.01
2622
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2623
end
2624
rng:Destroy()
2625
end))
2626
end
2627
2628
function wind(type,pos,scale,value,speed)
2629
local type = type
2630
local rng = Instance.new("Part", char)
2631
        rng.Anchored = true
2632
        rng.BrickColor = origcolor
2633
        rng.CanCollide = false
2634
        rng.FormFactor = 3
2635
        rng.Name = "Ring"
2636
        rng.Size = Vector3.new(1, 1, 1)
2637
        rng.Transparency = 0
2638
        rng.TopSurface = 0
2639
        rng.BottomSurface = 0
2640
        rng.CFrame = pos
2641
        local rngm = Instance.new("SpecialMesh", rng)
2642
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2643
rngm.Scale = scale
2644
local scaler2 = 1
2645
if type == "Add" then
2646
scaler2 = 1*value
2647
elseif type == "Divide" then
2648
scaler2 = 1/value
2649
end
2650
coroutine.resume(coroutine.create(function()
2651
for i = 0,10,0.1 do
2652
swait()
2653
if type == "Add" then
2654
scaler2 = scaler2 - 0.01*value
2655
elseif type == "Divide" then
2656
scaler2 = scaler2 - 0.01/value
2657
end
2658
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
2659
rng.Transparency = rng.Transparency + 0.01
2660
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2661
end
2662
rng:Destroy()
2663
end))
2664
end
2665
2666
function groundwind(type,pos,scale,value,speed)
2667
local type = type
2668
local rng = Instance.new("Part", char)
2669
        rng.Anchored = true
2670
        rng.BrickColor = origcolor
2671
        rng.CanCollide = false
2672
        rng.FormFactor = 3
2673
        rng.Name = "Ring"
2674
        rng.Size = Vector3.new(1, 1, 1)
2675
        rng.Transparency = 0
2676
        rng.TopSurface = 0
2677
        rng.BottomSurface = 0
2678
        rng.CFrame = pos
2679
        local rngm = Instance.new("SpecialMesh", rng)
2680
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2681
rngm.Scale = scale
2682
local scaler2 = 1
2683
if type == "Add" then
2684
scaler2 = 1*value
2685
elseif type == "Divide" then
2686
scaler2 = 1/value
2687
end
2688
coroutine.resume(coroutine.create(function()
2689
for i = 0,10,0.1 do
2690
swait()
2691
if type == "Add" then
2692
scaler2 = scaler2 - 0.01*value
2693
elseif type == "Divide" then
2694
scaler2 = scaler2 - 0.01/value
2695
end
2696
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
2697
rng.Transparency = rng.Transparency + 0.01
2698
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
2699
end
2700
rng:Destroy()
2701
end))
2702
end
2703
2704
function CameraManager()
2705
  if TwoD and not CamInterrupt then
2706
    if Humanoid.Health > 0 then
2707
      Camera.CameraSubject = Humanoid
2708
      Camera.CameraType = "Scriptable"
2709
      Humanoid.AutoRotate = false
2710
      if Booleans.GyroUse then
2711
        Directer.MaxTorque = Vec3(0, huge, 0)
2712
      else
2713
        Directer.MaxTorque = Vec3(0, 0, 0)
2714
      end
2715
      if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
2716
        if Booleans.CamFollow then
2717
          CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
2718
          Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
2719
        else
2720
          CPart.Position = RootPart.Position
2721
        end
2722
      else
2723
        local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
2724
        CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
2725
      end
2726
      Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
2727
    else
2728
      Camera.CameraSubject = Humanoid
2729
      Camera.CameraType = "Custom"
2730
      Controller.Disabled = false
2731
    end
2732
  end
2733
end
2734
2735
function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
2736
local type = type
2737
local rng = Instance.new("Part", char)
2738
        rng.Anchored = true
2739
        rng.BrickColor = color
2740
        rng.CanCollide = false
2741
        rng.FormFactor = 3
2742
        rng.Name = "Ring"
2743
        rng.Material = "Neon"
2744
        rng.Size = Vector3.new(1, 1, 1)
2745
        rng.Transparency = 0
2746
        rng.TopSurface = 0
2747
        rng.BottomSurface = 0
2748
        rng.CFrame = pos
2749
        local rngm = Instance.new("SpecialMesh", rng)
2750
        rngm.MeshType = "Sphere"
2751
	
2752
2753
if(heart)then
2754
	rngm.MeshType = Enum.MeshType.FileMesh
2755
	rngm.MeshId = "rbxassetid://105992239"
2756
	rngm.Offset = Vector3.new(0,0,-.25)
2757
end
2758
rngm.Scale = scale
2759
if rainbowmode == true and not notaffectbychaosrainbow then
2760
rng.Color = Color3.new(r/255,g/255,b/255)
2761
end
2762
local scaler2 = 1
2763
if type == "Add" then
2764
scaler2 = 1*value
2765
elseif type == "Divide" then
2766
scaler2 = 1/value
2767
end
2768
coroutine.resume(coroutine.create(function()
2769
for i = 0,10/bonuspeed,0.1 do
2770
swait()
2771
if rainbowmode == true and not notaffectbychaosrainbow then
2772
rng.Color = Color3.new(r/255,g/255,b/255)
2773
end
2774
if type == "Add" then
2775
scaler2 = scaler2 - 0.01*value/bonuspeed
2776
elseif type == "Divide" then
2777
scaler2 = scaler2 - 0.01/value*bonuspeed
2778
end
2779
if chaosmode == true and not notaffectbychaosrainbow then
2780
rng.BrickColor = BrickColor.new("Really red")
2781
end
2782
		if glitchymode then
2783
			local val = math.random(1,255)
2784
			local color = Color3.fromRGB(val,val,val)
2785
			rng.Color = color
2786
		end
2787
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2788
if(invert)then
2789
	if(heart)then 
2790
		rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) 
2791
	else 
2792
		rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) 
2793
	end
2794
else
2795
	if(heart)then 
2796
		rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) 
2797
	else 
2798
		rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) 
2799
	end
2800
end
2801
rng.CFrame = pos
2802
end
2803
rng:Destroy()
2804
end))
2805
end
2806
2807
function newBezier(startpos, pos2, pos3, endpos, t)
2808
  local A = clerp(startpos, pos2, t)
2809
  local B = clerp(pos2, pos3, t)
2810
  local C = clerp(pos3, endpos, t)
2811
  local lerp1 = clerp(A, B, t)
2812
  local lerp2 = clerp(B, C, t)
2813
  local cubic = clerp(lerp1, lerp2, t)
2814
  return cubic
2815
end
2816
2817
2818
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
2819
local type = type
2820
local rng = Instance.new("Part", char)
2821
        rng.Anchored = true
2822
        rng.BrickColor = color
2823
        rng.CanCollide = false
2824
        rng.FormFactor = 3
2825
        rng.Name = "Ring"
2826
        rng.Material = "Neon"
2827
        rng.Size = Vector3.new(1, 1, 1)
2828
        rng.Transparency = 0
2829
        rng.TopSurface = 0
2830
        rng.BottomSurface = 0
2831
        rng.CFrame = pos
2832
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2833
        local rngm = Instance.new("SpecialMesh", rng)
2834
        rngm.MeshType = "Brick"
2835
if(heart)then
2836
	rngm.MeshType = Enum.MeshType.FileMesh
2837
	rngm.MeshId = "rbxassetid://105992239"
2838
	rngm.Offset = Vector3.new(0,0,-.25)
2839
end
2840
rngm.Scale = vt(x1,y1,z1)
2841
if rainbowmode == true then
2842
rng.Color = Color3.new(r/255,g/255,b/255)
2843
end
2844
local scaler2 = 1
2845
local speeder = FastSpeed/10
2846
if type == "Add" then
2847
scaler2 = 1*value
2848
elseif type == "Divide" then
2849
scaler2 = 1/value
2850
end
2851
coroutine.resume(coroutine.create(function()
2852
for i = 0,10/bonuspeed,0.1 do
2853
swait()
2854
if rainbowmode == true then
2855
rng.Color = Color3.new(r/255,g/255,b/255)
2856
end
2857
if type == "Add" then
2858
scaler2 = scaler2 - 0.01*value/bonuspeed
2859
elseif type == "Divide" then
2860
scaler2 = scaler2 - 0.01/value*bonuspeed
2861
end
2862
if chaosmode == true then
2863
rng.BrickColor = BrickColor.new("Really red")
2864
end
2865
		if glitchymode then
2866
			local val = math.random(1,255)
2867
			local color = Color3.fromRGB(val,val,val)
2868
			rng.Color = color
2869
		end
2870
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
2871
if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
2872
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
2873
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2874
end
2875
rng:Destroy()
2876
end))
2877
end
2878
2879
2880
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
2881
local type = type
2882
local rng = Instance.new("Part", char)
2883
        rng.Anchored = true
2884
        rng.BrickColor = color
2885
        rng.CanCollide = false
2886
        rng.FormFactor = 3
2887
        rng.Name = "Ring"
2888
        rng.Material = "Neon"
2889
        rng.Size = Vector3.new(1, 1, 1)
2890
        rng.Transparency = 0
2891
        rng.TopSurface = 0
2892
        rng.BottomSurface = 0
2893
        rng.CFrame = pos
2894
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2895
        local rngm = Instance.new("SpecialMesh", rng)
2896
        rngm.MeshType = "Brick"
2897
if(heart)then
2898
	rngm.MeshType = Enum.MeshType.FileMesh
2899
	rngm.MeshId = "rbxassetid://105992239"
2900
	rngm.Offset = Vector3.new(0,0,-.25)
2901
end
2902
rngm.Scale = vt(x1,y1,z1)
2903
if rainbowmode == true then
2904
rng.Color = Color3.new(r/255,g/255,b/255)
2905
end
2906
local scaler2 = 0
2907
local speeder = FastSpeed/10
2908
if type == "Add" then
2909
scaler2 = 1*value
2910
elseif type == "Divide" then
2911
scaler2 = 1/value
2912
end
2913
coroutine.resume(coroutine.create(function()
2914
for i = 0,10/bonuspeed,0.1 do
2915
swait()
2916
if rainbowmode == true then
2917
rng.Color = Color3.new(r/255,g/255,b/255)
2918
end
2919
if type == "Add" then
2920
scaler2 = scaler2 - 0.01*value/bonuspeed
2921
elseif type == "Divide" then
2922
scaler2 = scaler2 - 0.01/value*bonuspeed
2923
end
2924
if chaosmode == true then
2925
rng.BrickColor = BrickColor.new("Really red")
2926
end
2927
		if glitchymode then
2928
			local val = math.random(1,255)
2929
			local color = Color3.fromRGB(val,val,val)
2930
			rng.Color = color
2931
		end
2932
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
2933
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2934
if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
2935
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
2936
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2937
end
2938
rng:Destroy()
2939
end))
2940
end
2941
2942
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2943
local type = type
2944
local rng = Instance.new("Part", char)
2945
        rng.Anchored = true
2946
        rng.BrickColor = color
2947
        rng.CanCollide = false
2948
        rng.FormFactor = 3
2949
        rng.Name = "Ring"
2950
        rng.Material = "Neon"
2951
        rng.Size = Vector3.new(1, 1, 1)
2952
        rng.Transparency = 0
2953
        rng.TopSurface = 0
2954
        rng.BottomSurface = 0
2955
        rng.CFrame = pos
2956
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2957
        local rngm = Instance.new("SpecialMesh", rng)
2958
        rngm.MeshType = "Sphere"
2959
rngm.Scale = vt(x1,y1,z1)
2960
if rainbowmode == true then
2961
rng.Color = Color3.new(r/255,g/255,b/255)
2962
end
2963
local scaler2 = 1
2964
local speeder = FastSpeed
2965
if type == "Add" then
2966
scaler2 = 1*value
2967
elseif type == "Divide" then
2968
scaler2 = 1/value
2969
end
2970
coroutine.resume(coroutine.create(function()
2971
for i = 0,10/bonuspeed,0.1 do
2972
swait()
2973
if rainbowmode == true then
2974
rng.Color = Color3.new(r/255,g/255,b/255)
2975
end
2976
if type == "Add" then
2977
scaler2 = scaler2 - 0.01*value/bonuspeed
2978
elseif type == "Divide" then
2979
scaler2 = scaler2 - 0.01/value*bonuspeed
2980
end
2981
if chaosmode == true then
2982
rng.BrickColor = BrickColor.new("Really red")
2983
end
2984
		if glitchymode then
2985
			local val = math.random(1,255)
2986
			local color = Color3.fromRGB(val,val,val)
2987
			rng.Color = color
2988
		end
2989
speeder = speeder - 0.01*FastSpeed*bonuspeed
2990
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2991
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2992
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
2993
end
2994
rng:Destroy()
2995
end))
2996
end
2997
2998
2999
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3000
local type = type
3001
local rng = Instance.new("Part", char)
3002
        rng.Anchored = true
3003
        rng.BrickColor = color
3004
        rng.CanCollide = false
3005
        rng.FormFactor = 3
3006
        rng.Name = "Ring"
3007
        rng.Material = "Neon"
3008
        rng.Size = Vector3.new(1, 1, 1)
3009
        rng.Transparency = 1
3010
        rng.TopSurface = 0
3011
        rng.BottomSurface = 0
3012
        rng.CFrame = pos
3013
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3014
        local rngm = Instance.new("SpecialMesh", rng)
3015
        rngm.MeshType = "Sphere"
3016
rngm.Scale = vt(x1,y1,z1)
3017
if rainbowmode == true then
3018
rng.Color = Color3.new(r/255,g/255,b/255)
3019
end
3020
local scaler2 = 1
3021
local speeder = FastSpeed
3022
if type == "Add" then
3023
scaler2 = 1*value
3024
elseif type == "Divide" then
3025
scaler2 = 1/value
3026
end
3027
coroutine.resume(coroutine.create(function()
3028
for i = 0,10/bonuspeed,0.1 do
3029
swait()
3030
if rainbowmode == true then
3031
rng.Color = Color3.new(r/255,g/255,b/255)
3032
end
3033
if type == "Add" then
3034
scaler2 = scaler2 - 0.01*value/bonuspeed
3035
elseif type == "Divide" then
3036
scaler2 = scaler2 - 0.01/value*bonuspeed
3037
end
3038
if chaosmode == true then
3039
rng.BrickColor = BrickColor.new("Really red")
3040
end
3041
		if glitchymode then
3042
			local val = math.random(1,255)
3043
			local color = Color3.fromRGB(val,val,val)
3044
			rng.Color = color
3045
		end
3046
speeder = speeder - 0.01*FastSpeed*bonuspeed
3047
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3048
rng.Transparency = rng.Transparency - 0.01*bonuspeed
3049
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3050
end
3051
rng:Destroy()
3052
end))
3053
end
3054
3055
function dmg(dude)
3056
if dude.Name ~= Character then
3057
local bgf = Instance.new("BodyGyro",dude.Head)
3058
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
3059
local val = Instance.new("BoolValue",dude)
3060
val.Name = "IsHit"
3061
local ds = coroutine.wrap(function()
3062
local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
3063
for i = 1, 10 do
3064
	sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
3065
end
3066
dude:WaitForChild("Head"):BreakJoints()
3067
wait(0.5)
3068
targetted = nil
3069
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
3070
3071
coroutine.resume(coroutine.create(function()
3072
for i, v in pairs(dude:GetChildren()) do
3073
if v:IsA("Accessory") then
3074
v:Destroy()
3075
end
3076
if v:IsA("Humanoid") then
3077
v:Destroy()
3078
end
3079
if v:IsA("CharacterMesh") then
3080
v:Destroy()
3081
end
3082
if v:IsA("Model") then
3083
v:Destroy()
3084
end
3085
if v:IsA("Part") or v:IsA("MeshPart") then
3086
for x, o in pairs(v:GetChildren()) do
3087
if o:IsA("Decal") then
3088
o:Destroy()
3089
end
3090
end
3091
coroutine.resume(coroutine.create(function()
3092
v.Material = "Neon"
3093
v.CanCollide = false
3094
local bld = Instance.new("ParticleEmitter",v)
3095
bld.LightEmission = 1
3096
bld.Texture = "rbxassetid://284205403"
3097
bld.Color = ColorSequence.new(Color3.new(1,1,1))
3098
bld.Rate = 50
3099
bld.Lifetime = NumberRange.new(1)
3100
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
3101
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
3102
bld.Speed = NumberRange.new(0,0)
3103
bld.VelocitySpread = 50000
3104
bld.Rotation = NumberRange.new(-500,500)
3105
bld.RotSpeed = NumberRange.new(-500,500)
3106
        local sbs = Instance.new("BodyPosition", v)
3107
        sbs.P = 3000
3108
        sbs.D = 1000
3109
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
3110
        sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
3111
v.Color = Color3.new(1,1,1)
3112
coroutine.resume(coroutine.create(function()
3113
for i = 0, 49 do
3114
swait(1)
3115
v.Transparency = v.Transparency + 0.02
3116
end
3117
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
3118
bld.Speed = NumberRange.new(1,5)
3119
bld.Acceleration = vt(0,10,0)
3120
wait(0.5)
3121
bld.Enabled = false
3122
wait(3)
3123
v:Destroy()
3124
dude:Destroy()
3125
end))
3126
end))
3127
end
3128
end
3129
end))
3130
end)
3131
ds()
3132
end
3133
end
3134
3135
3136
function FindNearestHead(Position, Distance, SinglePlayer)
3137
	if SinglePlayer then
3138
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
3139
	end
3140
	local List = {}
3141
	for i, v in pairs(workspace:GetChildren()) do
3142
		if v:IsA("Model") then
3143
			if v:findFirstChild("Head") then
3144
				if v ~= Character then
3145
					if (v.Head.Position - Position).magnitude <= Distance then
3146
						table.insert(List, v)
3147
					end 
3148
				end 
3149
			end 
3150
		end 
3151
	end
3152
	return List
3153
end
3154
3155
function FaceMouse()
3156
  Cam = workspace.CurrentCamera
3157
  return {
3158
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
3159
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3160
  }
3161
end
3162
3163
function FaceMouse2()
3164
  Cam = workspace.CurrentCamera
3165
  return {
3166
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
3167
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3168
  }
3169
end
3170
3171
local ModeOfGlitch = 1
3172
-- Functions are ready.
3173
local storehumanoidWS = 16
3174
3175
function CorruptBlink()
3176
for i = 0, 14 do
3177
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)
3178
end
3179
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3180
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
3181
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
3182
CameraEnshaking(2,10)
3183
if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
3184
if v:FindFirstChild('Head') then
3185
dmg(v)
3186
end
3187
end end
3188
for i = 0, 14 do
3189
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)
3190
end
3191
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3192
end
3193
3194
function ExtinctiveHeartbreak()
3195
local targetted = nil
3196
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3197
targetted = mouse.Target.Parent
3198
end
3199
if targetted ~= nil then
3200
attack = true
3201
CFuncs["Sound"].Create("rbxassetid://282035551", root, 2.5,1)
3202
for i = 0, 9 do
3203
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("Carnation pink"),0)
3204
end
3205
for i = 0, 24 do
3206
PixelBlock(1,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.06,BrickColor.new("Carnation pink"),0)
3207
end
3208
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Carnation pink"))
3209
local originalpos = root.CFrame
3210
RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
3211
for i = 0, 9 do
3212
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("Carnation pink"),0)
3213
end
3214
for i = 0, 24 do
3215
PixelBlock(1,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.06,BrickColor.new("Carnation pink"),0)
3216
end
3217
hum.WalkSpeed = 0
3218
targetted.Head.Anchored = true
3219
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Carnation pink"))
3220
for i = 0,2,0.1 do
3221
swait()
3222
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)),.4)
3223
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)
3224
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)
3225
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
3226
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)
3227
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)
3228
end
3229
coroutine.resume(coroutine.create(function()
3230
bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
3231
bld.LightEmission = 0.1
3232
bld.Texture = "rbxassetid://284205403"
3233
bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
3234
bld.Rate = 500
3235
bld.Lifetime = NumberRange.new(1)
3236
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
3237
bld.Acceleration = vt(0,-25,0)
3238
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
3239
bld.Speed = NumberRange.new(10,50)
3240
bld.EmissionDirection = "Front"
3241
bld.VelocitySpread = 25
3242
bld.Rotation = NumberRange.new(-500,500)
3243
bld.RotSpeed = NumberRange.new(-500,500)
3244
end))
3245
coroutine.resume(coroutine.create(function()
3246
bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
3247
bld.LightEmission = 0.1
3248
bld.Texture = "rbxassetid://284205403"
3249
bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
3250
bld.Rate = 500
3251
bld.Lifetime = NumberRange.new(1)
3252
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
3253
bld.Acceleration = vt(0,-25,0)
3254
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
3255
bld.Speed = NumberRange.new(10,50)
3256
bld.EmissionDirection = "Front"
3257
bld.VelocitySpread = 25
3258
bld.Rotation = NumberRange.new(-500,500)
3259
bld.RotSpeed = NumberRange.new(-500,500)
3260
end))
3261
CameraEnshaking(5,5)
3262
game:GetService("Debris"):AddItem(bld,3)
3263
dmg(targetted)
3264
CFuncs["Sound"].Create("rbxassetid://282035551", targetted.Head, 1,1)
3265
for i = 0,1,0.1 do
3266
swait()
3267
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)
3268
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)),.8)
3269
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)
3270
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
3271
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)
3272
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)
3273
end
3274
CFuncs["Sound"].Create("rbxassetid://282035551", root, 2.5,1)
3275
for i = 0, 9 do
3276
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("Carnation pink"),0)
3277
end
3278
for i = 0, 24 do
3279
PixelBlock(1,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.06,BrickColor.new("Carnation pink"),0)
3280
end
3281
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Carnation pink"))
3282
root.CFrame = originalpos
3283
for i = 0, 9 do
3284
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("Carnation pink"),0)
3285
end
3286
for i = 0, 24 do
3287
PixelBlock(1,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.06,BrickColor.new("Carnation pink"),0)
3288
end
3289
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Carnation pink"))
3290
bld.Enabled = false
3291
attack = false
3292
hum.WalkSpeed = storehumanoidWS
3293
end
3294
end
3295
function PureBomb()
3296
attack = true
3297
3298
local orb = Instance.new("Part", char)
3299
        orb.Anchored = true
3300
        orb.BrickColor = BrickColor.new("Lime green")
3301
        orb.CanCollide = false
3302
        orb.FormFactor = 3
3303
        orb.Name = "Ring"
3304
        orb.Material = "Neon"
3305
        orb.Size = Vector3.new(1, 1, 1)
3306
        orb.Transparency = 0
3307
        orb.TopSurface = 0
3308
        orb.BottomSurface = 0
3309
        local orbm = Instance.new("SpecialMesh", orb)
3310
        orbm.MeshType = "Sphere"
3311
orbm.Name = "SizeMesh"
3312
orbm.Scale = vt(0,0,0)
3313
local scaled = 0.1
3314
local posid = 0
3315
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
3316
for i = 0, 5, 0.1 do
3317
swait()
3318
scaled = scaled - 0.001
3319
posid = posid - scaled
3320
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3321
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
3322
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("Lime green"),10)
3323
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("Lime green"),0)
3324
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)
3325
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)
3326
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)
3327
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3328
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
3329
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)
3330
end
3331
for i = 0, 2, 0.1 do
3332
swait()
3333
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3334
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)
3335
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)
3336
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)
3337
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
3338
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
3339
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)
3340
end
3341
coroutine.resume(coroutine.create(function()
3342
orb.Anchored = false
3343
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
3344
	local a = Instance.new("Part",workspace)
3345
	a.Name = "Direction"	
3346
	a.Anchored = true
3347
	a.BrickColor = bc("Bright red")
3348
a.Material = "Neon"
3349
a.Transparency = 1
3350
	a.CanCollide = false
3351
	local ray = Ray.new(
3352
	    orb.CFrame.p,                           -- origin
3353
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
3354
	) 
3355
	local ignore = orb
3356
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3357
	a.BottomSurface = 10
3358
	a.TopSurface = 10
3359
	local distance = (orb.CFrame.p - position).magnitude
3360
	a.Size = Vector3.new(0.1, 0.1, 0.1)
3361
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3362
orb.CFrame = a.CFrame
3363
a:Destroy()
3364
local bv = Instance.new("BodyVelocity")
3365
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3366
bv.velocity = orb.CFrame.lookVector*125
3367
bv.Parent = orb
3368
local hitted = false
3369
game:GetService("Debris"):AddItem(orb, 15)
3370
wait()
3371
local hit =orb.Touched:connect(function(hit) 
3372
	if hitted == false then
3373
	hitted = true
3374
CameraEnshaking(10,2.5)
3375
CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
3376
	MagniDamage(orb, 65, 65,90, 0, "Normal")
3377
sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Lime green"))
3378
sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Lime green"))
3379
for i = 0, 49 do
3380
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("Lime green"),0)
3381
end
3382
for i = 0, 9 do
3383
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("Lime green"),0)
3384
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("Lime green"),0)
3385
end
3386
orb.Anchored = true
3387
orb.Transparency = 1
3388
wait(8)
3389
orb:Destroy()
3390
end
3391
end)
3392
end))
3393
for i = 0, 1, 0.1 do
3394
swait()
3395
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)
3396
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)
3397
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)
3398
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
3399
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
3400
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)
3401
end
3402
attack = false
3403
end
3404
3405
function ChaosGroundStrike()
3406
attack = true
3407
for i = 0, 2, 0.1 do
3408
swait()
3409
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)
3410
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)
3411
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3412
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3413
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
3414
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
3415
end
3416
CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
3417
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
3418
CameraEnshaking(4,12)
3419
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
3420
if v:FindFirstChild('Head') then
3421
dmg(v)
3422
end
3423
end
3424
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.new("Really red"))
3425
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.new("Really red"))
3426
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.new("Really red"))
3427
for i = 0, 2, 0.1 do
3428
swait()
3429
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.new("Really red"),0)
3430
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.new("Really red"),0)
3431
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)
3432
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)
3433
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3434
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3435
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
3436
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
3437
end
3438
attack = false
3439
end
3440
3441
function InsaneGroundStrike()
3442
attack = true
3443
chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
3444
for i = 0, 8, 0.1 do
3445
swait()
3446
PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*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("Lime green"),0)
3447
3448
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)
3449
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)
3450
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3451
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3452
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
3453
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
3454
end
3455
CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
3456
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
3457
CameraEnshaking(8,24)
3458
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
3459
if v:FindFirstChild('Head') then
3460
dmg(v)
3461
end
3462
end
3463
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.new("Really red"))
3464
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.new("Really red"))
3465
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.new("Really red"))
3466
CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
3467
chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
3468
for i = 0, 2, 0.1 do
3469
swait()
3470
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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.new("Really red"),0)
3471
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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.new("Really red"),0)
3472
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)
3473
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)
3474
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3475
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3476
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
3477
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
3478
end
3479
attack = false
3480
end
3481
3482
function Starfall()
3483
attack = true
3484
hum.WalkSpeed = 0
3485
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
3486
for i = 0, 5, 0.1 do
3487
swait()
3488
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)
3489
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)
3490
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)
3491
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)
3492
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)
3493
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
3494
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)
3495
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)
3496
end
3497
local Overed = false
3498
CameraEnshaking(2,20)
3499
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3500
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3501
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
3502
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
3503
local orb = Instance.new("Part", char)
3504
        orb.Anchored = true
3505
        orb.BrickColor = BrickColor.new("Lime green")
3506
        orb.CanCollide = false
3507
        orb.FormFactor = 3
3508
        orb.Name = "Remenant"
3509
        orb.Material = "Neon"
3510
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
3511
        orb.Size = Vector3.new(1, 1, 1)
3512
        orb.Transparency = 1
3513
        orb.TopSurface = 0
3514
        orb.BottomSurface = 0
3515
hum.WalkSpeed = storehumanoidWS
3516
coroutine.resume(coroutine.create(function()
3517
for i = 0, 9 do
3518
swait(10)
3519
				 local lb = Instance.new("Part")
3520
    lb.Color = MAINRUINCOLOR.Color
3521
     lb.CanCollide = false
3522
lb.Material = "Neon"
3523
     lb.Anchored = true
3524
lb.TopSurface = 0
3525
        lb.BottomSurface = 0
3526
     lb.Transparency = 0
3527
     lb.Size = vt(1,1,1)
3528
     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)))
3529
lb.Anchored = false
3530
  lb.Parent = char
3531
local thingery = Instance.new("SpecialMesh",lb)
3532
     thingery.MeshType = "Sphere"
3533
thingery.Scale = vt(20,20,20)
3534
game:GetService("Debris"):AddItem(lb, 10)
3535
  local bv = Instance.new("BodyVelocity")
3536
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3537
  bv.velocity = lb.CFrame.lookVector*math.random(75,250)
3538
  bv.Parent = lb
3539
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
3540
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
3541
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
3542
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
3543
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
3544
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
3545
local hitted = false
3546
coroutine.resume(coroutine.create(function()
3547
while true do
3548
swait(1)
3549
if lb.Parent ~= nil and hitted == false then
3550
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)
3551
elseif lb.Parent == nil then
3552
break
3553
end
3554
end
3555
end))
3556
3557
game:GetService("Debris"):AddItem(a, 0.1)
3558
3559
coroutine.resume(coroutine.create(function()
3560
swait(1)
3561
lb.Touched:connect(function(hit)
3562
if hitted == false then
3563
hitted = true
3564
lb.Transparency = 1
3565
lb.Anchored = true
3566
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
3567
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
3568
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
3569
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
3570
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
3571
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
3572
MagniDamage(lb, 45, 45,85, 0, "Normal")
3573
CameraEnshaking(1,5)
3574
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
3575
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
3576
for i = 0, 9 do
3577
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)
3578
end
3579
for i = 0, 49 do
3580
swait()
3581
MagniDamage(lb, 30, 2,4, 0, "Normal")
3582
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)
3583
end
3584
end
3585
end)
3586
end))
3587
end
3588
Overed = true
3589
orb:Destroy()
3590
end))
3591
3592
attack = false
3593
end
3594
3595
function StarfallEX()
3596
attack = true
3597
hum.WalkSpeed = 0
3598
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
3599
for i = 0, 5, 0.1 do
3600
swait()
3601
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)
3602
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)
3603
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)
3604
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)
3605
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)
3606
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
3607
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)
3608
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)
3609
end
3610
local Overed = false
3611
CameraEnshaking(2,20)
3612
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3613
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3614
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
3615
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
3616
local orb = Instance.new("Part", char)
3617
        orb.Anchored = true
3618
        orb.BrickColor = BrickColor.new("Lime green")
3619
        orb.CanCollide = false
3620
        orb.FormFactor = 3
3621
        orb.Name = "Remenant"
3622
        orb.Material = "Neon"
3623
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
3624
        orb.Size = Vector3.new(1, 1, 1)
3625
        orb.Transparency = 1
3626
        orb.TopSurface = 0
3627
        orb.BottomSurface = 0
3628
hum.WalkSpeed = storehumanoidWS
3629
coroutine.resume(coroutine.create(function()
3630
for i = 1, 5 do
3631
swait(10)
3632
				 local lb = Instance.new("Part")
3633
    lb.Color = MAINRUINCOLOR.Color
3634
     lb.CanCollide = false
3635
lb.Material = "Neon"
3636
     lb.Anchored = true
3637
lb.TopSurface = 0
3638
        lb.BottomSurface = 0
3639
     lb.Transparency = 0
3640
     lb.Size = vt(1,1,1)
3641
     lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
3642
lb.Anchored = false
3643
  lb.Parent = char
3644
local thingery = Instance.new("SpecialMesh",lb)
3645
     thingery.MeshType = "Sphere"
3646
thingery.Scale = vt(20,20,20)
3647
game:GetService("Debris"):AddItem(lb, 10)
3648
  local bv = Instance.new("BodyVelocity")
3649
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3650
  bv.velocity = lb.CFrame.lookVector*math.random(75,250)
3651
  bv.Parent = lb
3652
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
3653
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
3654
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
3655
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
3656
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
3657
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
3658
local hitted = false
3659
coroutine.resume(coroutine.create(function()
3660
while true do
3661
swait(1)
3662
if lb.Parent ~= nil and hitted == false then
3663
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)
3664
elseif lb.Parent == nil then
3665
break
3666
end
3667
end
3668
end))
3669
3670
game:GetService("Debris"):AddItem(a, 0.1)
3671
3672
coroutine.resume(coroutine.create(function()
3673
swait(5)
3674
lb.Touched:connect(function(hit)
3675
if hitted == false and not hit:IsDescendantOf(Character) then
3676
hitted = true
3677
lb.Transparency = 1
3678
lb.Anchored = true
3679
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
3680
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
3681
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
3682
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
3683
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
3684
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
3685
MagniDamage(lb, 45, 90,170, 0, "Normal")
3686
CameraEnshaking(1,5)
3687
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
3688
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
3689
for i = 0, 9 do
3690
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)
3691
end
3692
for i = 0, 49 do
3693
swait()
3694
MagniDamage(lb, 60, 20,40, 0, "Normal")
3695
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)
3696
end
3697
end
3698
end)
3699
end))
3700
end
3701
Overed = true
3702
orb:Destroy()
3703
end))
3704
3705
attack = false
3706
end
3707
3708
3709
function StarDivision()
3710
attack = true
3711
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
3712
for i = 0, 2, 0.1 do
3713
swait()
3714
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)
3715
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)),.6)
3716
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)),.6)
3717
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
3718
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
3719
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
3720
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
3721
end
3722
local orb = Instance.new("Part", char)
3723
        orb.BrickColor = MAINRUINCOLOR
3724
        orb.CanCollide = false
3725
        orb.FormFactor = 3
3726
        orb.Name = "Ring"
3727
        orb.Material = "Neon"
3728
        orb.Size = Vector3.new(1, 1, 1)
3729
        orb.Transparency = 0
3730
        orb.TopSurface = 0
3731
        orb.BottomSurface = 0
3732
        local orbm = Instance.new("SpecialMesh", orb)
3733
        orbm.MeshType = "Sphere"
3734
orbm.Name = "SizeMesh"
3735
orbm.Scale = vt(2,2,2)
3736
local a = Instance.new("Part",workspace)
3737
	a.Name = "Direction"	
3738
	a.Anchored = true
3739
	a.BrickColor = bc("Bright red")
3740
a.Material = "Neon"
3741
a.Transparency = 1
3742
	a.CanCollide = false
3743
	local ray = Ray.new(
3744
	    sorb.CFrame.p,                           -- origin
3745
	    (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
3746
	) 
3747
	local ignore = sorb
3748
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3749
	a.BottomSurface = 10
3750
	a.TopSurface = 10
3751
	local distance = (sorb.CFrame.p - position).magnitude
3752
	a.Size = Vector3.new(0.1, 0.1, 0.1)
3753
	a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
3754
orb.CFrame = a.CFrame
3755
a:Destroy()
3756
local bv = Instance.new("BodyVelocity")
3757
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3758
bv.velocity = orb.CFrame.lookVector*100
3759
bv.Parent = orb
3760
local hitted = false
3761
game:GetService("Debris"):AddItem(orb, 10)
3762
CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
3763
CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
3764
CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
3765
CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
3766
CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
3767
coroutine.resume(coroutine.create(function()
3768
while true do
3769
swait(1)
3770
if orb.Parent ~= nil and hitted == false then
3771
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)
3772
elseif orb.Parent == nil then
3773
break
3774
end
3775
end
3776
end))
3777
coroutine.resume(coroutine.create(function()
3778
swait(1)
3779
orb.Touched:connect(function(hit)
3780
if hitted == false then
3781
hitted = true
3782
game:GetService("Debris"):AddItem(orb, 5)
3783
orb.Transparency = 1
3784
orb.Anchored = true
3785
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
3786
elocacenter.Anchored = true
3787
elocacenter.CFrame = orb.CFrame
3788
elocacenter.Orientation = vt(0,0,0)
3789
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
3790
eloca1.Anchored = true
3791
eloca1.CFrame = elocacenter.CFrame
3792
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
3793
eloca2.Anchored = true
3794
eloca2.CFrame = elocacenter.CFrame
3795
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
3796
eloca3.Anchored = true
3797
eloca3.CFrame = elocacenter.CFrame
3798
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
3799
eloca4.Anchored = true
3800
eloca4.CFrame = elocacenter.CFrame
3801
local lookavec = 0 
3802
local speeds = 0
3803
CameraEnshaking(1,1)
3804
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
3805
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3806
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3807
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3808
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3809
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3810
for i = 0, 99 do
3811
swait()
3812
lookavec = lookavec + 1
3813
speeds = speeds + 0.1
3814
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
3815
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
3816
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)
3817
3818
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
3819
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)
3820
3821
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
3822
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)
3823
3824
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
3825
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)
3826
end
3827
3828
for i = 0, 149 do
3829
swait()
3830
speeds = speeds + 0.1
3831
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
3832
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
3833
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)
3834
3835
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
3836
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)
3837
3838
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
3839
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)
3840
3841
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
3842
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)
3843
end
3844
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
3845
if v:FindFirstChild('Head') then
3846
dmg(v)
3847
end
3848
end
3849
CameraEnshaking(7,30)
3850
MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
3851
CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
3852
CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
3853
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
3854
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
3855
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
3856
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
3857
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3858
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3859
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3860
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3861
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3862
for i = 0, 24 do
3863
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)
3864
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)
3865
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)
3866
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)
3867
end
3868
coroutine.resume(coroutine.create(function()
3869
for i = 0, 499 do
3870
swait(1)
3871
MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
3872
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)
3873
end
3874
elocacenter:Destroy()
3875
eloca1:Destroy()
3876
eloca2:Destroy()
3877
eloca3:Destroy()
3878
eloca4:Destroy()
3879
end))
3880
end
3881
end)
3882
end))
3883
attack = false
3884
end
3885
3886
3887
function UniversalCollapse()
3888
attack = true
3889
local speedearn = 0
3890
hum.WalkSpeed = 0
3891
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
3892
for i = 0, 10, 0.1 do
3893
swait()
3894
speedearn = speedearn + 0.1
3895
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)
3896
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)
3897
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)
3898
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)
3899
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)
3900
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)
3901
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)
3902
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)
3903
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
3904
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)
3905
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)
3906
end
3907
CameraEnshaking(5,45)
3908
sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
3909
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
3910
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
3911
if v:FindFirstChild('Head') then
3912
dmg(v)
3913
end
3914
end
3915
hum.WalkSpeed = storehumanoidWS
3916
attack = false
3917
end
3918
function ChaosBegone()
3919
attack = true
3920
local speedearn = 0
3921
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
3922
for i = 0, 10, 0.1 do
3923
swait()
3924
speedearn = speedearn + 0.1
3925
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)
3926
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)
3927
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)
3928
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)
3929
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)
3930
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)
3931
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)
3932
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3933
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3934
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
3935
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
3936
end
3937
CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
3938
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
3939
CameraEnshaking(5,25)
3940
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
3941
if v:FindFirstChild('Head') then
3942
dmg(v)
3943
end
3944
end
3945
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.new("Really red"))
3946
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.new("Really red"))
3947
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.new("Really red"))
3948
for i = 0, 3, 0.1 do
3949
swait()
3950
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))),2.5,2.5,25,-0.025,BrickColor.new("Really red"),0)
3951
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))),2.5,2.5,25,-0.025,BrickColor.new("Really red"),0)
3952
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))),2.5,2.5,25,-0.025,BrickColor.new("Really red"),0)
3953
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))),2.5,2.5,25,-0.025,BrickColor.new("Really red"),0)
3954
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)
3955
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)
3956
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3957
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3958
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
3959
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
3960
end
3961
attack = false
3962
end
3963
3964
function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
3965
local orb = Instance.new("Part", char)
3966
        orb.Anchored = true
3967
        orb.BrickColor = color
3968
        orb.CanCollide = false
3969
        orb.FormFactor = 3
3970
        orb.Name = "Ring"
3971
        orb.Material = "Neon"
3972
        orb.Size = Vector3.new(1, 1, 1)
3973
        orb.Transparency = 0
3974
        orb.TopSurface = 0
3975
        orb.BottomSurface = 0
3976
        local orbm = Instance.new("SpecialMesh", orb)
3977
        orbm.MeshType = "Sphere"
3978
orb.CFrame = positted
3979
orbm.Name = "SizeMesh"
3980
orbm.Scale = vt(1,1,1)
3981
coroutine.wrap(function()
3982
	while orb and orb.Parent do
3983
		if glitchymode then
3984
			local val = math.random(1,255)
3985
			local color = Color3.fromRGB(val,val,val)
3986
			orb.Color = color
3987
		end
3988
		swait()
3989
	end
3990
end)()
3991
CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
3992
sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
3993
--[[for i = 0, 2 do
3994
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)
3995
end]]--
3996
coroutine.resume(coroutine.create(function()
3997
wait(timer)
3998
CameraEnshaking(3,ShakePower)
3999
orb.Transparency = 1
4000
MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
4001
sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
4002
--[[for i = 0, 4 do
4003
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)
4004
end]]--
4005
CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
4006
wait(3)
4007
orb:Destroy()
4008
end))
4009
end
4010
4011
function orb_spawn(positted,timer)
4012
local orb = Instance.new("Part", char)
4013
        orb.Anchored = true
4014
        orb.BrickColor = BrickColor.new("White")
4015
4016
        orb.CanCollide = false
4017
        orb.FormFactor = 3
4018
        orb.Name = "Ring"
4019
        orb.Material = "Neon"
4020
        orb.Size = Vector3.new(1, 1, 1)
4021
        orb.Transparency = 0
4022
        orb.TopSurface = 0
4023
        orb.BottomSurface = 0
4024
        local orbm = Instance.new("SpecialMesh", orb)
4025
        orbm.MeshType = "Sphere"
4026
orb.CFrame = positted
4027
orbm.Name = "SizeMesh"
4028
orbm.Scale = vt(1,1,1)
4029
CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
4030
sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
4031
coroutine.wrap(function()
4032
	while orb and orb.Parent do
4033
		if glitchymode then
4034
			local val = math.random(1,255)
4035
			local color = Color3.fromRGB(val,val,val)
4036
			orb.Color = color
4037
		end
4038
		swait()
4039
	end
4040
end)()
4041
for i = 0, 2 do
4042
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)
4043
end
4044
4045
coroutine.resume(coroutine.create(function()
4046
wait(timer)
4047
CameraEnshaking(3,2)
4048
orb.Transparency = 1
4049
MagniDamage(orb, 17.5, 10,50, 0, "Normal")
4050
sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
4051
for i = 0, 4 do
4052
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)
4053
end
4054
CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
4055
wait(3)
4056
orb:Destroy()
4057
end))
4058
end
4059
4060
function scattercorrupt()
4061
attack = true
4062
local rot = 0
4063
local randomrotations = math.random(1,2)
4064
local lookv = 2.5
4065
local power = 5
4066
sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
4067
sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
4068
for i = 0, 9 do
4069
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)
4070
end
4071
	CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
4072
	CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
4073
	CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
4074
CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
4075
CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
4076
local hite = Instance.new("Part", char)
4077
        hite.Anchored = true
4078
        hite.CanCollide = false
4079
        hite.FormFactor = 3
4080
        hite.Name = "Ring"
4081
        hite.Material = "Neon"
4082
        hite.Size = Vector3.new(1, 1, 1)
4083
        hite.Transparency = 1
4084
        hite.TopSurface = 0
4085
        hite.BottomSurface = 0
4086
hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
4087
local rem = Instance.new("Part", char)
4088
        rem.Anchored = true
4089
        rem.CanCollide = false
4090
        rem.FormFactor = 3
4091
        rem.Name = "Ring"
4092
        rem.Material = "Neon"
4093
        rem.Size = Vector3.new(1, 1, 1)
4094
        rem.Transparency = 1
4095
        rem.TopSurface = 0
4096
        rem.BottomSurface = 0
4097
rem.CFrame = hite.CFrame
4098
local rem2 = rem:Clone()
4099
rem2.Parent = char
4100
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
4101
local rem3 = rem:Clone()
4102
rem3.Parent = char
4103
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
4104
local rem4 = rem:Clone()
4105
rem4.Parent = char
4106
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
4107
hite:Destroy()
4108
coroutine.resume(coroutine.create(function()
4109
for i = 0, 24 do
4110
swait(1)
4111
if randomrotations == 1 then
4112
rot = rot + 1
4113
elseif randomrotations == 2 then
4114
rot = rot - 1
4115
end
4116
power = power + 0.5
4117
lookv = lookv + 7.5
4118
rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
4119
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
4120
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
4121
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
4122
orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
4123
orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
4124
orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
4125
orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
4126
end
4127
end))
4128
attack = false
4129
end
4130
function yinyangi()
4131
attack = true
4132
for i = 0, 2, 0.1 do
4133
swait()
4134
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)
4135
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)
4136
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)
4137
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
4138
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
4139
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
4140
end
4141
local bv = Instance.new("BodyVelocity")
4142
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4143
bv.velocity = root.CFrame.lookVector*175
4144
bv.Parent = root
4145
for Rotations = 0, 9 do
4146
4147
for i = 0, 1, 0.5 do
4148
swait()
4149
bv.velocity = root.CFrame.lookVector*175
4150
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)
4151
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)
4152
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)
4153
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
4154
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
4155
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
4156
end
4157
4158
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
4159
for i = 0, 1, 0.5 do
4160
swait()
4161
bv.velocity = root.CFrame.lookVector*175
4162
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)
4163
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)
4164
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)
4165
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
4166
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
4167
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
4168
end
4169
4170
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
4171
for i = 0, 1, 0.5 do
4172
swait()
4173
bv.velocity = root.CFrame.lookVector*175
4174
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)
4175
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)
4176
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)
4177
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
4178
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
4179
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
4180
end
4181
4182
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
4183
for i = 0, 1, 0.5 do
4184
swait()
4185
bv.velocity = root.CFrame.lookVector*175
4186
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)
4187
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)
4188
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)
4189
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
4190
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
4191
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
4192
end
4193
4194
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
4195
end
4196
bv:Destroy()
4197
attack = false
4198
end
4199
4200
function JusticeBeam()
4201
attack = true
4202
4203
local rngb = Instance.new("Part", char)
4204
        rngb.Anchored = true
4205
        rngb.BrickColor = origcolor
4206
        rngb.CanCollide = false
4207
        rngb.FormFactor = 3
4208
        rngb.Name = "Ring"
4209
        rngb.Material = "Neon"
4210
        rngb.Size = Vector3.new(1, 0.05, 1)
4211
        rngb.Transparency = 1
4212
        rngb.TopSurface = 0
4213
        rngb.BottomSurface = 0
4214
        local rngmb = Instance.new("SpecialMesh", rngb)
4215
        rngmb.MeshType = "Brick"
4216
rngmb.Name = "SizeMesh"
4217
rngmb.Scale = vt(0,1,0)
4218
4219
local orb = rngb:Clone()
4220
orb.Parent = char
4221
orb.Transparency = 0
4222
orb.BrickColor = BrickColor.new("White")
4223
orb.Size = vt(1,1,1)
4224
local orbmish = orb.SizeMesh
4225
orbmish.Scale = vt(0,0,0)
4226
orbmish.MeshType = "Sphere"
4227
4228
local orbe = rngb:Clone()
4229
orbe.Parent = char
4230
orbe.Transparency = 0.5
4231
orbe.BrickColor = BrickColor.new("Bright bluish violet")
4232
orbe.Size = vt(1,1,1)
4233
local orbmish2 = orbe.SizeMesh
4234
orbmish2.Scale = vt(0,0,0)
4235
orbmish2.MeshType = "Sphere"
4236
orbe.Color = Color3.new(1,1,1)
4237
4238
rngb:Destroy()
4239
--[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
4240
local scaled = 1
4241
for i = 0,5,0.1 do
4242
swait()
4243
scaled = scaled - 0.02
4244
if rainbowmode == true then
4245
orbe.Color = Color3.new(r/255,g/255,b/255)
4246
end
4247
orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
4248
orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
4249
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4250
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4251
sphereMKCharge(2.5,-0.5,"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,MAINRUINCOLOR,25)
4252
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4253
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4254
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4255
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4256
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(0)),.3)
4257
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(10),math.rad(0)),.3)
4258
RootPart.CFrame = FaceMouse()[1]
4259
end]]--
4260
for i = 0,5,0.1 do
4261
swait()
4262
if rainbowmode == true then
4263
orbe.Color = Color3.new(r/255,g/255,b/255)
4264
end
4265
		if glitchymode then
4266
			local val = math.random(1,255)
4267
			local color = Color3.fromRGB(val,val,val)
4268
			orbe.Color = color
4269
		end
4270
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4271
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4272
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)
4273
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)
4274
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4275
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
4276
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
4277
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
4278
end
4279
orbe.Transparency = 1
4280
orb.Transparency = 1
4281
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
4282
CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
4283
local a2 = Instance.new("Part",Character)
4284
	a2.Name = "Direction"	
4285
	a2.Anchored = true
4286
	a2.BrickColor = bc("Bright bluish violet")
4287
a2.Color = Color3.new(1,1,1)
4288
a2.Material = "Neon"
4289
a2.Transparency = 0.5
4290
a2.Shape = "Cylinder"
4291
	a2.CanCollide = false
4292
local ba = Instance.new("Part",Character)
4293
	ba.Name = "HitDirect"	
4294
	ba.Anchored = true
4295
	ba.BrickColor = bc("Bright bluish violet")
4296
ba.Material = "Neon"
4297
ba.Transparency = 1
4298
	ba.CanCollide = false
4299
	local ray = Ray.new(
4300
	    orb.CFrame.p,                           -- origin
4301
	    root.CFrame.lookVector.unit * 1000 -- direction
4302
	) 
4303
	local ignore = Character
4304
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4305
	a2.Transparency = .75
4306
	a2.BottomSurface = 10
4307
	a2.TopSurface = 10
4308
	local distance = (orb.CFrame.p - position).magnitude
4309
	a2.Size = Vector3.new(distance, 1, 1)
4310
	a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4311
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4312
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4313
game:GetService("Debris"):AddItem(a2, 20)
4314
game:GetService("Debris"):AddItem(ba, 20)
4315
local msh2 = Instance.new("SpecialMesh",a2)
4316
msh2.MeshType = "Cylinder"
4317
msh2.Scale = vt(1,6*5,6*5)
4318
4319
local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
4320
for i = 1, 80*2 do
4321
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)
4322
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)
4323
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4324
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
4325
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
4326
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
4327
swait()
4328
CameraEnshaking(1,5)
4329
a2.Color = Color3.new(1,1,1)
4330
a2.Transparency = .25
4331
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4332
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4333
	ray = Ray.new(
4334
	    orb.CFrame.p,                           -- origin
4335
	    root.CFrame.lookVector.unit * 1000 -- direction
4336
	) 
4337
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4338
distance = (orb.CFrame.p - position).magnitude
4339
if typrot == 1 then
4340
rotation = rotation + 2.5
4341
elseif typrot == 2 then
4342
rotation = rotation - 2.5
4343
end
4344
a2.Size = Vector3.new(distance, 1, 1)
4345
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4346
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4347
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4348
msh2.Scale = msh2.Scale - vt(0,.19,.19)
4349
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
4350
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
4351
MagniDamage(ba, 30, 5,25, 0, "Normal")
4352
end
4353
a2:Destroy()
4354
ba:Destroy()
4355
orb:Destroy()
4356
orbe:Destroy()
4357
attack = false
4358
end
4359
4360
function Wip()
4361
attack = true
4362
4363
local rngb = Instance.new("Part", char)
4364
        rngb.Anchored = true
4365
        rngb.BrickColor = origcolor
4366
        rngb.CanCollide = false
4367
        rngb.FormFactor = 3
4368
        rngb.Name = "Ring"
4369
        rngb.Material = "Neon"
4370
        rngb.Size = Vector3.new(1, 0.05, 1)
4371
        rngb.Transparency = 1
4372
        rngb.TopSurface = 0
4373
        rngb.BottomSurface = 0
4374
        local rngmb = Instance.new("SpecialMesh", rngb)
4375
        rngmb.MeshType = "Brick"
4376
rngmb.Name = "SizeMesh"
4377
rngmb.Scale = vt(0,1,0)
4378
4379
local orb = rngb:Clone()
4380
orb.Parent = char
4381
orb.Transparency = 0
4382
orb.BrickColor = BrickColor.new("White")
4383
orb.Size = vt(1,1,1)
4384
local orbmish = orb.SizeMesh
4385
orbmish.Scale = vt(0,0,0)
4386
orbmish.MeshType = "Sphere"
4387
4388
local orbe = rngb:Clone()
4389
orbe.Parent = char
4390
orbe.Transparency = 0.5
4391
orbe.BrickColor = BrickColor.new("Bright bluish violet")
4392
orbe.Size = vt(1,1,1)
4393
local orbmish2 = orbe.SizeMesh
4394
orbmish2.Scale = vt(0,0,0)
4395
orbmish2.MeshType = "Sphere"
4396
orbe.Color = Color3.new(r/255,g/255,b/255)
4397
4398
hum.AutoRotate = false
4399
rngb:Destroy()
4400
--[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
4401
local scaled = 1
4402
for i = 0,5,0.1 do
4403
swait()
4404
scaled = scaled - 0.02
4405
if rainbowmode == true then
4406
orbe.Color = Color3.new(r/255,g/255,b/255)
4407
end
4408
orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
4409
orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
4410
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4411
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4412
sphereMKCharge(2.5,-0.5,"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,MAINRUINCOLOR,25)
4413
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4414
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4415
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4416
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4417
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(0)),.3)
4418
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(10),math.rad(0)),.3)
4419
RootPart.CFrame = FaceMouse()[1]
4420
end]]--
4421
for i = 0,5,0.1 do
4422
swait()
4423
if rainbowmode == true then
4424
orbe.Color = Color3.new(r/255,g/255,b/255)
4425
end
4426
		if glitchymode then
4427
			local val = math.random(1,255)
4428
			local color = Color3.fromRGB(val,val,val)
4429
			orbe.Color = color
4430
		end
4431
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4432
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4433
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4434
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4435
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4436
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4437
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(0)),.3)
4438
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(10),math.rad(0)),.3)
4439
RootPart.CFrame = FaceMouse()[1]
4440
end
4441
orbe.Transparency = 1
4442
orb.Transparency = 1
4443
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
4444
CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
4445
local a = Instance.new("Part",Character)
4446
	a.Name = "Direction"	
4447
	a.Anchored = true
4448
	a.BrickColor = bc("White")
4449
a.Material = "Neon"
4450
a.Transparency = 0
4451
a.Shape = "Cylinder"
4452
	a.CanCollide = false
4453
local a2 = Instance.new("Part",Character)
4454
	a2.Name = "Direction"	
4455
	a2.Anchored = true
4456
	a2.BrickColor = bc("Bright bluish violet")
4457
a2.Color = Color3.new(r/255,g/255,b/255)
4458
a2.Material = "Neon"
4459
a2.Transparency = 0.5
4460
a2.Shape = "Cylinder"
4461
	a2.CanCollide = false
4462
local ba = Instance.new("Part",Character)
4463
	ba.Name = "HitDirect"	
4464
	ba.Anchored = true
4465
	ba.BrickColor = bc("Bright bluish violet")
4466
ba.Material = "Neon"
4467
ba.Transparency = 1
4468
	ba.CanCollide = false
4469
	local ray = Ray.new(
4470
	    orb.CFrame.p,                           -- origin
4471
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4472
	) 
4473
	local ignore = Character
4474
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4475
	a.BottomSurface = 10
4476
	a.TopSurface = 10
4477
	a2.BottomSurface = 10
4478
	a2.TopSurface = 10
4479
	local distance = (orb.CFrame.p - position).magnitude
4480
	a.Size = Vector3.new(distance, 1, 1)
4481
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4482
	a2.Size = Vector3.new(distance, 1, 1)
4483
	a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4484
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4485
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4486
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4487
game:GetService("Debris"):AddItem(a, 20)
4488
game:GetService("Debris"):AddItem(a2, 20)
4489
game:GetService("Debris"):AddItem(ba, 20)
4490
local msh = Instance.new("SpecialMesh",a)
4491
msh.MeshType = "Cylinder"
4492
msh.Scale = vt(1,5*5,5*5)
4493
local msh2 = Instance.new("SpecialMesh",a2)
4494
msh2.MeshType = "Cylinder"
4495
msh2.Scale = vt(1,6*5,6*5)
4496
4497
for i = 0,10,0.1 do
4498
swait()
4499
CameraEnshaking(1,5)
4500
a2.Color = Color3.new(r/255,g/255,b/255)
4501
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4502
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4503
ray = Ray.new(
4504
	    orb.CFrame.p,                           -- origin
4505
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4506
	) 
4507
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4508
distance = (orb.CFrame.p - position).magnitude
4509
if typrot == 1 then
4510
rotation = rotation + 2.5
4511
elseif typrot == 2 then
4512
rotation = rotation - 2.5
4513
end
4514
RootPart.CFrame = FaceMouse()[1]
4515
a.Size = Vector3.new(distance, 1, 1)
4516
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4517
a2.Size = Vector3.new(distance, 1, 1)
4518
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4519
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4520
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4521
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4522
msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
4523
msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
4524
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
4525
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
4526
MagniDamage(ba, 30, 5,25, 0, "Normal")
4527
end
4528
a:Destroy()
4529
a2:Destroy()
4530
ba:Destroy()
4531
orb:Destroy()
4532
orbe:Destroy()
4533
hum.AutoRotate = true
4534
attack = false
4535
end
4536
4537
4538
function UniversalSpark()
4539
attack = true
4540
4541
local rngb = Instance.new("Part", char)
4542
        rngb.Anchored = true
4543
        rngb.BrickColor = origcolor
4544
        rngb.CanCollide = false
4545
        rngb.FormFactor = 3
4546
        rngb.Name = "Ring"
4547
        rngb.Material = "Neon"
4548
        rngb.Size = Vector3.new(1, 0.05, 1)
4549
        rngb.Transparency = 1
4550
        rngb.TopSurface = 0
4551
        rngb.BottomSurface = 0
4552
        local rngmb = Instance.new("SpecialMesh", rngb)
4553
        rngmb.MeshType = "Brick"
4554
rngmb.Name = "SizeMesh"
4555
rngmb.Scale = vt(0,1,0)
4556
4557
local orb = rngb:Clone()
4558
orb.Parent = char
4559
orb.Transparency = 0
4560
orb.BrickColor = BrickColor.new("White")
4561
orb.Size = vt(1,1,1)
4562
local orbmish = orb.SizeMesh
4563
orbmish.Scale = vt(0,0,0)
4564
orbmish.MeshType = "Sphere"
4565
4566
local orbe = rngb:Clone()
4567
orbe.Parent = char
4568
orbe.Transparency = 0.5
4569
orbe.BrickColor = BrickColor.new("Bright bluish violet")
4570
orbe.Size = vt(1,1,1)
4571
local orbmish2 = orbe.SizeMesh
4572
orbmish2.Scale = vt(0,0,0)
4573
orbmish2.MeshType = "Sphere"
4574
orbe.Color = Color3.new(r/255,g/255,b/255)
4575
4576
rngb:Destroy()
4577
--[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
4578
local scaled = 1
4579
for i = 0,5,0.1 do
4580
swait()
4581
scaled = scaled - 0.02
4582
if rainbowmode == true then
4583
orbe.Color = Color3.new(r/255,g/255,b/255)
4584
end
4585
orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
4586
orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
4587
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4588
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4589
sphereMKCharge(2.5,-0.5,"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,MAINRUINCOLOR,25)
4590
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4591
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4592
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4593
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4594
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(0)),.3)
4595
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(10),math.rad(0)),.3)
4596
RootPart.CFrame = FaceMouse()[1]
4597
end]]--
4598
for i = 0,5,0.1 do
4599
swait()
4600
if rainbowmode == true then
4601
orbe.Color = Color3.new(r/255,g/255,b/255)
4602
end
4603
		if glitchymode then
4604
			local val = math.random(1,255)
4605
			local color = Color3.fromRGB(val,val,val)
4606
			orbe.Color = color
4607
		end
4608
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4609
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4610
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4611
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4612
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4613
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4614
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(0)),.3)
4615
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(10),math.rad(0)),.3)
4616
RootPart.CFrame = FaceMouse()[1]
4617
end
4618
orbe.Transparency = 1
4619
orb.Transparency = 1
4620
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
4621
CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
4622
CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
4623
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
4624
4625
CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
4626
CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
4627
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
4628
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
4629
CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
4630
CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
4631
CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
4632
local xd= Instance.new("Sound",char)
4633
xd.SoundId = "rbxassetid://445796828"
4634
xd.Pitch = 0.75
4635
xd.Looped = true
4636
xd.Volume = 1.25
4637
xd:Play()
4638
local a = Instance.new("Part",Character)
4639
	a.Name = "Direction"	
4640
	a.Anchored = true
4641
	a.BrickColor = bc("Alder")
4642
a.Color = MAINRUINCOLOR.Color
4643
a.Material = "Neon"
4644
a.Transparency = 0.5
4645
a.Shape = "Cylinder"
4646
	a.CanCollide = false
4647
local a2 = Instance.new("Part",Character)
4648
	a2.Name = "Direction"	
4649
	a2.Anchored = true
4650
	a2.BrickColor = bc("Bright bluish violet")
4651
a2.Color = MAINRUINCOLOR.Color
4652
a2.Material = "Neon"
4653
a2.Transparency = 0.5
4654
a2.Shape = "Cylinder"
4655
	a2.CanCollide = false
4656
local ba = Instance.new("Part",Character)
4657
	ba.Name = "HitDirect"	
4658
	ba.Anchored = true
4659
	ba.BrickColor = bc("Bright bluish violet")
4660
ba.Material = "Neon"
4661
ba.Transparency = 1
4662
	ba.CanCollide = false
4663
	local ray = Ray.new(
4664
	    orb.CFrame.p,                           -- origin
4665
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4666
	) 
4667
	local ignore = Character
4668
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4669
	a.BottomSurface = 10
4670
	a.TopSurface = 10
4671
	a2.BottomSurface = 10
4672
	a2.TopSurface = 10
4673
	local distance = (orb.CFrame.p - position).magnitude
4674
	a.Size = Vector3.new(distance, 1, 1)
4675
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4676
	a2.Size = Vector3.new(distance, 1, 1)
4677
	a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4678
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4679
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4680
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4681
game:GetService("Debris"):AddItem(a, 60)
4682
game:GetService("Debris"):AddItem(a2, 60)
4683
game:GetService("Debris"):AddItem(ba, 60)
4684
local outerscale = 0
4685
local msh = Instance.new("SpecialMesh",a)
4686
msh.MeshType = "Cylinder"
4687
msh.Scale = vt(1,0,0)
4688
local msh2 = Instance.new("SpecialMesh",a2)
4689
msh2.MeshType = "Cylinder"
4690
msh2.Scale = vt(1,0,0)
4691
for i = 0,2,0.1 do
4692
swait()
4693
CameraEnshaking(1,1)
4694
msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
4695
msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
4696
outerscale = outerscale - 0.015
4697
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4698
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4699
ray = Ray.new(
4700
	    orb.CFrame.p,                           -- origin
4701
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4702
	) 
4703
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4704
distance = (orb.CFrame.p - position).magnitude
4705
if typrot == 1 then
4706
rotation = rotation + 2.5
4707
elseif typrot == 2 then
4708
rotation = rotation - 2.5
4709
end
4710
RootPart.CFrame = FaceMouse()[1]
4711
a.Size = Vector3.new(distance, 1, 1)
4712
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4713
a2.Size = Vector3.new(distance, 1, 1)
4714
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4715
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4716
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4717
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4718
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4719
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4720
MagniDamage(ba, 100, 500,60000, 0, "Normal")
4721
end
4722
for z = 0, 2 do
4723
for i = 0,4,0.1 do
4724
swait()
4725
CameraEnshaking(1,1)
4726
msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
4727
msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
4728
outerscale = outerscale + 0.015
4729
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4730
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4731
ray = Ray.new(
4732
	    orb.CFrame.p,                           -- origin
4733
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4734
	) 
4735
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4736
distance = (orb.CFrame.p - position).magnitude
4737
if typrot == 1 then
4738
rotation = rotation + 2.5
4739
elseif typrot == 2 then
4740
rotation = rotation - 2.5
4741
end
4742
RootPart.CFrame = FaceMouse()[1]
4743
a.Size = Vector3.new(distance, 1, 1)
4744
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4745
a2.Size = Vector3.new(distance, 1, 1)
4746
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4747
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4748
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4749
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4750
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4751
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4752
MagniDamage(ba, 100, 500,60000, 0, "Normal")
4753
end
4754
for i = 0,4,0.1 do
4755
swait()
4756
CameraEnshaking(1,1)
4757
msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
4758
msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
4759
outerscale = outerscale - 0.015
4760
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4761
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4762
ray = Ray.new(
4763
	    orb.CFrame.p,                           -- origin
4764
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4765
	) 
4766
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4767
distance = (orb.CFrame.p - position).magnitude
4768
if typrot == 1 then
4769
rotation = rotation + 2.5
4770
elseif typrot == 2 then
4771
rotation = rotation - 2.5
4772
end
4773
RootPart.CFrame = FaceMouse()[1]
4774
a.Size = Vector3.new(distance, 1, 1)
4775
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4776
a2.Size = Vector3.new(distance, 1, 1)
4777
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4778
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4779
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4780
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4781
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4782
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4783
MagniDamage(ba, 100, 500,60000, 0, "Normal")
4784
end
4785
end
4786
for i = 0,4,0.1 do
4787
swait()
4788
CameraEnshaking(1,1)
4789
msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
4790
msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
4791
xd.Volume = xd.Volume - 0.025
4792
a.Transparency = a.Transparency + 0.025
4793
a2.Transparency = a2.Transparency + 0.025
4794
outerscale = outerscale - 0.015
4795
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4796
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4797
ray = Ray.new(
4798
	    orb.CFrame.p,                           -- origin
4799
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4800
	) 
4801
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4802
distance = (orb.CFrame.p - position).magnitude
4803
if typrot == 1 then
4804
rotation = rotation + 2.5
4805
elseif typrot == 2 then
4806
rotation = rotation - 2.5
4807
end
4808
RootPart.CFrame = FaceMouse()[1]
4809
a.Size = Vector3.new(distance, 1, 1)
4810
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4811
a2.Size = Vector3.new(distance, 1, 1)
4812
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4813
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4814
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4815
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4816
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4817
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4818
MagniDamage(ba, 100, 500,60000, 0, "Normal")
4819
end
4820
xd:Destroy()
4821
a:Destroy()
4822
a2:Destroy()
4823
ba:Destroy()
4824
orb:Destroy()
4825
orbe:Destroy()
4826
attack = false
4827
end
4828
4829
4830
4831
function attackone()
4832
	attack = true
4833
	for i = 0,1,0.1 do
4834
		swait()
4835
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
4836
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
4837
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
4838
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
4839
RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
4840
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(10)),.2)
4841
	end
4842
	CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
4843
4844
local hitb = Instance.new("Part", char)
4845
        hitb.Anchored = true
4846
        hitb.CanCollide = false
4847
        hitb.FormFactor = 3
4848
        hitb.Name = "Ring"
4849
        hitb.Material = "Neon"
4850
        hitb.Size = Vector3.new(1, 1, 1)
4851
        hitb.Transparency = 1
4852
        hitb.TopSurface = 0
4853
        hitb.BottomSurface = 0
4854
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
4855
MagniDamage(hitb, 3, 10,30, 0, "Normal")
4856
hitb:Destroy()
4857
	for i = 0,1,0.1 do
4858
		swait()
4859
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
4860
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
4861
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
4862
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
4863
RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
4864
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(-10)),.4)
4865
	end
4866
4867
	attack = false
4868
end
4869
4870
function attacktwo()
4871
	attack = true
4872
	for i = 0,1,0.1 do
4873
		swait()
4874
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
4875
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
4876
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
4877
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
4878
RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
4879
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(10)),.2)
4880
	end
4881
	CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
4882
local hitb = Instance.new("Part", char)
4883
        hitb.Anchored = true
4884
        hitb.CanCollide = false
4885
        hitb.FormFactor = 3
4886
        hitb.Name = "Ring"
4887
        hitb.Material = "Neon"
4888
        hitb.Size = Vector3.new(1, 1, 1)
4889
        hitb.Transparency = 1
4890
        hitb.TopSurface = 0
4891
        hitb.BottomSurface = 0
4892
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
4893
MagniDamage(hitb, 3, 10,30, 0, "Normal")
4894
hitb:Destroy()
4895
	for i = 0,1,0.1 do
4896
		swait()
4897
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
4898
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
4899
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
4900
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
4901
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(-5),math.rad(0),math.rad(-40)),.4)
4902
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(-10)),.4)
4903
	end
4904
	attack = false
4905
end
4906
4907
function attackthree()
4908
	attack = true
4909
	for i = 0,1,0.1 do
4910
		swait()
4911
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
4912
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
4913
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
4914
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4915
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(0)),.3)
4916
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(10),math.rad(0)),.3)
4917
	end
4918
local distlook = 5
4919
for i = 0, 4 do
4920
swait(2)
4921
CameraEnshaking(2,3)
4922
local hite = Instance.new("Part", char)
4923
        hite.Anchored = true
4924
        hite.CanCollide = false
4925
        hite.FormFactor = 3
4926
        hite.Name = "Ring"
4927
        hite.Material = "Neon"
4928
        hite.Size = Vector3.new(1, 1, 1)
4929
        hite.Transparency = 1
4930
        hite.TopSurface = 0
4931
        hite.BottomSurface = 0
4932
hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
4933
sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
4934
sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
4935
MagniDamage(hite, 10, 15,35, 0, "Normal")
4936
for i = 0, 2 do
4937
sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
4938
sphereMK(3,0.2,"Add",hite.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,MAINRUINCOLOR,0)
4939
sphereMK(6,0.35,"Add",hite.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,MAINRUINCOLOR,0)
4940
end
4941
CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
4942
CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
4943
game:GetService("Debris"):AddItem(hite, 5)
4944
distlook = distlook + 10
4945
end
4946
	attack = false
4947
end
4948
4949
function FinalCalamity()
4950
end
4951
4952
function resetmode()
4953
rainbowmode = false
4954
chaosmode = false
4955
glitchymode = false
4956
tl1.Enabled = false
4957
tl2.Enabled = false
4958
tl3.Enabled = false
4959
local lust = ModeOfGlitch == 69
4960
               ModeOfGlitch = 1
4961
storehumanoidWS = 16
4962
if(not lust)then
4963
	newTheme("rbxassetid://1931652948",48.6,1,1)
4964
end
4965
coroutine.resume(coroutine.create(function()
4966
attack = true
4967
hum.WalkSpeed = 0
4968
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1)
4969
for i = 0,4,0.1 do
4970
swait()
4971
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)
4972
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)
4973
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)
4974
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
4975
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)
4976
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
4977
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
4978
end
4979
if(lust)then
4980
CFuncs["Sound"].Create("rbxassetid://282035551", root, 5,1)
4981
sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
4982
for i = 0, 49 do
4983
PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
4984
end
4985
4986
for i = 0,4,0.05 do
4987
swait()
4988
Pitch = 1-i/4
4989
	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)
4990
	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)
4991
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)
4992
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
4993
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)
4994
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
4995
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
4996
end
4997
for i = 0,3,0.1 do
4998
swait()
4999
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)
5000
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)
5001
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)
5002
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5003
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)
5004
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5005
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5006
end
5007
newTheme("rbxassetid://1931652948",48.6,1,1)
5008
end
5009
CFuncs["Sound"].Create("rbxassetid://282035551", root, 2.5,1)
5010
CFuncs["Sound"].Create("rbxassetid://282035551", root, 5,1)
5011
CFuncs["Sound"].Create("rbxassetid://282035551", root, 2.5,1)
5012
CFuncs["Sound"].Create("rbxassetid://282035551", root, 2.5,0.75)
5013
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
5014
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
5015
RecolorTextAndRename("Pearl",Color3.new(0,0,0),bc("Carnation pink").Color)
5016
CameraEnshaking(5,2.5)
5017
MAINRUINCOLOR = BrickColor.new("Carnation pink")
5018
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5019
for i = 0, 49 do
5020
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)
5021
end
5022
for i = 0,3,0.1 do
5023
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)
5024
end
5025
for i, v in pairs(mw2:GetChildren()) do
5026
if v:IsA("Part") then
5027
v.BrickColor = BrickColor.new("Carnation pink")
5028
v.Material = "Neon"
5029
end
5030
end
5031
for i, v in pairs(mw1:GetChildren()) do
5032
if v:IsA("Part") then
5033
v.Transparency = 1
5034
v.BrickColor = BrickColor.new("Cyan")
5035
v.Material = "Neon"
5036
end
5037
end
5038
for i, v in pairs(m:GetChildren()) do
5039
if v:IsA("Part") then
5040
v.BrickColor = BrickColor.new("Cyan")
5041
v.Material = "Glass"
5042
end
5043
end
5044
for i, v in pairs(m2:GetChildren()) do
5045
if v:IsA("Part") then
5046
v.BrickColor = BrickColor.new("Dark stone grey")
5047
v.Material = "Granite"
5048
end
5049
end
5050
for i, v in pairs(m3:GetChildren()) do
5051
if v:IsA("Part") then
5052
v.BrickColor = BrickColor.new("Cyan")
5053
v.Material = "Neon"
5054
end
5055
end
5056
for i, v in pairs(extrawingmod1:GetChildren()) do
5057
if v:IsA("Part") then
5058
v.Transparency = 1
5059
v.BrickColor = BrickColor.new("White")
5060
v.Material = "Neon"
5061
end
5062
end
5063
for i, v in pairs(extrawingmod2:GetChildren()) do
5064
if v:IsA("Part") then
5065
v.Transparency = 1
5066
v.BrickColor = BrickColor.new("White")
5067
v.Material = "Neon"
5068
end
5069
end
5070
for i = 0,2,0.1 do
5071
swait()
5072
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)
5073
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)
5074
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
5075
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))),.2)
5076
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))),.2)
5077
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))),.2)
5078
end
5079
hum.WalkSpeed = storehumanoidWS
5080
attack = false
5081
end))
5082
end
5083
5084
function lustmode()
5085
5086
               ModeOfGlitch = 69
5087
storehumanoidWS = 16
5088
rainbowmode = false
5089
chaosmode = false
5090
glitchymode = false
5091
tl1.Enabled = false
5092
tl2.Enabled = false
5093
tl3.Enabled = false
5094
newTheme("rbxassetid://1953605962",0,1,1)
5095
coroutine.wrap(function()
5096
attack = true
5097
hum.WalkSpeed = 0
5098
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
5099
for i = 0,4,0.1 do
5100
swait()
5101
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)
5102
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)
5103
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)
5104
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5105
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)
5106
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5107
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5108
end
5109
CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
5110
sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
5111
5112
for i = 0,4,0.1 do
5113
swait()
5114
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)
5115
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)
5116
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)
5117
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5118
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)
5119
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5120
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5121
end
5122
CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
5123
CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
5124
CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
5125
CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
5126
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
5127
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
5128
CameraEnshaking(5,2.5)
5129
MAINRUINCOLOR = BrickColor.new("Really red")
5130
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5131
for i = 0, 49 do
5132
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))),6,6,6,0.12,MAINRUINCOLOR,0,true)
5133
end
5134
for i = 0,3,0.1 do
5135
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,true)
5136
end
5137
RecolorTextAndRename("Playtime",Color3.new(1,1,1),BrickColor.new'Really red'.Color)
5138
for i, v in pairs(mw2:GetChildren()) do
5139
if v:IsA("Part") then
5140
v.BrickColor = MAINRUINCOLOR
5141
v.Material = "Neon"
5142
end
5143
end
5144
for i, v in pairs(mw1:GetChildren()) do
5145
if v:IsA("Part") then
5146
v.Transparency = 1
5147
v.BrickColor = MAINRUINCOLOR
5148
v.Material = "Neon"
5149
end
5150
end
5151
for i, v in pairs(m:GetChildren()) do
5152
if v:IsA("Part") then
5153
v.BrickColor = BrickColor.new("Really red")
5154
v.Material = "Ice"
5155
end
5156
end
5157
for i, v in pairs(m2:GetChildren()) do
5158
if v:IsA("Part") then
5159
v.BrickColor = BrickColor.new("Really red")
5160
v.Material = "Glass"
5161
end
5162
end
5163
for i, v in pairs(m3:GetChildren()) do
5164
if v:IsA("Part") then
5165
v.BrickColor = BrickColor.new("Really red")
5166
v.Material = "Neon"
5167
end
5168
end
5169
for i, v in pairs(extrawingmod1:GetChildren()) do
5170
if v:IsA("Part") then
5171
v.Transparency = 1
5172
v.BrickColor = BrickColor.new("Really red")
5173
v.Material = "Neon"
5174
end
5175
end
5176
for i, v in pairs(extrawingmod2:GetChildren()) do
5177
if v:IsA("Part") then
5178
v.Transparency = 1
5179
v.BrickColor = BrickColor.new("Really red")
5180
v.Material = "Neon"
5181
end
5182
end
5183
for i = 0,2,0.1 do
5184
swait()
5185
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)
5186
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)
5187
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
5188
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))),.2)
5189
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))),.2)
5190
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))),.2)
5191
end
5192
hum.WalkSpeed = storehumanoidWS
5193
attack = false
5194
end)()
5195
end
5196
5197
function insanitymode()
5198
storehumanoidWS = 16
5199
hum.WalkSpeed = 0
5200
rainbowmode = false
5201
glitchymode = false
5202
chaosmode = true
5203
tl1.Enabled = true	
5204
tl2.Enabled = true
5205
tl3.Enabled = true
5206
local lust = ModeOfGlitch == 69
5207
newTheme("rbxassetid://399570826",0,1,1)
5208
coroutine.resume(coroutine.create(function()
5209
tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5210
tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5211
tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5212
attack = true
5213
hum.WalkSpeed = 0
5214
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
5215
for i = 0,4,0.1 do
5216
swait()
5217
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)
5218
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)
5219
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)
5220
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5221
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)
5222
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5223
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5224
end
5225
for i = 0,8,0.1 do
5226
swait()
5227
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)
5228
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,.035,MAINRUINCOLOR,0)
5229
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)
5230
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)
5231
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5232
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)
5233
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5234
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5235
end
5236
5237
for i = 0,3,0.1 do
5238
swait()
5239
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)
5240
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)
5241
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)
5242
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5243
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)
5244
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5245
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5246
end
5247
CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
5248
CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
5249
CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
5250
CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
5251
CameraEnshaking(5,2.5)
5252
MAINRUINCOLOR = BrickColor.new("Black")
5253
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5254
for i = 0, 49 do
5255
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)
5256
end
5257
for i = 0,3,0.1 do
5258
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)
5259
end
5260
ModeOfGlitch = 666666
5261
for i, v in pairs(mw2:GetChildren()) do
5262
if v:IsA("Part") then
5263
v.BrickColor = MAINRUINCOLOR
5264
v.Material = "Neon"
5265
end
5266
end
5267
for i, v in pairs(mw1:GetChildren()) do
5268
if v:IsA("Part") then
5269
v.Transparency = 0.75
5270
v.BrickColor = BrickColor.new("Really red")
5271
v.Material = "Neon"
5272
end
5273
end
5274
for i, v in pairs(m:GetChildren()) do
5275
if v:IsA("Part") then
5276
v.BrickColor = BrickColor.new("Black")
5277
v.Material = "Neon"
5278
end
5279
end
5280
for i, v in pairs(m2:GetChildren()) do
5281
if v:IsA("Part") then
5282
v.BrickColor = BrickColor.new("Really red")
5283
v.Material = "Neon"
5284
end
5285
end
5286
for i, v in pairs(m3:GetChildren()) do
5287
if v:IsA("Part") then
5288
v.BrickColor = BrickColor.new("Black")
5289
v.Material = "Neon"
5290
end
5291
end
5292
for i, v in pairs(extrawingmod1:GetChildren()) do
5293
if v:IsA("Part") then
5294
v.Transparency = .75
5295
v.BrickColor = BrickColor.new("Really red")
5296
v.Material = "Neon"
5297
end
5298
end
5299
for i, v in pairs(extrawingmod2:GetChildren()) do
5300
if v:IsA("Part") then
5301
v.Transparency = 0
5302
v.BrickColor = BrickColor.new("Black")
5303
v.Material = "Neon"
5304
end
5305
end
5306
for i = 0,2,0.1 do
5307
swait()
5308
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)
5309
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)
5310
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
5311
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
5312
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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
5313
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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
5314
end
5315
hum.WalkSpeed = storehumanoidWS
5316
attack = false
5317
end))
5318
end
5319
5320
local attacktype = 1
5321
mouse.Button1Down:connect(function()
5322
  if attack == false and attacktype == 1 then
5323
    attacktype = 2
5324
    attackone()
5325
  elseif attack == false and attacktype == 2 then
5326
    attacktype = 3
5327
    attacktwo()
5328
  elseif attack == false and attacktype == 3 then
5329
    attacktype = 1
5330
    attackthree()
5331
  elseif attack == false and attacktype == 4 then
5332
    attacktype = 1
5333
    --attackfour()
5334
  end
5335
end)
5336
5337
function Judgement()
5338
	attack = true
5339
	hum.WalkSpeed = 0
5340
	local p = Instance.new("Part",root)
5341
	p.Anchored = true
5342
	p.CanCollide = false
5343
	p.BrickColor = MAINRUINCOLOR
5344
	p.Material = Enum.Material.Neon
5345
	p.Size = Vector3.new(1,1,1)
5346
	p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
5347
	p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
5348
	local m = Instance.new("SpecialMesh",p)
5349
	m.MeshType = "Cylinder"
5350
	m.Scale = Vector3.new(2000,2,2)
5351
	local targ = Instance.new("Part",root)
5352
	targ.Transparency = 1
5353
	targ.CanCollide = false
5354
	targ.Size = Vector3.new(1,1,1)
5355
	targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
5356
	CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
5357
	CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
5358
	for i = 1,15 do
5359
		targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
5360
		RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
5361
		Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
5362
	RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
5363
	LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
5364
	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(-20)),.2)
5365
	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(10),math.rad(20)),.2)
5366
		sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
5367
		sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
5368
		m.Scale = m.Scale+Vector3.new(0,1,1)
5369
		p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
5370
		p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
5371
		swait()
5372
	end
5373
	sphereMK(3, 0.2, "Add", targ.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, MAINRUINCOLOR, 0)
5374
	for i = 1,200 do
5375
		targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
5376
		sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
5377
		sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
5378
		p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
5379
		p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
5380
		MagniDamage(targ, 25, 5, 8, 0, "Normal")
5381
		swait()
5382
	end
5383
	for i =1,15 do
5384
	m.Scale = m.Scale-Vector3.new(1,1,1)
5385
	p.Transparency = i / 15
5386
	swait()
5387
	end
5388
	p:Destroy()
5389
	hum.WalkSpeed = storehumanoidWS 
5390
	attack = false
5391
end
5392
5393
local ODerDB = false
5394
function ChooseODer()
5395
	if(not ODerDB)then
5396
		coroutine.wrap(function()
5397
			
5398
			local allowOD = true
5399
			local whom = (mouse.Target and mouse.Target.Parent)
5400
			if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
5401
				ODerDB = true
5402
				for _,v in next, ODers do
5403
					if(v == whom)then
5404
						print'nO OD SELF'
5405
						allowOD = false
5406
					end
5407
				end
5408
				if(allowOD)then
5409
					local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
5410
					local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
5411
					
5412
					ref.CFrame = Torso.CFrame
5413
					ref.Anchored = true
5414
					local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
5415
					local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
5416
					local MPos = whom.Head.CFrame*cf(0,4,0)
5417
					for i = 0, 1, .05 do
5418
						swait()
5419
						ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
5420
					
5421
						sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
5422
						if whom:FindFirstChild'Head' == nil then
5423
						break
5424
						end
5425
					end	
5426
					ref:destroy()
5427
					if whom:FindFirstChild'Head' then
5428
						table.insert(ODers,whom)
5429
						if(#ODers > 2)then
5430
							table.remove(ODers,1)
5431
						end
5432
						sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
5433
					end
5434
				end
5435
				ODerDB = false
5436
			end
5437
		end)()
5438
	end
5439
end
5440
5441
function BigBall()
5442
attack = true
5443
hum.WalkSpeed = 0
5444
local orb = Instance.new("Part", char)
5445
        orb.Anchored = true
5446
        orb.BrickColor = MAINRUINCOLOR
5447
        orb.CanCollide = false
5448
        orb.FormFactor = 3
5449
        orb.Name = "Ring"
5450
        orb.Material = "Neon"
5451
        orb.Size = Vector3.new(1, 1, 1)
5452
        orb.Transparency = 0
5453
        orb.TopSurface = 0
5454
        orb.BottomSurface = 0
5455
        local orbm = Instance.new("SpecialMesh", orb)
5456
        orbm.MeshType = "Sphere"
5457
orbm.Name = "SizeMesh"
5458
orbm.Scale = vt(0,0,0)
5459
local scaled = 0.1
5460
local posid = 0
5461
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
5462
for i = 0, 5, 0.1 do
5463
swait()
5464
scaled = scaled - 0.001
5465
posid = posid - scaled
5466
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
5467
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
5468
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,MAINRUINCOLOR,10)
5469
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,MAINRUINCOLOR,0)
5470
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
5471
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
5472
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
5473
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)
5474
end
5475
swait(60)
5476
for i =1,3 do
5477
	swait(30)
5478
	CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
5479
	sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
5480
end
5481
swait(30)
5482
for i = 0, 2, 0.1 do
5483
swait()
5484
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
5485
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)
5486
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)
5487
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
5488
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
5489
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
5490
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)
5491
end
5492
swait(60)
5493
	CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
5494
	CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
5495
	sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR)
5496
	sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR)
5497
	for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
5498
	if v:FindFirstChild('Head') then
5499
	dmg(v)
5500
	end
5501
	end
5502
	for i = 1,20 do
5503
	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,MAINRUINCOLOR,0)
5504
	for i = 0, 10 do
5505
		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,MAINRUINCOLOR,0)
5506
	end
5507
end
5508
orb:Remove()
5509
attack = false
5510
hum.WalkSpeed = storehumanoidWS
5511
end
5512
5513
function OdysseyLuigi()
5514
	attack = true
5515
	hum.WalkSpeed = 0
5516
	storehumanoidWS = 75
5517
	hum.JumpPower = 0
5518
	newThemeCust("rbxassetid://1451535412",0,1,1)
5519
	kan.TimePosition = 0
5520
	ModeOfGlitch = 141451536257295872905782895
5521
	repeat swait() until kan.IsLoaded
5522
	chatfunc("This is my true form...",text.TextStrokeColor3)
5523
	for i = 0, 14, .1 do
5524
		swait()
5525
		RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
5526
		LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5527
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
5528
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
5529
		RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
5530
		LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
5531
	end
5532
	chatfunc("And this means...",text.TextStrokeColor3)
5533
	for i = 0, 12, .1 do
5534
		swait()
5535
		RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
5536
		LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5537
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
5538
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
5539
		RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
5540
		LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
5541
	end
5542
	chatfunc("THE NAME IS ODYSSEY LUIGI!",text.TextStrokeColor3)
5543
	for i = 0, 16, .1 do
5544
		swait()
5545
		RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
5546
		LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5547
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
5548
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
5549
		RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
5550
		LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
5551
	end
5552
	CFuncs["Sound"].Create("rbxassetid://138082640", root, 2.5,1)
5553
	CFuncs["Sound"].Create("rbxassetid://138082640", root, 5,1)
5554
	CFuncs["Sound"].Create("rbxassetid://138082640", root, 2.5,1)
5555
	CFuncs["Sound"].Create("rbxassetid://138082640", root, 2.5,0.75)
5556
	pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Lime green' end)
5557
	pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Lime green' end)
5558
	RecolorTextAndRename("ODYSSEY LUIGI",Color3.new(0,0,0),bc("Lime green").Color)
5559
	CameraEnshaking(5,2.5)
5560
	MAINRUINCOLOR = BrickColor.new("Lime green")
5561
	sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5562
tl1.Enabled = true
5563
tl2.Enabled = true
5564
tl3.Enabled = true
5565
	for i = 0, 49 do
5566
	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)
5567
	end
5568
	for i = 0,3,0.1 do
5569
	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)
5570
	end
5571
	for i, v in pairs(mw2:GetChildren()) do
5572
	if v:IsA("Part") then
5573
	v.BrickColor = BrickColor.new("Lime green")
5574
	v.Material = "Glass"
5575
	end
5576
	end
5577
	for i, v in pairs(mw1:GetChildren()) do
5578
	if v:IsA("Part") then
5579
	v.Transparency = 0
5580
	v.BrickColor = BrickColor.new("Lime green")
5581
	v.Material = "Glass"
5582
	end
5583
	end
5584
	for i, v in pairs(m:GetChildren()) do
5585
	if v:IsA("Part") then
5586
	v.BrickColor = BrickColor.new("Lime green")
5587
	v.Material = "Glass"
5588
	end
5589
	end
5590
	for i, v in pairs(m2:GetChildren()) do
5591
	if v:IsA("Part") then
5592
	v.BrickColor = BrickColor.new("Lime green")
5593
	v.Material = "Granite"
5594
	end
5595
	end
5596
	for i, v in pairs(m3:GetChildren()) do
5597
	if v:IsA("Part") then
5598
	v.BrickColor = BrickColor.new("Lime green")
5599
	v.Material = "Glass"
5600
	end
5601
	end
5602
	for i, v in pairs(extrawingmod1:GetChildren()) do
5603
	if v:IsA("Part") then
5604
	v.Transparency = 0
5605
	v.BrickColor = BrickColor.new("Lime green")
5606
	v.Material = "Glass"
5607
	end
5608
	end
5609
	for i, v in pairs(extrawingmod2:GetChildren()) do
5610
	if v:IsA("Part") then
5611
	v.Transparency = 0
5612
	v.BrickColor = BrickColor.new("Lime green")
5613
	v.Material = "Glass"
5614
	end
5615
	end
5616
	for i = 0,2,0.1 do
5617
	swait()
5618
	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)
5619
	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)
5620
	RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
5621
	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))),.2)
5622
	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))),.2)
5623
	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))),.2)
5624
	end
5625
	hum.JumpPower = 50
5626
	hum.WalkSpeed = storehumanoidWS
5627
	attack = false
5628
end
5629
5630
5631
function RiddleMeThisRiddleMeThat()-- Who's afraid of the Pearl aa IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
5632
	attack = true
5633
	hum.WalkSpeed = 0
5634
	storehumanoidWS = 75
5635
	hum.JumpPower = 0
5636
	newThemeCust("rbxassetid://1931667328",0,1,1)
5637
	kan.TimePosition = 0
5638
	ModeOfGlitch = 8376532578634534
5639
	repeat swait() until kan.IsLoaded
5640
	chatfunc("This is my true form...",text.TextStrokeColor3)
5641
	for i = 0, 14, .1 do
5642
		swait()
5643
		RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
5644
		LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5645
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
5646
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
5647
		RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
5648
		LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
5649
	end
5650
	chatfunc("And this means...",text.TextStrokeColor3)
5651
	for i = 0, 12, .1 do
5652
		swait()
5653
		RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
5654
		LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5655
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
5656
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
5657
		RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
5658
		LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
5659
	end
5660
	chatfunc("THE FINAL BOSS!!!!",text.TextStrokeColor3)
5661
	for i = 0, 16, .1 do
5662
		swait()
5663
		RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
5664
		LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5665
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
5666
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
5667
		RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
5668
		LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
5669
	end
5670
	CFuncs["Sound"].Create("rbxassetid://282035551", root, 2.5,1)
5671
	CFuncs["Sound"].Create("rbxassetid://282035551", root, 5,1)
5672
	CFuncs["Sound"].Create("rbxassetid://282035551", root, 2.5,1)
5673
	CFuncs["Sound"].Create("rbxassetid://282035551", root, 2.5,0.75)
5674
	pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
5675
	pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
5676
	RecolorTextAndRename("ULTIMATE PEARL",Color3.new(0,0,0),bc("Carnation pink").Color)
5677
	CameraEnshaking(5,2.5)
5678
	MAINRUINCOLOR = BrickColor.new("Carnation pink")
5679
	sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5680
tl1.Enabled = true
5681
tl2.Enabled = true
5682
tl3.Enabled = true
5683
	for i = 0, 49 do
5684
	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)
5685
	end
5686
	for i = 0,3,0.1 do
5687
	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)
5688
	end
5689
	for i, v in pairs(mw2:GetChildren()) do
5690
	if v:IsA("Part") then
5691
	v.BrickColor = BrickColor.new("Carnation pink")
5692
	v.Material = "Glass"
5693
	end
5694
	end
5695
	for i, v in pairs(mw1:GetChildren()) do
5696
	if v:IsA("Part") then
5697
	v.Transparency = 0
5698
	v.BrickColor = BrickColor.new("Carnation pink")
5699
	v.Material = "Glass"
5700
	end
5701
	end
5702
	for i, v in pairs(m:GetChildren()) do
5703
	if v:IsA("Part") then
5704
	v.BrickColor = BrickColor.new("Carnation pink")
5705
	v.Material = "Glass"
5706
	end
5707
	end
5708
	for i, v in pairs(m2:GetChildren()) do
5709
	if v:IsA("Part") then
5710
	v.BrickColor = BrickColor.new("Carnation pink")
5711
	v.Material = "Granite"
5712
	end
5713
	end
5714
	for i, v in pairs(m3:GetChildren()) do
5715
	if v:IsA("Part") then
5716
	v.BrickColor = BrickColor.new("Carnation pink")
5717
	v.Material = "Glass"
5718
	end
5719
	end
5720
	for i, v in pairs(extrawingmod1:GetChildren()) do
5721
	if v:IsA("Part") then
5722
	v.Transparency = 0
5723
	v.BrickColor = BrickColor.new("Carnation pink")
5724
	v.Material = "Glass"
5725
	end
5726
	end
5727
	for i, v in pairs(extrawingmod2:GetChildren()) do
5728
	if v:IsA("Part") then
5729
	v.Transparency = 0
5730
	v.BrickColor = BrickColor.new("Carnation pink")
5731
	v.Material = "Glass"
5732
	end
5733
	end
5734
	for i = 0,2,0.1 do
5735
	swait()
5736
	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)
5737
	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)
5738
	RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
5739
	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))),.2)
5740
	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))),.2)
5741
	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))),.2)
5742
	end
5743
	hum.JumpPower = 50
5744
	hum.WalkSpeed = storehumanoidWS
5745
	attack = false
5746
end
5747
5748
function JumpRope()
5749
	local whom = (mouse.Target and mouse.Target.Parent)
5750
	--[[local fuckThisBoi = false
5751
	if(whom and whom:FindFirstChildOfClass'Humanoid')then
5752
		for _,v in next, ODers do
5753
			if(v == whom)then
5754
				fuckThisBoi = false
5755
			end
5756
		end
5757
	end
5758
	if(not fuckThisBoi)then
5759
		attack = false
5760
		warn'to fuck that boi you need to target them with z'
5761
	else]]
5762
	if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
5763
		local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
5764
		local hum = whom:FindFirstChildOfClass'Humanoid'
5765
		local ocf = RootPart.CFrame
5766
		hum.WalkSpeed = 0 
5767
		hum.JumpPower = 0 
5768
		hed.Anchored = true
5769
		RootPart.Anchored = true
5770
		Humanoid.WalkSpeed = 0 
5771
		Humanoid.JumpPower = 0
5772
		RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5773
		CFuncs["Sound"].Create("rbxassetid://1846603855", root, 2.5,1)
5774
		for i = 0, 9 do
5775
		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("Pink"),0)
5776
		end
5777
		for i = 0, 24 do
5778
		PixelBlock(1,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.06,BrickColor.new("Pink"),0)
5779
		end
5780
		sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
5781
		attack = true
5782
		local speed = 1
5783
		local heck;
5784
		local stopitlol = false;
5785
		heck = mouse.KeyUp:connect(function(k)
5786
			if(k:lower() == 'm')then
5787
				stopitlol = true
5788
				heck:disconnect()
5789
			end
5790
		end)
5791
		local times = 0
5792
		repeat swait()
5793
			speed = speed - .01
5794
			times = times + 1
5795
			if(speed < .1)then
5796
				speed = .1
5797
			end
5798
			for i = 0, speed, .05 do
5799
				RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5800
				swait()
5801
				RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
5802
				LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5803
				RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)	
5804
				Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5805
				RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
5806
				LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
5807
			end
5808
			CameraEnshaking(5,5)
5809
			
5810
			CFuncs["Sound"].Create("rbxassetid://1846615963", Torso, 10,1)	
5811
			
5812
			for i = 0, speed, .05 do
5813
				RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5814
				swait()
5815
				RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
5816
				LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5817
				RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)	
5818
				Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5819
				RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5820
				LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5821
			end
5822
		until stopitlol and times >= 3
5823
		for i = 1, 3 do
5824
			for i = 0, 1.5, .05 do
5825
				RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5826
				swait()
5827
				RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
5828
				LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5829
				RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)	
5830
				Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5831
				RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
5832
				LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
5833
			end
5834
			CameraEnshaking(5,25)
5835
			
5836
			CFuncs["Sound"].Create("rbxassetid://1846619160", Torso, 10,1)
5837
            
5838
			coroutine.resume(coroutine.create(function()
5839
			bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
5840
			bld.LightEmission = 0.1
5841
			bld.Texture = "rbxassetid://284205403"
5842
			bld.Color = ColorSequence.new(Color3.new(1,1,1))
5843
			bld.Rate = 500
5844
			bld.Lifetime = NumberRange.new(1)
5845
			bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
5846
			bld.Acceleration = vt(0,-25,0)
5847
			bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
5848
			bld.Speed = NumberRange.new(10,50)
5849
			bld.EmissionDirection = "Back"
5850
			bld.VelocitySpread = 25
5851
			bld.Rotation = NumberRange.new(-500,500)
5852
			bld.RotSpeed = NumberRange.new(-500,500)
5853
			bld.Enabled = false
5854
			bld:Emit(250)
5855
			end))
5856
			coroutine.resume(coroutine.create(function()
5857
			bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
5858
			bld.LightEmission = 0.1
5859
			bld.Texture = "rbxassetid://284205403"
5860
			bld.Color = ColorSequence.new(Color3.new(1,1,1))
5861
			bld.Rate = 500
5862
			bld.Lifetime = NumberRange.new(1)
5863
			bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
5864
			bld.Acceleration = vt(0,-25,0)
5865
			bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
5866
			bld.Speed = NumberRange.new(10,50)
5867
			bld.EmissionDirection = "Back"
5868
			bld.VelocitySpread = 25
5869
			bld.Rotation = NumberRange.new(-500,500)
5870
			bld.RotSpeed = NumberRange.new(-500,500)
5871
			bld.Enabled = false
5872
			bld:Emit(250)
5873
			end))
5874
			for i = 0, 1.5, .05 do
5875
				RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5876
				swait()
5877
				RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
5878
				LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5879
				RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)	
5880
				Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5881
				RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5882
				LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5883
			end
5884
		end
5885
			for i = 0, 4, .05 do
5886
				RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5887
				swait()
5888
				RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
5889
				LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5890
				RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)	
5891
				Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
5892
				RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
5893
				LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
5894
			end
5895
			CameraEnshaking(5,25)
5896
			CFuncs["Sound"].Create("rbxassetid://1847115545", hed, 3,1)
5897
			CFuncs["Sound"].Create("rbxassetid://1846870244", Torso, 10,1)
5898
			
5899
			dmg(whom)
5900
			coroutine.resume(coroutine.create(function()
5901
			bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
5902
			bld.LightEmission = 0.1
5903
			bld.Texture = "rbxassetid://284205403"
5904
			bld.Color = ColorSequence.new(Color3.new(1,1,1))
5905
			bld.Rate = 500
5906
			bld.Lifetime = NumberRange.new(1)
5907
			bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
5908
			bld.Acceleration = vt(0,-25,0)
5909
			bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
5910
			bld.Speed = NumberRange.new(10,50)
5911
			bld.EmissionDirection = "Back"
5912
			bld.VelocitySpread = 25
5913
			bld.Rotation = NumberRange.new(-500,500)
5914
			bld.RotSpeed = NumberRange.new(-500,500)
5915
			bld.Enabled = true
5916
			end))
5917
			coroutine.resume(coroutine.create(function()
5918
			bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
5919
			bld.LightEmission = 0.1
5920
			bld.Texture = "rbxassetid://284205403"
5921
			bld.Color = ColorSequence.new(Color3.new(1,1,1))
5922
			bld.Rate = 500
5923
			bld.Lifetime = NumberRange.new(1)
5924
			bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
5925
			bld.Acceleration = vt(0,-25,0)
5926
			bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
5927
			bld.Speed = NumberRange.new(10,50)
5928
			bld.EmissionDirection = "Back"
5929
			bld.VelocitySpread = 25
5930
			bld.Rotation = NumberRange.new(-500,500)
5931
			bld.RotSpeed = NumberRange.new(-500,500)
5932
			bld.Enabled = true
5933
			end))
5934
			for i = 0, 3, .05 do
5935
				RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5936
				swait()
5937
				RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
5938
				LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5939
				RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)	
5940
				Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5941
				RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5942
				LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5943
			end
5944
		
5945
		RootPart.CFrame = ocf
5946
		CFuncs["Sound"].Create("rbxassetid://1846613015", 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("Pink"),0)
5949
		end
5950
		for i = 0, 24 do
5951
		PixelBlock(1,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.06,BrickColor.new("Pink"),0)
5952
		end
5953
		sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
5954
		RootPart.Anchored = false
5955
		Humanoid.WalkSpeed = storehumanoidWS
5956
		Humanoid.JumpPower = 50
5957
		attack = false
5958
        end
5959
end
5960
local input = ""
5961
5962
mouse.KeyDown:connect(function(k)
5963
	if(k == "w" or k == "a" or k == "s" or k == "d")then
5964
		input = input .. k
5965
		local newInput = input
5966
		coroutine.wrap(function()
5967
			for i = 1, 25 do
5968
				if(newInput ~= input)then break end
5969
				swait()
5970
			end
5971
			if(newInput == input)then input = "" end
5972
		end)()
5973
		if(input == "wwssadad" and not AllowRape)then
5974
			AllowRape = true
5975
			warn("Rape unlocked! Have fun ;)")
5976
		elseif(input == "wwaassdd" and not AllowCata)then
5977
			AllowCata = true
5978
			warn("You unlocked CATASTROPHE.")
5979
		elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then
5980
			ChaosBegone()
5981
		end
5982
	end	
5983
end)
5984
5985
mouse.KeyDown:connect(function(k)
5986
	if k == "h" then
5987
	
5988
	end
5989
	
5990
        if k == "q" and attack == false and ModeOfGlitch ~= 2 then
5991
               ModeOfGlitch = 2
5992
storehumanoidWS = 16
5993
hum.WalkSpeed = 16
5994
rainbowmode = false
5995
chaosmode = false
5996
glitchymode = false
5997
tl1.Enabled = false
5998
tl2.Enabled = false
5999
tl3.Enabled = false
6000
RecolorTextAndRename("Luigi",Color3.new(1,1,1),bc("Lime green").Color)
6001
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
6002
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
6003
newTheme("rbxassetid://398569609",0,1,1)
6004
MAINRUINCOLOR = BrickColor.new("Lime green")
6005
for i, v in pairs(mw2:GetChildren()) do
6006
if v:IsA("Part") then
6007
v.BrickColor = MAINRUINCOLOR
6008
v.Material = "Neon"
6009
end
6010
end
6011
for i, v in pairs(mw1:GetChildren()) do
6012
if v:IsA("Part") then
6013
v.Transparency = 1
6014
v.BrickColor = MAINRUINCOLOR
6015
v.Material = "Neon"
6016
end
6017
end
6018
for i, v in pairs(m:GetChildren()) do
6019
if v:IsA("Part") then
6020
v.BrickColor = BrickColor.new("White")
6021
v.Material = "Ice"
6022
end
6023
end
6024
for i, v in pairs(m2:GetChildren()) do
6025
if v:IsA("Part") then
6026
v.BrickColor = BrickColor.new("Lime green")
6027
v.Material = "Glass"
6028
end
6029
end
6030
for i, v in pairs(m3:GetChildren()) do
6031
if v:IsA("Part") then
6032
v.BrickColor = BrickColor.new("Lime green")
6033
v.Material = "Neon"
6034
end
6035
end
6036
for i, v in pairs(extrawingmod1:GetChildren()) do
6037
if v:IsA("Part") then
6038
v.Transparency = 1
6039
v.BrickColor = BrickColor.new("White")
6040
v.Material = "Neon"
6041
end
6042
end
6043
for i, v in pairs(extrawingmod2:GetChildren()) do
6044
if v:IsA("Part") then
6045
v.Transparency = 1
6046
v.BrickColor = BrickColor.new("White")
6047
v.Material = "Neon"
6048
end
6049
end
6050
elseif k == "q" and attack == false and ModeOfGlitch == 2 then
6051
resetmode()
6052
end
6053
if k == "f" and attack == false and ModeOfGlitch ~= 69 then
6054
lustmode()
6055
elseif k == "f" and attack == false and ModeOfGlitch == 69 then
6056
resetmode()
6057
end
6058
if k == "m" and attack == false and ModeOfGlitch == 1 then
6059
	RiddleMeThisRiddleMeThat()
6060
elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
6061
	resetmode()
6062
elseif k == "m" and attack == false and ModeOfGlitch == 2 then
6063
	OdysseyLuigi()
6064
elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
6065
	resetmode()
6066
end
6067
if k == "e" and attack == false and ModeOfGlitch ~= 3 then
6068
               ModeOfGlitch = 3
6069
storehumanoidWS = 16
6070
hum.WalkSpeed = 16
6071
rainbowmode = false
6072
chaosmode = false
6073
glitchymode = true
6074
tl1.Enabled = true
6075
tl2.Enabled = true
6076
tl3.Enabled = true
6077
RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
6078
newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
6079
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
6080
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
6081
MAINRUINCOLOR = BrickColor.new("White")
6082
for i, v in pairs(mw2:GetChildren()) do
6083
if v:IsA("Part") then
6084
v.BrickColor = MAINRUINCOLOR
6085
v.Material = "Neon"
6086
end
6087
end
6088
for i, v in pairs(mw1:GetChildren()) do
6089
if v:IsA("Part") then
6090
v.Transparency = 0
6091
v.BrickColor = MAINRUINCOLOR
6092
v.Material = "Neon"
6093
end
6094
end
6095
for i, v in pairs(m:GetChildren()) do
6096
if v:IsA("Part") then
6097
v.BrickColor = BrickColor.new("Cyan")
6098
v.Material = "Ice"
6099
end
6100
end
6101
for i, v in pairs(m2:GetChildren()) do
6102
if v:IsA("Part") then
6103
v.BrickColor = BrickColor.new("Dark indigo")
6104
v.Material = "Glass"
6105
end
6106
end
6107
for i, v in pairs(m3:GetChildren()) do
6108
if v:IsA("Part") then
6109
v.Transparency = 1
6110
v.BrickColor = BrickColor.new("Royal purple")
6111
v.Material = "Neon"
6112
end
6113
end
6114
for i, v in pairs(extrawingmod1:GetChildren()) do
6115
if v:IsA("Part") then
6116
v.Transparency = 1
6117
v.BrickColor = BrickColor.new("White")
6118
v.Material = "Neon"
6119
end
6120
end
6121
for i, v in pairs(extrawingmod2:GetChildren()) do
6122
if v:IsA("Part") then
6123
v.Transparency = 1
6124
v.BrickColor = BrickColor.new("White")
6125
v.Material = "Neon"
6126
end
6127
end
6128
elseif k == "e" and attack == false and ModeOfGlitch == 3 then
6129
resetmode()
6130
end
6131
if k == "r" and attack == false and ModeOfGlitch ~= 4 then
6132
               ModeOfGlitch = 4
6133
storehumanoidWS = 16
6134
hum.WalkSpeed = 16
6135
rainbowmode = false
6136
glitchymode = false
6137
chaosmode = true
6138
tl1.Enabled = true
6139
tl2.Enabled = true
6140
tl3.Enabled = true
6141
RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
6142
newTheme("rbxassetid://1369263130",0,1,1)
6143
MAINRUINCOLOR = BrickColor.new("Black")
6144
tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6145
tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6146
tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6147
for i, v in pairs(mw2:GetChildren()) do
6148
if v:IsA("Part") then
6149
v.BrickColor = MAINRUINCOLOR
6150
v.Material = "Neon"
6151
end
6152
end
6153
for i, v in pairs(mw1:GetChildren()) do
6154
if v:IsA("Part") then
6155
v.Transparency = 0.75
6156
v.BrickColor = BrickColor.random()
6157
v.Material = "Neon"
6158
end
6159
end
6160
for i, v in pairs(m:GetChildren()) do
6161
if v:IsA("Part") then
6162
v.BrickColor = BrickColor.new("Black")
6163
v.Material = "Neon"
6164
end
6165
end
6166
for i, v in pairs(m2:GetChildren()) do
6167
if v:IsA("Part") then
6168
v.BrickColor = BrickColor.random()
6169
v.Material = "Neon"
6170
end
6171
end
6172
for i, v in pairs(m3:GetChildren()) do
6173
if v:IsA("Part") then
6174
v.BrickColor = BrickColor.new("Black")
6175
v.Material = "Neon"
6176
end
6177
end
6178
for i, v in pairs(extrawingmod1:GetChildren()) do
6179
if v:IsA("Part") then
6180
v.Transparency = 1
6181
v.BrickColor = BrickColor.new("White")
6182
v.Material = "Neon"
6183
end
6184
end
6185
for i, v in pairs(extrawingmod2:GetChildren()) do
6186
if v:IsA("Part") then
6187
v.Transparency = 1
6188
v.BrickColor = BrickColor.new("White")
6189
v.Material = "Neon"
6190
end
6191
end
6192
elseif k == "r" and attack == false and ModeOfGlitch == 4 then
6193
resetmode()
6194
end
6195
6196
if k == "m" and attack == false and ModeOfGlitch == 4 then
6197
insanitymode()
6198
elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
6199
resetmode()
6200
end
6201
if k == "t" and attack == false and ModeOfGlitch ~= 5 then
6202
               ModeOfGlitch = 5
6203
storehumanoidWS = 16
6204
hum.WalkSpeed = 16
6205
rainbowmode = false
6206
chaosmode = false
6207
glitchymode = false
6208
tl1.Enabled = true
6209
tl2.Enabled = true
6210
tl3.Enabled = true
6211
RecolorTextAndRename("Infinity",Color3.new(1,1,1),bc("Bright bluish violet").Color)
6212
newTheme("rbxassetid://159973318",0,252525,1)
6213
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright bluish violet' end)
6214
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright bluish violet' end)
6215
MAINRUINCOLOR = BrickColor.new("Bright bluish violet")
6216
for i, v in pairs(mw2:GetChildren()) do
6217
if v:IsA("Part") then
6218
v.BrickColor = MAINRUINCOLOR
6219
v.Material = "Neon"
6220
end
6221
end
6222
for i, v in pairs(mw1:GetChildren()) do
6223
if v:IsA("Part") then
6224
v.Transparency = 0
6225
v.BrickColor = MAINRUINCOLOR
6226
v.Material = "Neon"
6227
end
6228
end
6229
for i, v in pairs(m:GetChildren()) do
6230
if v:IsA("Part") then
6231
v.BrickColor = BrickColor.new("Bright bluish violet")
6232
v.Material = "Ice"
6233
end
6234
end
6235
for i, v in pairs(m2:GetChildren()) do
6236
if v:IsA("Part") then
6237
v.BrickColor = BrickColor.new("Bright bluish violet")
6238
v.Material = "Ice"
6239
end
6240
end
6241
for i, v in pairs(m3:GetChildren()) do
6242
if v:IsA("Part") then
6243
v.BrickColor = BrickColor.new("Bright bluish violet")
6244
v.Material = "Neon"
6245
end
6246
end
6247
for i, v in pairs(extrawingmod1:GetChildren()) do
6248
if v:IsA("Part") then
6249
v.Transparency = 1
6250
v.BrickColor = BrickColor.new("White")
6251
v.Material = "Neon"
6252
end
6253
end
6254
for i, v in pairs(extrawingmod2:GetChildren()) do
6255
if v:IsA("Part") then
6256
v.Transparency = 1
6257
v.BrickColor = BrickColor.new("White")
6258
v.Material = "Neon"
6259
end
6260
end
6261
elseif k == "t" and attack == false and ModeOfGlitch == 5 then
6262
resetmode()
6263
end
6264
if k == "y" and attack == false and ModeOfGlitch ~= 6 then
6265
               ModeOfGlitch = 6
6266
storehumanoidWS = 75
6267
hum.WalkSpeed = 75
6268
rainbowmode = false
6269
chaosmode = false
6270
glitchymode = false
6271
tl1.Enabled = true
6272
tl2.Enabled = true
6273
tl3.Enabled = true
6274
RecolorTextAndRename("Forbidden Spirit",Color3.new(0,0,0),Color3.new(1,1,1))
6275
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
6276
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
6277
newTheme("rbxassetid://723652641",0,1,1)
6278
MAINRUINCOLOR = BrickColor.new("White")
6279
for i, v in pairs(mw2:GetChildren()) do
6280
if v:IsA("Part") then
6281
v.BrickColor = MAINRUINCOLOR
6282
v.Material = "Neon"
6283
end
6284
end
6285
for i, v in pairs(mw1:GetChildren()) do
6286
if v:IsA("Part") then
6287
v.Transparency = 0
6288
v.BrickColor = MAINRUINCOLOR
6289
v.Material = "Neon"
6290
end
6291
end
6292
for i, v in pairs(m:GetChildren()) do
6293
if v:IsA("Part") then
6294
v.BrickColor = BrickColor.new("White")
6295
v.Material = "Ice"
6296
end
6297
end
6298
for i, v in pairs(m2:GetChildren()) do
6299
if v:IsA("Part") then
6300
v.BrickColor = BrickColor.new("White")
6301
v.Material = "Ice"
6302
end
6303
end
6304
for i, v in pairs(m3:GetChildren()) do
6305
if v:IsA("Part") then
6306
v.BrickColor = BrickColor.new("White")
6307
v.Material = "Neon"
6308
end
6309
end
6310
for i, v in pairs(extrawingmod1:GetChildren()) do
6311
if v:IsA("Part") then
6312
v.Transparency = 1
6313
v.BrickColor = BrickColor.new("White")
6314
v.Material = "Neon"
6315
end
6316
end
6317
for i, v in pairs(extrawingmod2:GetChildren()) do
6318
if v:IsA("Part") then
6319
v.Transparency = 1
6320
v.BrickColor = BrickColor.new("White")
6321
v.Material = "Neon"
6322
end
6323
end
6324
elseif k == "y" and attack == false and ModeOfGlitch == 6 then
6325
resetmode()
6326
end
6327
if k == "u" and attack == false then
6328
6329
storehumanoidWS = 50
6330
hum.WalkSpeed = 50
6331
rainbowmode = true
6332
chaosmode = false
6333
glitchymode = false
6334
tl1.Enabled = true
6335
tl2.Enabled = true
6336
tl3.Enabled = true
6337
6338
if(ModeOfGlitch == 6127843)then
6339
	vaporwave = not vaporwave
6340
end
6341
6342
if(not vaporwave)then
6343
RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
6344
newTheme("rbxassetid://147930134",0,1,1)
6345
else
6346
RecolorTextAndRename("Tetris",Color3.new(1,1,1),Color3.new(1,1,1))
6347
newTheme("rbxassetid://203672448",0,1,1)	
6348
end
6349
6350
6351
               ModeOfGlitch = 6127843
6352
MAINRUINCOLOR = BrickColor.new("White")
6353
for i, v in pairs(mw2:GetChildren()) do
6354
if v:IsA("Part") then
6355
v.BrickColor = MAINRUINCOLOR
6356
v.Material = "Neon"
6357
end
6358
end
6359
for i, v in pairs(mw1:GetChildren()) do
6360
if v:IsA("Part") then
6361
v.Transparency = 0
6362
v.BrickColor = MAINRUINCOLOR
6363
v.Material = "Neon"
6364
end
6365
end
6366
for i, v in pairs(m:GetChildren()) do
6367
if v:IsA("Part") then
6368
v.BrickColor = BrickColor.new("White")
6369
v.Material = "Neon"
6370
end
6371
end
6372
for i, v in pairs(m2:GetChildren()) do
6373
if v:IsA("Part") then
6374
v.BrickColor = BrickColor.new("White")
6375
v.Material = "Neon"
6376
end
6377
end
6378
for i, v in pairs(m3:GetChildren()) do
6379
if v:IsA("Part") then
6380
v.BrickColor = BrickColor.new("White")
6381
v.Material = "Neon"
6382
end
6383
end
6384
for i, v in pairs(extrawingmod1:GetChildren()) do
6385
if v:IsA("Part") then
6386
v.Transparency = 1
6387
v.BrickColor = BrickColor.new("White")
6388
v.Material = "Neon"
6389
end
6390
end
6391
for i, v in pairs(extrawingmod2:GetChildren()) do
6392
if v:IsA("Part") then
6393
v.Transparency = 1
6394
v.BrickColor = BrickColor.new("White")
6395
v.Material = "Neon"
6396
end
6397
end
6398
elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
6399
resetmode()
6400
end
6401
if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
6402
               ModeOfGlitch = 1000000
6403
storehumanoidWS = 100
6404
hum.WalkSpeed = 100
6405
rainbowmode = false
6406
chaosmode = false
6407
glitchymode = false
6408
tl1.Enabled = true
6409
tl2.Enabled = true
6410
tl3.Enabled = true
6411
RecolorTextAndRename("Miku",Color3.new(0,155,155),Color3.new(0,255,255))
6412
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Cyan' end)
6413
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Cyan' end)
6414
newTheme("rbxassetid://284819869",0,1,1)
6415
MAINRUINCOLOR = BrickColor.new("Cyan")
6416
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6417
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6418
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6419
for i, v in pairs(mw2:GetChildren()) do
6420
if v:IsA("Part") then
6421
v.BrickColor = MAINRUINCOLOR
6422
v.Material = "Neon"
6423
end
6424
end
6425
for i, v in pairs(mw1:GetChildren()) do
6426
if v:IsA("Part") then
6427
v.Transparency = 0
6428
v.BrickColor = MAINRUINCOLOR
6429
v.Material = "Neon"
6430
end
6431
end
6432
for i, v in pairs(m:GetChildren()) do
6433
if v:IsA("Part") then
6434
v.Color = Color3.new(0,255,255)
6435
v.Material = "Neon"
6436
end
6437
end
6438
for i, v in pairs(m2:GetChildren()) do
6439
if v:IsA("Part") then
6440
v.Color = Color3.new(0,255,255)
6441
v.Material = "Neon"
6442
end
6443
end
6444
for i, v in pairs(m3:GetChildren()) do
6445
if v:IsA("Part") then
6446
v.Color = Color3.new(0,255,255)
6447
v.Material = "Neon"
6448
end
6449
end
6450
for i, v in pairs(extrawingmod1:GetChildren()) do
6451
if v:IsA("Part") then
6452
v.Transparency = 0.75
6453
v.Color = Color3.new(0,255,255)
6454
v.Material = "Neon"
6455
end
6456
end
6457
for i, v in pairs(extrawingmod2:GetChildren()) do
6458
if v:IsA("Part") then
6459
v.Transparency = 0.75
6460
v.Color = Color3.new(0,255,255)
6461
v.Material = "Neon"
6462
end
6463
end
6464
elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
6465
resetmode()
6466
end
6467
if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'joe201501' or plr.UserId == 5719877 or AllowCata) then
6468
newThemeCust("rbxassetid://284819869",0,1,1)
6469
game.workspace.Gravity = 0.166666667
6470
attack = true
6471
hum.WalkSpeed = 0
6472
MAINRUINCOLOR = BrickColor.new("Cyan")
6473
for i = 0, 24, 0.1 do
6474
swait()
6475
sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
6476
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)
6477
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)
6478
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)
6479
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
6480
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)
6481
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)
6482
end
6483
CameraEnshaking(1,1)
6484
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6485
CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
6486
wait(0.55)
6487
CameraEnshaking(1,2)
6488
sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
6489
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6490
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6491
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
6492
wait(0.55)
6493
CameraEnshaking(1,3)
6494
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
6495
sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
6496
sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
6497
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6498
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6499
CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
6500
wait(0.55)
6501
CameraEnshaking(10,5)
6502
CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
6503
CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
6504
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
6505
CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
6506
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
6507
sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
6508
sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
6509
sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
6510
sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
6511
sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
6512
sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
6513
sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
6514
sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
6515
sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
6516
sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
6517
for i = 0, 49 do
6518
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)
6519
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)
6520
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)
6521
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)
6522
end
6523
ModeOfGlitch = 12345678987654321
6524
storehumanoidWS = 200
6525
hum.WalkSpeed = 200
6526
rainbowmode = false
6527
chaosmode = false
6528
glitchymode = false
6529
tl1.Enabled = true
6530
tl2.Enabled = true
6531
tl3.Enabled = true
6532
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
6533
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
6534
RecolorTextAndRename("1/6 Out of the Gravity",Color3.new(0,0,0),Color3.new(0,255,255))
6535
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6536
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6537
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6538
for i, v in pairs(mw2:GetChildren()) do
6539
if v:IsA("Part") then
6540
v.BrickColor = MAINRUINCOLOR
6541
v.Material = "Neon"
6542
end
6543
end
6544
for i, v in pairs(mw1:GetChildren()) do
6545
if v:IsA("Part") then
6546
v.Transparency = 0
6547
v.BrickColor = MAINRUINCOLOR
6548
v.Material = "Neon"
6549
end
6550
end
6551
for i, v in pairs(m:GetChildren()) do
6552
if v:IsA("Part") then
6553
v.Color = Color3.new(0,255,255)
6554
v.Material = "Neon"
6555
end
6556
end
6557
for i, v in pairs(m2:GetChildren()) do
6558
if v:IsA("Part") then
6559
v.Color = Color3.new(0,255,255)
6560
v.Material = "Neon"
6561
end
6562
end
6563
for i, v in pairs(m3:GetChildren()) do
6564
if v:IsA("Part") then
6565
v.Color = Color3.new(0,255,255)
6566
v.Material = "Neon"
6567
end
6568
end
6569
for i, v in pairs(extrawingmod1:GetChildren()) do
6570
if v:IsA("Part") then
6571
v.Transparency = 0
6572
v.Color = Color3.new(0,255,255)
6573
v.Material = "Neon"
6574
end
6575
end
6576
for i, v in pairs(extrawingmod2:GetChildren()) do
6577
if v:IsA("Part") then
6578
v.Transparency = 0
6579
v.Color = Color3.new(0,255,255)
6580
v.Material = "Neon"
6581
end
6582
attack = false
6583
end
6584
elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
6585
resetmode()
6586
end
6587
if k == "l" and toggleTag == false then
6588
toggleTag = true
6589
text.TextTransparency = 0
6590
text.TextStrokeTransparency = 0
6591
elseif k == "l" and toggleTag == true then
6592
toggleTag = false
6593
text.TextTransparency = 1
6594
text.TextStrokeTransparency = 1
6595
end
6596
if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
6597
ExtinctiveHeartbreak()
6598
elseif k == "z" and attack == false and ModeOfGlitch == 2 then
6599
PureBomb()
6600
elseif k == "z" and attack == false and ModeOfGlitch == 3 then
6601
scattercorrupt()
6602
elseif k == "z" and attack == false and ModeOfGlitch == 5 then
6603
Judgement()
6604
elseif k == "z" and attack == false and ModeOfGlitch == 4 then
6605
ChaosGroundStrike()
6606
elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
6607
InsaneGroundStrike()
6608
elseif k == "z" and attack == false and ModeOfGlitch == 141451536257295872905782895 then
6609
BigBall()
6610
elseif k == "z" and attack == false and ModeOfGlitch == 69 then
6611
	ChooseODer()
6612
elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
6613
Starfall()
6614
elseif k == "z" and attack == false and ModeOfGlitch == 6 then
6615
yinyangi()
6616
elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
6617
Wip()
6618
elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
6619
StarfallEX()
6620
end
6621
if k == "x" and attack == false and ModeOfGlitch == 1000000 then
6622
StarDivision()
6623
elseif k == "x" and attack == false and ModeOfGlitch == 6 then
6624
JusticeBeam()
6625
end
6626
if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
6627
UniversalCollapse()
6628
end
6629
if k == "b" and attack == false and ModeOfGlitch == 4 then
6630
6631
end
6632
if k == "n" and attack == false then
6633
CorruptBlink()
6634
end
6635
if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
6636
JumpRope()
6637
end
6638
end)
6639
coroutine.resume(coroutine.create(function()
6640
while true do
6641
swait(2)
6642
if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
6643
sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
6644
end
6645
6646
end
6647
end))
6648
6649
6650
coroutine.resume(coroutine.create(function()
6651
while true do
6652
if ModeOfGlitch == 1000000 then
6653
swait(0.5)
6654
end
6655
swait()
6656
if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
6657
sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
6658
end
6659
if ModeOfGlitch == 12345678987654321 then
6660
sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
6661
end
6662
end
6663
end))
6664
6665
6666
function RandomMaterial()
6667
	local getRandom;
6668
	local material;
6669
	local function IsTerrainMaterial(mat)
6670
		local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
6671
		return isMaterial
6672
	end
6673
	getRandom = function()
6674
		local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
6675
		if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
6676
	end
6677
	getRandom()
6678
	repeat wait() until material
6679
	return material
6680
end
6681
function RandomCaps(str)
6682
	local new = ""
6683
	for i = 1, #str do
6684
		if(math.random(1,2) == 1)then
6685
			new = new .. (str:sub(i,i):upper())
6686
		else
6687
			new = new .. str:sub(i,i)
6688
		end
6689
	end
6690
	return new
6691
end
6692
6693
coroutine.resume(coroutine.create(function()
6694
while true do
6695
for i = 1, #ODers do
6696
	local ODer = ODers[i]
6697
	if(ODer)then
6698
		local hed = ODer:FindFirstChild'Head'
6699
		if(ODer.Parent and hed)then
6700
			sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
6701
		else
6702
			table.remove(ODers,i)
6703
		end
6704
	else
6705
		table.remove(ODers,i)
6706
	end
6707
end
6708
if(not kan)then
6709
	kan = Instance.new("Sound",char)
6710
end
6711
kan.Parent = char
6712
if(plr.UserId == 5719877)then kan.Volume = 3 else  kan.Volume = 1 end
6713
kan.Pitch = Pitch
6714
kan.SoundId = MID
6715
kan.Name = "wrecked"
6716
kan.Looped = true
6717
kan:Resume()
6718
swait()
6719
if glitchymode == true then
6720
	local val = math.random(1,255)
6721
	local color = Color3.fromRGB(val,val,val)
6722
	pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
6723
	pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
6724
	tl1.Color = ColorSequence.new(color)
6725
	tl2.Color = ColorSequence.new(color)
6726
	tl3.Color = ColorSequence.new(color)
6727
	tr1.Color = ColorSequence.new(color)
6728
	tr2.Color = ColorSequence.new(color)
6729
	tr3.Color = ColorSequence.new(color)
6730
	for i, v in pairs(mw1:GetChildren()) do
6731
	if v:IsA("Part") then
6732
	v.Transparency = 0
6733
	v.Color = color
6734
	v.Material = "Neon"
6735
	end
6736
	end
6737
	for i, v in pairs(mw2:GetChildren()) do
6738
	if v:IsA("Part") then
6739
	v.Color = color
6740
	v.Material = "Neon"
6741
	end
6742
	end
6743
	for i, v in pairs(m2:GetChildren()) do
6744
	if v:IsA("Part") then
6745
	v.Color = color
6746
	v.Material = "Neon"
6747
	end
6748
	end
6749
	RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
6750
end
6751
if chaosmode or glitchymode then
6752
	pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
6753
	pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
6754
else
6755
	pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
6756
	pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
6757
end
6758
if chaosmode == true then
6759
tl1.Color = ColorSequence.new(BrickColor.new("Really red").Color)
6760
tl2.Color = ColorSequence.new(BrickColor.new("Really red").Color)
6761
tl3.Color = ColorSequence.new(BrickColor.new("Really red").Color)
6762
RecolorTextAndRename((ModeOfGlitch == 666666 and "Genocider" or "CHAOS"),Color3.new(0,0,0),BrickColor.new("Really red").Color)
6763
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new("Really red") end)
6764
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new("Really red") end)
6765
for i, v in pairs(mw1:GetChildren()) do
6766
if v:IsA("Part") then
6767
v.Transparency = 0.75
6768
v.BrickColor = BrickColor.new("Really red")
6769
v.Material = "Neon"
6770
end
6771
end
6772
for i, v in pairs(extrawingmod1:GetChildren()) do
6773
if v:IsA("Part") and ModeOfGlitch == 666666 then
6774
v.Transparency = 0.75
6775
v.BrickColor = BrickColor.new("Really red")
6776
v.Material = "Neon"
6777
elseif v:IsA("Part") then
6778
v.Transparency = 1 
6779
end
6780
end
6781
for i, v in pairs(m2:GetChildren()) do
6782
if v:IsA("Part") then
6783
v.BrickColor = BrickColor.new("Really red")
6784
v.Material = "Neon"
6785
end
6786
end
6787
end
6788
end
6789
end))
6790
Humanoid.Name = "STARGLITCHER"
6791
Humanoid.MaxHealth = math.huge
6792
Humanoid.Health = math.huge
6793
Instance.new("ForceField",char).Visible = false
6794
Humanoid.Animator.Parent = nil
6795
idleanim=.4
6796
while true do
6797
if rainbowmode == false and chaosmode == false and glitchymode == false then
6798
tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6799
tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6800
tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6801
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6802
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6803
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6804
end
6805
if rainbowmode == true then
6806
pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
6807
pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
6808
if(not vaporwave)then
6809
	RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
6810
else
6811
	RecolorTextAndRename("TETRIS",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
6812
end
6813
MAINRUINCOLOR = BrickColor.new("White")
6814
tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6815
tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6816
tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6817
tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6818
tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6819
tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6820
for i, v in pairs(m:GetChildren()) do
6821
if v:IsA("Part") then
6822
v.Color = Color3.new(r/255,g/255,b/255)
6823
end
6824
end
6825
for i, v in pairs(m2:GetChildren()) do
6826
if v:IsA("Part") then
6827
v.Color = Color3.new(r/255,g/255,b/255)
6828
end
6829
end
6830
for i, v in pairs(m3:GetChildren()) do
6831
if v:IsA("Part") then
6832
v.Color = Color3.new(r/255,g/255,b/255)
6833
end
6834
end
6835
for i, v in pairs(mw1:GetChildren()) do
6836
if v:IsA("Part") then
6837
v.Color = Color3.new(r/255,g/255,b/255)
6838
v.Material = "Neon"
6839
end
6840
end
6841
for i, v in pairs(mw2:GetChildren()) do
6842
if v:IsA("Part") then
6843
v.Color = Color3.new(r/255,g/255,b/255)
6844
v.Material = "Neon"
6845
end
6846
end
6847
end
6848
CameraManager()
6849
swait()
6850
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)
6851
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)
6852
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)
6853
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)
6854
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)
6855
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)
6856
6857
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)
6858
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)
6859
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)
6860
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)
6861
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)
6862
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)
6863
  sine = sine + change
6864
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
6865
local velderp=RootPart.Velocity.y
6866
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
6867
if equipped==true or equipped==false then
6868
if attack==false then
6869
idle=idle+1
6870
else
6871
idle=0
6872
end
6873
if idle>=500 then
6874
if attack==false then
6875
--Sheath()
6876
end
6877
end
6878
if RootPart.Velocity.y > 1 and hitfloor==nil then 
6879
Anim="Jump"
6880
if attack==false then
6881
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(-5),math.rad(0),math.rad(-20)),.1)
6882
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)
6883
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)
6884
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
6885
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)
6886
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)
6887
end
6888
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
6889
Anim="Fall"
6890
if attack==false then
6891
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(-5),math.rad(0),math.rad(-20)),.1)
6892
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)
6893
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
6894
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
6895
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
6896
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
6897
end
6898
elseif torvel<1 and hitfloor~=nil then
6899
Anim="Idle"
6900
if attack==false then
6901
if ModeOfGlitch == 1 then
6902
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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
6903
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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
6904
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
6905
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
6906
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
6907
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
6908
6909
elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
6910
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(0 + 1 * math.cos(sine / 34))),.1)
6911
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)
6912
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)
6913
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
6914
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
6915
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
6916
6917
elseif ModeOfGlitch == 3 then
6918
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)
6919
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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
6920
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(-20)),.1)
6921
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
6922
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
6923
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
6924
elseif ModeOfGlitch == 4 then
6925
RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
6926
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
6927
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
6928
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
6929
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
6930
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
6931
elseif ModeOfGlitch == 69 then
6932
RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
6933
Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
6934
LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
6935
RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
6936
LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
6937
RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
6938
elseif ModeOfGlitch == 8376532578634534 then
6939
RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6940
LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
6941
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
6942
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
6943
RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
6944
LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
6945
		
6946
elseif ModeOfGlitch == 666666 then
6947
RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
6948
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
6949
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
6950
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6951
RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6952
LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6953
6954
elseif ModeOfGlitch == 5 or ModeOfGlitch == 141451536257295872905782895 then
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(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
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))),.1)
6957
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)
6958
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)
6959
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
6960
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)
6961
6962
elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
6963
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)
6964
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)
6965
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
6966
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
6967
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
6968
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
6969
6970
elseif ModeOfGlitch == 12345678987654321 then
6971
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)
6972
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)
6973
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
6974
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
6975
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
6976
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
6977
end
6978
end
6979
elseif torvel>2 and torvel<22 and hitfloor~=nil then
6980
Anim="Walk"
6981
if attack==false then
6982
if ModeOfGlitch == 1 then
6983
RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
6984
LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
6985
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
6986
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6987
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
6988
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
6989
elseif ModeOfGlitch == 4 then
6990
RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1)
6991
LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1)
6992
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
6993
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
6994
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
6995
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
6996
elseif ModeOfGlitch == 666666 then
6997
RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
6998
LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
6999
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
7000
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
7001
RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
7002
LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
7003
7004
elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
7005
RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
7006
LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
7007
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
7008
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
7009
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
7010
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
7011
end
7012
end
7013
elseif torvel>=22 and hitfloor~=nil then
7014
Anim="Run"
7015
if attack==false then
7016
if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
7017
RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
7018
LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
7019
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
7020
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
7021
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
7022
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
7023
elseif ModeOfGlitch == 666666 then
7024
RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*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)
7025
LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*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)
7026
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
7027
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
7028
RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
7029
LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
7030
7031
elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
7032
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)
7033
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)
7034
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)
7035
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
7036
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
7037
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
7038
end
7039
end
7040
end
7041
end
7042
end