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