View difference between Paste ID: gXt6kKRp and mjNQs3sR
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
2
print("FE Compatibility code by " ..owner.Name.. ".")
3-
print("FE Compatibility code by Mokiros")
3+
4
do
5
	script.Parent = owner.Character
6
	local Event = Instance.new("RemoteEvent")
7
	Event.Name = "UserInput"
8
	local function NewFakeEvent()
9
		local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
10
		return Fake
11
	end
12
	local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
13
	local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
14
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
15
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
16
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
17
	local function TriggerEvent(self,Event,...)
18
		local Trigger = Mouse[Event]
19
		if Trigger and Trigger.fakeEvent and Trigger.Function then
20
			Trigger.Function(...)
21
		end
22
	end
23
	Mouse.TrigEvent = TriggerEvent
24
	UserInputService.TrigEvent = TriggerEvent
25
	Event.OnServerEvent:Connect(function(FiredBy,Input)
26
		if FiredBy.Name ~= owner.Name then end
27
		if Input.MouseEvent then
28
			Mouse.Target = Input.Target
29
			Mouse.Hit = Input.Hit
30
		else
31
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
32
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then
33
				return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
34
			end
35
			for _,Action in pairs(ContextActionService.Actions) do
36
				for _,Key in pairs(Action.Keys) do
37
					if Key==Input.KeyCode then
38
						Action.Function(Action.Name,Input.UserInputState,Input)
39
					end
40
				end
41
			end
42
			Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
43
			UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
44
		end
45
	end)
46
	InternalData["Mouse"] = Mouse
47
	InternalData["ContextActionService"] = ContextActionService
48
	InternalData["UserInputService"] = UserInputService
49
	Event.Parent = NLS([[
50
		local Player = owner
51
		local Event = script:WaitForChild("UserInput")
52
		local UserInputService = game:GetService("UserInputService")
53
		local Mouse = Player:GetMouse()
54
		local Input = function(Input,gameProcessedEvent)
55
			if gameProcessedEvent then return end
56
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
57
		end
58
		UserInputService.InputBegan:Connect(Input)
59
		UserInputService.InputEnded:Connect(Input)
60
		local Hit,Target
61
		while wait(1/30) do
62
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
63
				Hit,Target = Mouse.Hit,Mouse.Target
64
				Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
65
			end
66
		end
67
	]],owner.Character)
68
end
69
RealGame = game;game = setmetatable({},{
70
	__index = function (self,Index)
71
		local Sandbox = function (Thing)
72
			if Thing:IsA("Player") then
73
				local RealPlayer = Thing
74
				return setmetatable({},{
75
					__index = function (self,Index)
76
						local Type = type(RealPlayer[Index])
77
						if Type == "function" then
78
							if Index:lower() == "getmouse" or Index:lower() == "mouse" then
79
								return function (self)
80
									return InternalData["Mouse"]
81
								end
82
							end
83
							return function (self,...)
84
								return RealPlayer[Index](RealPlayer,...)
85
							end
86
						else
87
							if Index == "PlrObj" then
88
								return RealPlayer
89
							end
90
							return RealPlayer[Index]
91
						end
92
					end;
93
					__tostring = function(self)
94
						return RealPlayer.Name
95
					end
96
				})
97
			end
98
		end
99
		if RealGame[Index] then
100
			local Type = type(RealGame[Index])
101
			if Type == "function" then
102
				if Index:lower() == "getservice" or Index:lower() == "service" then
103
					return function (self,Service)
104
						if Service:lower() == "players" then
105
							return setmetatable({},{
106
								__index = function (self2,Index2)
107
									local RealService = RealGame:GetService(Service)
108
									local Type2 = type(Index2)
109
									if Type2 == "function" then
110
										return function (self,...)
111
											return RealService[Index2](RealService,...)
112
										end
113
									else
114
										if Index2:lower() == "localplayer" then
115
											return Sandbox(owner)
116
										end
117
										return RealService[Index2]
118
									end
119
								end;
120
								__tostring = function(self)
121
									return RealGame:GetService(Service).Name
122
								end
123
							})
124
						elseif Service:lower() == "contextactionservice" then
125
							return InternalData["ContextActionService"]
126
						elseif Service:lower() == "contextactionservice" then
127
							return InternalData["UserInputService"]
128
						elseif Service:lower() == "runservice" then
129
							return setmetatable({},{
130
								__index = function(self2,Index2)
131
									local RealService = RealGame:GetService(Service)
132
									local Type2 = type(Index2)
133
									if Type2 == "function" then
134
										return function (self,...)
135
											return RealService[Index2](RealService,...)
136
										end
137
									else
138
										if Index2:lower() == "bindtorenderstep" then
139
											return function (self,Name,Priority,Function)
140
												return RealGame:GetService("RunService").Stepped:Connect(Function)
141
											end
142
										end
143
										if Index2:lower() == "renderstepped" then
144
											return RealService["Stepped"]
145
										end
146
										return RealService[Index2]
147
									end
148
								end
149
							})
150
						else
151
							return RealGame:GetService(Service)
152
						end
153
					end
154
				end
155
				return function (self,...)
156
					return RealGame[Index](RealGame,...)
157
				end
158
			else
159
				if game:GetService(Index) then
160
					return game:GetService(Index)
161
				end
162
				return RealGame[Index]
163
			end
164
		else
165
			return nil
166
		end
167
	end
168
});Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
169
print("Complete! Running...")
170
171
172
--//Paste script below this line.
173
174
warn([[Galaxy Glitcher Loaded.
175
The third glitcher, once as the core is now new.
176
177
Created by Hipeopleofthisworld8
178-
Created by Tc
178+
179
180
181-
---------Wielder list as of OCs:---------
181+
182-
-- ??? (Nothing such as this yet, but wields all the Glitchers. What you're asking it's the creator.)
182+
183-
-- Void Emily (OC of mine, can lead to any modes and mainly leading to LOVE and HARMONY, she's obviously shy sometimes.)
183+
184-
-- Lunaria Floodio (Second OC, can lead to any modes.)
184+
print("Hello " ..plr.Name.. ".")
185-
-- Gacharix (Third OC, can lead to any modes and mainly leading to AZURE X, very corrupted person.)
185+
186-
-----------------------------------------
186+
187
	script.Disabled = true
188-
print([[Icons:
188+
189-
! = New
189+
190-
? = Spoilers
190+
191-
* = Exclusivity
191+
192-
C = Changes
192+
193
local cam = game.Workspace.CurrentCamera
194
Camera = cam
195-
warn([[V 3.2 Update Log:
195+
196-
C - Huge revamp of wings.
196+
197-
C - Walk and running are now tiltable on where you go on a side.
197+
198-
C - Huge slight changes on all of the mode's idles.
198+
199-
C - Even more effect changes.
199+
200-
!C* - Love mode has been added.
200+
201-
!C* - Love mode's transformation added..
201+
202-
!* - Love mode's taunt added... (why.. ;~;)
202+
203-
C - Death effect has been improved.
203+
204-
C - Binary's Z is imporvably changed
204+
205-
? - Nothing seems to be new yet..
205+
206-
? - Some modes will have moves sooner.
206+
207
root = char.HumanoidRootPart
208-
Commands for visualiser mode: play/, vol/, pitch/, skipto/, telltime/]])
208+
209
rleg = char["Right Leg"]
210
rarm = char["Right Arm"]
211
larm = char["Left Arm"]
212
radian = math.rad
213
random = math.random
214
Vec3 = Vector3.new
215
Inst = Instance.new
216
cFrame = CFrame.new
217
Euler = CFrame.fromEulerAnglesXYZ
218
vt = Vector3.new
219
bc = BrickColor.new
220
br = BrickColor.random
221
it = Instance.new
222
cf = CFrame.new
223
224
225
local Booleans = {
226
  CamFollow = true,
227
  GyroUse = true
228
}
229
230
function lerp(object, newCFrame, alpha)
231
  return object:lerp(newCFrame, alpha)
232
end
233
234
local Directer = Inst("BodyGyro", root)
235
Directer.MaxTorque = Vec3(0, 0, 0)
236
Directer.P = 600000
237
local CPart = Inst("Part")
238
CPart.Anchored = true
239
CPart.CanCollide = false
240
CPart.Locked = true
241
CPart.Transparency = 1
242
243
local rainbowmode = false
244
local chaosmode = false
245
local duringend = false
246
local ModeOfGlitch = 1
247
248
local kan = Instance.new("Sound",char)
249
kan.Volume = 10
250
kan.TimePosition = 0
251
kan.PlaybackSpeed = 1
252
kan.Pitch = 1.01
253
kan.SoundId = "rbxassetid://692477687"
254
kan.Name = "wreckeda"
255
kan.Looped = true
256
local currentThemePlaying = kan.SoundId
257
local currentPitch = kan.Pitch
258
local currentVol = kan.Volume
259
function newTheme(ID,timepos,pitch,vol)
260
local kanz = kan
261
--kanz:Stop()
262
kanz.Volume = vol
263
--kanz.TimePosition = timepos
264
kanz.PlaybackSpeed = pitch
265
kanz.Pitch = pitch
266
kanz.SoundId = ID
267
kanz.Name = "wrecked"
268
kanz.Looped = true
269
currentThemePlaying = kanz.SoundId
270
currentVol = kanz.Volume
271
currentPitch = kanz.Pitch
272
--kanz:Play()
273
--coroutine.resume(coroutine.create(function()
274
--wait(0.05)
275
--end))
276
end
277
278
279
function newThemeCust(ID,timepos,pitch,vol)
280
local kanz = kan
281-
kan.SoundId = "rbxassetid://435773595"
281+
282
kanz.Volume = vol
283
kanz.TimePosition = timepos
284-
kan:Play()
284+
285
kanz.Pitch = pitch
286
kanz.SoundId = ID
287
kanz.Name = "wrecked"
288
kanz.Looped = true
289
currentThemePlaying = kanz.SoundId
290
currentVol = kanz.Volume
291
currentPitch = kanz.Pitch
292
kanz:Play()
293
coroutine.resume(coroutine.create(function()
294
wait(0.05)
295
end))
296
end
297
298
local mutedtog = false
299
300
function CameraEnshaking(Length,Intensity)
301
coroutine.resume(coroutine.create(function()
302
      local intensity = 1*Intensity
303
      local rotM = 0.01*Intensity
304
for i = 0, Length, 0.1 do
305
swait()
306
intensity = intensity - 0.05*Intensity/Length
307
rotM = rotM - 0.0005*Intensity/Length
308
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
309
      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)
310
end
311
Humanoid.CameraOffset = Vec3(0, 0, 0)
312
end))
313
end
314
CamShake=function(Part,Distan,Power,Times) 
315
local de=Part.Position
316
for i,v in pairs(workspace:children()) do
317
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
318
for _,c in pairs(v:children()) do
319
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
320
local Noob=v.Humanoid
321
if Noob~=nil then
322
coroutine.resume(coroutine.create(function()
323
FV = Instance.new("BoolValue", Noob)
324
FV.Name = "CameraShake"
325
for ShakeNum=1,Times do
326
swait()
327
local ef=Power
328
  if ef>=1 then
329
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
330
  else
331
   ef=Power*10
332
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
333
  end	
334
end
335
Humanoid.CameraOffset = Vector3.new(0,0,0)
336
FV:Destroy()
337
end))
338
CameraShake(Times, Power, Noob)
339
end
340
end
341
end
342
end
343
end
344
end
345
346
local toggleTag = true
347
local bilguit = Instance.new("BillboardGui", hed)
348
bilguit.Adornee = nil
349
bilguit.Name = "ModeName"
350
bilguit.Size = UDim2.new(4, 0, 1.2, 0)
351
bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
352
local modet = Instance.new("TextLabel", bilguit)
353
modet.Size = UDim2.new(10/2, 0, 7/2, 0)
354
modet.FontSize = "Size8"
355
modet.TextScaled = true
356
modet.TextTransparency = 0
357
modet.BackgroundTransparency = 1 
358
modet.TextTransparency = 0
359
modet.TextStrokeTransparency = 0
360
modet.Font = "Code"
361
modet.TextStrokeColor3 = Color3.new(0,0,0)
362
modet.TextColor3 = Color3.new(1,1,1)
363
modet.Text = plr.Name
364
365
366
function chatfunc(text,color,typet,font,timeex)
367
local chat = coroutine.wrap(function()
368
if Character:FindFirstChild("TalkingBillBoard")~= nil then
369
Character:FindFirstChild("TalkingBillBoard"):destroy()
370
end
371
local naeeym2 = Instance.new("BillboardGui",Character)
372
naeeym2.Size = UDim2.new(0,100,0,40)
373
naeeym2.StudsOffset = Vector3.new(0,3,0)
374
naeeym2.Adornee = Character.Head
375
naeeym2.Name = "TalkingBillBoard"
376
local tecks2 = Instance.new("TextLabel",naeeym2)
377
tecks2.BackgroundTransparency = 1
378
tecks2.BorderSizePixel = 0
379
tecks2.Text = ""
380
tecks2.Font = font
381
tecks2.TextSize = 30
382
tecks2.TextStrokeTransparency = 0
383
tecks2.TextColor3 = color
384
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
385
tecks2.Size = UDim2.new(1,0,0.5,0)
386
local tecks3 = Instance.new("TextLabel",naeeym2)
387
tecks3.BackgroundTransparency = 1
388
tecks3.BorderSizePixel = 0
389
tecks3.Text = ""
390
tecks3.Font = font
391
tecks3.TextSize = 30
392
tecks3.TextStrokeTransparency = 0
393-
modet.Text = "Enlightened"
393+
394
tecks3.TextColor3 = Color3.new(0,0,0)
395
tecks3.TextStrokeColor3 = color
396
elseif typet == "Normal" then
397
tecks3.TextColor3 = color
398
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
399
end
400
tecks3.Size = UDim2.new(1,0,0.5,0)
401
coroutine.resume(coroutine.create(function()
402
while true do
403
swait(1)
404
if chaosmode == true then
405
tecks2.TextColor3 = BrickColor.random().Color
406
tecks3.TextStrokeColor3 = BrickColor.random().Color
407
end
408
end
409
end))
410
modet.TextTransparency = modet.TextTransparency  + 1
411
modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
412
for i = 0, 74*timeex do
413
swait()
414
modet.TextTransparency = 1
415
modet.TextStrokeTransparency = 1
416
tecks2.Text = text
417
tecks3.Text = text
418
end
419
local randomrot = math.random(1,2)
420
if randomrot == 1 then
421
for i = 1, 50 do
422
swait()
423
tecks2.Text = text
424
tecks3.Text = text
425
modet.TextTransparency = modet.TextTransparency - .02
426
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
427
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
428
tecks2.TextTransparency = tecks2.TextTransparency + .04
429
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
430
tecks3.TextTransparency = tecks2.TextTransparency + .04
431
end
432
elseif randomrot == 2 then
433
	for i = 1, 50 do
434
swait()
435
tecks2.Text = text
436
tecks3.Text = text
437
modet.TextTransparency = modet.TextTransparency - .02
438
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
439
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
440
tecks2.TextTransparency = tecks2.TextTransparency + .04
441
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
442
tecks3.TextTransparency = tecks2.TextTransparency + .04
443
end
444
end
445
modet.TextTransparency = 0
446
modet.TextStrokeTransparency = 0
447
if toggleTag == false then
448
modet.TextTransparency = 1
449
modet.TextStrokeTransparency = 1
450
end
451
naeeym2:Destroy()
452
end)
453
chat()
454
end
455
456
457
local Create = LoadLibrary("RbxUtility").Create
458
459
CFuncs = {	
460
	["Part"] = {
461
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
462
			local Part = Create("Part"){
463
				Parent = Parent,
464
				Reflectance = Reflectance,
465
				Transparency = Transparency,
466
				CanCollide = false,
467
				Locked = true,
468
				BrickColor = BrickColor.new(tostring(BColor)),
469
				Name = Name,
470
				Size = Size,
471
				Material = Material,
472
			}
473
			RemoveOutlines(Part)
474
			return Part
475
		end;
476
	};
477
	
478
	["Mesh"] = {
479
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
480
			local Msh = Create(Mesh){
481
				Parent = Part,
482
				Offset = OffSet,
483
				Scale = Scale,
484
			}
485
			if Mesh == "SpecialMesh" then
486
				Msh.MeshType = MeshType
487
				Msh.MeshId = MeshId
488
			end
489
			return Msh
490
		end;
491
	};
492
	
493
	["Mesh"] = {
494
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
495
			local Msh = Create(Mesh){
496
				Parent = Part,
497
				Offset = OffSet,
498
				Scale = Scale,
499
			}
500
			if Mesh == "SpecialMesh" then
501
				Msh.MeshType = MeshType
502
				Msh.MeshId = MeshId
503
			end
504
			return Msh
505
		end;
506
	};
507
	
508
	["Weld"] = {
509
		Create = function(Parent, Part0, Part1, C0, C1)
510
			local Weld = Create("Weld"){
511
				Parent = Parent,
512
				Part0 = Part0,
513
				Part1 = Part1,
514
				C0 = C0,
515
				C1 = C1,
516
			}
517
			return Weld
518
		end;
519
	};
520
521
	["Sound"] = {
522
		Create = function(id, par, vol, pit) 
523
			coroutine.resume(coroutine.create(function()
524
				local S = Create("Sound"){
525
					Volume = vol,
526
                                        Name = "EffectSoundo",
527
					Pitch = pit or 1,
528
					SoundId = id,
529
					Parent = par or workspace,
530
				}
531
				wait() 
532
				S:play() 
533
				game:GetService("Debris"):AddItem(S, 10)
534
			end))
535
		end;
536
	};
537
538
["LongSound"] = {
539
		Create = function(id, par, vol, pit) 
540
			coroutine.resume(coroutine.create(function()
541
				local S = Create("Sound"){
542
					Volume = vol,
543
					Pitch = pit or 1,
544
					SoundId = id,
545
					Parent = par or workspace,
546
				}
547
				wait() 
548
				S:play() 
549
				game:GetService("Debris"):AddItem(S, 60)
550
			end))
551
		end;
552
	};
553
	
554
	["ParticleEmitter"] = {
555
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
556
			local fp = Create("ParticleEmitter"){
557
				Parent = Parent,
558
				Color = ColorSequence.new(Color1, Color2),
559
				LightEmission = LightEmission,
560
				Size = Size,
561
				Texture = Texture,
562
				Transparency = Transparency,
563
				ZOffset = ZOffset,
564
				Acceleration = Accel,
565
				Drag = Drag,
566
				LockedToPart = LockedToPart,
567
				VelocityInheritance = VelocityInheritance,
568
				EmissionDirection = EmissionDirection,
569
				Enabled = Enabled,
570
				Lifetime = LifeTime,
571
				Rate = Rate,
572
				Rotation = Rotation,
573
				RotSpeed = RotSpeed,
574
				Speed = Speed,
575
				VelocitySpread = VelocitySpread,
576
			}
577
			return fp
578
		end;
579
	};
580
581
	CreateTemplate = {
582
	
583
	};
584
}
585
586
587
588
New = function(Object, Parent, Name, Data)
589
	local Object = Instance.new(Object)
590
	for Index, Value in pairs(Data or {}) do
591
		Object[Index] = Value
592
	end
593
	Object.Parent = Parent
594
	Object.Name = Name
595
	return Object
596
end
597
local halocolor = BrickColor.new("Pastel light blue")
598
local halocolor2 = BrickColor.new("Cool yellow")
599
local starcolor = BrickColor.new("Bright yellow")
600
local lunacolor = BrickColor.new("Navy blue")
601
local lunacolor2 = BrickColor.new("Bright blue")
602
local wepcolor = BrickColor.new("Really black")
603
local maincolor = BrickColor.new("Really black")
604
local m = Instance.new("Model",char)
605
local m2 = Instance.new("Model",char)
606
local m3 = Instance.new("Model",char)
607
local mw1 = Instance.new("Model",char)
608
local mw2 = Instance.new("Model",char)
609
610
611
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
612
  local gui = it(GuiType)
613
  gui.Parent = parent
614
  gui.Text = text
615
  gui.BackgroundTransparency = backtrans
616
  gui.BackgroundColor3 = backcol
617
  gui.SizeConstraint = "RelativeXY"
618
  gui.TextXAlignment = "Center"
619
  gui.TextYAlignment = "Center"
620
  gui.Position = pos
621
  gui.Size = size
622
  gui.Font = "SourceSans"
623
  gui.FontSize = "Size14"
624
  gui.TextWrapped = false
625
  gui.TextStrokeTransparency = 0
626
  gui.TextColor = BrickColor.new("White")
627
  return gui
628
end
629
---- GUI set
630
local basgui = it("GuiMain")
631
basgui.Parent = plr.PlayerGui
632
basgui.Name = "Killcounter GUI"
633
local basframe = it("Frame")
634
basframe.Parent = basgui
635
basframe.BackgroundColor3 = Color3.new(255, 255, 255)
636
basframe.BackgroundTransparency = 1
637
basframe.BorderColor3 = Color3.new(17, 17, 17)
638
basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
639
basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
640
local uhh = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0.5, 0, 0.45, 0), UDim2.new(1.5, 0, 0.55, 0))
641
uhh.ZIndex = 2
642
uhh.Font = "Bodoni"
643
uhh.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
644
uhh.TextColor3 = Color3.new(1,1,1)
645
uhh.BackgroundTransparency = 0.25
646
uhh.BorderSizePixel = 2
647
uhh.BorderColor3 = Color3.new(0,0,0)
648
uhh.TextScaled = true
649
uhh.TextXAlignment = "Left"
650
uhh.Text = "SWITCH MODE: 1-9"
651
uhh.TextSize = 64
652
local modeteller = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0, 0, -0.01, 0), UDim2.new(1, 0, 0.45, 0))
653
modeteller.ZIndex = 2
654
modeteller.Font = "Bodoni"
655
modeteller.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
656
modeteller.TextColor3 = Color3.new(1,1,1)
657
modeteller.BackgroundTransparency = 0.25
658
modeteller.BorderSizePixel = 2
659
modeteller.BorderColor3 = Color3.new(0,0,0)
660
modeteller.TextScaled = true
661
modeteller.TextXAlignment = "Right"
662
modeteller.Text = "MAYHEM"
663
modeteller.TextSize = 64
664
665
local extrawingmod1 = Instance.new("Model",char)
666
local extrawingmod2 = Instance.new("Model",char)
667
668
function CreateParta(parent,transparency,reflectance,material,brickcolor)
669
local p = Instance.new("Part")
670
p.TopSurface = 0
671
p.BottomSurface = 0
672
p.Parent = parent
673
p.Size = Vector3.new(0.1,0.1,0.1)
674
p.Transparency = transparency
675
p.Reflectance = reflectance
676
p.CanCollide = false
677
p.Locked = true
678
p.BrickColor = brickcolor
679
p.Material = material
680
return p
681
end
682
683
function CreateMesh(parent,meshtype,x1,y1,z1)
684
local mesh = Instance.new("SpecialMesh",parent)
685
mesh.MeshType = meshtype
686
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
687
return mesh
688
end
689
690
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
691
local mesh = Instance.new("SpecialMesh",parent)
692
mesh.MeshType = "FileMesh"
693
mesh.MeshId = meshid
694
mesh.Scale = Vector3.new(x1,y1,z1)
695
return mesh
696
end
697
698
699
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
700
local mesh = Instance.new("SpecialMesh",parent)
701
mesh.MeshType = "FileMesh"
702
mesh.MeshId = meshid
703
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
704
mesh.Scale = Vector3.new(x1,y1,z1)
705
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
706
return mesh
707
end
708
709
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
710
local weld = Instance.new("Weld")
711
weld.Parent = parent
712
weld.Part0 = part0
713
weld.Part1 = part1
714
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
715
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
716
return weld
717
end
718
719
720
--------------
721
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
722
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))
723
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
724
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))
725
726
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
727
CreateMesh(handle,"Brick",0,0,0)
728
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))
729
local valuaring = 10
730
731
local refec = Instance.new("ParticleEmitter",handlex)
732
refec.Texture = "rbxassetid://284205403"
733
refec.LightEmission = 0.95
734
refec.Color = ColorSequence.new(BrickColor.new("White").Color)
735
refec.Rate = 50
736
refec.Lifetime = NumberRange.new(0.5)
737
refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
738
refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
739
refec.Speed = NumberRange.new(0,2)
740
refec.Drag = 5
741
refec.LockedToPart = true
742
refec.Rotation = NumberRange.new(-500,500)
743
refec.VelocitySpread = 9000
744
refec.RotSpeed = NumberRange.new(-500,500)
745
local refec2 = refec:Clone()
746
refec2.LightEmission = 0.75
747
refec2.Texture = "rbxassetid://254287058"
748
refec2.Parent = handlex
749
refec2.Rate = 25
750
refec2.Lifetime = NumberRange.new(0.75)
751
refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.15,1,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
752
refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
753
refec2.Speed = NumberRange.new(0)
754
local refec3 = refec:Clone()
755
refec3.LightEmission = 0.75
756
refec3.Texture = "rbxassetid://363275192"
757
refec3.Parent = handlex
758
refec3.Rate = 25
759
refec3.Lifetime = NumberRange.new(1)
760
refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
761
refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
762
refec3.Speed = NumberRange.new(0)
763
refec3.RotSpeed = NumberRange.new(-50,50)
764
765
for i = 0, 35 do
766
	valuaring = valuaring + 10
767
rn = CreateParta(mw2,0,0,"Neon",halocolor)
768
CreateMesh(rn,"Wedge",0.1,0.5,0.1)
769
CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
770
rn = CreateParta(mw2,0,0,"Neon",halocolor)
771
CreateMesh(rn,"Wedge",0.1,0.5,0.1)
772
CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
773
rn = CreateParta(mw2,0,0,"Neon",halocolor)
774
CreateMesh(rn,"Wedge",0.1,0.2,0.05)
775
CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
776
rn = CreateParta(mw2,0,0,"Neon",halocolor)
777
CreateMesh(rn,"Wedge",0.1,0.2,0.05)
778
CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
779
end
780
781
782
local handle = CreateParta(m,1,1,"Neon",maincolor)
783
CreateMesh(handle,"Brick",0.5,0.5,0.5)
784
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))
785
786
--- Left wing.
787
788
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
789
CreateMesh(handle,"Brick",0.5,0.5,0.5)
790
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))
791
792
wed = CreateParta(mw1,0,0,"Neon",halocolor)
793
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
794
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))
795
wed = CreateParta(mw1,0,0,"Neon",halocolor)
796
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
797
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))
798
wed = CreateParta(mw1,0,0,"Neon",halocolor)
799
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
800
CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
801
wed = CreateParta(mw1,0,0,"Neon",halocolor)
802
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
803
CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
804
wed = CreateParta(mw1,0,0,"Neon",halocolor)
805
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
806
CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
807
wed = CreateParta(mw1,0,0,"Neon",halocolor)
808
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
809
CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
810
wed = CreateParta(mw1,0,0,"Neon",halocolor)
811
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
812
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))
813
wed = CreateParta(mw1,0,0,"Neon",halocolor)
814
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
815
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))
816
wed = CreateParta(mw1,0,0,"Neon",halocolor)
817
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
818
CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
819
wed = CreateParta(mw1,0,0,"Neon",halocolor)
820
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
821
CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
822
823
824
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
825
CreateMesh(handle,"Brick",0.5,0.5,0.5)
826
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))
827
828
wed = CreateParta(mw1,0,0,"Neon",halocolor)
829
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
830
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))
831
wed = CreateParta(mw1,0,0,"Neon",halocolor)
832
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
833
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))
834
wed = CreateParta(mw1,0,0,"Neon",halocolor)
835
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
836
CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
837
wed = CreateParta(mw1,0,0,"Neon",halocolor)
838
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
839
CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
840
wed = CreateParta(mw1,0,0,"Neon",halocolor)
841
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
842
CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
843
wed = CreateParta(mw1,0,0,"Neon",halocolor)
844
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
845
CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
846
wed = CreateParta(mw1,0,0,"Neon",halocolor)
847
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
848
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))
849
wed = CreateParta(mw1,0,0,"Neon",halocolor)
850
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
851
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))
852
wed = CreateParta(mw1,0,0,"Neon",halocolor)
853
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
854
CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
855
wed = CreateParta(mw1,0,0,"Neon",halocolor)
856
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
857
CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
858
859
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
860
CreateMesh(handle,"Brick",0.5,0.5,0.5)
861
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))
862
863
wed = CreateParta(mw1,0,0,"Neon",halocolor)
864
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
865
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))
866
wed = CreateParta(mw1,0,0,"Neon",halocolor)
867
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
868
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))
869
wed = CreateParta(mw1,0,0,"Neon",halocolor)
870
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
871
CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
872
wed = CreateParta(mw1,0,0,"Neon",halocolor)
873
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
874
CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
875
wed = CreateParta(mw1,0,0,"Neon",halocolor)
876
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
877
CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
878
wed = CreateParta(mw1,0,0,"Neon",halocolor)
879
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
880
CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
881
wed = CreateParta(mw1,0,0,"Neon",halocolor)
882
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
883
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))
884
wed = CreateParta(mw1,0,0,"Neon",halocolor)
885
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
886
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))
887
wed = CreateParta(mw1,0,0,"Neon",halocolor)
888
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
889
CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
890
wed = CreateParta(mw1,0,0,"Neon",halocolor)
891
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
892
CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
893
894
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
895
CreateMesh(handle,"Brick",0.5,0.5,0.5)
896
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))
897
898
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
899
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
900
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))
901
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
902
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
903
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))
904
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
905
CreateMesh(wed,"Wedge",0.05,0.5,3)
906
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))
907
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
908
CreateMesh(wed,"Wedge",0.05,3,0.5)
909
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))
910
911
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
912
CreateMesh(handle,"Brick",0.5,0.5,0.5)
913
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))
914
915
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
916
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
917
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))
918
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
919
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
920
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))
921
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
922
CreateMesh(wed,"Wedge",0.05,0.5,3)
923
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))
924
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
925
CreateMesh(wed,"Wedge",0.05,3,0.5)
926
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))
927
928
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
929
CreateMesh(handle,"Brick",0.5,0.5,0.5)
930
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))
931
932
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
933
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
934
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))
935
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
936
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
937
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))
938
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
939
CreateMesh(wed,"Wedge",0.05,0.5,3)
940
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))
941
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
942
CreateMesh(wed,"Wedge",0.05,3,0.5)
943
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))
944
945
-- Right wing.
946
947
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
948
CreateMesh(handle,"Brick",0.5,0.5,0.5)
949
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))
950
951
wed = CreateParta(mw2,0,0,"Neon",halocolor)
952
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
953
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))
954
wed = CreateParta(mw2,0,0,"Neon",halocolor)
955
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
956
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))
957
wed = CreateParta(mw2,0,0,"Neon",halocolor)
958
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
959
CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
960
wed = CreateParta(mw2,0,0,"Neon",halocolor)
961
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
962
CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
963
wed = CreateParta(mw2,0,0,"Neon",halocolor)
964
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
965
CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
966
wed = CreateParta(mw2,0,0,"Neon",halocolor)
967
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
968
CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
969
wed = CreateParta(mw2,0,0,"Neon",halocolor)
970
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
971
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))
972
wed = CreateParta(mw2,0,0,"Neon",halocolor)
973
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
974
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))
975
wed = CreateParta(mw2,0,0,"Neon",halocolor)
976
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
977
CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
978
wed = CreateParta(mw2,0,0,"Neon",halocolor)
979
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
980
CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
981
982
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
983
CreateMesh(handle,"Brick",0.5,0.5,0.5)
984
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))
985
986
wed = CreateParta(mw2,0,0,"Neon",halocolor)
987
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
988
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))
989
wed = CreateParta(mw2,0,0,"Neon",halocolor)
990
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
991
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))
992
wed = CreateParta(mw2,0,0,"Neon",halocolor)
993
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
994
CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
995
wed = CreateParta(mw2,0,0,"Neon",halocolor)
996
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
997
CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
998
wed = CreateParta(mw2,0,0,"Neon",halocolor)
999
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1000
CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1001
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1002
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1003
CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1004
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1005
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1006
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))
1007
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1008
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1009
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))
1010
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1011
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1012
CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1013
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1014
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1015
CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1016
1017
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
1018
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1019
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))
1020
1021
1022
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1023
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1024
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))
1025
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1026
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1027
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))
1028
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1029
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1030
CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1031
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1032
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1033
CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1034
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1035
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1036
CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1037
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1038
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1039
CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1040
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1041
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1042
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))
1043
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1044
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1045
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))
1046
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1047
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1048
CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1049
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1050
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1051
CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1052
1053
1054
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
1055
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1056
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))
1057
1058
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1059
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1060
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))
1061
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1062
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1063
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))
1064
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1065
CreateMesh(wed,"Wedge",0.05,0.5,3)
1066
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))
1067
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1068
CreateMesh(wed,"Wedge",0.05,3,0.5)
1069
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))
1070
1071
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
1072
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1073
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))
1074
1075
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1076
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1077
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))
1078
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1079
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1080
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))
1081
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1082
CreateMesh(wed,"Wedge",0.05,0.5,3)
1083
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))
1084
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1085
CreateMesh(wed,"Wedge",0.05,3,0.5)
1086
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))
1087
1088
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
1089
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1090
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))
1091
1092
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1093
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1094
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))
1095
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1096
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1097
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))
1098
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1099
CreateMesh(wed,"Wedge",0.05,0.5,3)
1100
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))
1101
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1102
CreateMesh(wed,"Wedge",0.05,3,0.5)
1103
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))
1104
1105
1106
---- HERES THE RING
1107
1108
--[[
1109
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1110
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1111
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))
1112
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1113
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1114
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))
1115
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1116
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1117
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))
1118
1119
1120
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1121
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1122
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))
1123
1124
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1125
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1126
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))
1127
1128
1129
1130
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1131
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1132
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))
1133
1134
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1135
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1136
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))
1137
1138
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1139-
--[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1139+
1140
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))
1141
1142
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1143
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1144
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))
1145
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1146
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1147
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))
1148
1149
--- second ring
1150
1151
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1152
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1153
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))
1154
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1155
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1156
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))
1157
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1158
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1159
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))
1160
1161
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1162
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1163
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))
1164
1165
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1166
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1167
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))
1168
1169
1170
1171
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1172
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1173
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))
1174
1175
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1176
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1177
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))
1178
1179
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1180
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1181
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))
1182
1183
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1184
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1185
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))
1186
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1187
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1188
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))
1189
]]--
1190
------------- Trails
1191
local A0 = Instance.new("Attachment",lwing1)
1192
A0.Position = Vector3.new(0,-0.7,0)
1193
local A1 = Instance.new("Attachment",lwing1)
1194
A1.Position = Vector3.new(0,-3.5,0)
1195
tl1 = Instance.new('Trail',lwing1)
1196
tl1.Attachment0 = A0
1197
tl1.Attachment1 = A1
1198
tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
1199
tl1.LightEmission = 1
1200
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1201
tl1.Color = ColorSequence.new(BrickColor.new('White').Color)
1202
tl1.Lifetime = 0.6
1203
1204
local A0 = Instance.new("Attachment",lwing2)
1205
A0.Position = Vector3.new(0,-0.7,0)
1206
local A1 = Instance.new("Attachment",lwing2)
1207
A1.Position = Vector3.new(0,-3.5,0)
1208
tl2 = Instance.new('Trail',lwing2)
1209
tl2.Attachment0 = A0
1210
tl2.Attachment1 = A1
1211
tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
1212
tl2.LightEmission = 1
1213
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1214
tl2.Color = ColorSequence.new(BrickColor.new('White').Color)
1215
tl2.Lifetime = 0.6
1216
1217
local A0 = Instance.new("Attachment",lwing3)
1218-
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))]]--
1218+
1219
local A1 = Instance.new("Attachment",lwing3)
1220
A1.Position = Vector3.new(0,-3.5,0)
1221
tl3 = Instance.new('Trail',lwing3)
1222
tl3.Attachment0 = A0
1223
tl3.Attachment1 = A1
1224
tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
1225
tl3.LightEmission = 1
1226
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1227
tl3.Color = ColorSequence.new(BrickColor.new('White').Color)
1228
tl3.Lifetime = 0.6
1229
1230
local A0 = Instance.new("Attachment",rwing1)
1231
A0.Position = Vector3.new(0,-0.7,0)
1232
local A1 = Instance.new("Attachment",rwing1)
1233
A1.Position = Vector3.new(0,-3.5,0)
1234
tr1 = Instance.new('Trail',rwing1)
1235
tr1.Attachment0 = A0
1236
tr1.Attachment1 = A1
1237
tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
1238
tr1.LightEmission = 1
1239
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1240
tr1.Color = ColorSequence.new(BrickColor.new('White').Color)
1241
tr1.Lifetime = 0.6
1242
1243
local A0 = Instance.new("Attachment",rwing2)
1244
A0.Position = Vector3.new(0,-0.7,0)
1245
local A1 = Instance.new("Attachment",rwing2)
1246
A1.Position = Vector3.new(0,-3.5,0)
1247
tr2 = Instance.new('Trail',rwing2)
1248
tr2.Attachment0 = A0
1249
tr2.Attachment1 = A1
1250
tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
1251
tr2.LightEmission = 1
1252
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1253
tr2.Color = ColorSequence.new(BrickColor.new('White').Color)
1254
tr2.Lifetime = 0.6
1255
1256
local A0 = Instance.new("Attachment",rwing3)
1257
A0.Position = Vector3.new(0,-0.7,0)
1258
local A1 = Instance.new("Attachment",rwing3)
1259
A1.Position = Vector3.new(0,-3.5,0)
1260
tr3 = Instance.new('Trail',rwing3)
1261
tr3.Attachment0 = A0
1262
tr3.Attachment1 = A1
1263
tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
1264
tr3.LightEmission = 1
1265
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1266
tr3.Color = ColorSequence.new(BrickColor.new('White').Color)
1267
tr3.Lifetime = 0.6
1268
--------------
1269
1270
for i, v in pairs(mw2:GetChildren()) do
1271
if v:IsA("Part") then
1272
v.BrickColor = BrickColor.new("White")
1273
v.Material = "Neon"
1274
end
1275
end
1276
for i, v in pairs(mw1:GetChildren()) do
1277
if v:IsA("Part") then
1278
v.Transparency = 0
1279
v.BrickColor = BrickColor.new("White")
1280
v.Material = "Neon"
1281
end
1282
end
1283
for i, v in pairs(extrawingmod1:GetChildren()) do
1284
if v:IsA("Part") then
1285
v.Transparency = 1
1286
v.BrickColor = BrickColor.new("White")
1287
v.Material = "Neon"
1288
end
1289
end
1290
for i, v in pairs(extrawingmod2:GetChildren()) do
1291
if v:IsA("Part") then
1292
v.Transparency = 1
1293
v.BrickColor = BrickColor.new("White")
1294
v.Material = "Neon"
1295
end
1296
end
1297
local MAINRUINCOLOR = BrickColor.new("White")
1298
------
1299
1300
1301
function RemoveOutlines(part)
1302
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1303
end
1304
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1305
  local Part = Create("Part")({
1306
    Parent = Parent,
1307
    Reflectance = Reflectance,
1308
    Transparency = Transparency,
1309
    CanCollide = false,
1310
    Locked = true,
1311
    BrickColor = BrickColor.new(tostring(BColor)),
1312
    Name = Name,
1313
    Size = Size,
1314
    Material = Material
1315
  })
1316
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1317
  RemoveOutlines(Part)
1318
  return Part
1319
end
1320
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1321
  local Msh = Create(Mesh)({
1322
    Parent = Part,
1323
    Offset = OffSet,
1324
    Scale = Scale
1325
  })
1326
  if Mesh == "SpecialMesh" then
1327
    Msh.MeshType = MeshType
1328
    Msh.MeshId = MeshId
1329
  end
1330
  return Msh
1331
end
1332
function CreateWeld(Parent, Part0, Part1, C0, C1)
1333
  local Weld = Create("Weld")({
1334
    Parent = Parent,
1335
    Part0 = Part0,
1336
    Part1 = Part1,
1337
    C0 = C0,
1338
    C1 = C1
1339
  })
1340
  return Weld
1341
end
1342
1343
Player=game:GetService("Players").LocalPlayer
1344
Character=Player.Character 
1345
PlayerGui=Player.PlayerGui 
1346
Backpack=Player.Backpack 
1347
Torso=Character.Torso 
1348
Head=Character.Head 
1349
Humanoid=Character.Humanoid
1350
m=Instance.new('Model',Character)
1351
LeftArm=Character["Left Arm"] 
1352
LeftLeg=Character["Left Leg"] 
1353
RightArm=Character["Right Arm"] 
1354
RightLeg=Character["Right Leg"] 
1355
LS=Torso["Left Shoulder"] 
1356
LH=Torso["Left Hip"] 
1357
RS=Torso["Right Shoulder"] 
1358
RH=Torso["Right Hip"] 
1359
Face = Head.face
1360
Neck=Torso.Neck
1361
it=Instance.new
1362
attacktype=1
1363
vt=Vector3.new
1364
cf=CFrame.new
1365
euler=CFrame.fromEulerAnglesXYZ
1366
angles=CFrame.Angles
1367
cloaked=false
1368
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1369
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1370
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
1371
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
1372
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
1373
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
1374
RootPart=Character.HumanoidRootPart
1375
RootJoint=RootPart.RootJoint
1376
RootCF=euler(-1.57,0,3.14)
1377
attack = false 
1378
attackdebounce = false 
1379
deb=false
1380
equipped=true
1381
hand=false
1382
MMouse=nil
1383
combo=0
1384
mana=0
1385
trispeed=.2
1386
attackmode='none'
1387
local idle=0
1388
local Anim="Idle"
1389
local Effects={}
1390
local gun=false
1391
local shoot=false
1392
local sine = 0
1393
local change = 1
1394
player=nil 
1395
1396
function RecolorTextAndRename(name,col1,col2,font)
1397
modet.TextStrokeColor3 = col2
1398
modet.TextColor3 = col1
1399
modet.Font = font
1400
modet.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
function swait(num)
1506
if num==0 or num==nil then
1507
game:service'RunService'.Stepped:wait(0)
1508
else
1509
for i=0,num do
1510
game:service'RunService'.Stepped:wait(0)
1511
end
1512
end
1513
end
1514
1515
-------- RAINBOW LEAVE IT TO ME
1516
local r = 255
1517
local g = 0
1518
local b = 0
1519
coroutine.resume(coroutine.create(function()
1520
while wait() do
1521
	for i = 0, 254/5 do
1522
		swait()
1523
		g = g + 5
1524
	end
1525
	for i = 0, 254/5 do
1526
		swait()
1527
		r = r - 5
1528
	end
1529
	for i = 0, 254/5 do
1530
		swait()
1531
		b = b + 5
1532
	end
1533
	for i = 0, 254/5 do
1534
		swait()
1535
		g = g - 5
1536
	end
1537
	for i = 0, 254/5 do
1538
		swait()
1539
		r = r + 5
1540
	end
1541
	for i = 0, 254/5 do
1542
		swait()
1543
		b = b - 5
1544
	end
1545
end
1546
end))
1547
 
1548
 
1549
so = function(id,par,vol,pit) 
1550
coroutine.resume(coroutine.create(function()
1551
local sou = Instance.new("Sound",par or workspace)
1552
sou.Volume=vol
1553
sou.Pitch=pit or 1
1554
sou.SoundId=id
1555
swait() 
1556
sou:play() 
1557
game:GetService("Debris"):AddItem(sou,6)
1558
end))
1559
end
1560
 
1561
function clerp(a,b,t) 
1562
local qa = {QuaternionFromCFrame(a)}
1563
local qb = {QuaternionFromCFrame(b)} 
1564
local ax, ay, az = a.x, a.y, a.z 
1565
local bx, by, bz = b.x, b.y, b.z
1566
local _t = 1-t
1567
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1568
end 
1569
 
1570
function QuaternionFromCFrame(cf) 
1571
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1572
local trace = m00 + m11 + m22 
1573
if trace > 0 then 
1574
local s = math.sqrt(1 + trace) 
1575
local recip = 0.5/s 
1576
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1577
else 
1578
local i = 0 
1579
if m11 > m00 then
1580
i = 1
1581
end
1582
if m22 > (i == 0 and m00 or m11) then 
1583
i = 2 
1584
end 
1585
if i == 0 then 
1586
local s = math.sqrt(m00-m11-m22+1) 
1587
local recip = 0.5/s 
1588
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1589
elseif i == 1 then 
1590
local s = math.sqrt(m11-m22-m00+1) 
1591
local recip = 0.5/s 
1592
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1593
elseif i == 2 then 
1594
local s = math.sqrt(m22-m00-m11+1) 
1595
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1596
end 
1597
end 
1598
end
1599
 
1600
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1601
local xs, ys, zs = x + x, y + y, z + z 
1602
local wx, wy, wz = w*xs, w*ys, w*zs 
1603
local xx = x*xs 
1604
local xy = x*ys 
1605
local xz = x*zs 
1606
local yy = y*ys 
1607
local yz = y*zs 
1608
local zz = z*zs 
1609
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
1610
end
1611
 
1612
function QuaternionSlerp(a, b, t) 
1613
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1614
local startInterp, finishInterp; 
1615
if cosTheta >= 0.0001 then 
1616
if (1 - cosTheta) > 0.0001 then 
1617
local theta = math.acos(cosTheta) 
1618
local invSinTheta = 1/math.sin(theta) 
1619
startInterp = math.sin((1-t)*theta)*invSinTheta 
1620
finishInterp = math.sin(t*theta)*invSinTheta  
1621
else 
1622
startInterp = 1-t 
1623
finishInterp = t 
1624
end 
1625
else 
1626
if (1+cosTheta) > 0.0001 then 
1627
local theta = math.acos(-cosTheta) 
1628
local invSinTheta = 1/math.sin(theta) 
1629
startInterp = math.sin((t-1)*theta)*invSinTheta 
1630
finishInterp = math.sin(t*theta)*invSinTheta 
1631
else 
1632
startInterp = t-1 
1633
finishInterp = t 
1634
end 
1635
end 
1636
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
1637
end
1638
1639
local function CFrameFromTopBack(at, top, back)
1640
local right = top:Cross(back)
1641
return CFrame.new(at.x, at.y, at.z,
1642
right.x, top.x, back.x,
1643
right.y, top.y, back.y,
1644
right.z, top.z, back.z)
1645
end
1646
1647
function Triangle(a, b, c)
1648
local edg1 = (c-a):Dot((b-a).unit)
1649
local edg2 = (a-b):Dot((c-b).unit)
1650
local edg3 = (b-c):Dot((a-c).unit)
1651
if edg1 <= (b-a).magnitude and edg1 >= 0 then
1652
a, b, c = a, b, c
1653
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
1654
a, b, c = b, c, a
1655
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
1656
a, b, c = c, a, b
1657
else
1658
assert(false, "unreachable")
1659
end
1660
 
1661
local len1 = (c-a):Dot((b-a).unit)
1662
local len2 = (b-a).magnitude - len1
1663
local width = (a + (b-a).unit*len1 - c).magnitude
1664
 
1665
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
1666
 
1667
local list = {}
1668
 
1669
if len1 > 0.01 then
1670
local w1 = Instance.new('WedgePart', m)
1671
game:GetService("Debris"):AddItem(w1,5)
1672
w1.Material = "SmoothPlastic"
1673
w1.FormFactor = 'Custom'
1674
w1.BrickColor = BrickColor.new("Really red")
1675
w1.Transparency = 0
1676
w1.Reflectance = 0
1677
w1.Material = "SmoothPlastic"
1678
w1.CanCollide = false
1679
local l1 = Instance.new("PointLight",w1)
1680
l1.Color = Color3.new(170,0,0)
1681
NoOutline(w1)
1682
local sz = Vector3.new(0.2, width, len1)
1683
w1.Size = sz
1684
local sp = Instance.new("SpecialMesh",w1)
1685
sp.MeshType = "Wedge"
1686
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
1687
w1:BreakJoints()
1688
w1.Anchored = true
1689
w1.Parent = workspace
1690
w1.Transparency = 0.7
1691
table.insert(Effects,{w1,"Disappear",.01})
1692
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
1693
table.insert(list,w1)
1694
end
1695
 
1696
if len2 > 0.01 then
1697
local w2 = Instance.new('WedgePart', m)
1698
game:GetService("Debris"):AddItem(w2,5)
1699
w2.Material = "SmoothPlastic"
1700
w2.FormFactor = 'Custom'
1701
w2.BrickColor = BrickColor.new("Really red")
1702
w2.Transparency = 0
1703
w2.Reflectance = 0
1704
w2.Material = "SmoothPlastic"
1705
w2.CanCollide = false
1706
local l2 = Instance.new("PointLight",w2)
1707
l2.Color = Color3.new(170,0,0)
1708
NoOutline(w2)
1709
local sz = Vector3.new(0.2, width, len2)
1710
w2.Size = sz
1711
local sp = Instance.new("SpecialMesh",w2)
1712
sp.MeshType = "Wedge"
1713
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
1714
w2:BreakJoints()
1715
w2.Anchored = true
1716
w2.Parent = workspace
1717
w2.Transparency = 0.7
1718
table.insert(Effects,{w2,"Disappear",.01})
1719
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
1720
table.insert(list,w2)
1721
end
1722
return unpack(list)
1723
end
1724
 
1725
1726
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1727
  if hit.Parent == nil then
1728
    return
1729
  end
1730
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
1731
  for _, v in pairs(hit.Parent:children()) do
1732
    if v:IsA("Humanoid") then
1733
      h = v
1734
    end
1735
  end
1736
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
1737
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
1738
      return
1739
    end
1740
    local c = Create("ObjectValue")({
1741
      Name = "creator",
1742
      Value = game:service("Players").LocalPlayer,
1743
      Parent = h
1744
    })
1745
    game:GetService("Debris"):AddItem(c, 0.5)
1746
    if HitSound ~= nil and HitPitch ~= nil then
1747
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
1748
    end
1749
    local Damage = math.random(minim, maxim)
1750
    local blocked = false
1751
    local block = hit.Parent:findFirstChild("Block")
1752
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
1753
      blocked = true
1754
      block.Value = block.Value - 1
1755
      print(block.Value)
1756
    end
1757
    if blocked == false then
1758
      HitHealth = h.Health
1759
      h.Health = h.Health - Damage
1760
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
1761
        print("gained kill")
1762
      end
1763
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1764
    else
1765
      h.Health = h.Health - Damage / 2
1766
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1767
    end
1768
    if Type == "Knockdown" then
1769
      local hum = hit.Parent.Humanoid
1770
      hum.PlatformStand = true
1771
      coroutine.resume(coroutine.create(function(HHumanoid)
1772
        swait(1)
1773
        HHumanoid.PlatformStand = false
1774
      end), hum)
1775
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
1776
      local bodvol = Create("BodyVelocity")({
1777
        velocity = angle * knockback,
1778
        P = 5000,
1779
        maxForce = Vector3.new(8000, 8000, 8000),
1780
        Parent = hit
1781
      })
1782
      local rl = Create("BodyAngularVelocity")({
1783
        P = 3000,
1784
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1785
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1786
        Parent = hit
1787
      })
1788
      game:GetService("Debris"):AddItem(bodvol, 0.5)
1789
      game:GetService("Debris"):AddItem(rl, 0.5)
1790
    elseif Type == "Normal" then
1791
      local vp = Create("BodyVelocity")({
1792
        P = 500,
1793
        maxForce = Vector3.new(math.huge, 0, math.huge),
1794
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
1795
      })
1796
      if knockback > 0 then
1797
        vp.Parent = hit.Parent.Head
1798
      end
1799
      game:GetService("Debris"):AddItem(vp, 0.5)
1800
    elseif Type == "Up" then
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, 0.5)
1808
      local bodyVelocity = Create("BodyVelocity")({
1809
        velocity = Vector3.new(0, 20, 0),
1810
        P = 5000,
1811
        maxForce = Vector3.new(8000, 8000, 8000),
1812
        Parent = hit
1813
      })
1814
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1815
    elseif Type == "Leech" then
1816
      local hum = hit.Parent.Humanoid
1817
      if hum ~= nil then
1818
        for i = 0, 2 do
1819
          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)
1820
        end
1821
        Humanoid.Health = Humanoid.Health + 10
1822
      end
1823
    elseif Type == "UpKnock" then
1824
      local hum = hit.Parent.Humanoid
1825
      hum.PlatformStand = true
1826
      if hum ~= nil then
1827
        hitr = true
1828
      end
1829
      coroutine.resume(coroutine.create(function(HHumanoid)
1830
        swait(5)
1831
        HHumanoid.PlatformStand = false
1832
        hitr = false
1833
      end), hum)
1834
      local bodyVelocity = Create("BodyVelocity")({
1835
        velocity = Vector3.new(0, 20, 0),
1836
        P = 5000,
1837
        maxForce = Vector3.new(8000, 8000, 8000),
1838
        Parent = hit
1839
      })
1840
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1841
      local bodyVelocity = Create("BodyVelocity")({
1842
        velocity = Vector3.new(0, 20, 0),
1843
        P = 5000,
1844
        maxForce = Vector3.new(8000, 8000, 8000),
1845
        Parent = hit
1846
      })
1847
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1848
    elseif Type == "Snare" then
1849
      local bp = Create("BodyPosition")({
1850
        P = 2000,
1851
        D = 100,
1852
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1853
        position = hit.Parent.Torso.Position,
1854
        Parent = hit.Parent.Torso
1855
      })
1856
      game:GetService("Debris"):AddItem(bp, 1)
1857
    elseif Type == "Slashnare" then
1858
      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)
1859
      for i = 1, math.random(4, 5) do
1860
        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)
1861
      end
1862
      local bp = Create("BodyPosition")({
1863
        P = 2000,
1864
        D = 100,
1865
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1866
        position = hit.Parent.Torso.Position,
1867
        Parent = hit.Parent.Torso
1868
      })
1869
      game:GetService("Debris"):AddItem(bp, 1)
1870
    elseif Type == "Spike" then
1871
      CreateBigIceSword(hit.Parent.Torso.CFrame)
1872
      local bp = Create("BodyPosition")({
1873
        P = 2000,
1874
        D = 100,
1875
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1876
        position = hit.Parent.Torso.Position,
1877
        Parent = hit.Parent.Torso
1878
      })
1879
      game:GetService("Debris"):AddItem(bp, 1)
1880
    elseif Type == "Freeze" then
1881
      local BodPos = Create("BodyPosition")({
1882
        P = 50000,
1883
        D = 1000,
1884
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1885
        position = hit.Parent.Torso.Position,
1886
        Parent = hit.Parent.Torso
1887
      })
1888
      local BodGy = Create("BodyGyro")({
1889
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
1890
        P = 20000,
1891
        Parent = hit.Parent.Torso,
1892
        cframe = hit.Parent.Torso.CFrame
1893
      })
1894
      hit.Parent.Torso.Anchored = true
1895
      coroutine.resume(coroutine.create(function(Part)
1896
        swait(1.5)
1897
        Part.Anchored = false
1898
      end), hit.Parent.Torso)
1899
      game:GetService("Debris"):AddItem(BodPos, 3)
1900
      game:GetService("Debris"):AddItem(BodGy, 3)
1901
    end
1902
    local debounce = Create("BoolValue")({
1903
      Name = "DebounceHit",
1904
      Parent = hit.Parent,
1905
      Value = true
1906
    })
1907
    game:GetService("Debris"):AddItem(debounce, Delay)
1908
    c = Instance.new("ObjectValue")
1909
    c.Name = "creator"
1910
    c.Value = Player
1911
    c.Parent = h
1912
    game:GetService("Debris"):AddItem(c, 0.5)
1913
  end
1914
end
1915
function ShowDamage(Pos, Text, Time, Color)
1916
  local Rate = 0.03333333333333333
1917
  local Pos = Pos or Vector3.new(0, 0, 0)
1918
  local Text = Text or ""
1919
  local Time = Time or 2
1920
  local Color = Color or Color3.new(1, 0, 1)
1921
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1922
  EffectPart.Anchored = true
1923
  local BillboardGui = Create("BillboardGui")({
1924
    Size = UDim2.new(3, 0, 3, 0),
1925
    Adornee = EffectPart,
1926
    Parent = EffectPart
1927
  })
1928
  local TextLabel = Create("TextLabel")({
1929
    BackgroundTransparency = 1,
1930
    Size = UDim2.new(1, 0, 1, 0),
1931
    Text = Text,
1932
    TextColor3 = Color,
1933
    TextScaled = true,
1934
    Font = Enum.Font.ArialBold,
1935
    Parent = BillboardGui
1936
  })
1937
  game.Debris:AddItem(EffectPart, Time + 0.1)
1938
  EffectPart.Parent = game:GetService("Workspace")
1939
  delay(0, function()
1940
    local Frames = Time / Rate
1941
    for Frame = 1, Frames do
1942
      wait(Rate)
1943
      local Percent = Frame / Frames
1944
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1945
      TextLabel.TextTransparency = Percent
1946
    end
1947
    if EffectPart and EffectPart.Parent then
1948
      EffectPart:Destroy()
1949
    end
1950
  end)
1951
end
1952
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1953
  for _, c in pairs(workspace:children()) do
1954
    local hum = c:findFirstChildOfClass("Humanoid")
1955
    if hum ~= nil then
1956
      local head = c:findFirstChild("Head")
1957
      if head ~= nil then
1958
        local targ = head.Position - Part.Position
1959
        local mag = targ.magnitude
1960
        if magni >= mag and c.Name ~= Player.Name then
1961
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1962
        end
1963
      end
1964
    end
1965
  end
1966
end
1967
1968
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
1969
  for _, c in pairs(workspace:children()) do
1970
    local hum = c:findFirstChild("Humanoid")
1971
    if hum ~= nil then
1972
      local head = c:findFirstChild("Torso")
1973
      if head ~= nil then
1974
        local targ = head.Position - Part.Position
1975
        local mag = targ.magnitude
1976
        if magni >= mag and c.Name ~= Player.Name then
1977
	MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
1978
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1979
        end
1980
      end
1981
    end
1982
  end
1983
end
1984
1985
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1986
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1987
end 
1988
1989
local origcolor = BrickColor.new("Pastel light blue")
1990
---- This section of explosions.
1991
1992
----
1993
1994
1995
function ring(type,pos,scale,value)
1996
local type = type
1997
local rng = Instance.new("Part", char)
1998
        rng.Anchored = true
1999
        rng.BrickColor = origcolor
2000
        rng.CanCollide = false
2001
        rng.FormFactor = 3
2002
        rng.Name = "Ring"
2003
        rng.Size = Vector3.new(1, 1, 1)
2004
        rng.Transparency = 0
2005
        rng.TopSurface = 0
2006
        rng.BottomSurface = 0
2007
        rng.CFrame = pos
2008
        local rngm = Instance.new("SpecialMesh", rng)
2009
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2010
rngm.Scale = scale
2011
local scaler2 = 1
2012
if type == "Add" then
2013
scaler2 = 1*value
2014
elseif type == "Divide" then
2015
scaler2 = 1/value
2016
end
2017
coroutine.resume(coroutine.create(function()
2018
for i = 0,10,0.1 do
2019
swait()
2020
if type == "Add" then
2021
scaler2 = scaler2 - 0.01*value
2022
elseif type == "Divide" then
2023
scaler2 = scaler2 - 0.01/value
2024
end
2025
rng.Transparency = rng.Transparency + 0.01
2026
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
2027
end
2028
rng:Destroy()
2029
end))
2030
end
2031
2032
2033
function wave(type,pos,scale,value)
2034
local type = type
2035
local rng = Instance.new("Part", char)
2036
        rng.Anchored = true
2037
        rng.BrickColor = origcolor
2038
        rng.CanCollide = false
2039
        rng.FormFactor = 3
2040
        rng.Name = "Ring"
2041
        rng.Size = Vector3.new(1, 1, 1)
2042
        rng.Transparency = 0
2043
        rng.TopSurface = 0
2044
        rng.BottomSurface = 0
2045
        rng.CFrame = pos
2046
        local rngm = Instance.new("SpecialMesh", rng)
2047
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
2048
rngm.Scale = scale
2049
local scaler2 = 1
2050
if type == "Add" then
2051
scaler2 = 1*value
2052
elseif type == "Divide" then
2053
scaler2 = 1/value
2054
end
2055
coroutine.resume(coroutine.create(function()
2056
for i = 0,10,0.1 do
2057
swait()
2058
if type == "Add" then
2059
scaler2 = scaler2 - 0.01*value
2060
elseif type == "Divide" then
2061
scaler2 = scaler2 - 0.01/value
2062
end
2063
rng.Transparency = rng.Transparency + 0.01
2064
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2065
end
2066
rng:Destroy()
2067
end))
2068
end
2069
2070
function sphere(bonuspeed,type,pos,scale,value,color)
2071
local type = type
2072
local rng = Instance.new("Part", char)
2073
        rng.Anchored = true
2074
if ModeOfGlitch ~= 9 then
2075
        rng.BrickColor = color
2076
elseif ModeOfGlitch == 9 then
2077
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2078
end
2079
        rng.CanCollide = false
2080
        rng.FormFactor = 3
2081
        rng.Name = "Ring"
2082
        rng.Material = "Neon"
2083
        rng.Size = Vector3.new(1, 1, 1)
2084
        rng.Transparency = 0
2085
        rng.TopSurface = 0
2086
        rng.BottomSurface = 0
2087
        rng.CFrame = pos
2088
        local rngm = Instance.new("SpecialMesh", rng)
2089
        rngm.MeshType = "Sphere"
2090
rngm.Scale = scale
2091
if rainbowmode == true then
2092
rng.Color = Color3.new(r/255,g/255,b/255)
2093
end
2094
if ModeOfGlitch == 9 then
2095
coroutine.resume(coroutine.create(function()
2096
while true do
2097
swait()
2098
if rng.Parent ~= nil then
2099
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2100
else
2101
break
2102
end
2103
end
2104
end))
2105
end
2106
local scaler2 = 1
2107
if type == "Add" then
2108
scaler2 = 1*value
2109
elseif type == "Divide" then
2110
scaler2 = 1/value
2111
end
2112
coroutine.resume(coroutine.create(function()
2113
for i = 0,10/bonuspeed,0.1 do
2114
swait()
2115
if rainbowmode == true then
2116
rng.Color = Color3.new(r/255,g/255,b/255)
2117
end
2118
if type == "Add" then
2119
scaler2 = scaler2 - 0.01*value/bonuspeed
2120
elseif type == "Divide" then
2121
scaler2 = scaler2 - 0.01/value*bonuspeed
2122
end
2123
if chaosmode == true then
2124
rng.BrickColor = BrickColor.random()
2125
end
2126
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2127
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2128
end
2129
rng:Destroy()
2130
end))
2131
end
2132
2133
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
2134
local type = type
2135
local rng = Instance.new("Part", char)
2136
        rng.Anchored = true
2137
if ModeOfGlitch ~= 9 then
2138
        rng.BrickColor = color
2139
elseif ModeOfGlitch == 9 then
2140
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2141
end
2142
        rng.CanCollide = false
2143
        rng.FormFactor = 3
2144
        rng.Name = "Ring"
2145
        rng.Material = "Neon"
2146
        rng.Size = Vector3.new(1, 1, 1)
2147
        rng.Transparency = 0
2148
        rng.TopSurface = 0
2149
        rng.BottomSurface = 0
2150
        rng.CFrame = pos
2151
        local rngm = Instance.new("SpecialMesh", rng)
2152
        rngm.MeshType = "Sphere"
2153
rngm.Scale = scale
2154
local scaler2 = 1
2155
local scaler2b = 1
2156
local scaler2c = 1
2157
if type == "Add" then
2158
scaler2 = 1*value
2159
scaler2b = 1*value2
2160
scaler2c = 1*value3
2161
elseif type == "Divide" then
2162
scaler2 = 1/value
2163
scaler2b = 1/value2
2164
scaler2c = 1/value3
2165
end
2166
if ModeOfGlitch == 9 then
2167
coroutine.resume(coroutine.create(function()
2168
while true do
2169
swait()
2170
if rng.Parent ~= nil then
2171
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2172
else
2173
break
2174
end
2175
end
2176
end))
2177
end
2178
coroutine.resume(coroutine.create(function()
2179
for i = 0,10/bonuspeed,0.1 do
2180
swait()
2181
if type == "Add" then
2182
scaler2 = scaler2 - 0.01*value/bonuspeed
2183
scaler2b = scaler2b - 0.01*value/bonuspeed
2184
scaler2c = scaler2c - 0.01*value/bonuspeed
2185
elseif type == "Divide" then
2186
scaler2 = scaler2 - 0.01/value*bonuspeed
2187
scaler2b = scaler2b - 0.01/value*bonuspeed
2188
scaler2c = scaler2c - 0.01/value*bonuspeed
2189
end
2190
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2191
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
2192
end
2193
rng:Destroy()
2194
end))
2195
end
2196
2197
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2198
local type = type
2199
local rng = Instance.new("Part", char)
2200
        rng.Anchored = true
2201
        rng.BrickColor = color
2202
        rng.CanCollide = false
2203
        rng.FormFactor = 3
2204
        rng.Name = "Ring"
2205
        rng.Material = "Neon"
2206
        rng.Size = Vector3.new(1, 1, 1)
2207
        rng.Transparency = 0
2208
        rng.TopSurface = 0
2209
        rng.BottomSurface = 0
2210
        rng.CFrame = pos
2211
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2212
        local rngm = Instance.new("SpecialMesh", rng)
2213
        rngm.MeshType = "Brick"
2214
rngm.Scale = vt(x1,y1,z1)
2215
if rainbowmode == true then
2216
rng.Color = Color3.new(r/255,g/255,b/255)
2217
end
2218
local scaler2 = 1
2219
local speeder = FastSpeed/10
2220
if type == "Add" then
2221
scaler2 = 1*value
2222
elseif type == "Divide" then
2223
scaler2 = 1/value
2224
end
2225
coroutine.resume(coroutine.create(function()
2226
for i = 0,10/bonuspeed,0.1 do
2227
swait()
2228
if rainbowmode == true then
2229
rng.Color = Color3.new(r/255,g/255,b/255)
2230
end
2231
if type == "Add" then
2232
scaler2 = scaler2 - 0.01*value/bonuspeed
2233
elseif type == "Divide" then
2234
scaler2 = scaler2 - 0.01/value*bonuspeed
2235
end
2236
if chaosmode == true then
2237
rng.BrickColor = BrickColor.random()
2238
end
2239
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
2240
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2241
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
2242
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2243
end
2244
rng:Destroy()
2245
end))
2246
end
2247
2248
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2249
local type = type
2250
local rng = Instance.new("Part", char)
2251
        rng.Anchored = true
2252
        rng.BrickColor = color
2253
        rng.CanCollide = false
2254
        rng.FormFactor = 3
2255
        rng.Name = "Ring"
2256
        rng.Material = "Neon"
2257
        rng.Size = Vector3.new(1, 1, 1)
2258
        rng.Transparency = 0
2259
        rng.TopSurface = 0
2260
        rng.BottomSurface = 0
2261
        rng.CFrame = pos
2262
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2263
        local rngm = Instance.new("SpecialMesh", rng)
2264
        rngm.MeshType = "Brick"
2265
rngm.Scale = vt(x1,y1,z1)
2266
if rainbowmode == true then
2267
rng.Color = Color3.new(r/255,g/255,b/255)
2268
end
2269
local scaler2 = 1
2270
local speeder = FastSpeed/10
2271
if type == "Add" then
2272
scaler2 = 1*value
2273
elseif type == "Divide" then
2274
scaler2 = 1/value
2275
end
2276
coroutine.resume(coroutine.create(function()
2277
for i = 0,10/bonuspeed,0.1 do
2278
swait()
2279
if rainbowmode == true then
2280
rng.Color = Color3.new(r/255,g/255,b/255)
2281
end
2282
if type == "Add" then
2283
scaler2 = scaler2 - 0.01*value/bonuspeed
2284
elseif type == "Divide" then
2285
scaler2 = scaler2 - 0.01/value*bonuspeed
2286
end
2287
if chaosmode == true then
2288
rng.BrickColor = BrickColor.random()
2289
end
2290
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
2291
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2292
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2293
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2294
end
2295
rng:Destroy()
2296
end))
2297
end
2298
2299
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2300
local type = type
2301
local rng = Instance.new("Part", char)
2302
        rng.Anchored = true
2303
        rng.BrickColor = color
2304
        rng.CanCollide = false
2305
        rng.FormFactor = 3
2306
        rng.Name = "Ring"
2307
        rng.Material = "Neon"
2308
        rng.Size = Vector3.new(1, 1, 1)
2309
        rng.Transparency = 0
2310
        rng.TopSurface = 0
2311
        rng.BottomSurface = 0
2312
        rng.CFrame = pos
2313
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2314
        local rngm = Instance.new("SpecialMesh", rng)
2315
        rngm.MeshType = "Brick"
2316
rngm.Scale = vt(x1,y1,z1)
2317
if rainbowmode == true then
2318
rng.Color = Color3.new(r/255,g/255,b/255)
2319
end
2320
local scaler2 = 0
2321
local speeder = FastSpeed/10
2322
if type == "Add" then
2323
scaler2 = 1*value
2324
elseif type == "Divide" then
2325
scaler2 = 1/value
2326
end
2327
coroutine.resume(coroutine.create(function()
2328
for i = 0,10/bonuspeed,0.1 do
2329
swait()
2330
if rainbowmode == true then
2331
rng.Color = Color3.new(r/255,g/255,b/255)
2332
end
2333
if type == "Add" then
2334
scaler2 = scaler2 - 0.01*value/bonuspeed
2335
elseif type == "Divide" then
2336
scaler2 = scaler2 - 0.01/value*bonuspeed
2337
end
2338
if chaosmode == true then
2339
rng.BrickColor = BrickColor.random()
2340
end
2341
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
2342
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2343
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
2344
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2345
end
2346
rng:Destroy()
2347
end))
2348
end
2349
2350
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2351
local type = type
2352
local rng = Instance.new("Part", char)
2353
        rng.Anchored = true
2354
if ModeOfGlitch ~= 9 then
2355
        rng.BrickColor = color
2356
elseif ModeOfGlitch == 9 then
2357
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2358
end
2359
        rng.CanCollide = false
2360
        rng.FormFactor = 3
2361
        rng.Name = "Ring"
2362
        rng.Material = "Neon"
2363
        rng.Size = Vector3.new(1, 1, 1)
2364
        rng.Transparency = 0
2365
        rng.TopSurface = 0
2366
        rng.BottomSurface = 0
2367
        rng.CFrame = pos
2368
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2369
        local rngm = Instance.new("SpecialMesh", rng)
2370
        rngm.MeshType = "Sphere"
2371
rngm.Scale = vt(x1,y1,z1)
2372
if rainbowmode == true then
2373
rng.Color = Color3.new(r/255,g/255,b/255)
2374
end
2375
if ModeOfGlitch == 9 then
2376
coroutine.resume(coroutine.create(function()
2377
while true do
2378
swait()
2379
if rng.Parent ~= nil then
2380
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2381
else
2382
break
2383
end
2384
end
2385
end))
2386
end
2387
local scaler2 = 1
2388
local speeder = FastSpeed
2389
if type == "Add" then
2390
scaler2 = 1*value
2391
elseif type == "Divide" then
2392
scaler2 = 1/value
2393
end
2394
coroutine.resume(coroutine.create(function()
2395
for i = 0,10/bonuspeed,0.1 do
2396
swait()
2397
if rainbowmode == true then
2398
rng.Color = Color3.new(r/255,g/255,b/255)
2399
end
2400
if type == "Add" then
2401
scaler2 = scaler2 - 0.01*value/bonuspeed
2402
elseif type == "Divide" then
2403
scaler2 = scaler2 - 0.01/value*bonuspeed
2404
end
2405
if chaosmode == true then
2406
rng.BrickColor = BrickColor.random()
2407
end
2408
speeder = speeder - 0.01*FastSpeed*bonuspeed
2409
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2410
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2411
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
2412
end
2413
rng:Destroy()
2414
end))
2415
end
2416
2417
2418
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2419
local type = type
2420
local rng = Instance.new("Part", char)
2421
        rng.Anchored = true
2422
if ModeOfGlitch ~= 9 then
2423
        rng.BrickColor = color
2424
elseif ModeOfGlitch == 9 then
2425
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2426
end
2427
        rng.CanCollide = false
2428
        rng.FormFactor = 3
2429
        rng.Name = "Ring"
2430
        rng.Material = "Neon"
2431
        rng.Size = Vector3.new(1, 1, 1)
2432
        rng.Transparency = 1
2433
        rng.TopSurface = 0
2434
        rng.BottomSurface = 0
2435
        rng.CFrame = pos
2436
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2437
        local rngm = Instance.new("SpecialMesh", rng)
2438
        rngm.MeshType = "Sphere"
2439
rngm.Scale = vt(x1,y1,z1)
2440
if rainbowmode == true then
2441
rng.Color = Color3.new(r/255,g/255,b/255)
2442
end
2443
if ModeOfGlitch == 9 then
2444
coroutine.resume(coroutine.create(function()
2445
while true do
2446
swait()
2447
if rng.Parent ~= nil then
2448
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2449
else
2450
break
2451
end
2452
end
2453
end))
2454
end
2455
local scaler2 = 1
2456
local speeder = FastSpeed
2457
if type == "Add" then
2458
scaler2 = 1*value
2459
elseif type == "Divide" then
2460
scaler2 = 1/value
2461
end
2462
coroutine.resume(coroutine.create(function()
2463
for i = 0,10/bonuspeed,0.1 do
2464
swait()
2465
if rainbowmode == true then
2466
rng.Color = Color3.new(r/255,g/255,b/255)
2467
end
2468
if type == "Add" then
2469
scaler2 = scaler2 - 0.01*value/bonuspeed
2470
elseif type == "Divide" then
2471
scaler2 = scaler2 - 0.01/value*bonuspeed
2472
end
2473
if chaosmode == true then
2474
rng.BrickColor = BrickColor.random()
2475
end
2476
speeder = speeder - 0.01*FastSpeed*bonuspeed
2477
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2478
rng.Transparency = rng.Transparency - 0.01*bonuspeed
2479
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
2480
end
2481
rng:Destroy()
2482
end))
2483
end
2484
2485
function dmg(dude)
2486
if dude.Name ~= Character then
2487
local keptcolor = MAINRUINCOLOR
2488
local bgf = Instance.new("BodyGyro",dude.Head)
2489
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
2490
--[[local val = Instance.new("BoolValue",dude)
2491
val.Name = "IsHit"]]--
2492
local ds = coroutine.wrap(function()
2493
dude:WaitForChild("Head"):BreakJoints()
2494
for i, v in pairs(dude:GetChildren()) do
2495
if v:IsA("Part") or v:IsA("MeshPart") then
2496
v.Name = "DEMINISHED"
2497
end
2498
end
2499
wait(0.5)
2500
targetted = nil
2501
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
2502
coroutine.resume(coroutine.create(function()
2503
for i, v in pairs(dude:GetChildren()) do
2504
if v:IsA("Accessory") then
2505
v:Destroy()
2506
end
2507
if v:IsA("Humanoid") then
2508
v:Destroy()
2509
end
2510
if v:IsA("CharacterMesh") then
2511
v:Destroy()
2512
end
2513
if v:IsA("Model") then
2514
v:Destroy()
2515
end
2516
if v:IsA("Part") or v:IsA("MeshPart") then
2517
for x, o in pairs(v:GetChildren()) do
2518
if o:IsA("Decal") then
2519
o:Destroy()
2520
end
2521
end
2522
coroutine.resume(coroutine.create(function()
2523
v.Material = "Neon"
2524
v.CanCollide = false
2525
v.Anchored = false
2526
local bld = Instance.new("ParticleEmitter",v)
2527
bld.LightEmission = 0.75
2528
bld.Texture = "rbxassetid://363275192" ---284205403
2529
bld.Color = ColorSequence.new(keptcolor.Color)
2530
bld.Rate = 500
2531
bld.Lifetime = NumberRange.new(1)
2532
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
2533
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
2534
bld.Speed = NumberRange.new(2,5)
2535
bld.VelocitySpread = 50000
2536
bld.Rotation = NumberRange.new(-500,500)
2537
bld.RotSpeed = NumberRange.new(-500,500)
2538
        local sbs = Instance.new("BodyPosition", v)
2539
        sbs.P = 3000
2540
        sbs.D = 1000
2541
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2542
        sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
2543
v.Color = keptcolor.Color
2544
coroutine.resume(coroutine.create(function()
2545
for i = 0, 49 do
2546
swait(1)
2547
v:BreakJoints()
2548
v.Transparency = v.Transparency + 0.02
2549
end
2550
v:BreakJoints()
2551
sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
2552
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
2553
bld.Speed = NumberRange.new(10,25)
2554
bld.Drag = 5
2555
bld.Acceleration = vt(0,2,0)
2556
wait(0.5)
2557
bld.Enabled = false
2558
wait(8)
2559
v:Destroy()
2560
dude:Destroy()
2561
end))
2562
end))
2563
end
2564
end
2565
end))
2566
end)
2567
ds()
2568
end
2569
end
2570
2571
2572
function FindNearestHead(Position, Distance, SinglePlayer)
2573
	if SinglePlayer then
2574
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
2575
	end
2576
	local List = {}
2577
	for i, v in pairs(workspace:GetChildren()) do
2578
		if v:IsA("Model") then
2579
			if v:findFirstChild("Head") then
2580
				if v ~= Character then
2581
					if (v.Head.Position - Position).magnitude <= Distance then
2582
						table.insert(List, v)
2583
					end 
2584
				end 
2585
			end 
2586
		end 
2587
	end
2588
	return List
2589
end
2590
2591
function FaceMouse()
2592
  Cam = workspace.CurrentCamera
2593
  return {
2594
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
2595
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2596
  }
2597
end
2598
2599
function FaceMouse2()
2600
  Cam = workspace.CurrentCamera
2601
  return {
2602
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
2603
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2604
  }
2605
end
2606
2607
-- Functions are ready.
2608
local storehumanoidWS = 16
2609
2610
function resetmode()
2611
           ModeOfGlitch = 1
2612
storehumanoidWS = 16
2613
hum.WalkSpeed = 16
2614
rainbowmode = false
2615
chaosmode = false
2616
RecolorTextAndRename(plr.Name,Color3.new(255,255,255),Color3.new(255,255,255),"Code")
2617
newTheme("rbxassetid://692477687",0,1.01,10)
2618
MAINRUINCOLOR = BrickColor.new("Really white")
2619
for i, v in pairs(mw2:GetChildren()) do
2620
if v:IsA("Part") then
2621
v.BrickColor = MAINRUINCOLOR
2622
v.Material = "Neon"
2623
end
2624
end
2625
refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2626
refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2627
refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2628
tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2629
tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2630
tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2631
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2632
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2633
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2634
for i, v in pairs(mw1:GetChildren()) do
2635
if v:IsA("Part") then
2636
v.Transparency = 0
2637
v.BrickColor = MAINRUINCOLOR
2638
v.Material = "Neon"
2639
end
2640
end
2641
for i, v in pairs(m:GetChildren()) do
2642
if v:IsA("Part") then
2643
v.BrickColor = BrickColor.new("White")
2644
v.Material = "Ice"
2645
end
2646-
RecolorTextAndRename("Mayhem",Color3.new(255,1,1),Color3.new(196,0,0),"Code")
2646+
2647-
newTheme("rbxassetid://614032233",0,1.01,1.25)
2647+
2648-
MAINRUINCOLOR = BrickColor.new("Really red")
2648+
2649
v.BrickColor = BrickColor.new("White")
2650
v.Material = "Ice"
2651
end
2652
end
2653
for i, v in pairs(m3:GetChildren()) do
2654
if v:IsA("Part") then
2655
v.BrickColor = BrickColor.new("White")
2656
v.Material = "Neon"
2657
end
2658
end
2659
for i, v in pairs(extrawingmod1:GetChildren()) do
2660
if v:IsA("Part") then
2661
v.Transparency = 1
2662
v.BrickColor = BrickColor.new("White")
2663
v.Material = "Neon"
2664
end
2665
end
2666
for i, v in pairs(extrawingmod2:GetChildren()) do
2667
if v:IsA("Part") then
2668
v.Transparency = 1
2669
v.BrickColor = BrickColor.new("White")
2670
v.Material = "Neon"
2671
end
2672
end
2673
end
2674
2675
function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
2676
for i, v in pairs(mw2:GetChildren()) do
2677
if v:IsA("Part") then
2678
v.BrickColor = one
2679
v.Material = "Neon"
2680
end
2681
end
2682
refec.Color = ColorSequence.new(one.Color)
2683
refec2.Color = ColorSequence.new(one.Color)
2684
refec3.Color = ColorSequence.new(one.Color)
2685
tr1.Color = ColorSequence.new(one.Color)
2686
tr2.Color = ColorSequence.new(one.Color)
2687
tr3.Color = ColorSequence.new(one.Color)
2688
for i, v in pairs(mw1:GetChildren()) do
2689
if v:IsA("Part") then
2690
v.Transparency = 0
2691
v.BrickColor = two
2692
v.Material = "Neon"
2693
end
2694
end
2695
tl1.Color = ColorSequence.new(two.Color)
2696
tl2.Color = ColorSequence.new(two.Color)
2697
tl3.Color = ColorSequence.new(two.Color)
2698
for i, v in pairs(m:GetChildren()) do
2699
if v:IsA("Part") then
2700
v.BrickColor = three
2701
v.Material = "Ice"
2702
end
2703
end
2704
for i, v in pairs(m2:GetChildren()) do
2705
if v:IsA("Part") then
2706
v.BrickColor = four
2707
v.Material = "Ice"
2708
end
2709
end
2710
for i, v in pairs(m3:GetChildren()) do
2711
if v:IsA("Part") then
2712
v.BrickColor = five
2713
v.Material = "Neon"
2714
end
2715
end
2716
for i, v in pairs(extrawingmod1:GetChildren()) do
2717
if v:IsA("Part") then
2718
v.Transparency = exonetran
2719
v.BrickColor = exone
2720
v.Material = "Neon"
2721
end
2722
end
2723
for i, v in pairs(extrawingmod2:GetChildren()) do
2724
if v:IsA("Part") then
2725
v.Transparency = extwotran
2726
v.BrickColor = extwo
2727
v.Material = "Neon"
2728
end
2729
end
2730
end
2731
2732
function attackone()
2733
	attack = true
2734
local keptcolor = MAINRUINCOLOR
2735
	for i = 0,1,0.1 do
2736
		swait()
2737
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
2738
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
2739
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
2740
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
2741
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
2742
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
2743
	end
2744
local distlook = 5
2745
coroutine.resume(coroutine.create(function()
2746
for i = 0, 4 do
2747
swait(2)
2748
CameraEnshaking(2,3)
2749
local hite = Instance.new("Part", char)
2750
        hite.Anchored = true
2751
        hite.CanCollide = false
2752
        hite.FormFactor = 3
2753
        hite.Name = "Ring"
2754
        hite.Material = "Neon"
2755
        hite.Size = Vector3.new(1, 1, 1)
2756
        hite.Transparency = 1
2757
        hite.TopSurface = 0
2758
        hite.BottomSurface = 0
2759
hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
2760
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
2761
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
2762
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
2763
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
2764
MagniDamage(hite, 9, 10,25, 0, "Normal")
2765
for i = 0, 14 do
2766
local rsiz = math.random(5,20)
2767
sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
2768
end
2769
CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
2770
CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
2771
game:GetService("Debris"):AddItem(hite, 5)
2772
distlook = distlook + 10
2773
end
2774
end))
2775
	for i = 0,1,0.1 do
2776
		swait()
2777
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
2778
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
2779
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
2780
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
2781
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
2782
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
2783
	end
2784
	attack = false
2785
end
2786
2787
function attacktwo()
2788
	attack = true
2789
	for i = 0,1,0.1 do
2790
		swait()
2791
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
2792
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
2793
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
2794
LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
2795
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(-1.5),math.rad(0),math.rad(10)),.3)
2796
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3)
2797
	end
2798
CameraEnshaking(3,4)
2799
MagniDamage(root, 12, 15,30, 0, "Normal")
2800
sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
2801
sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
2802
sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
2803
coroutine.resume(coroutine.create(function()
2804
local eff = Instance.new("ParticleEmitter",root)
2805
eff.Texture = "rbxassetid://363275192"
2806
eff.LightEmission = 0.95
2807
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2808
eff.Rate = 10000
2809
eff.Lifetime = NumberRange.new(1)
2810
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
2811
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
2812
eff.Speed = NumberRange.new(10,125)
2813
eff.Drag = 5
2814
eff.Rotation = NumberRange.new(-500,500)
2815
eff.VelocitySpread = 9000
2816
eff.RotSpeed = NumberRange.new(-50,50)
2817
local eff2 = eff:Clone()
2818
eff2.Parent = root
2819
eff2.Texture = "rbxassetid://284205403"
2820
eff2.Rate = 10000
2821
eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
2822
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
2823
eff2.Drag = 5
2824
eff2.Speed = NumberRange.new(10,50)
2825
eff2.Rotation = NumberRange.new(-500,500)
2826
eff2.VelocitySpread = 9000
2827
wait(0.25)
2828
eff2.Enabled = false
2829
eff.Enabled = false
2830
wait(3)
2831
eff2:Destroy()
2832
eff:Destroy()
2833
end))
2834
for i = 0, 9 do
2835
sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
2836
end
2837
for i = 0, 24 do
2838
local rsiz = math.random(5,20)
2839
sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
2840
end
2841
CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
2842
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
2843
CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
2844
	for i = 0,2,0.1 do
2845
		swait()
2846
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
2847
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
2848
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
2849
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
2850
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(-1.5),math.rad(0),math.rad(-10)),.3)
2851
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
2852
	end
2853
attack = false
2854
end
2855
2856
function attackthree()
2857
attack = true
2858
local keptcolor = MAINRUINCOLOR
2859
CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
2860
	for i = 0,1,0.1 do
2861
		swait()
2862
sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
2863
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
2864
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
2865
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
2866
LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
2867
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(-1.5),math.rad(0),math.rad(0)),.5)
2868
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
2869
	end
2870
CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
2871
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
2872
local angle = -25
2873
coroutine.resume(coroutine.create(function()
2874
for i = 0, 2 do
2875
local orb = Instance.new("Part", char)
2876
        orb.BrickColor = MAINRUINCOLOR
2877
        orb.CanCollide = false
2878
        orb.FormFactor = 3
2879
        orb.Name = "Ring"
2880
        orb.Material = "Neon"
2881
        orb.Size = Vector3.new(1, 1, 1)
2882
        orb.Transparency = 0.5
2883
        orb.TopSurface = 0
2884
        orb.BottomSurface = 0
2885
        local orbm = Instance.new("SpecialMesh", orb)
2886
        orbm.MeshType = "Sphere"
2887
orbm.Name = "SizeMesh"
2888
orbm.Scale = vt(3,3,3)
2889
orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
2890
local bv = Instance.new("BodyVelocity")
2891
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2892
bv.velocity = orb.CFrame.lookVector*100
2893
bv.Parent = orb
2894
game:GetService("Debris"):AddItem(orb, 10)
2895
sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
2896
sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
2897
coroutine.resume(coroutine.create(function()
2898
MagniDamage(orb, 6, 8,15, 0, "Normal")
2899
for i = 0, 7 do
2900
swait(2.5)
2901
CameraEnshaking(1,2)
2902
MagniDamage(orb, 6, 8,15, 0, "Normal")
2903
CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
2904
for i = 0, 4 do
2905
local rsiz = math.random(5,10)
2906
sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
2907
sphereMK(math.random(2,6),0.15,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
2908
end
2909
sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
2910
sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
2911
end
2912
orb.Transparency = 1
2913
orb.Anchored = false
2914
wait(10)
2915
orb:Destroy()
2916
end))
2917
angle = angle + 25
2918
end
2919
end))
2920
	for i = 0,1,0.1 do
2921
		swait()
2922
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
2923
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
2924
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
2925
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
2926
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(-1.5),math.rad(0),math.rad(-10)),.3)
2927
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
2928
	end
2929
attack = false
2930
end
2931
2932
------------------------------------- Abilities ---------------------------------------------------------
2933
function Fireball()
2934
attack = true
2935
hum.WalkSpeed = 0 
2936
local keptcolor = MAINRUINCOLOR
2937
	for i = 0,2,0.1 do
2938
		swait()
2939
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
2940
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
2941
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
2942
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
2943
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(-1.5),math.rad(0),math.rad(0)),.3)
2944
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(-1),math.rad(0),math.rad(0)),.3)
2945
	end
2946
local orb = Instance.new("Part", char)
2947
        orb.BrickColor = keptcolor
2948
        orb.CanCollide = false
2949
        orb.FormFactor = 3
2950
        orb.Name = "Ring"
2951
        orb.Material = "Neon"
2952
        orb.Size = Vector3.new(1, 1, 1)
2953
        orb.Transparency = 0
2954
        orb.TopSurface = 0
2955
        orb.BottomSurface = 0
2956
        local orbm = Instance.new("SpecialMesh", orb)
2957
        orbm.MeshType = "Sphere"
2958
orbm.Name = "SizeMesh"
2959
orbm.Scale = vt(4,4,4)
2960
orb.CFrame = root.CFrame + root.CFrame.lookVector*3
2961
local eff = Instance.new("ParticleEmitter",orb)
2962
eff.Texture = "rbxassetid://296874871"
2963
eff.LightEmission = 0.95
2964
eff.Color = ColorSequence.new(orb.BrickColor.Color)
2965
eff.Rate = 10000
2966
eff.Lifetime = NumberRange.new(1.5)
2967
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
2968
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
2969
eff.Speed = NumberRange.new(25)
2970
eff.Drag = 5
2971
eff.Rotation = NumberRange.new(-500,500)
2972
eff.VelocitySpread = 9000
2973
eff.RotSpeed = NumberRange.new(-500,500)
2974
	local a = Instance.new("Part",workspace)
2975
	a.Name = "Direction"	
2976
	a.Anchored = true
2977
	a.BrickColor = bc("Bright red")
2978
a.Material = "Neon"
2979
a.Transparency = 1
2980
	a.CanCollide = false
2981
	local ray = Ray.new(
2982
	    orb.CFrame.p,                           -- origin
2983
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
2984
	) 
2985
	local ignore = orb
2986
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2987
	a.BottomSurface = 10
2988
	a.TopSurface = 10
2989
	local distance = (orb.CFrame.p - position).magnitude
2990
	a.Size = Vector3.new(0.1, 0.1, 0.1)
2991
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
2992
orb.CFrame = a.CFrame
2993
a:Destroy()
2994
CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
2995
local bv = Instance.new("BodyVelocity")
2996
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2997
bv.velocity = orb.CFrame.lookVector*75
2998
bv.Parent = orb
2999
game:GetService("Debris"):AddItem(orb, 10)
3000
local hitted = false
3001
coroutine.resume(coroutine.create(function()
3002
while true do
3003
swait()
3004
if orb.Parent ~= nil and hitted == false then
3005
sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
3006
elseif orb.Parent == nil and hitted == true then
3007
break
3008
end
3009
end
3010
end))
3011
local hit =orb.Touched:connect(function(hit) 
3012
	if hitted == false and hit.Parent ~= char then
3013
	hitted = true
3014
	eff.Enabled = false
3015
CameraEnshaking(4,4)
3016
CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
3017
CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
3018
	MagniDamage(orb, 25, 20,30, 0, "Normal")
3019
sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
3020
sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
3021
sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
3022
for i = 0, 9 do
3023
sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
3024
end
3025
for i = 0, 49 do
3026
local rsiz = math.random(10,30)
3027
sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
3028
end
3029
local eff = Instance.new("ParticleEmitter",orb)
3030
eff.Texture = "rbxassetid://296874871"
3031
eff.LightEmission = 0.95
3032
eff.Color = ColorSequence.new(orb.BrickColor.Color)
3033
eff.Rate = 10000
3034
eff.Lifetime = NumberRange.new(1.5)
3035
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
3036
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3037
eff.Speed = NumberRange.new(150)
3038
eff.Drag = 5
3039
eff.Rotation = NumberRange.new(-500,500)
3040
eff.VelocitySpread = 9000
3041
eff.RotSpeed = NumberRange.new(-500,500)
3042
coroutine.resume(coroutine.create(function()
3043
	wait(0.25)
3044
	eff.Enabled = false
3045
end))
3046
local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
3047
orb.Anchored = true
3048
orb.Transparency = 1
3049
coroutine.resume(coroutine.create(function()
3050
if hfr ~= nil then
3051
orb.Size = vt(50,1,50)
3052
orb.Orientation = vt(0,0,0)
3053
orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
3054
orbm:Destroy()
3055
local firef = eff:Clone()
3056
firef.Parent = orb
3057
firef.VelocitySpread = 50
3058
firef.Rate = 500
3059
firef.Drag = 3
3060
firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3061
firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
3062
firef.Speed = NumberRange.new(10,30)
3063
for i = 0, 24 do
3064
wait(0.25)
3065
MagniDamage(orb, 25, 3,6, 0, "Normal")
3066
end
3067
firef.Enabled = false
3068
end
3069
end))
3070
wait(10)
3071
orb:Destroy()
3072
end
3073
end)
3074
	for i = 0,1,0.1 do
3075
		swait()
3076
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
3077
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
3078
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
3079
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
3080
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
3081
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
3082
	end
3083
hum.WalkSpeed = storehumanoidWS
3084
attack = false
3085
end
3086
3087
function BeamOfDeath()
3088
attack = true
3089
hum.WalkSpeed = 0 
3090
local keptcolor = MAINRUINCOLOR
3091
local orb = Instance.new("Part", char)
3092
        orb.BrickColor = keptcolor
3093
        orb.CanCollide = false
3094
        orb.FormFactor = 3
3095
        orb.Name = "Ring"
3096
        orb.Material = "Neon"
3097
        orb.Size = Vector3.new(1, 1, 1)
3098
        orb.Transparency = 1
3099
        orb.TopSurface = 0
3100
        orb.BottomSurface = 0
3101
        local orbm = Instance.new("SpecialMesh", orb)
3102
        orbm.MeshType = "Sphere"
3103
orbm.Name = "SizeMesh"
3104
orbm.Scale = vt(22.5,10000,22.5)
3105
orb.CFrame = mouse.Hit
3106
orb.Anchored = true
3107
orb.Orientation = vt(0,0,0)
3108
orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
3109
CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
3110
coroutine.resume(coroutine.create(function()
3111
coroutine.resume(coroutine.create(function()
3112
for i = 0, 399 do
3113
swait()
3114
orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
3115
orb.Transparency = orb.Transparency - 0.0025
3116
end
3117
end))
3118
wait(9)
3119
coroutine.resume(coroutine.create(function()
3120
local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
3121
if hfr ~= nil then
3122
	for i = 0, 49 do
3123
local deb = Instance.new("Part", char)
3124
deb.Anchored = true
3125
deb.CanCollide = false
3126
deb.FormFactor = 3
3127
deb.Name = "Ring"
3128
deb.Material = hitfloor.Material
3129
deb.Color = hitfloor.Color
3130
deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
3131
deb.Transparency = 0
3132
deb.TopSurface = 0
3133
deb.BottomSurface = 0
3134
deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3135
local deb2 = Instance.new("Part", char)
3136
deb2.CanCollide = false
3137
deb2.FormFactor = 3
3138
deb2.Name = "Ring"
3139
deb2.Material = hitfloor.Material
3140
deb2.Color = hitfloor.Color
3141
deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
3142
deb2.Transparency = 0
3143
deb2.TopSurface = 0
3144
deb2.BottomSurface = 0
3145
deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
3146
deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3147
local eff = Instance.new("ParticleEmitter",deb)
3148
eff.Texture = "rbxassetid://363275192"
3149
eff.LightEmission = 0.95
3150
eff.Color = ColorSequence.new(keptcolor.Color)
3151
eff.Rate = 100
3152
eff.Lifetime = NumberRange.new(1)
3153
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
3154
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3155
eff.Speed = NumberRange.new(0,5)
3156
eff.Rotation = NumberRange.new(-500,500)
3157
eff.VelocitySpread = 9000
3158
eff.RotSpeed = NumberRange.new(-10,10)
3159
local at1 = Instance.new('Attachment',deb2)
3160
at1.Position = vt(0,15,0)
3161
local at2 = Instance.new('Attachment',deb2)
3162
at2.Position = vt(0,-15,0)
3163
local tl = Instance.new('Trail',deb2)
3164
tl.Attachment0 = at1
3165
tl.Attachment1 = at2
3166
tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
3167
tl.Color = ColorSequence.new(BrickColor.new('White').Color)
3168
tl.Lifetime = 1
3169
game:GetService("Debris"):AddItem(deb,30)
3170
game:GetService("Debris"):AddItem(deb2,30)
3171
coroutine.resume(coroutine.create(function()
3172
	wait(15)
3173
eff.Enabled = false
3174
	for i = 0, 49 do
3175
		swait()
3176
		deb.Transparency = deb.Transparency + 0.02
3177
	end
3178
wait(1)
3179
	deb:Destroy()
3180
end))
3181
end
3182
end
3183
end))
3184
for i = 0, 199 do
3185
swait(1.5)
3186
for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
3187
if v:FindFirstChild('Head') then
3188
dmg(v)
3189
end
3190
end
3191
sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
3192
sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
3193
sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
3194
sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
3195
end
3196
orb:Destroy()
3197
end))
3198
hum.WalkSpeed = storehumanoidWS
3199
attack = false
3200
end
3201
3202
3203
function Beams()
3204
attack = true
3205
hum.WalkSpeed = 0 
3206
local keptcolor = MAINRUINCOLOR
3207
coroutine.resume(coroutine.create(function()
3208
for i = 0, 24 do
3209
swait(5)
3210
local orb = Instance.new("Part", char)
3211
CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
3212
        orb.BrickColor = keptcolor
3213
        orb.CanCollide = false
3214
        orb.FormFactor = 3
3215
        orb.Name = "Ring"
3216
        orb.Material = "Neon"
3217
        orb.Size = Vector3.new(1, 1, 1)
3218
        orb.Transparency = 0
3219
        orb.TopSurface = 0
3220
        orb.BottomSurface = 0
3221
orb.Anchored = true
3222
        local orbm = Instance.new("SpecialMesh", orb)
3223
        orbm.MeshType = "Sphere"
3224
orbm.Name = "SizeMesh"
3225
orbm.Scale = vt(1.25,1.25,1.25)
3226
orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
3227
sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
3228
coroutine.resume(coroutine.create(function()
3229
wait(0.5)
3230
CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
3231
sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
3232
sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
3233
orb.Transparency = 1
3234
	local a = Instance.new("Part",char)
3235
	a.Name = "Direction"	
3236
	a.Anchored = true
3237
	a.BrickColor = keptcolor
3238
a.Material = "Neon"
3239
a.Transparency = 0.25
3240
a.Shape = "Cylinder"
3241
	local ht = Instance.new("Part",char)
3242
	ht.Name = "DirectionHit"	
3243
	ht.Anchored = true
3244
	ht.BrickColor = keptcolor
3245
ht.CanCollide = false
3246
ht.Transparency = 1
3247
ht.Size = vt(0.1,0.1,0.1)
3248
CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
3249
	a.CanCollide = false
3250
	local ray = Ray.new(
3251
	    orb.CFrame.p,                           -- origin
3252
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
3253
	) 
3254
	local ignore = char
3255
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3256
	a.BottomSurface = 10
3257
	a.TopSurface = 10
3258
	local distance = (orb.CFrame.p - position).magnitude
3259
	a.Size = Vector3.new(distance,1,1)
3260
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
3261
	ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3262
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
3263
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
3264
MagniDamage(ht, 9, 10,15, 0, "Normal")
3265
coroutine.resume(coroutine.create(function()
3266
local eff = Instance.new("ParticleEmitter",ht)
3267
eff.Texture = "rbxassetid://284205403"
3268
eff.LightEmission = 0.95
3269
eff.Color = ColorSequence.new(keptcolor.Color)
3270
eff.Rate = 500
3271
eff.Lifetime = NumberRange.new(0.5)
3272
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
3273
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3274
eff.Speed = NumberRange.new(10,50)
3275
eff.Drag = 5
3276
eff.Rotation = NumberRange.new(-500,500)
3277
eff.VelocitySpread = 9000
3278
eff.RotSpeed = NumberRange.new(-500,500)
3279
wait(0.25)
3280
eff.Enabled = false
3281
end))
3282
for i = 0, 4 do
3283
sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
3284
sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
3285
local rsiz = math.random(10,30)
3286
sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
3287
end
3288
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
3289
local msh = Instance.new("SpecialMesh",a)
3290
msh.MeshType = "Cylinder"
3291
msh.Scale = vt(1,1,1)
3292
for i = 0, 49 do
3293
swait()
3294
msh.Scale = msh.Scale + vt(0,0.01,0.01)
3295
a.Transparency = a.Transparency + 0.02
3296
end
3297
orb:Destroy()
3298
a:Destroy()
3299
ht:Destroy()
3300
end))
3301
game:GetService("Debris"):AddItem(orb, 10)
3302
end
3303
end))
3304
	for i = 0,12,0.1 do
3305
		swait()
3306
sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
3307
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
3308
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
3309
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
3310
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
3311
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
3312
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
3313
	end
3314
hum.WalkSpeed = storehumanoidWS
3315
attack = false
3316
end
3317
3318
function smiter()
3319
local targetted = nil
3320
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3321
targetted = mouse.Target.Parent
3322
end
3323
if targetted ~= nil then
3324
RootPart.CFrame = FaceMouse()[1]
3325
attack = true
3326
hum.WalkSpeed = 0
3327
coroutine.resume(coroutine.create(function()
3328
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
3329
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
3330
local vel = Instance.new("BodyPosition", targetted.Head)
3331
vel.P = 12500
3332
vel.D = 1000
3333
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
3334
vel.position = targetted.Head.CFrame.p
3335
end))
3336
CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
3337
	for i = 0,4,0.1 do
3338
		swait()
3339
sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
3340
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3341
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3342
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3343
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3344
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
3345
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
3346
	end
3347
coroutine.resume(coroutine.create(function()
3348
CameraEnshaking(6,5)
3349
MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
3350
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
3351
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
3352
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
3353
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
3354
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
3355
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
3356
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
3357
coroutine.resume(coroutine.create(function()
3358
local eff = Instance.new("ParticleEmitter",targetted.Head)
3359
eff.Texture = "rbxassetid://363275192"
3360
eff.LightEmission = 0.95
3361
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3362
eff.Rate = 10000
3363
eff.Lifetime = NumberRange.new(1.5)
3364
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
3365
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3366
eff.Speed = NumberRange.new(25,150)
3367
eff.Drag = 5
3368
eff.Rotation = NumberRange.new(-500,500)
3369
eff.VelocitySpread = 9000
3370
eff.RotSpeed = NumberRange.new(-50,50)
3371
local eff2 = eff:Clone()
3372
eff2.Parent = targetted.Head
3373
eff2.Texture = "rbxassetid://284205403"
3374
eff2.Rate = 10000
3375
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3376
eff2.Drag = 5
3377
eff2.Rotation = NumberRange.new(-500,500)
3378
eff2.VelocitySpread = 9000
3379
wait(0.5)
3380
eff2.Enabled = false
3381
eff.Enabled = false
3382
end))
3383
for i = 0, 9 do
3384
sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
3385
end
3386
for i = 0, 49 do
3387
local rsiz = math.random(10,50)
3388
sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
3389
end
3390
game:GetService("Debris"):AddItem(vel,1)
3391
dmg(targetted)
3392
end))
3393
	for i = 0,1,0.1 do
3394
		swait()
3395
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
3396
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
3397
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
3398
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
3399
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
3400
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
3401
	end
3402
attack = false
3403
hum.WalkSpeed = storehumanoidWS
3404
end
3405
end
3406
3407
function supsmiter()
3408
local targetted = nil
3409
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3410
targetted = mouse.Target.Parent
3411
end
3412
if targetted ~= nil then
3413
RootPart.CFrame = FaceMouse()[1]
3414
attack = true
3415
hum.WalkSpeed = 0
3416
coroutine.resume(coroutine.create(function()
3417
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
3418
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
3419
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR)
3420
local vel = Instance.new("BodyPosition", targetted.Head)
3421
vel.P = 12500
3422
vel.D = 1000
3423
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
3424
vel.position = targetted.Head.CFrame.p
3425
end))
3426
CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
3427
	for i = 0,14,0.1 do
3428
		swait()
3429
rsiz = math.random(5,15)
3430
sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)	
3431
sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
3432
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3433
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3434
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3435
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3436
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3437
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3438
	end
3439
coroutine.resume(coroutine.create(function()
3440
CameraEnshaking(6,5)
3441
MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
3442
MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal")
3443
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
3444
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
3445
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
3446
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
3447
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
3448
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
3449
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
3450
coroutine.resume(coroutine.create(function()
3451
local eff = Instance.new("ParticleEmitter",targetted.Head)
3452
eff.Texture = "rbxassetid://363275192"
3453
eff.LightEmission = 0.95
3454
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3455
eff.Rate = 10000
3456
eff.Lifetime = NumberRange.new(1.5)
3457
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
3458
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3459
eff.Speed = NumberRange.new(25,150)
3460
eff.Drag = 5
3461
eff.Rotation = NumberRange.new(-500,500)
3462
eff.VelocitySpread = 9000
3463
eff.RotSpeed = NumberRange.new(-50,50)
3464
local eff2 = eff:Clone()
3465
eff2.Parent = targetted.Head
3466
eff2.Texture = "rbxassetid://284205403"
3467
eff2.Rate = 10000
3468
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3469
eff2.Drag = 5
3470
eff2.Rotation = NumberRange.new(-500,500)
3471
eff2.VelocitySpread = 9000
3472
wait(0.5)
3473
eff2.Enabled = false
3474
eff.Enabled = false
3475
end))
3476
for i = 0, 9 do
3477
sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
3478
end
3479
for i = 0, 49 do
3480
local rsiz = math.random(10,50)
3481
sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
3482
end
3483
wait(0.75)
3484
CameraEnshaking(6,6)
3485
MagniDamage(targetted.Head, 20, 25,40, 0, "Normal")
3486
MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal")
3487
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
3488
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
3489
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
3490
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
3491
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
3492
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
3493
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
3494
coroutine.resume(coroutine.create(function()
3495
local eff = Instance.new("ParticleEmitter",targetted.Head)
3496
eff.Texture = "rbxassetid://363275192"
3497
eff.LightEmission = 0.95
3498
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3499
eff.Rate = 10000
3500
eff.Lifetime = NumberRange.new(1.5)
3501
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
3502
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3503
eff.Speed = NumberRange.new(25,250)
3504
eff.Drag = 5
3505
eff.Rotation = NumberRange.new(-500,500)
3506
eff.VelocitySpread = 9000
3507
eff.RotSpeed = NumberRange.new(-50,50)
3508
local eff2 = eff:Clone()
3509
eff2.Parent = targetted.Head
3510
eff2.Texture = "rbxassetid://284205403"
3511
eff2.Rate = 10000
3512
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3513
eff2.Drag = 5
3514
eff2.Rotation = NumberRange.new(-500,500)
3515
eff2.VelocitySpread = 9000
3516
wait(0.5)
3517
eff2.Enabled = false
3518
eff.Enabled = false
3519
end))
3520
for i = 0, 9 do
3521
sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,4.5,-0.02,MAINRUINCOLOR)
3522
end
3523
for i = 0, 49 do
3524
local rsiz = math.random(15,55)
3525
sphereMK(math.random(1,4),1.5,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
3526
end
3527
wait(0.75)
3528
CameraEnshaking(6,7)
3529
MagniDamage(targetted.Head, 23, 40,80, 0, "Normal")
3530
MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal")
3531
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
3532
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
3533
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
3534
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
3535
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
3536
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
3537
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
3538
coroutine.resume(coroutine.create(function()
3539
local eff = Instance.new("ParticleEmitter",targetted.Head)
3540
eff.Texture = "rbxassetid://363275192"
3541
eff.LightEmission = 0.95
3542
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3543
eff.Rate = 10000
3544
eff.Lifetime = NumberRange.new(1.5)
3545
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
3546
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3547
eff.Speed = NumberRange.new(50,450)
3548
eff.Drag = 5
3549
eff.Rotation = NumberRange.new(-500,500)
3550
eff.VelocitySpread = 9000
3551
eff.RotSpeed = NumberRange.new(-50,50)
3552
local eff2 = eff:Clone()
3553
eff2.Parent = targetted.Head
3554
eff2.Texture = "rbxassetid://284205403"
3555
eff2.Rate = 10000
3556
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3557
eff2.Drag = 5
3558
eff2.Rotation = NumberRange.new(-500,500)
3559
eff2.VelocitySpread = 9000
3560
wait(0.5)
3561
eff2.Enabled = false
3562
eff.Enabled = false
3563
end))
3564
for i = 0, 9 do
3565
sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,6,-0.02,MAINRUINCOLOR)
3566
end
3567
for i = 0, 49 do
3568
local rsiz = math.random(20,60)
3569
sphereMK(math.random(1,4),2,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
3570
end
3571
dmg(targetted)
3572
game:GetService("Debris"):AddItem(vel,1)
3573
end))
3574
	for i = 0,7,0.1 do
3575
		swait()
3576
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
3577
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
3578
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
3579
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5)
3580
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5)
3581
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.5)
3582
	end
3583
attack = false
3584
hum.WalkSpeed = storehumanoidWS
3585
end
3586
end
3587
3588
function BinaryBLINK()
3589
for i = 0, 9 do
3590
sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)		sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)	    sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
3591
end
3592
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
3593
coroutine.resume(coroutine.create(function()
3594
local eff = Instance.new("ParticleEmitter",root)
3595
eff.Texture = "rbxassetid://1175838406"
3596
eff.LightEmission = 0.95
3597
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3598
eff.Rate = 10000
3599
eff.Lifetime = NumberRange.new(1)
3600
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
3601
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3602
eff.Speed = NumberRange.new(30,160)
3603
eff.Drag = 5
3604
eff.Rotation = NumberRange.new(-500,500)
3605
eff.VelocitySpread = 100000
3606
wait(0.25)
3607
eff.Enabled = false
3608
wait(4)
3609
eff:Destroy()
3610
end))
3611
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
3612
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
3613
CameraEnshaking(2,10)
3614
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
3615
if v:FindFirstChild('Head') then
3616
dmg(v)
3617
end
3618
end
3619
for i = 0, 9 do
3620
sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)		sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)	    sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
3621
end
3622
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
3623
end
3624
3625
function BinaryE()
3626
local posit = -2
3627
attack = true
3628
hum.WalkSpeed = 5
3629
CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
3630
	for i = 0,2,0.1 do
3631
		swait()
3632
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
3633
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
3634
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
3635
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
3636
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
3637
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
3638
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
3639
	end
3640
for i = 0, 2 do
3641
CameraEnshaking(1,2)
3642
local hite = Instance.new("Part", char)
3643
        hite.Anchored = true
3644
        hite.CanCollide = false
3645
        hite.FormFactor = 3
3646
        hite.Name = "Ring"
3647
        hite.Material = "Neon"
3648
        hite.Size = Vector3.new(1, 1, 1)
3649
        hite.Transparency = 1
3650
        hite.TopSurface = 0
3651
        hite.BottomSurface = 0
3652
hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
3653
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
3654
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
3655
coroutine.resume(coroutine.create(function()
3656
local eff = Instance.new("ParticleEmitter",hite)
3657
eff.Texture = "rbxassetid://1175838406"
3658
eff.LightEmission = 0.95
3659
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3660
eff.Rate = 1000
3661
eff.Lifetime = NumberRange.new(1)
3662
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
3663
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3664
eff.Speed = NumberRange.new(10,50)
3665
eff.Drag = 5
3666
eff.Rotation = NumberRange.new(-500,500)
3667
eff.VelocitySpread = 100000
3668
wait(0.25)
3669
eff.Enabled = false
3670
end))
3671
coroutine.resume(coroutine.create(function()
3672
for i = 0, 1 do
3673
	swait()
3674
		sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3675
		sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3676
	    sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3677
end
3678
end))
3679
sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
3680
MagniDamage(hite, 3, 30,40, 0, "Normal")
3681
game:GetService("Debris"):AddItem(hite, 5)
3682
posit = posit + 2
3683
end
3684
	for i = 0,1,0.1 do
3685
		swait()
3686
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
3687
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
3688
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
3689
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
3690
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
3691
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
3692
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
3693
	end
3694
	for i = 0,1,0.1 do
3695
		swait()
3696
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
3697
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
3698
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
3699
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
3700
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
3701
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
3702
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
3703
	end
3704
	posit = -6
3705
	for i = 0, 6 do
3706
CameraEnshaking(1,3)
3707
local hite = Instance.new("Part", char)
3708
        hite.Anchored = true
3709
        hite.CanCollide = false
3710
        hite.FormFactor = 3
3711
        hite.Name = "Ring"
3712
        hite.Material = "Neon"
3713
        hite.Size = Vector3.new(1, 1, 1)
3714
        hite.Transparency = 1
3715
        hite.TopSurface = 0
3716
        hite.BottomSurface = 0
3717
hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
3718
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
3719
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
3720
sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
3721
coroutine.resume(coroutine.create(function()
3722
local eff = Instance.new("ParticleEmitter",hite)
3723
eff.Texture = "rbxassetid://1175838406"
3724
eff.LightEmission = 0.95
3725
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3726
eff.Rate = 1000
3727
eff.Lifetime = NumberRange.new(1)
3728
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
3729
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3730
eff.Speed = NumberRange.new(20,70)
3731
eff.Drag = 5
3732
eff.Rotation = NumberRange.new(-500,500)
3733
eff.VelocitySpread = 100000
3734
wait(0.25)
3735
eff.Enabled = false
3736
end))
3737
coroutine.resume(coroutine.create(function()
3738
for i = 0, 2 do
3739
	swait()
3740
		sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3741
		sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3742
	    sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3743
end
3744
end))
3745
MagniDamage(hite, 5, 40,70, 0, "Normal")
3746
game:GetService("Debris"):AddItem(hite, 5)
3747
posit = posit + 2
3748
	end
3749
	for i = 0,1,0.1 do
3750
		swait()
3751
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
3752
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
3753
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
3754
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
3755
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
3756
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
3757
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
3758
	end
3759
	hum.WalkSpeed = storehumanoidWS
3760
attack = false
3761
end
3762
3763
function AZUREFINALE()
3764
attack = true
3765
duringend = true
3766
hum.WalkSpeed = 0
3767
CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
3768
CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
3769
local hite = Instance.new("Part", char)
3770
        hite.Anchored = true
3771
        hite.CanCollide = false
3772
        hite.FormFactor = 3
3773
        hite.Name = "Ring"
3774
        hite.Material = "Neon"
3775
        hite.Size = Vector3.new(1, 1, 1)
3776
        hite.Transparency = 0
3777
        hite.TopSurface = 0
3778
        hite.BottomSurface = 0
3779
        hite.BrickColor = MAINRUINCOLOR
3780
        local orbm = Instance.new("SpecialMesh", hite)
3781
        orbm.MeshType = "Sphere"
3782
orbm.Name = "SizeMesh"
3783
orbm.Scale = vt(0,0,0)
3784
hite.CFrame = root.CFrame*CFrame.new(0,200,0)
3785
	for i = 0,70,0.1 do
3786
		swait()
3787
orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
3788
rsiz = math.random(10,45)
3789
kan.Volume = kan.Volume + 0.01
3790
kan.Pitch = kan.Pitch - 0.00135
3791
sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,-300)	
3792
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MAINRUINCOLOR)
3793
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3794
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3795
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3796
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3797
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3798
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3799
	end
3800
	kan.Pitch = 0.1
3801
hite.Transparency = 1
3802
for i = 0,2 do
3803
CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
3804
end
3805
CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
3806
sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MAINRUINCOLOR)
3807
sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MAINRUINCOLOR)
3808
sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MAINRUINCOLOR)
3809
coroutine.resume(coroutine.create(function()
3810
local eff = Instance.new("ParticleEmitter",hite)
3811
eff.Texture = "rbxassetid://284205403"
3812
eff.LightEmission = 0.95
3813
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3814
eff.Rate = 10000
3815
eff.Lifetime = NumberRange.new(5)
3816
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
3817
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3818
eff.Speed = NumberRange.new(600,1250)
3819
eff.Drag = 5
3820
eff.Rotation = NumberRange.new(-500,500)
3821
eff.VelocitySpread = 9000
3822
eff.RotSpeed = NumberRange.new(-500,500)
3823
wait(1)
3824
eff.Enabled = false
3825
end))
3826
	for i = 0,5,0.1 do
3827
		swait()
3828
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3829
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3830
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3831
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3832
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3833
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3834
	end
3835
local adsc = 0
3836
local radiatezone = 0
3837
	for i = 0,20,0.1 do
3838
		swait()
3839
adsc = adsc + 0.025
3840
radiatezone = radiatezone + 1.25
3841
sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
3842
for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
3843
if v:FindFirstChild('Head') then
3844
dmg(v)
3845
end
3846
end
3847
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3848
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3849
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3850
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3851
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3852
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3853
	end
3854
for i = 0,2 do
3855
CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
3856
end
3857
	for i = 0,40,0.1 do
3858
		swait()
3859
adsc = adsc + 0.05
3860
radiatezone = radiatezone + 2.5
3861
sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
3862
for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
3863
if v:FindFirstChild('Head') then
3864
dmg(v)
3865
end
3866
end
3867
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3868
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3869
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3870
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3871
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3872
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3873
	end
3874
for i = 0,4 do
3875
CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
3876
CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
3877
end
3878
	for i = 0,80,0.1 do
3879
		swait()
3880
adsc = adsc + 0.075
3881
radiatezone = radiatezone + 3.75
3882
sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
3883
for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
3884
if v:FindFirstChild('Head') then
3885
dmg(v)
3886
end
3887
end
3888
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3889
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3890
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3891
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3892
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3893
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3894
	end
3895
hite:Destroy()
3896
duringend = false
3897
hum.WalkSpeed = storehumanoidWS
3898
attack = false
3899
end
3900
3901
function GalacticalBeams()
3902
attack = true
3903
local keptcolor = MAINRUINCOLOR
3904
coroutine.resume(coroutine.create(function()
3905
for i = 0, 0 do
3906
swait(10)
3907
local orb = Instance.new("Part", char)
3908
CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
3909
        orb.BrickColor = keptcolor
3910
        orb.CanCollide = false
3911
        orb.FormFactor = 3
3912
        orb.Name = "Ring"
3913
        orb.Material = "Neon"
3914
        orb.Size = Vector3.new(1, 1, 1)
3915
        orb.Transparency = 1
3916
        orb.TopSurface = 0
3917
        orb.BottomSurface = 0
3918
orb.Anchored = true
3919
        local orbm = Instance.new("SpecialMesh", orb)
3920
        orbm.MeshType = "Sphere"
3921
orbm.Name = "SizeMesh"
3922
orbm.Scale = vt(1.25,1.25,1.25)
3923
orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
3924
coroutine.resume(coroutine.create(function()
3925
orb.Transparency = 1
3926
	local a = Instance.new("Part",char)
3927
	a.Name = "Direction"	
3928
	a.Anchored = true
3929
	a.BrickColor = keptcolor
3930
a.Material = "Neon"
3931
a.Transparency = 1
3932
a.Shape = "Cylinder"
3933
	local x = Instance.new("Part",char)
3934
	x.Name = "Direction"	
3935
	x.Anchored = true
3936
	x.BrickColor = keptcolor
3937
x.Material = "Neon"
3938
x.Transparency = 1
3939
x.Shape = "Cylinder"
3940
	local ht = Instance.new("Part",char)
3941
	ht.Name = "DirectionHit"	
3942
	ht.Anchored = true
3943
	ht.BrickColor = keptcolor
3944
ht.CanCollide = false
3945
ht.Transparency = 1
3946
ht.Size = vt(0.1,0.1,0.1)
3947
	a.CanCollide = false
3948
	local ray = Ray.new(
3949
	    orb.CFrame.p,                           -- origin
3950
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
3951
	) 
3952
	local ignore = char
3953
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3954
	a.BottomSurface = 10
3955
	a.TopSurface = 10
3956
	local distance = (orb.CFrame.p - position).magnitude
3957
	a.Size = Vector3.new(distance,1,1)
3958
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
3959
	ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3960
	x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3961
local poste = 0
3962
local rotation = 0
3963
CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
3964
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
3965
CameraEnshaking(2,2)
3966
for i = 0, 49 do
3967
swait()
3968
rotation = rotation + 5
3969
poste = poste + 1
3970
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
3971
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
3972
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
3973
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
3974
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
3975
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
3976
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
3977
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
3978
end
3979
local A1 = Instance.new("Attachment",x)
3980
local A2 = Instance.new("Attachment",ht)
3981
local Beem = Instance.new("Beam",ht)
3982
Beem.Attachment0 = A1
3983
Beem.Attachment1 = A2
3984
Beem.LightEmission = 1
3985
Beem.FaceCamera = true
3986
Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
3987
Beem.Width0 = 125
3988
Beem.Width1 = 125
3989
Beem.Texture = "rbxassetid://1134824633"
3990
Beem.TextureMode = "Wrap"
3991
Beem.TextureLength = 200
3992
Beem.TextureSpeed = 1.5
3993
Beem.Color = ColorSequence.new(keptcolor.Color)
3994
CameraEnshaking(3,6)
3995
CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
3996
a.Transparency = 0.25
3997
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
3998
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
3999
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
4000
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
4001
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
4002
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
4003
MagniDamage(ht, 70, 1000,1500, 0, "Normal")
4004
local eff = Instance.new("ParticleEmitter",ht)
4005
eff.Texture = "rbxassetid://284205403"
4006
eff.LightEmission = 0.95
4007
eff.Color = ColorSequence.new(keptcolor.Color)
4008
eff.Rate = 500
4009
eff.Lifetime = NumberRange.new(1)
4010
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
4011
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4012
eff.Speed = NumberRange.new(80,500)
4013
eff.Drag = 5
4014
eff.Rotation = NumberRange.new(-500,500)
4015
eff.VelocitySpread = 9000
4016
eff.RotSpeed = NumberRange.new(-500,500)
4017
for i = 0, 24 do
4018
sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
4019
local rsiz = math.random(10,50)
4020
sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
4021
end
4022
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4023
local msh = Instance.new("SpecialMesh",a)
4024
msh.MeshType = "Cylinder"
4025
msh.Scale = vt(1,15,15)
4026
for i = 0, 49 do
4027
swait()
4028
CameraEnshaking(1,4)
4029
MagniDamage(ht, 70, 1000,1500, 0, "Normal")
4030
rotation = rotation + 5
4031
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
4032
sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
4033
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
4034
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4035
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4036
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4037
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4038
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4039
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4040
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4041
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4042
for i = 0, 2 do
4043
local rsiz = math.random(50,250)
4044
sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
4045
end
4046
msh.Scale = msh.Scale + vt(0,0.25,0.25)
4047
end
4048
eff.Enabled = false
4049
local visibility = 0
4050
for i = 0, 49 do
4051
swait()
4052
visibility = visibility + 0.02
4053
Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
4054
rotation = rotation + 5
4055
poste = poste - 1
4056
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4057
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4058
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4059
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4060
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4061
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4062
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4063
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4064
msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
4065
a.Transparency = a.Transparency + 0.02
4066
end
4067
wait(1)
4068
orb:Destroy()
4069
a:Destroy()
4070
ht:Destroy()
4071
end))
4072
game:GetService("Debris"):AddItem(orb, 10)
4073
end
4074
end))
4075
hum.WalkSpeed = storehumanoidWS
4076
attack = false
4077
end
4078
4079
4080
function WarpedDash()
4081
attack = true
4082
hum.WalkSpeed = 0
4083
hum.JumpPower = 0
4084
CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
4085
local poste = 3
4086
local rotation = 0
4087
local rate = 0
4088
for i = 0, 124 do
4089
swait()
4090
rotation = rotation + rate
4091
poste = poste + 0.1
4092
rate = rate + 0.1
4093
sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
4094
sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
4095
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
4096
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
4097
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
4098
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
4099
RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
4100
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)),.5)
4101
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
4102
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
4103
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
4104
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
4105
end
4106
CameraEnshaking(3,7)
4107
local loc = Instance.new("Part", char)
4108
loc.BrickColor = MAINRUINCOLOR
4109
loc.CanCollide = false
4110
loc.FormFactor = 3
4111
loc.Name = "Ring"
4112
loc.Material = "Neon"
4113
loc.Size = Vector3.new(1, 1, 1)
4114
loc.Transparency = 1
4115
loc.TopSurface = 0
4116
loc.BottomSurface = 0
4117
loc.Anchored = true
4118
loc.CFrame = root.CFrame + root.CFrame.lookVector*100
4119
CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
4120
CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
4121
MagniDamage(loc, 95, 500,6000, 0, "Normal")
4122
sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
4123
sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
4124
sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
4125
sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
4126
coroutine.resume(coroutine.create(function()
4127
local eff = Instance.new("ParticleEmitter",loc)
4128
eff.Texture = "rbxassetid://363275192"
4129
eff.LightEmission = 0.95
4130
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4131
eff.Rate = 10000
4132
eff.Lifetime = NumberRange.new(1)
4133
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
4134
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4135
eff.Speed = NumberRange.new(100,500)
4136
eff.Drag = 5
4137
eff.Rotation = NumberRange.new(-500,500)
4138
eff.VelocitySpread = 9000
4139
eff.RotSpeed = NumberRange.new(-50,50)
4140
wait(0.5)
4141
eff.Enabled = false
4142
end))
4143
for i = 0, 49 do
4144
sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
4145
end
4146
for i = 0, 9 do
4147
sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
4148
end
4149
game:GetService("Debris"):AddItem(loc, 5)
4150
root.CFrame = root.CFrame + root.CFrame.lookVector*200
4151
hum.WalkSpeed = storehumanoidWS
4152
hum.JumpPower = 50
4153
attack = false
4154
end
4155
4156
------------------------------------
4157
function harmonytaunty()
4158
attack = true
4159
hum.WalkSpeed = 0
4160
CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
4161
for i = 0,7,0.1 do
4162
swait()
4163
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2)
4164
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2)
4165
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
4166
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
4167
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
4168
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
4169
end
4170
hum.WalkSpeed = storehumanoidWS
4171
attack = false
4172
end
4173
4174
function vistaunty()
4175
attack = true
4176
hum.WalkSpeed = 0
4177
local rd = math.random(1,5)
4178
if rd == 1 then
4179
chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4180
elseif rd == 2 then
4181
chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4182
elseif rd == 3 then
4183
chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4184
elseif rd == 4 then
4185
chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4186
elseif rd == 5 then
4187
chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4188
end
4189
for i = 0, 8, 0.1 do
4190
swait()
4191
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
4192
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
4193
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
4194
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
4195
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
4196
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
4197
end
4198
hum.WalkSpeed = storehumanoidWS
4199
attack = false
4200
end
4201
4202
function shytaunty()
4203
attack = true
4204
hum.WalkSpeed = 0
4205
CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
4206
local blush = Instance.new("Decal",hed)
4207
blush.Texture = "rbxassetid://898404027"
4208
blush.Face = "Front"
4209
for i = 0, 13, 0.1 do
4210
swait()
4211
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
4212
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
4213
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
4214
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
4215
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
4216
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
4217
end
4218
coroutine.resume(coroutine.create(function()
4219
for i = 0, 49 do
4220
swait()
4221
blush.Transparency = blush.Transparency + 0.02
4222
end
4223
blush:Destroy()
4224
end))
4225
hum.WalkSpeed = storehumanoidWS
4226
attack = false
4227
end
4228
------------------------------------ Mode Ascendances
4229
function UnknownA()
4230
hum.WalkSpeed = 0
4231
attack = true
4232
local keptcolor = MAINRUINCOLOR
4233
local locat = Instance.new("Part", char)
4234
locat.CanCollide = false
4235
locat.FormFactor = 3
4236
locat.Name = "Ring"
4237
locat.Material = "Neon"
4238
locat.Size = Vector3.new(1, 1, 1)
4239
locat.Transparency = 1
4240
locat.TopSurface = 0
4241
locat.BottomSurface = 0
4242
locat.Anchored = true
4243
locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
4244
local poste = 0
4245
local rotation = 0
4246
local upperpos = 0
4247
local rate = 0
4248
local x = locat
4249
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
4250
CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
4251
sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
4252
sphere2(6,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
4253
sphere2(4,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
4254
sphere2(2,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
4255
CameraEnshaking(2,5)
4256
for i = 0, 49 do
4257
swait()
4258
rotation = rotation + 5
4259
poste = poste + 1
4260
sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
4261
sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
4262
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4263
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4264
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4265
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4266
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4267
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4268
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4269
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4270
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)),.5)
4271
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)),.5)
4272
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
4273
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
4274
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))),.5)
4275
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))),.5)
4276
end
4277
for i = 0, 49 do
4278
swait()
4279
rotation = rotation + 5
4280
sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
4281
sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
4282
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4283
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4284
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4285
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4286
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4287
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4288
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4289
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4290
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)),.5)
4291
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)),.5)
4292
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
4293
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
4294
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))),.5)
4295
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))),.5)
4296
end
4297
ModeOfGlitch = 6000000000
4298
storehumanoidWS = 300
4299
hum.WalkSpeed = 300
4300
rainbowmode = false
4301
chaosmode = false
4302
RecolorTextAndRename(plr.Name.. " - ジェリーフィッシュ ",BrickColor.new("Mulberry").Color,BrickColor.new("Magenta").Color,"Highway")
4303
newThemeCust("rbxassetid://1844928623",0,1.005,10)
4304
MAINRUINCOLOR = BrickColor.new("Magenta")
4305
keptcolor = MAINRUINCOLOR
4306
RecolorThing(MAINRUINCOLOR,BrickColor.new("Magenta"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4307
CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
4308
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
4309
sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Cool yellow"))
4310
sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor)
4311
sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("White"))
4312
sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cool yellow"))
4313
sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor)
4314
attack = false
4315
hum.WalkSpeed = storehumanoidWS
4316
for i = 0, 49 do
4317
local rsiz = math.random(150,450)
4318
sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Cool yellow"))
4319
sphere2(math.random(1,2),"Add",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,BrickColor.new("Toothpaste"))
4320
sphereMK(math.random(1,2),math.random(2,4),"Add",x.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("White"),0)
4321
end
4322
coroutine.resume(coroutine.create(function()
4323
local eff = Instance.new("ParticleEmitter",x)
4324
eff.Texture = "rbxassetid://284205403"
4325
eff.LightEmission = 0.95
4326
eff.Color = ColorSequence.new(BrickColor.new("Toothpaste").Color)
4327
eff.Rate = 50000
4328
eff.Lifetime = NumberRange.new(2.5)
4329
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
4330
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4331
eff.Speed = NumberRange.new(250,1000)
4332-
RecolorTextAndRename("Catastrophe",BrickColor.new("Mulberry").Color,BrickColor.new("Cool yellow").Color,"Highway")
4332+
4333-
newThemeCust("rbxassetid://1504604335",0,1.005,1.5)
4333+
4334
eff.VelocitySpread = 9000
4335
eff.RotSpeed = NumberRange.new(-500,500)
4336
wait(0.5)
4337
eff.Enabled = false
4338
end))
4339
--[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
4340
if v:FindFirstChild('Head') then
4341
dmg(v)
4342
end
4343
end]]--
4344
sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor)
4345
sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Magenta"))
4346
sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Mulberry"))
4347
CameraEnshaking(8,10)
4348
for i = 0, 99 do
4349-
sphere2(math.random(1,2),"Add",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,BrickColor.new("Cool yellow"))
4349+
4350
rotation = rotation + 5
4351
poste = poste + 1
4352
upperpos = upperpos + rate
4353
rate = rate + 0.1
4354
sphere2(math.random(1,2),"Add",x.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,keptcolor)
4355
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
4356-
eff.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color)
4356+
4357
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
4358
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
4359
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
4360
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
4361
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
4362
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
4363
end
4364
x:Destroy()
4365
end
4366
4367
function loveydovey()
4368
CameraEnshaking(4,9)
4369
MAINRUINCOLOR = BrickColor.new("Hot pink")
4370
sphere2(2,"Add",root.CFrame,vt(5,5,5),0.5,0.5,0.5,keptcolor)
4371
sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,keptcolor)
4372
sphere2(3,"Add",root.CFrame,vt(5,5,5),1,1,1,keptcolor)
4373
sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,keptcolor)
4374
sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,keptcolor)
4375
sphere2(2,"Add",root.CFrame,vt(5,10000,5),0.6,0.6,0.6,keptcolor)
4376
CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
4377
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
4378
coroutine.resume(coroutine.create(function()
4379
local eff = Instance.new("ParticleEmitter",root)
4380
eff.Texture = "rbxassetid://363275192"
4381
eff.LightEmission = 0.95
4382
eff.Color = ColorSequence.new(keptcolor.Color)
4383
eff.Rate = 10000
4384
eff.Lifetime = NumberRange.new(1)
4385
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
4386
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4387
eff.Speed = NumberRange.new(50,200)
4388
eff.Drag = 5
4389
eff.Rotation = NumberRange.new(-500,500)
4390
eff.VelocitySpread = 9000
4391
eff.RotSpeed = NumberRange.new(-50,50)
4392
wait(0.5)
4393
eff.Enabled = false
4394
wait(5)
4395
eff:Destroy()
4396
end))
4397
for i = 0, 49 do
4398
local rsiz = math.random(70,90)
4399
sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(25,100)/25,-0.005,MAINRUINCOLOR)
4400
end
4401
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
4402
CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
4403
newTheme("rbxassetid://736003449",0,1,2)
4404
ModeOfGlitch = 9600000000
4405
for i = 0, 1, 0.2 do
4406
	swait()
4407
	RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
4408
LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
4409
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
4410
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
4411
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
4412
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
4413
end
4414
for i = 0, 9, 0.1 do
4415
	swait()
4416
	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
4417
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
4418
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4419
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
4420
RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
4421
LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
4422
end
4423
CameraEnshaking(2,11)
4424
sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,BrickColor.new("Pink"))
4425
sphere2(2,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
4426
sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,MAINRUINCOLOR)
4427
sphere2(3,"Add",root.CFrame,vt(5,5,5),1.5,1.5,1.5,MAINRUINCOLOR)
4428
sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,BrickColor.new("Pink"))
4429
sphere2(2,"Add",root.CFrame,vt(5,10000,5),1,1,1,MAINRUINCOLOR)
4430
CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
4431
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
4432
for i = 0, 49 do
4433
local rsiz = math.random(70,90)
4434
sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(50,200)/25,-0.005,MAINRUINCOLOR)
4435
sphereMK(math.random(1,2),math.random(1,3),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0)
4436
end
4437
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
4438
for i = 0, 1, 0.2 do
4439
	swait()
4440
	RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
4441
LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
4442
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
4443
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
4444
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
4445
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
4446
end
4447
for i = 0, 1, 0.1 do
4448
	swait()
4449
	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
4450
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
4451
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4452
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
4453
RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
4454
LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
4455
end
4456
CameraEnshaking(9,14)
4457
sphere2(4,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
4458
sphere2(4,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
4459
sphere2(9,"Add",root.CFrame,vt(5,5,5),3,3,3,MAINRUINCOLOR)
4460
sphere2(9,"Add",root.CFrame,vt(5,5,5),4,4,4,MAINRUINCOLOR)
4461
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
4462
CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
4463
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
4464
sphere2(1,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
4465
sphere2(1,"Add",root.CFrame,vt(5,5,5),3,3,3,BrickColor.new("Pink"))
4466
sphere2(1,"Add",root.CFrame,vt(5,5,5),4,4,4,BrickColor.new("Pink"))
4467
sphere2(1,"Add",root.CFrame,vt(5,10000,5),2.5,2.5,2.5,BrickColor.new("Pink"))
4468
sphere2(2,"Add",root.CFrame,vt(5,10000,5),3.5,3.5,3.5,MAINRUINCOLOR)
4469
sphere2(1,"Add",root.CFrame,vt(5,5,5),8,8,8,BrickColor.new("Pink"))
4470
sphere2(2,"Add",root.CFrame,vt(5,5,5),14,14,14,MAINRUINCOLOR)
4471
sphere2(3,"Add",root.CFrame,vt(5,5,5),20,20,20,MAINRUINCOLOR)
4472
for i = 0, 99 do
4473
local rsiz = math.random(150,450)
4474
sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Pink"))
4475
sphere2(math.random(1,2),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,MAINRUINCOLOR)
4476
sphereMK(math.random(1,2),math.random(4,6),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0)
4477
end
4478
coroutine.resume(coroutine.create(function()
4479
local eff = Instance.new("ParticleEmitter",root)
4480
eff.Texture = "rbxassetid://749327003"
4481
eff.LightEmission = 1
4482
eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
4483
eff.Rate = 50000
4484
eff.Lifetime = NumberRange.new(5)
4485
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
4486
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4487
eff.Speed = NumberRange.new(250,1000)
4488
eff.Drag = 5
4489
eff.Rotation = NumberRange.new(-50,50)
4490
eff.VelocitySpread = 9000
4491
eff.RotSpeed = NumberRange.new(-50,50)
4492
wait(0.5)
4493
eff.Enabled = false
4494
wait(5)
4495
eff:Destroy()
4496
end))
4497
storehumanoidWS = 20
4498
rainbowmode = false
4499
chaosmode = false
4500
RecolorTextAndRename("Nah I Rather Not Name This",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
4501
RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4502
for i = 0, 10, 0.1 do
4503
	swait()
4504
	sphere2(math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,MAINRUINCOLOR)
4505
	RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
4506
LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
4507
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
4508
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
4509
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
4510
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
4511
end
4512
hum.WalkSpeed = 20
4513
attack = false
4514
end
4515
-------------------------------------
4516
4517
Humanoid.Animator.Parent = nil
4518
4519
-------------------------------------
4520
4521
local attacktype = 1
4522
mouse.Button1Down:connect(function()
4523
  if attack == false and attacktype == 1 then
4524
    attacktype = 2
4525
    attackone()
4526
  elseif attack == false and attacktype == 2 then
4527
    attacktype = 3
4528
    attacktwo()
4529
  elseif attack == false and attacktype == 3 then
4530
    attacktype = 1
4531
    attackthree()
4532
  elseif attack == false and attacktype == 4 then
4533
    attacktype = 1
4534
    --attackfour()
4535
  end
4536
end)
4537
4538
local OVMID = 1702473314
4539
local OVMPIT = 1
4540
local OVMVOL = 1
4541
mouse.KeyDown:connect(function(k)
4542
if plr.Name == "hipeopleofthisworld8" then
4543
if k == "g" and attack == false and ModeOfGlitch ~= 1 then
4544
resetmode()
4545
end
4546
if k == "h" and attack == false and ModeOfGlitch ~= 2 then
4547
                 ModeOfGlitch = 2
4548
storehumanoidWS = 16
4549
hum.WalkSpeed = 16
4550
rainbowmode = false
4551
chaosmode = false
4552
RecolorTextAndRename("Solitude",Color3.new(0,0,0),BrickColor.new("Really black").Color,"Code")
4553
newTheme("rbxassetid://1564523997",0,1,10)
4554
MAINRUINCOLOR = BrickColor.new("Really black")
4555
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4556
kan.TimePosition = 0.05
4557
4558
end
4559
if k == "j" and attack == false and ModeOfGlitch ~= 3 then
4560
                 ModeOfGlitch = 3
4561
storehumanoidWS = 16
4562
hum.WalkSpeed = 16
4563
rainbowmode = false
4564
chaosmode = false
4565
RecolorTextAndRename(plr.Name.." - ハッカー",Color3.new(0,0,0),Color3.new(0,1,0),"SciFi")
4566
newTheme("rbxassetid://341455429",0,1,10)
4567
MAINRUINCOLOR = BrickColor.new("Dark green")
4568
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4569
kan.TimePosition = 0.05
4570
end
4571
if k == "k" and attack == false and ModeOfGlitch ~= 4 then
4572
                 ModeOfGlitch = 4
4573
storehumanoidWS = 16
4574
hum.WalkSpeed = 16
4575
rainbowmode = false
4576
chaosmode = false
4577
RecolorTextAndRename(plr.Name.. " - キューティーハニーキューティーハニー",Color3.new(0,0,0.25),BrickColor.new("Bright yellow").Color,"SourceSansBold")
4578
newTheme("rbxassetid://406632197",0,1,10)
4579
MAINRUINCOLOR = BrickColor.new("Navy blue")
4580
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4581
end
4582-
newTheme("rbxassetid://1564523997",0,1.02,1.25)
4582+
4583
                 ModeOfGlitch = 5
4584
storehumanoidWS = 16
4585
hum.WalkSpeed = 16
4586
rainbowmode = false
4587
chaosmode = false
4588
RecolorTextAndRename(plr.Name.. " - ピクセル",Color3.new(0,255,255),Color3.new(0,0,255),"Fantasy")
4589
newTheme("rbxassetid://853518668",0,1,10)
4590
MAINRUINCOLOR = BrickColor.new("Toothpaste")
4591
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4592-
RecolorTextAndRename("HaCKeR",Color3.new(0,0,0),Color3.new(0,1,0),"SciFi")
4592+
4593-
newTheme("rbxassetid://949709585",0,1.01,1.25)
4593+
4594
                 ModeOfGlitch = 6
4595
storehumanoidWS = 100
4596
hum.WalkSpeed = 100
4597
rainbowmode = false
4598
chaosmode = false
4599
RecolorTextAndRename(plr.Name.. " - XX",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
4600
newTheme("rbxassetid://258004695",0,1,10)
4601
MAINRUINCOLOR = BrickColor.new("Bright violet")
4602
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4603-
RecolorTextAndRename("Astra",Color3.new(0,0,0.25),BrickColor.new("Bright yellow").Color,"SourceSansBold")
4603+
4604-
newTheme("rbxassetid://275188871",0,1.02,1.25)
4604+
4605
                 ModeOfGlitch = 7
4606
storehumanoidWS = 175
4607
hum.WalkSpeed = 175
4608
rainbowmode = false
4609
chaosmode = false
4610
RecolorTextAndRename(plr.Name.. " - ラ・ム・ネ ",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Arcade")
4611
newTheme("rbxassetid://463287181",0,1,10)
4612
MAINRUINCOLOR = BrickColor.new("Navy blue")
4613
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4614-
RecolorTextAndRename("Solar",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
4614+
4615-
newTheme("rbxassetid://2270626831",0,1.01,1.25)
4615+
4616-
MAINRUINCOLOR = BrickColor.new("Deep orange")
4616+
4617
storehumanoidWS = 100
4618
hum.WalkSpeed = 100
4619
rainbowmode = false
4620
chaosmode = false
4621
RecolorTextAndRename(plr.Name.. " - パステル",BrickColor.new("Lapis").Color,BrickColor.new("Lapis").Color,"Antique")
4622
newTheme("rbxassetid://1008563115",0,1,10)
4623
MAINRUINCOLOR = BrickColor.new("Lapis")
4624
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4625-
RecolorTextAndRename("Calamity",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
4625+
4626-
newTheme("rbxassetid://1359036559",0,1,1.25)
4626+
4627
                 ModeOfGlitch = 9
4628
storehumanoidWS = 135
4629
hum.WalkSpeed = 135
4630
rainbowmode = false
4631
chaosmode = false
4632
RecolorTextAndRename(plr.Name.. " - VIS",BrickColor.new("Medium stone grey").Color,BrickColor.new("Black").Color,"Arcade")
4633
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4634
MAINRUINCOLOR = BrickColor.new("Institutional white")
4635
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4636-
RecolorTextAndRename("LIGHTSPEED",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Arcade")
4636+
4637-
newTheme("rbxassetid://983369349",0,1.01,1.25)
4637+
4638
                 ModeOfGlitch = 10
4639
storehumanoidWS = 12
4640
hum.WalkSpeed = 12
4641
rainbowmode = false
4642
chaosmode = false
4643
RecolorTextAndRename(plr.Name.. " - ホットミルク",BrickColor.new("Lig. Yellowich orange").Color,BrickColor.new("Really white").Color,"Garamond")
4644
newTheme("rbxassetid://597697591",0,1,10)
4645
MAINRUINCOLOR = BrickColor.new("Lig. Yellowich orange")
4646
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,BrickColor.new("Really white"),MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4647-
RecolorTextAndRename("DeStRuCtIoN",BrickColor.new("Really red").Color,BrickColor.new("Bright red").Color,"Antique")
4647+
4648-
newTheme("rbxassetid://723652641",0,1.01,1.65)
4648+
4649-
MAINRUINCOLOR = BrickColor.new("Really red")
4649+
4650
storehumanoidWS = 200
4651
hum.WalkSpeed = 200
4652
rainbowmode = false
4653
chaosmode = false
4654
RecolorTextAndRename("The Big Black",BrickColor.new("Black").Color,BrickColor.new("Black").Color,"Antique")
4655
newThemeCust("rbxassetid://183142252",2.9,10)
4656
MAINRUINCOLOR = BrickColor.new("Really black")
4657
RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4658-
RecolorTextAndRename("Dance Party",BrickColor.new("Medium stone grey").Color,BrickColor.new("Black").Color,"Arcade")
4658+
4659
if k == "u" and attack == false and ModeOfGlitch ~= 9600000000 then
4660
loveydovey()
4661
end
4662
if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then
4663
UnknownA()
4664
end
4665
if k == "t" and ModeOfGlitch == 6000000000 and attack == false then
4666
harmonytaunty()
4667
elseif k == "t" and ModeOfGlitch == 9 and attack == false then
4668
vistaunty()
4669-
RecolorTextAndRename("Lucid Dream",BrickColor.new("Navy blue").Color,BrickColor.new("Black").Color,"Garamond")
4669+
4670-
newTheme("rbxassetid://639429915",0,1.01,1.65)
4670+
4671-
MAINRUINCOLOR = BrickColor.new("Black")
4671+
4672
if k == "z" and ModeOfGlitch == 1 and attack == false then
4673
Beams()
4674
elseif k == "z" and ModeOfGlitch == 2 and attack == false  then
4675
smiter()
4676
elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false  then
4677
supsmiter()
4678
elseif k == "z" and ModeOfGlitch == 3 and attack == false  then
4679
BinaryE()
4680
elseif k == "z" and ModeOfGlitch == 4 and attack == false  then
4681-
newThemeCust("rbxassetid://183142252",2.9,1.02,1.5)
4681+
4682
Fireball()
4683
elseif k == "z" and ModeOfGlitch == 6 and attack == false  then
4684
GalacticalBeams()
4685
elseif k == "z" and ModeOfGlitch == 7 and attack == false  then
4686
WarpedDash()
4687
elseif k == "z" and ModeOfGlitch == 8 and attack == false  then
4688
BeamOfDeath()
4689
elseif k == "z" and ModeOfGlitch == 9 and attack == false  then
4690
end
4691
if k == "x" and ModeOfGlitch == 3 and attack == false  then
4692
BinaryBLINK()
4693
end
4694
if k == "v" and ModeOfGlitch == 2000000000 and attack == false then
4695
AZUREFINALE()
4696
end
4697
if k == "p" and mutedtog == false then
4698
mutedtog = true
4699
kan.Volume = 0
4700
elseif k == "p" and mutedtog == true then
4701
mutedtog = false
4702
kan.Volume = 1.25
4703
end
4704
if k == "p" and toggleTag == false then
4705
toggleTag = true
4706
modet.TextTransparency = 0
4707
modet.TextStrokeTransparency = 0
4708
elseif k == "p" and toggleTag == true then
4709
toggleTag = false
4710
modet.TextTransparency = 1
4711
modet.TextStrokeTransparency = 1
4712
end
4713
if k == "z" and attack == false and ModeOfGlitch == 1 then
4714
end
4715
end
4716
end)
4717
4718
plr.Chatted:connect(function(message)
4719
if ModeOfGlitch == 9 then
4720
if message:sub(1,5) == "play/" then
4721
OVMID = message:sub(6)
4722
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4723-
if k == "l" and mutedtog == false then
4723+
4724
OVMPIT = message:sub(7)
4725
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4726-
elseif k == "l" and mutedtog == true then
4726+
4727
OVMVOL = message:sub(5)
4728
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4729
elseif message:sub(1,7) == "skipto/" then
4730
chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4731
newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
4732
elseif message:sub(1,9) == "telltime/" then
4733
chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4734
end
4735
end
4736
end)
4737
local rotperm = 0
4738
coroutine.resume(coroutine.create(function()
4739
while true do
4740
swait()
4741
if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 then
4742
swait(0.5)
4743
sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
4744
elseif ModeOfGlitch == 5 then
4745
swait(0.5)
4746
local rsiz = math.random(1,3)
4747
sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
4748
sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
4749
elseif ModeOfGlitch == 9600000000 then
4750
swait(0.25)
4751
sphereMK(5,math.random(-14,-8)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
4752
elseif ModeOfGlitch == 6000000000 then
4753
coroutine.resume(coroutine.create(function()
4754
swait(5)
4755
sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0)
4756
end))
4757
swait(1)
4758
rotperm = rotperm + 12
4759
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR)
4760
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
4761
elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
4762
swait(25 - kan.PlaybackLoudness/80)
4763
sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
4764
if kan.PlaybackLoudness >= 300 then
4765
CameraEnshaking(1,3)
4766
for i = 0, 4 do
4767
sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0)
4768
end
4769
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
4770
end
4771
local notsp = Instance.new("Part", char)
4772
notsp.CanCollide = false
4773
notsp.FormFactor = 3
4774
notsp.Name = "Ring"
4775
notsp.Material = "Neon"
4776
notsp.Size = Vector3.new(10, 1, 10)
4777
if kan.PlaybackLoudness >= 300 then
4778
notsp.Size = Vector3.new(25, 1, 25)
4779
end
4780
notsp.Transparency = 1
4781
notsp.TopSurface = 0
4782
notsp.BottomSurface = 0
4783
notsp.Anchored = true
4784
notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
4785
coroutine.resume(coroutine.create(function()
4786
local eff = Instance.new("ParticleEmitter",notsp)
4787
eff.Texture = "rbxassetid://288898235"
4788
eff.LightEmission = 0.5
4789
eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
4790
eff.Rate = 300
4791
eff.Lifetime = NumberRange.new(1)
4792
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
4793
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4794
eff.Speed = NumberRange.new(20,40)
4795
eff.Acceleration = vt(0,-75,0)
4796
eff.Drag = 1
4797
eff.Rotation = NumberRange.new(-10,10)
4798
eff.VelocitySpread = 20
4799
eff.RotSpeed = NumberRange.new(-1,1)
4800
coroutine.resume(coroutine.create(function()
4801
while true do
4802
swait()
4803
if eff.Parent ~= nil then
4804
if ModeOfGlitch == 9 then
4805
eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
4806
elseif ModeOfGlitch ~= 9 then
4807
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4808
end
4809
else
4810
break
4811
end
4812
end
4813
end))
4814
wait(0.1)
4815
eff.Enabled = false
4816
end))
4817
game:GetService("Debris"):AddItem(notsp, 5)
4818
end
4819
end
4820
end))
4821
4822
4823
Humanoid.Name = "GGLITCHER"
4824
Humanoid.MaxHealth = math.huge
4825
Humanoid.Health = math.huge
4826
Instance.new("ForceField",char).Visible = false
4827
4828
idleanim=.4
4829
while true do
4830
Humanoid.MaxHealth = math.huge
4831
Humanoid.Health = math.huge
4832
if mutedtog == false and duringend == false then
4833
kan.Volume = currentVol
4834
elseif mutedtog == true and duringend == false then
4835
kan.Volume = 0
4836
end
4837
if duringend == false then
4838
kan.PlaybackSpeed = currentPitch
4839
kan.Pitch = currentPitch
4840
end
4841
kan.SoundId = currentThemePlaying
4842
kan.Looped = true
4843
kan.Parent = char
4844
kan:Resume()
4845
4846
modeteller.Text = string.upper(modet.Text)
4847
modeteller.TextColor3 = MAINRUINCOLOR.Color
4848
4849
swait()
4850
handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
4851
4852
lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
4853
lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
4854
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
4855
rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
4856
rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
4857
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
4858
--------------- Visualiser Zone
4859
if ModeOfGlitch == 9 then
4860
modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4861
for i, v in pairs(mw2:GetChildren()) do
4862
if v:IsA("Part") then
4863
v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4864
v.Material = "Neon"
4865
end
4866
end
4867
for i, v in pairs(mw1:GetChildren()) do
4868
if v:IsA("Part") then
4869
v.Transparency = 0
4870
v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4871
v.Material = "Neon"
4872
end
4873
end
4874
end
4875
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
4876
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
4877
---------------
4878
  sine = sine + change
4879
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
4880
local velderp=RootPart.Velocity.y
4881
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
4882
if equipped==true or equipped==false then
4883
if attack==false then
4884
idle=idle+1
4885
else
4886
idle=0
4887
end
4888
if idle>=500 then
4889
if attack==false then
4890
--Sheath()
4891
end
4892
end
4893
if RootPart.Velocity.y > 1 and hitfloor==nil then 
4894
Anim="Jump"
4895
if attack==false then
4896
RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
4897
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)
4898
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
4899
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
4900
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)
4901
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)
4902
end
4903
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
4904
Anim="Fall"
4905
if attack==false then
4906
RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
4907
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)
4908
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
4909
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
4910
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
4911
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
4912
end
4913
elseif torvel<1 and hitfloor~=nil then
4914
Anim="Idle"
4915
if attack==false then
4916
if ModeOfGlitch == 1 then
4917
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
4918
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(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
4919
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
4920
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
4921
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
4922
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
4923
elseif ModeOfGlitch == 2 then
4924
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
4925
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
4926
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
4927
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
4928
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
4929
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
4930
elseif ModeOfGlitch == 10 then
4931
RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
4932
Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
4933
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
4934
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
4935
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
4936
LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
4937
elseif ModeOfGlitch == 3 then
4938
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(-5 - 2 * math.cos(sine / 34))),.1)
4939
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(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
4940
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
4941
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
4942
RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
4943
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
4944
elseif ModeOfGlitch == 4 then
4945
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(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1)
4946
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(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1)
4947
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1)
4948
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1)
4949
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1)
4950
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1)
4951
elseif ModeOfGlitch == 5 then
4952
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
4953
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
4954
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
4955
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
4956
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
4957
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
4958
elseif ModeOfGlitch == 6 then
4959
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
4960
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
4961
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
4962
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
4963
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
4964
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
4965
elseif ModeOfGlitch == 7 then
4966
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(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
4967
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(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4968
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4969
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
4970
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
4971
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
4972
elseif ModeOfGlitch == 8 then
4973
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
4974
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
4975
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
4976
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
4977
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
4978
LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
4979
elseif ModeOfGlitch == 9 then
4980
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
4981
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
4982
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4)
4983
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4)
4984
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4)
4985
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
4986
elseif ModeOfGlitch == 2000000000 then
4987
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
4988
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 3 * math.cos(sine / 34))),.1)
4989
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(2 + 3 * math.cos(sine / 34)),math.rad(0),math.rad(34 - 3 * math.cos(sine / 54))),.1)
4990
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 4 * math.cos(sine / 28)),math.rad(0 - 1 * math.cos(sine / 44)),math.rad(-34 + 3 * math.cos(sine / 54))),.1)
4991
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(12 + 5 * math.cos(sine / 62)),math.rad(30 + 5 * math.cos(sine / 48)),math.rad(19 + 6 * math.cos(sine / 36))),.1)
4992
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 65)),math.rad(6 + 3 * math.cos(sine / 57)),math.rad(-20 - 7 * math.cos(sine / 36))),.1)
4993
elseif ModeOfGlitch == 6000000000 then
4994
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1)
4995
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1)
4996
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1)
4997
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1)
4998
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1)
4999
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1)
5000
elseif ModeOfGlitch == 9600000000 then
5001
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
5002
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
5003
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
5004
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
5005
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
5006
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
5007
end
5008
end
5009
elseif torvel>2 and torvel<22 and hitfloor~=nil then
5010
Anim="Walk"
5011
if attack==false then
5012
if ModeOfGlitch == 10 then
5013
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(4-2.5 * math.cos(sine / 3.5)), math.rad(0) - root.RotVelocity.Y / 75, math.rad(5 * math.cos(sine / 7))), 0.15)
5014
Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
5015
RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 5 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
5016
LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 5 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
5017
RW.C0 = clerp(RW.C0, cf(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
5018
LW.C0 = clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
5019
elseif ModeOfGlitch ~= 9600000000 then
5020
RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
5021
LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
5022
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
5023
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
5024
RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
5025
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
5026
elseif ModeOfGlitch == 9600000000 then
5027
RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
5028
LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
5029
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
5030
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
5031
RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
5032
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
5033
end
5034
end
5035
elseif torvel>=22 and hitfloor~=nil then
5036
Anim="Run"
5037
if attack==false then
5038
if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 then
5039
RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
5040
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
5041
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1)
5042
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1)
5043
RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
5044
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
5045
if ModeOfGlitch == 7 then
5046
sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
5047
sphereMK(3,0,"Add",root.CFrame*CFrame.new(0,0,8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,5,20,-0.0075,MAINRUINCOLOR,0)
5048
end
5049
elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 then
5050
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
5051
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
5052
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
5053
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
5054
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
5055
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
5056
end
5057
end
5058
end
5059
end
5060
kan:resume()
5061
end