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