View difference between Paste ID: ziFnAqkn and J611MP6Y
SHOW: | | - or go back to the newest paste.
1
 --DO NOT LEAK!
2
if game:GetService("RunService"):IsClient() then error("For this script to work, you must use h/ instead of hl/.") end
3
local Player = owner
4
local Mouse,mouse,UserInputService,ContextActionService
5
do
6
	script.Parent = TimmyTurney
7
	local CAS = {Actions={}}
8
	local Event = Instance.new("RemoteEvent")
9
	Event.Name = "UserInput_Event"
10
	Event.Parent = Player.Character
11
	local fakeEvent = function()
12
		local t = {_fakeEvent=true}
13
		t.Connect = function(self,f)self.Function=f end
14
		t.connect = t.Connect
15
		return t
16
	end
17
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
18
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
19
	function CAS:BindAction(name,fun,touch,...)
20
		CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
21
	end
22
	function CAS:UnbindAction(name)
23
		CAS.Actions[name] = nil
24
	end
25
	local function te(self,ev,...)
26
		local t = m[ev]
27
		if t and t._fakeEvent and t.Function then
28
			t.Function(...)
29
		end
30
	end
31
	m.TrigEvent = te
32
	UIS.TrigEvent = te
33
	Event.OnServerEvent:Connect(function(plr,io)
34
	    if plr~=Player then return end
35
		if io.isMouse then
36
			m.Target = io.Target
37
			m.Hit = io.Hit
38
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
39
	        if io.UserInputState == Enum.UserInputState.Begin then
40
				m:TrigEvent("Button1Down")
41
			else
42
				m:TrigEvent("Button1Up")
43
			end
44
		else
45
			for n,t in pairs(CAS.Actions) do
46
				for _,k in pairs(t.Keys) do
47
					if k==io.KeyCode then
48
						t.Function(t.Name,io.UserInputState,io)
49
					end
50
				end
51
			end
52
	        if io.UserInputState == Enum.UserInputState.Begin then
53
	            m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
54
				UIS:TrigEvent("InputBegan",io,false)
55
			else
56
				m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
57
				UIS:TrigEvent("InputEnded",io,false)
58
	        end
59
	    end
60
	end)
61
	NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	
64
	local Char = Player.Character
65
	local Event = Char:WaitForChild("UserInput_Event")
66
	
67
	local UIS = game:GetService("UserInputService")
68
	
69
	local input = function(io,a)
70
	    if a then return end
71
		local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
72
		Event:FireServer(io)
73
	end
74
	UIS.InputBegan:Connect(input)
75
	UIS.InputEnded:Connect(input)
76
	local Changed = false
77
	local Mouse = Player:GetMouse()
78
	local h,t = Mouse.Hit,Mouse.Target
79
	while wait(1/30) do
80
		if h~=Mouse.Hit or t~=Mouse.Target then
81
			Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
82
            h,t=Mouse.Hit,Mouse.Target
83
		end
84
	end
85
	]==],Player.Character)
86
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
87
end
88
89
90
wait(0.5)
91
92
warn([[X Glitcher Loade
93
Kx3x3 has awoken once again. 
94
He's ready to kill those heroes again.
95
Kx3x3 will take over the world!
96
97
Created, Reworked by NoobyGames12. Heavily edited by RhiBel00351.
98
This ISN'T the regular Star Glitcher Rework.
99
It's an edit of SGR.
100
So if you want the regular, go find it yourself.
101
And YES, I DO KNOW NoobyGames12.
102
HEY! Make sure you don't abuse this!
103
]])
104
105
106
------------- ORIGINAL WIELDER OC: Velnorum
107
print([[Moves:
108
?????? ]])
109
warn([[Update Log:
110
  N - ??? 
111
Extra modes:
112
 ???
113
Info from RhiBel00351:
114
Edit this if you want, I don't really care.
115
Note:
116
 Lots of hard work on this. I won't be making this again if this gets deleted.
117
 DarkEccentric is gay
118
 Also just a reminder: That THIS script is FAR from completion, so expect some things not finished.]])
119
--- its obs smooth af do not touch 
120
---- Sources and functions might be taken from others
121
plr = owner
122
char = plr.Character
123
hum = char.Humanoid
124
local cam = game.Workspace.CurrentCamera
125
Camera = cam
126
local CamInterrupt = false
127
local TwoD = false
128
local TargetInfo = {nil, nil}
129
cam.CameraType = "Custom"
130
t = char.Torso
131
h = char.Head
132
ra = char["Right Arm"]
133
la = char["Left Arm"]
134
rl = char["Right Leg"]
135
ll = char["Left Leg"]
136
tors = char.Torso
137
lleg = char["Left Leg"]
138
root = char.HumanoidRootPart
139
hed = char.Head
140
rleg = char["Right Leg"]
141
rarm = char["Right Arm"]
142
larm = char["Left Arm"]
143
radian = math.rad
144
random = math.random
145
Vec3 = Vector3.new
146
Inst = Instance.new
147
cFrame = CFrame.new
148
Euler = CFrame.fromEulerAnglesXYZ
149
vt = Vector3.new
150
bc = BrickColor.new
151
br = BrickColor.random
152
it = Instance.new
153
cf = CFrame.new
154
155
local Booleans = {
156
  CamFollow = true,
157
  GyroUse = true
158
}
159
160
function lerp(object, newCFrame, alpha)
161
  return object:lerp(newCFrame, alpha)
162
end
163
164
local Directer = Inst("BodyGyro", root)
165
Directer.MaxTorque = Vec3(0, 0, 0)
166
Directer.P = 600000
167
local CPart = Inst("Part")
168
CPart.Anchored = true
169
CPart.CanCollide = false
170
CPart.Locked = true
171
CPart.Transparency = 1
172
173
local rainbowmode = false
174
local chaosmode = false
175
176
local kan = Instance.new("Sound",char)
177
kan.Volume = 1.25
178
kan.TimePosition = 0
179
kan.PlaybackSpeed = 1
180
kan.Pitch = 1
181
kan.SoundId = "rbxassetid://614032233"
182
kan.Name = "wrecked"
183
kan.Looped = true
184
kan:Play()
185
186
local currentThemePlaying = kan.SoundId
187
local currentPitch = kan.Pitch
188
local currentVol = kan.Volume
189
function newTheme(ID,timepos,pitch,vol)
190
local kanz = kan
191
--kanz:Stop()
192
kanz.Volume = vol
193
--kanz.TimePosition = timepos
194
kanz.PlaybackSpeed = pitch
195
kanz.Pitch = pitch
196
kanz.SoundId = ID
197
kanz.Name = "wrecked"
198
kanz.Looped = true
199
currentThemePlaying = kanz.SoundId
200
currentVol = kanz.Volume
201
currentPitch = kanz.Pitch
202
--kanz:Play()
203
--coroutine.resume(coroutine.create(function()
204
--wait(0.05)
205
--end))
206
end
207
208
209
function newThemeCust(ID,timepos,pitch,vol)
210
local kanz = kan
211
kanz:Stop()
212
kanz.Volume = vol
213
kanz.TimePosition = timepos
214
kanz.PlaybackSpeed = pitch
215
kanz.Pitch = pitch
216
kanz.SoundId = ID
217
kanz.Name = "wrecked"
218
kanz.Looped = true
219
currentThemePlaying = kanz.SoundId
220
currentVol = kanz.Volume
221
currentPitch = kanz.Pitch
222
kanz:Play()
223
coroutine.resume(coroutine.create(function()
224
wait(0.05)
225
end))
226
end
227
228
local mutedtog = false
229
230
function CameraEnshaking(Length,Intensity)
231
coroutine.resume(coroutine.create(function()
232
      local intensity = 1*Intensity
233
      local rotM = 0.01*Intensity
234
for i = 0, Length, 0.1 do
235
swait()
236
intensity = intensity - 0.05*Intensity/Length
237
rotM = rotM - 0.0005*Intensity/Length
238
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
239
      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)
240
end
241
Humanoid.CameraOffset = Vec3(0, 0, 0)
242
end))
243
end
244
CamShake=function(Part,Distan,Power,Times) 
245
local de=Part.Position
246
for i,v in pairs(workspace:children()) do
247
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
248
for _,c in pairs(v:children()) do
249
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
250
local Noob=v.Humanoid
251
if Noob~=nil then
252
coroutine.resume(coroutine.create(function()
253
FV = Instance.new("BoolValue", Noob)
254
FV.Name = "CameraShake"
255
for ShakeNum=1,Times do
256
swait()
257
local ef=Power
258
  if ef>=1 then
259
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
260
  else
261
   ef=Power*10
262
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
263
  end	
264
end
265
Humanoid.CameraOffset = Vector3.new(0,0,0)
266
FV:Destroy()
267
end))
268
CameraShake(Times, Power, Noob)
269
end
270
end
271
end
272
end
273
end
274
end
275
276
local toggleTag = true
277
local bilguit = Instance.new("BillboardGui", hed)
278
bilguit.Adornee = nil
279
bilguit.Name = "ModeName"
280
bilguit.Size = UDim2.new(4, 0, 1.2, 0)
281
bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
282
local modet = Instance.new("TextLabel", bilguit)
283
modet.Size = UDim2.new(10/2, 0, 7/2, 0)
284
modet.FontSize = "Size8"
285
modet.TextScaled = true
286
modet.TextTransparency = 0
287
modet.BackgroundTransparency = 1 
288
modet.TextTransparency = 0
289
modet.TextStrokeTransparency = 0
290
modet.Font = "Antique"
291
modet.TextStrokeColor3 = Color3.new(1,0,0)
292
modet.TextColor3 = Color3.new(0.25,0,0)
293
modet.Text = "STAR"
294
295
296
function chatfunc(text,color,typet,font,timeex)
297
local chat = coroutine.wrap(function()
298
if Character:FindFirstChild("TalkingBillBoard")~= nil then
299
Character:FindFirstChild("TalkingBillBoard"):destroy()
300
end
301
local naeeym2 = Instance.new("BillboardGui",Character)
302
naeeym2.Size = UDim2.new(0,100,0,40)
303
naeeym2.StudsOffset = Vector3.new(0,3,0)
304
naeeym2.Adornee = Character.Head
305
naeeym2.Name = "TalkingBillBoard"
306
local tecks2 = Instance.new("TextLabel",naeeym2)
307
tecks2.BackgroundTransparency = 1
308
tecks2.BorderSizePixel = 0
309
tecks2.Text = ""
310
tecks2.Font = font
311
tecks2.TextSize = 30
312
tecks2.TextStrokeTransparency = 0
313
tecks2.TextColor3 = color
314
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
315
tecks2.Size = UDim2.new(1,0,0.5,0)
316
local tecks3 = Instance.new("TextLabel",naeeym2)
317
tecks3.BackgroundTransparency = 1
318
tecks3.BorderSizePixel = 0
319
tecks3.Text = ""
320
tecks3.Font = font
321
tecks3.TextSize = 30
322
tecks3.TextStrokeTransparency = 0
323
if typet == "Inverted" then
324
tecks3.TextColor3 = Color3.new(0,0,0)
325
tecks3.TextStrokeColor3 = color
326
elseif typet == "Normal" then
327
tecks3.TextColor3 = color
328
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
329
end
330
tecks3.Size = UDim2.new(1,0,0.5,0)
331
coroutine.resume(coroutine.create(function()
332
while true do
333
swait(1)
334
if chaosmode == true then
335
tecks2.TextColor3 = BrickColor.random().Color
336
tecks3.TextStrokeColor3 = BrickColor.random().Color
337
end
338
end
339
end))
340
modet.TextTransparency = modet.TextTransparency  + 1
341
modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
342
for i = 0, 74*timeex do
343
swait()
344
modet.TextTransparency = 1
345
modet.TextStrokeTransparency = 1
346
tecks2.Text = text
347
tecks3.Text = text
348
end
349
local randomrot = math.random(1,2)
350
if randomrot == 1 then
351
for i = 1, 50 do
352
swait()
353
tecks2.Text = text
354
tecks3.Text = text
355
modet.TextTransparency = modet.TextTransparency - .02
356
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
357
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
358
tecks2.TextTransparency = tecks2.TextTransparency + .04
359
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
360
tecks3.TextTransparency = tecks2.TextTransparency + .04
361
end
362
elseif randomrot == 2 then
363
	for i = 1, 50 do
364
swait()
365
tecks2.Text = text
366
tecks3.Text = text
367
modet.TextTransparency = modet.TextTransparency - .02
368
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
369
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
370
tecks2.TextTransparency = tecks2.TextTransparency + .04
371
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
372
tecks3.TextTransparency = tecks2.TextTransparency + .04
373
end
374
end
375
modet.TextTransparency = 0
376
modet.TextStrokeTransparency = 0
377
if toggleTag == false then
378
modet.TextTransparency = 1
379
modet.TextStrokeTransparency = 1
380
end
381
naeeym2:Destroy()
382
end)
383
chat()
384
end
385
function warnedpeople(text,represfont,color,color2)
386
    if disably ~= true then
387
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
388
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
389
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
390
coroutine.resume(coroutine.create(function()
391
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
392
v.PlayerGui:FindFirstChild("Spinny"):destroy()
393
end
394
local scrg = Instance.new("ScreenGui",v.PlayerGui)
395
scrg.Name = "Spinny"
396
local frm = Instance.new("Frame",scrg)
397
frm.BackgroundTransparency = 0.25
398
frm.BackgroundColor3 = color
399
frm.BorderSizePixel = 0
400
frm.Rotation = 45
401
frm.Size = UDim2.new(3,0,0,100)
402
frm.Position = UDim2.new(-4,0,0,0)
403
local frm2 = frm:Clone()
404
frm2.Parent = scrg
405
frm2.BackgroundColor3 = color2
406
frm2.Position = UDim2.new(-4.05,0,0,0)
407
local imlb = Instance.new("ImageLabel",scrg)
408
imlb.BackgroundTransparency = 1
409
imlb.BackgroundColor3 = Color3.new(0,0,0)
410
imlb.Image = "rbxassetid://2344851144"
411
imlb.Size = UDim2.new(0,750,0,750)
412
imlb.ImageColor3 = color2
413
imlb.ImageTransparency = 0.25
414
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
415
local imlb2 = imlb:Clone()
416
imlb2.Image = "rbxassetid://2076458450"
417
imlb2.Size = UDim2.new(1,0,1,0)
418
imlb2.ImageColor3 = color
419
imlb2.ImageTransparency = 0
420
imlb2.Position = UDim2.new(0,0,0,0)
421
local imlb3 = imlb:Clone()
422
imlb3.Image = "rbxassetid://2312119891"
423
imlb3.Size = UDim2.new(1,0,1,0)
424
imlb3.ImageColor3 = color2
425
imlb3.ImageTransparency = 0
426
imlb3.Position = UDim2.new(0,0,0,0)
427
local imlb4 = imlb:Clone()
428
imlb4.Image = "rbxassetid://2092248396"
429
imlb4.Size = UDim2.new(3,0,3,0)
430
imlb3.ImageColor3 = color
431
imlb4.ImageTransparency = 0
432
imlb4.Position = UDim2.new(-1,0,-1,0)
433
local imlb5 = imlb:Clone()
434
imlb5.Image = "rbxassetid://2344870656"
435
imlb5.Size = UDim2.new(10,0,10,0)
436
imlb5.ImageColor3 = color2
437
imlb5.ImageTransparency = 0
438
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
439
imlb2.Parent = imlb
440
imlb3.Parent = imlb
441
imlb4.Parent = imlb
442
imlb5.Parent = imlb
443
local txtlb2 = Instance.new("TextLabel",imlb)
444
txtlb2.Text = text
445
coroutine.resume(coroutine.create(function()
446
while true do
447
swait()
448
if ASTRA == true then
449
txtlb2.Text = est[math.random(1,5)]
450
elseif dragon == true then
451
txtlb2.Text = nobreak[math.random(1,3)]
452
end
453
end
454
end))
455
txtlb2.Font = represfont
456
txtlb2.TextColor3 = color
457
txtlb2.TextStrokeTransparency = 0
458
txtlb2.BackgroundTransparency = 1
459
txtlb2.TextStrokeColor3 = color2
460
txtlb2.TextScaled = true
461
txtlb2.Size = UDim2.new(1,0,1,0)
462
txtlb2.Position = UDim2.new(0,0,0,0)
463
local fvalen = 0.55
464
local fval = -0.49
465
 
466
coroutine.resume(coroutine.create(function()
467
while true do
468
swait()
469
if rainbowmode == true then
470
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
471
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
472
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
473
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
474
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
475
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
476
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
477
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
478
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
479
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
480
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
481
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
482
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
483
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
484
end
485
end
486
end))
487
coroutine.resume(coroutine.create(function()
488
while true do
489
swait()
490
if twmode == true then
491
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
492
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
493
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
494
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
495
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
496
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
497
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
498
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
499
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
500
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
501
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
502
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
503
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
504
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
505
end
506
end
507
end))
508
coroutine.resume(coroutine.create(function()
509
while true do
510
swait()
511
if Error == true then
512
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
513
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
514
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
515
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
516
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
517
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
518
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
519
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
520
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
521
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
522
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
523
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
524
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
525
text = est[math.random(1,17)]
526
end
527
end
528
end))
529
coroutine.resume(coroutine.create(function()
530
while true do
531
swait()
532
if starmode == true then
533
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
534
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
535
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
536
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
537
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
538
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
539
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
540
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
541
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
542
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
543
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
544
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
545
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
546
text = est[math.random(1,17)]
547
end
548
end
549
end))
550
coroutine.resume(coroutine.create(function()
551
while true do
552
swait()
553
if CRAZED == true then
554
txtlb2.Rotation = math.random(-1,1)
555
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
556
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
557
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
558
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
559
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
560
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
561
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
562
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
563
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
564
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
565
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
566
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
567
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
568
end
569
end
570
end))
571
coroutine.resume(coroutine.create(function()
572
while true do
573
swait()
574
if chaosmode == true then
575
txtlb2.Rotation = math.random(-1,1)
576
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
577
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
578
imlb.ImageColor3 = BrickColor.random().Color
579
txtlb2.TextStrokeColor3 = BrickColor.random().Color
580
end
581
end
582
end))
583
coroutine.resume(coroutine.create(function()
584
while true do
585
swait()
586
if scrg.Parent ~= nil then
587
    fvalen = fvalen - 0.0001
588
elseif scrg.Parent == nil then
589
break
590
end
591
end
592
end))
593
local flol = -5
594
local flil = 1.6
595
coroutine.resume(coroutine.create(function()
596
    for i = 0, 49 do
597
        swait()
598
        flol = flol + 0.125
599
        flil = flil - 0.1
600
        frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
601
        frm.Rotation = frm.Rotation - 0.25
602
        frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
603
        frm2.Rotation = frm.Rotation + 0.325
604
        imlb3.Rotation = imlb3.Rotation - 10
605
        imlb2.Rotation = imlb.Rotation + 7.5
606
        imlb.Rotation = imlb.Rotation + 5
607
        if Error == false then
608
        txtlb2.Rotation = txtlb2.Rotation - 5.125
609
        elseif Error == true then
610
        txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
611
        end
612
        imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
613
    end
614
    for i = 0, 99 do
615
        swait()
616
        fval = fval + 0.05
617
        flol = flol + 0.005
618
        frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
619
        frm.Rotation = frm.Rotation - 0.075
620
        frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
621
        frm2.Rotation = frm2.Rotation + 0.125
622
        imlb3.Rotation = imlb3.Rotation - 2
623
        imlb2.Rotation = imlb.Rotation + 1.5
624
        imlb.Rotation = imlb.Rotation + 1
625
        if Error == false then
626
        txtlb2.Rotation = txtlb2.Rotation - 1.125
627
        elseif Error == true then
628
        txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
629
        end
630
        imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
631
    end
632
local valinc = 0
633
local vinc2 = 1
634
for i = 0, 99 do
635
swait()
636
vinc2 = vinc2 + 0.25
637
valinc = valinc + 0.0001
638
flol = flol + valinc
639
flil = flil + valinc
640
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
641
imlb3.Rotation = imlb3.Rotation - 2*vinc2
642
imlb.Rotation = imlb.Rotation + 1*vinc2
643
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
644
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
645
frm.Rotation = frm.Rotation + 0.1*vinc2
646
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
647
frm2.Rotation = frm2.Rotation + 0.225*vinc2
648
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
649
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
650
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
651
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
652
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
653
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
654
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
655
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
656
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
657
end
658
scrg:Destroy()
659
end))
660
end))
661
end
662
end
663
end
664
 
665
function bosschatfunc(text,color,watval)
666
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
667
coroutine.resume(coroutine.create(function()
668
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
669
v.PlayerGui:FindFirstChild("Dialog"):destroy()
670
end
671
local scrg = Instance.new("ScreenGui",v.PlayerGui)
672
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
673
scrg.Name = "Dialog"
674
local txtlb = Instance.new("TextLabel",scrg)
675
txtlb.Text = ""
676
txtlb.Font = "Bodoni"
677
txtlb.TextColor3 = Color3.new(0,0,0)
678
txtlb.TextStrokeTransparency = 0
679
txtlb.BackgroundTransparency = 0.75
680
txtlb.BackgroundColor3 = Color3.new(0,0,0)
681
txtlb.TextStrokeColor3 = color
682
txtlb.TextScaled = true
683
txtlb.Size = UDim2.new(1,0,0.25,0)
684
txtlb.TextXAlignment = "Left"
685
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
686
local txtlb2 = Instance.new("TextLabel",scrg)
687
txtlb2.Text = "STAR:"
688
txtlb2.Font = "Arcade"
689
txtlb2.TextColor3 = Color3.new(0,0,0)
690
txtlb2.TextStrokeTransparency = 0
691
txtlb2.BackgroundTransparency = 1
692
txtlb2.TextStrokeColor3 = color
693
txtlb2.TextSize = 40
694
txtlb2.Size = UDim2.new(1,0,0.25,0)
695
txtlb2.TextXAlignment = "Left"
696
txtlb2.Position = UDim2.new(0,0,1,0)
697
local fvalen = 0.55
698
local fval = -0.49
699
coroutine.resume(coroutine.create(function()
700
while true do
701
swait()
702
if chaosmode == true then
703
txtlb.Rotation = math.random(-1,1)
704
txtlb2.Rotation = math.random(-1,1)
705
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
706
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
707
txtlb.TextStrokeColor3 = BrickColor.random().Color
708
txtlb2.TextStrokeColor3 = BrickColor.random().Color
709
end
710
end
711
end))
712
coroutine.resume(coroutine.create(function()
713
while true do
714
swait()
715
if scrg.Parent ~= nil then
716
	fvalen = fvalen - 0.0001
717
elseif scrg.Parent == nil then
718
break
719
end
720
end
721
end))
722
local flol = 1.75
723
local flil = 1.6
724
coroutine.resume(coroutine.create(function()
725
	for i = 0, 9 do
726
		swait()
727
		fval = fval + 0.05
728
		flol = flol - 0.1
729
		flil = flil - 0.1
730
		txtlb.Text = ""
731
		txtlb.Position = UDim2.new(0,0,flol,0)
732
		txtlb2.Position = UDim2.new(0,0,flil,0)
733
	end
734
	txtlb.Text = text
735
wait(watval)
736
local valinc = 0
737
for i = 0, 99 do
738
swait()
739
valinc = valinc + 0.0001
740
flol = flol + valinc
741
flil = flil + valinc
742
txtlb.Rotation = txtlb.Rotation + valinc*20
743
txtlb2.Rotation = txtlb2.Rotation - valinc*50
744
txtlb.Position = UDim2.new(0,0,flol,0)
745
txtlb2.Position = UDim2.new(0,0,flil,0)
746
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
747
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
748
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
749
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
750
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
751
end
752
scrg:Destroy()
753
end))
754
end))
755
end
756
end
757
758
759
local Create = LoadLibrary("RbxUtility").Create
760
761
CFuncs = {	
762
	["Part"] = {
763
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
764
			local Part = Create("Part"){
765
				Parent = Parent,
766
				Reflectance = Reflectance,
767
				Transparency = Transparency,
768
				CanCollide = false,
769
				Locked = true,
770
				BrickColor = BrickColor.new(tostring(BColor)),
771
				Name = Name,
772
				Size = Size,
773
				Material = Material,
774
			}
775
			RemoveOutlines(Part)
776
			return Part
777
		end;
778
	};
779
	
780
	["Mesh"] = {
781
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
782
			local Msh = Create(Mesh){
783
				Parent = Part,
784
				Offset = OffSet,
785
				Scale = Scale,
786
			}
787
			if Mesh == "SpecialMesh" then
788
				Msh.MeshType = MeshType
789
				Msh.MeshId = MeshId
790
			end
791
			return Msh
792
		end;
793
	};
794
	
795
	["Mesh"] = {
796
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
797
			local Msh = Create(Mesh){
798
				Parent = Part,
799
				Offset = OffSet,
800
				Scale = Scale,
801
			}
802
			if Mesh == "SpecialMesh" then
803
				Msh.MeshType = MeshType
804
				Msh.MeshId = MeshId
805
			end
806
			return Msh
807
		end;
808
	};
809
	
810
	["Weld"] = {
811
		Create = function(Parent, Part0, Part1, C0, C1)
812
			local Weld = Create("Weld"){
813
				Parent = Parent,
814
				Part0 = Part0,
815
				Part1 = Part1,
816
				C0 = C0,
817
				C1 = C1,
818
			}
819
			return Weld
820
		end;
821
	};
822
823
	["Sound"] = {
824
		Create = function(id, par, vol, pit) 
825
			coroutine.resume(coroutine.create(function()
826
				local S = Create("Sound"){
827
					Volume = vol,
828
                                        Name = "EffectSoundo",
829
					Pitch = pit or 1,
830
					SoundId = id,
831
					Parent = par or workspace,
832
				}
833
				wait() 
834
				S:play() 
835
				game:GetService("Debris"):AddItem(S, 10)
836
			end))
837
		end;
838
	};
839
840
	["TimeSound"] = {
841
		Create = function(id, par, vol, pit, timepos) 
842
			coroutine.resume(coroutine.create(function()
843
				local S = Create("Sound"){
844
					Volume = vol,
845
                                        Name = "EffectSoundo",
846
					Pitch = pit or 1,
847
					SoundId = id,
848
                                        TimePosition = timepos,
849
					Parent = par or workspace,
850
				}
851
				wait() 
852
				S:play() 
853
				game:GetService("Debris"):AddItem(S, 10)
854
			end))
855
		end;
856
	};
857
		["EchoSound"] = {
858
		Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) 
859
			coroutine.resume(coroutine.create(function()
860
				local Sas = Create("Sound"){
861
					Volume = vol,
862
                    Name = "EffectSoundo",
863
					Pitch = pit or 1,
864
					SoundId = id,
865
                    TimePosition = timepos,
866
					Parent = par or workspace,
867
				}
868
				local E = Create("EchoSoundEffect"){
869
					Delay = echodelay,
870
                    Name = "Echo",
871
					Feedback = fedb,
872
                    DryLevel = dryl,
873
					Parent = Sas,
874
				}
875
				wait() 
876
				Sas:play() 
877
				game:GetService("Debris"):AddItem(Sas, delays)
878
			end))
879
		end;
880
	};
881
882
["LongSound"] = {
883
		Create = function(id, par, vol, pit) 
884
			coroutine.resume(coroutine.create(function()
885
				local S = Create("Sound"){
886
					Volume = vol,
887
					Pitch = pit or 1,
888
					SoundId = id,
889
					Parent = par or workspace,
890
				}
891
				wait() 
892
				S:play() 
893
				game:GetService("Debris"):AddItem(S, 60)
894
			end))
895
		end;
896
	};
897
	
898
	["ParticleEmitter"] = {
899
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
900
			local fp = Create("ParticleEmitter"){
901
				Parent = Parent,
902
				Color = ColorSequence.new(Color1, Color2),
903
				LightEmission = LightEmission,
904
				Size = Size,
905
				Texture = Texture,
906
				Transparency = Transparency,
907
				ZOffset = ZOffset,
908
				Acceleration = Accel,
909
				Drag = Drag,
910
				LockedToPart = LockedToPart,
911
				VelocityInheritance = VelocityInheritance,
912
				EmissionDirection = EmissionDirection,
913
				Enabled = Enabled,
914
				Lifetime = LifeTime,
915
				Rate = Rate,
916
				Rotation = Rotation,
917
				RotSpeed = RotSpeed,
918
				Speed = Speed,
919
				VelocitySpread = VelocitySpread,
920
			}
921
			return fp
922
		end;
923
	};
924
925
	CreateTemplate = {
926
	
927
	};
928
}
929
930
931
932
New = function(Object, Parent, Name, Data)
933
	local Object = Instance.new(Object)
934
	for Index, Value in pairs(Data or {}) do
935
		Object[Index] = Value
936
	end
937
	Object.Parent = Parent
938
	Object.Name = Name
939
	return Object
940
end
941
local halocolor = BrickColor.new("Pastel light blue")
942
local halocolor2 = BrickColor.new("Cool yellow")
943
local starcolor = BrickColor.new("Bright yellow")
944
local lunacolor = BrickColor.new("Navy blue")
945
local lunacolor2 = BrickColor.new("Bright blue")
946
local wepcolor = BrickColor.new("Really black")
947
local maincolor = BrickColor.new("Really black")
948
local m = Instance.new("Model",char)
949
local m2 = Instance.new("Model",char)
950
local m3 = Instance.new("Model",char)
951
local mw1 = Instance.new("Model",char)
952
local mw2 = Instance.new("Model",char)
953
954
955
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
956
  local gui = it(GuiType)
957
  gui.Parent = parent
958
  gui.Text = text
959
  gui.BackgroundTransparency = backtrans
960
  gui.BackgroundColor3 = backcol
961
  gui.SizeConstraint = "RelativeXY"
962
  gui.TextXAlignment = "Center"
963
  gui.TextYAlignment = "Center"
964
  gui.Position = pos
965
  gui.Size = size
966
  gui.Font = "SciFi"
967
  gui.FontSize = "Size14"
968
  gui.TextWrapped = false
969
  gui.TextStrokeTransparency = 0
970
  gui.TextColor = BrickColor.new("White")
971
  return gui
972
end
973
--------------------------- GUI STUFF
974
local basgui = it("GuiMain")
975
basgui.Parent = plr.PlayerGui
976
basgui.Name = "VISgui"
977
local fullscreenz = it("Frame")
978
fullscreenz.Parent = basgui
979
fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
980
fullscreenz.BackgroundTransparency = 1
981
fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
982
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
983
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
984
local imgl2 = Instance.new("ImageLabel",fullscreenz)
985
imgl2.BackgroundTransparency = 1
986
imgl2.BorderSizePixel = 0
987
imgl2.ImageTransparency = 0.5
988
imgl2.ImageColor3 = Color3.new(1,0,0)
989
imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
990
imgl2.Size = UDim2.new(0,1000,0,1000)
991
imgl2.Image = "rbxassetid://2325939897"
992
local techc = imgl2:Clone()
993
techc.Parent = fullscreenz
994
techc.ImageTransparency = 0
995
techc.Size = UDim2.new(0,900,0,900)
996
techc.Position = UDim2.new(0.75,-150,0.55,-150)
997
techc.ImageColor3 = Color3.new(1,0,0)
998
techc.Image = "rbxassetid://2273224484"
999
local circl = imgl2:Clone()
1000
circl.Parent = fullscreenz
1001
circl.ImageTransparency = 0
1002
circl.Size = UDim2.new(0,550,0,550)
1003
circl.Position = UDim2.new(0.75,25,0.55,25)
1004
circl.ImageColor3 = Color3.new(0,0,0)
1005
circl.Image = "rbxassetid://2312119891"
1006
local circl2 = imgl2:Clone()
1007
circl2.Parent = fullscreenz
1008
circl2.ImageTransparency = 0
1009
circl2.Size = UDim2.new(0,700,0,700)
1010
circl2.Position = UDim2.new(0.75,-50,0.55,-50)
1011
circl2.ImageColor3 = Color3.new(1,0,0)
1012
circl2.Image = "rbxassetid://2312119891"
1013
local imgl2b = imgl2:Clone()
1014
imgl2b.Parent = fullscreenz
1015
imgl2b.ImageTransparency = 0
1016
imgl2b.Size = UDim2.new(0,800,0,800)
1017
imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
1018
imgl2b.ImageColor3 = Color3.new(0,0,0)
1019
local ned = Instance.new("TextLabel",fullscreenz)
1020
ned.ZIndex = 2
1021
ned.Font = "Arcade"
1022
ned.BackgroundTransparency = 1
1023
ned.BorderSizePixel = 0.65
1024
ned.Size = UDim2.new(0.3,0,0.2,0)
1025
ned.Position = UDim2.new(0.7,0,0.8,0)
1026
ned.TextColor3 = BrickColor.new("Royal purple").Color
1027
ned.TextStrokeColor3 = BrickColor.new("Royal purple").Color
1028
ned.TextScaled = true
1029
ned.TextStrokeTransparency = 0
1030
ned.Text = "STAR"
1031
ned.TextSize = 24
1032
ned.Rotation = 1
1033
ned.TextXAlignment = "Right"
1034
ned.TextYAlignment = "Bottom"
1035
1036
local extrawingmod1 = Instance.new("Model",char)
1037
local extrawingmod2 = Instance.new("Model",char)
1038
1039
function CreateParta(parent,transparency,reflectance,material,brickcolor)
1040
local p = Instance.new("Part")
1041
p.TopSurface = 0
1042
p.BottomSurface = 0
1043
p.Parent = parent
1044
p.Size = Vector3.new(0.1,0.1,0.1)
1045
p.Transparency = transparency
1046
p.Reflectance = reflectance
1047
p.CanCollide = false
1048
p.Locked = true
1049
p.BrickColor = brickcolor
1050
p.Material = material
1051
return p
1052
end
1053
1054
function CreateMesh(parent,meshtype,x1,y1,z1)
1055
local mesh = Instance.new("SpecialMesh",parent)
1056
mesh.MeshType = meshtype
1057
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
1058
return mesh
1059
end
1060
1061
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
1062
local mesh = Instance.new("SpecialMesh",parent)
1063
mesh.MeshType = "FileMesh"
1064
mesh.MeshId = meshid
1065
mesh.Scale = Vector3.new(x1,y1,z1)
1066
return mesh
1067
end
1068
1069
1070
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
1071
local mesh = Instance.new("SpecialMesh",parent)
1072
mesh.MeshType = "FileMesh"
1073
mesh.MeshId = meshid
1074
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
1075
mesh.Scale = Vector3.new(x1,y1,z1)
1076
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
1077
return mesh
1078
end
1079
1080
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
1081
local weld = Instance.new("Weld")
1082
weld.Parent = parent
1083
weld.Part0 = part0
1084
weld.Part1 = part1
1085
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
1086
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
1087
return weld
1088
end
1089
1090
1091
--------------
1092
--------------
1093
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
1094
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))
1095
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
1096
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))
1097
1098
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
1099
CreateMesh(handle,"Brick",0,0,0)
1100
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))
1101
local valuaring = 10
1102
for i = 0, 49 do
1103
	valuaring = valuaring + 10
1104
rn = CreateParta(mw2,0,0,"Neon",halocolor)
1105
CreateMesh(rn,"Brick",0.25,0.1,0.1)
1106
CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1107
end
1108
1109
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
1110
CreateMesh(handle,"Brick",0,0,0)
1111
CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1112
local valuaring = 10
1113
for i = 0, 49 do
1114
	valuaring = valuaring + 10
1115
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1116
CreateMesh(rn,"Brick",0.5,0.2,0.2)
1117
CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1118
end
1119
1120
1121
local handle = CreateParta(m,1,1,"Neon",maincolor)
1122
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1123
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))
1124
1125
--- Left wing.
1126
1127
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
1128
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1129
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))
1130
 
1131
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1132
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1133
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))
1134
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1135
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1136
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))
1137
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1138
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1139
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))
1140
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1141
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1142
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))
1143
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1144
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1145
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))
1146
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1147
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1148
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))
1149
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1150
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1151
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))
1152
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1153
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1154
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))
1155
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1156
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1157
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))
1158
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1159
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1160
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))
1161
 
1162
tl1 = Instance.new('Trail',wed)
1163
tl1.Attachment0 = A1
1164
tl1.Attachment1 = A0
1165
tl1.Texture = "rbxassetid://2108945559"
1166
tl1.LightEmission = 1
1167
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1168
tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1169
tl1.Lifetime = 0.6
1170
 
1171
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
1172
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1173
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))
1174
1175
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1176
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1177
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))
1178
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1179
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1180
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))
1181
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1182
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1183
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))
1184
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1185
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1186
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))
1187
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1188
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1189
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))
1190
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1191
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1192
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))
1193
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1194
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1195
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))
1196
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1197
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1198
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))
1199
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1200
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1201
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))
1202
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1203
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1204
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))
1205
 
1206
tl2 = Instance.new('Trail',wed)
1207
tl2.Attachment0 = A1
1208
tl2.Attachment1 = A0
1209
tl2.Texture = "rbxassetid://2108945559"
1210
tl2.LightEmission = 1
1211
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1212
tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1213
tl2.Lifetime = 0.6
1214
1215
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
1216
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1217
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))
1218
 
1219
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1220
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1221
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))
1222
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1223
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1224
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))
1225
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1226
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1227
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))
1228
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1229
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1230
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))
1231
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1232
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1233
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))
1234
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1235
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1236
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))
1237
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1238
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1239
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))
1240
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1241
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1242
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))
1243
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1244
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1245
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))
1246
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1247
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1248
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))
1249
 
1250
tl3 = Instance.new('Trail',wed)
1251
tl3.Attachment0 = A1
1252
tl3.Attachment1 = A0
1253
tl3.Texture = "rbxassetid://2108945559"
1254
tl3.LightEmission = 1
1255
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1256
tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1257
tl3.Lifetime = 0.6
1258
1259
tl1.Enabled = true
1260
tl2.Enabled = true
1261
tl3.Enabled = true
1262
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
1263
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1264
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))
1265
 
1266
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1267
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1268
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))
1269
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1270
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1271
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))
1272
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1273
CreateMesh(wed,"Wedge",0.05,0.5,3)
1274
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))
1275
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1276
CreateMesh(wed,"Wedge",0.05,3,0.5)
1277
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))
1278
 
1279
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
1280
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1281
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))
1282
 
1283
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1284
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1285
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))
1286
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1287
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1288
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))
1289
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1290
CreateMesh(wed,"Wedge",0.05,0.5,3)
1291
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))
1292
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1293
CreateMesh(wed,"Wedge",0.05,3,0.5)
1294
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))
1295
 
1296
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
1297
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1298
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))
1299
 
1300
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1301
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1302
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))
1303
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1304
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1305
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))
1306
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1307
CreateMesh(wed,"Wedge",0.05,0.5,3)
1308
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))
1309
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1310
CreateMesh(wed,"Wedge",0.05,3,0.5)
1311
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))
1312
1313
-- Right wing.
1314
1315
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
1316
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1317
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))
1318
 
1319
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1320
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1321
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))
1322
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1323
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1324
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))
1325
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1326
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1327
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))
1328
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1329
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1330
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))
1331
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1332
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1333
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))
1334
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1335
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1336
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))
1337
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1338
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1339
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))
1340
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1341
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1342
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))
1343
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1344
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1345
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))
1346
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1347
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1348
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))
1349
 
1350
tr1 = Instance.new('Trail',wed)
1351
tr1.Attachment0 = A1
1352
tr1.Attachment1 = A0
1353
tr1.Texture = "rbxassetid://2108945559"
1354
tr1.LightEmission = 1
1355
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1356
tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1357
tr1.Lifetime = 0.6
1358
1359
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
1360
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1361
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))
1362
 
1363
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1364
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1365
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))
1366
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1367
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1368
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))
1369
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1370
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1371
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))
1372
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1373
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1374
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))
1375
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1376
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1377
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))
1378
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1379
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1380
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))
1381
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1382
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1383
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))
1384
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1385
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1386
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))
1387
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1388
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1389
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))
1390
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1391
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1392
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))
1393
 
1394
tr2 = Instance.new('Trail',wed)
1395
tr2.Attachment0 = A1
1396
tr2.Attachment1 = A0
1397
tr2.Texture = "rbxassetid://2108945559"
1398
tr2.LightEmission = 1
1399
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1400
tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1401
tr2.Lifetime = 0.6
1402
1403
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
1404
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1405
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))
1406
 
1407
 
1408
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1409
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1410
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))
1411
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1412
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1413
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))
1414
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1415
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1416
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))
1417
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1418
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1419
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))
1420
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1421
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1422
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))
1423
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1424
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1425
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))
1426
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1427
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1428
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))
1429
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1430
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1431
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))
1432
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1433
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1434
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))
1435
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1436
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1437
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))
1438
 
1439
 tr3 = Instance.new('Trail',wed)
1440
tr3.Attachment0 = A1
1441
tr3.Attachment1 = A0
1442
tr3.Texture = "rbxassetid://2108945559"
1443
tr3.LightEmission = 1
1444
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1445
tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1446
tr3.Lifetime = 0.6
1447
1448
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
1449
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1450
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))
1451
 
1452
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1453
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1454
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))
1455
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1456
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1457
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))
1458
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1459
CreateMesh(wed,"Wedge",0.05,0.5,3)
1460
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))
1461
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1462
CreateMesh(wed,"Wedge",0.05,3,0.5)
1463
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))
1464
 
1465
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
1466
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1467
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))
1468
 
1469
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1470
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1471
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))
1472
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1473
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1474
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))
1475
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1476
CreateMesh(wed,"Wedge",0.05,0.5,3)
1477
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))
1478
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1479
CreateMesh(wed,"Wedge",0.05,3,0.5)
1480
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))
1481
 
1482
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
1483
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1484
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))
1485
 
1486
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1487
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1488
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))
1489
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1490
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1491
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))
1492
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1493
CreateMesh(wed,"Wedge",0.05,0.5,3)
1494
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))
1495
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1496
CreateMesh(wed,"Wedge",0.05,3,0.5)
1497
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))
1498
1499
1500
---- HERES THE RING
1501
1502
1503
--[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1504
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1505
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))
1506
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1507
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1508
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))
1509
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1510
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1511
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))
1512
1513
1514
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1515
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1516
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))
1517
1518
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1519
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1520
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))
1521
1522
1523
1524
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1525
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1526
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))
1527
1528
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1529
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1530
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))
1531
1532
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1533
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1534
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))
1535
1536
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1537
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1538
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))
1539
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1540
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1541
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))
1542
1543
--- second ring
1544
1545
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1546
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1547
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))
1548
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1549
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1550
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))
1551
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1552
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1553
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))
1554
1555
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1556
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1557
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))
1558
1559
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1560
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1561
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))
1562
1563
1564
1565
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1566
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1567
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))
1568
1569
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1570
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1571
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))
1572
1573
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1574
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1575
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))
1576
1577
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1578
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1579
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))
1580
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1581
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1582
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))]]--
1583
1584
1585
1586
for i, v in pairs(m:GetChildren()) do
1587
if v:IsA("Part") then
1588
v.BrickColor = BrickColor.new("Really black")
1589
v.Material = "Glass"
1590
end
1591
end
1592
for i, v in pairs(m2:GetChildren()) do
1593
if v:IsA("Part") then
1594
v.BrickColor = BrickColor.new("Crimson")
1595
v.Material = "Granite"
1596
end
1597
end
1598
for i, v in pairs(m3:GetChildren()) do
1599
if v:IsA("Part") then
1600
v.BrickColor = BrickColor.new("Really red")
1601
v.Material = "Neon"
1602
end
1603
end
1604
for i, v in pairs(mw2:GetChildren()) do
1605
if v:IsA("Part") then
1606
v.BrickColor = BrickColor.new("Royal purple")
1607
v.Material = "Neon"
1608
end
1609
end
1610
for i, v in pairs(mw1:GetChildren()) do
1611
if v:IsA("Part") then
1612
v.Transparency = 0
1613
v.BrickColor = BrickColor.new("Royal purple")
1614
v.Material = "Neon"
1615
end
1616
end
1617
for i, v in pairs(extrawingmod1:GetChildren()) do
1618
if v:IsA("Part") then
1619
v.Transparency = 1
1620
v.BrickColor = BrickColor.new("White")
1621
v.Material = "Neon"
1622
end
1623
end
1624
for i, v in pairs(extrawingmod2:GetChildren()) do
1625
if v:IsA("Part") then
1626
v.Transparency = 1
1627
v.BrickColor = BrickColor.new("White")
1628
v.Material = "Neon"
1629
end
1630
end
1631
local MAINRUINCOLOR = BrickColor.new("Royal purple")
1632
------
1633
1634
1635
function RemoveOutlines(part)
1636
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1637
end
1638
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1639
  local Part = Create("Part")({
1640
    Parent = Parent,
1641
    Reflectance = Reflectance,
1642
    Transparency = Transparency,
1643
    CanCollide = false,
1644
    Locked = true,
1645
    BrickColor = BrickColor.new(tostring(BColor)),
1646
    Name = Name,
1647
    Size = Size,
1648
    Material = Material
1649
  })
1650
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1651
  RemoveOutlines(Part)
1652
  return Part
1653
end
1654
function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1655
  local Msh = Create(Mesh)({
1656
    Parent = Part,
1657
    Offset = OffSet,
1658
    Scale = Scale
1659
  })
1660
  if Mesh == "SpecialMesh" then
1661
    Msh.MeshType = MeshType
1662
    Msh.MeshId = MeshId
1663
  end
1664
  return Msh
1665
end
1666
function CreateWeld(Parent, Part0, Part1, C0, C1)
1667
  local Weld = Create("Weld")({
1668
    Parent = Parent,
1669
    Part0 = Part0,
1670
    Part1 = Part1,
1671
    C0 = C0,
1672
    C1 = C1
1673
  })
1674
  return Weld
1675
end
1676
1677
Character=Player.Character 
1678
PlayerGui=Player.PlayerGui 
1679
Backpack=Player.Backpack 
1680
Torso=Character.Torso 
1681
Head=Character.Head 
1682
Humanoid=Character.Humanoid
1683
m=Instance.new('Model',Character)
1684
LeftArm=Character["Left Arm"] 
1685
LeftLeg=Character["Left Leg"] 
1686
RightArm=Character["Right Arm"] 
1687
RightLeg=Character["Right Leg"] 
1688
LS=Torso["Left Shoulder"] 
1689
LH=Torso["Left Hip"] 
1690
RS=Torso["Right Shoulder"] 
1691
RH=Torso["Right Hip"] 
1692
Face = Head.face
1693
Neck=Torso.Neck
1694
it=Instance.new
1695
attacktype=1
1696
vt=Vector3.new
1697
cf=CFrame.new
1698
euler=CFrame.fromEulerAnglesXYZ
1699
angles=CFrame.Angles
1700
cloaked=false
1701
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1702
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1703
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
1704
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
1705
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
1706
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
1707
RootPart=Character.HumanoidRootPart
1708
RootJoint=RootPart.RootJoint
1709
RootCF=euler(-1.57,0,3.14)
1710
attack = false 
1711
attackdebounce = false 
1712
deb=false
1713
equipped=true
1714
hand=false
1715
combo=0
1716
mana=0
1717
trispeed=.2
1718
attackmode='none'
1719
local idle=0
1720
local Anim="Idle"
1721
local Effects={}
1722
local gun=false
1723
local shoot=false
1724
local sine = 0
1725
local change = 1
1726
1727
function RecolorTextAndRename(name,col1,col2,font)
1728
modet.TextStrokeColor3 = col2
1729
modet.TextColor3 = col1
1730
modet.Font = font
1731
modet.Text = name
1732
techc.ImageColor3 = col2
1733
circl.ImageColor3 = col2
1734
circl2.ImageColor3 = col1
1735
imgl2.ImageColor3 = col1
1736
imgl2b.ImageColor3 = col2
1737
ned.Text = name
1738
ned.TextColor3 = col1
1739
ned.TextStrokeColor3 = col2
1740
end
1741
--save shoulders 
1742
RSH, LSH=nil, nil 
1743
--welds 
1744
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
1745
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
1746
LH=Torso["Left Hip"]
1747
RH=Torso["Right Hip"]
1748
TorsoColor=Torso.BrickColor
1749
function NoOutline(Part)
1750
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1751
end
1752
ch=Character
1753
RSH=ch.Torso["Right Shoulder"] 
1754
LSH=ch.Torso["Left Shoulder"] 
1755
-- 
1756
RSH.Parent=nil 
1757
LSH.Parent=nil 
1758
-- 
1759
RW.Name="Right Shoulder"
1760
RW.Part0=ch.Torso 
1761
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
1762
RW.C1=cf(0, 0.5, 0) 
1763
RW.Part1=ch["Right Arm"] 
1764
RW.Parent=ch.Torso 
1765
-- 
1766
LW.Name="Left Shoulder"
1767
LW.Part0=ch.Torso 
1768
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
1769
LW.C1=cf(0, 0.5, 0) 
1770
LW.Part1=ch["Left Arm"] 
1771
LW.Parent=ch.Torso 
1772
1773
local Stats=Instance.new("BoolValue")
1774
Stats.Name="Stats"
1775
Stats.Parent=Character
1776
local Atk=Instance.new("NumberValue")
1777
Atk.Name="Damage"
1778
Atk.Parent=Stats
1779
Atk.Value=1
1780
local Def=Instance.new("NumberValue")
1781
Def.Name="Defense"
1782
Def.Parent=Stats
1783
Def.Value=1
1784
local Speed=Instance.new("NumberValue")
1785
Speed.Name="Speed"
1786
Speed.Parent=Stats
1787
Speed.Value=1
1788
local Mvmt=Instance.new("NumberValue")
1789
Mvmt.Name="Movement"
1790
Mvmt.Parent=Stats
1791
Mvmt.Value=1
1792
1793
local donum=0
1794
 
1795
1796
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1797
local fp=it("Part")
1798
fp.formFactor=formfactor 
1799
fp.Parent=parent
1800
fp.Reflectance=reflectance
1801
fp.Transparency=transparency
1802
fp.CanCollide=false 
1803
fp.Locked=true
1804
fp.BrickColor=brickcolor
1805
fp.Name=name
1806
fp.Size=size
1807
fp.Position=Torso.Position 
1808
NoOutline(fp)
1809
fp.Material="SmoothPlastic"
1810
fp:BreakJoints()
1811
return fp 
1812
end 
1813
 
1814
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1815
local mesh=it(Mesh) 
1816
mesh.Parent=part
1817
if Mesh=="SpecialMesh" then
1818
mesh.MeshType=meshtype
1819
if meshid~="nil" then
1820
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1821
end
1822
end
1823
mesh.Offset=offset
1824
mesh.Scale=scale
1825
return mesh
1826
end
1827
 
1828
function weld(parent,part0,part1,c0)
1829
local weld=it("Weld") 
1830
weld.Parent=parent
1831
weld.Part0=part0 
1832
weld.Part1=part1 
1833
weld.C0=c0
1834
return weld
1835
end
1836
 
1837
local Color1=Torso.BrickColor
1838
1839
local bodvel=Instance.new("BodyVelocity")
1840
local bg=Instance.new("BodyGyro")
1841
1842
--------- SazEreno's Artificial HB --------------
1843
ArtificialHB = Instance.new("BindableEvent", script)
1844
ArtificialHB.Name = "ArtificialHB"
1845
1846
script:WaitForChild("ArtificialHB")
1847
Frame_Speed = 1 / 60
1848
frame = Frame_Speed
1849
tf = 0
1850
allowframeloss = false
1851
tossremainder = false
1852
lastframe = tick()
1853
script.ArtificialHB:Fire()
1854
1855
game:GetService("RunService").Heartbeat:connect(function(s, p)
1856
	tf = tf + s
1857
	if tf >= frame then
1858
		if allowframeloss then
1859
			script.ArtificialHB:Fire()
1860
			lastframe = tick()
1861
		else
1862
			for i = 1, math.floor(tf / frame) do
1863
				script.ArtificialHB:Fire()
1864
			end
1865
		lastframe = tick()
1866
		end
1867
		if tossremainder then
1868
			tf = 0
1869
		else
1870
			tf = tf - frame * math.floor(tf / frame)
1871
		end
1872
	end
1873
end)
1874
1875
------------------
1876
function swait(num)
1877
function swait(num)
1878
if num==0 or num==nil then
1879
game:service'RunService'.Stepped:wait(0)
1880
else
1881
for i=0,num do
1882
game:service'RunService'.Stepped:wait(0)
1883
end
1884
end
1885
end
1886
end
1887
1888
-------- RAINBOW LEAVE IT TO ME
1889
local r = 255
1890
local g = 0
1891
local b = 0
1892
coroutine.resume(coroutine.create(function()
1893
while wait() do
1894
	for i = 0, 254/5 do
1895
		swait()
1896
		g = g + 5
1897
	end
1898
	for i = 0, 254/5 do
1899
		swait()
1900
		r = r - 5
1901
	end
1902
	for i = 0, 254/5 do
1903
		swait()
1904
		b = b + 5
1905
	end
1906
	for i = 0, 254/5 do
1907
		swait()
1908
		g = g - 5
1909
	end
1910
	for i = 0, 254/5 do
1911
		swait()
1912
		r = r + 5
1913
	end
1914
	for i = 0, 254/5 do
1915
		swait()
1916
		b = b - 5
1917
	end
1918
end
1919
end))
1920
 
1921
 
1922
so = function(id,par,vol,pit) 
1923
coroutine.resume(coroutine.create(function()
1924
local sou = Instance.new("Sound",par or workspace)
1925
sou.Volume=vol
1926
sou.Pitch=pit or 1
1927
sou.SoundId=id
1928
swait() 
1929
sou:play() 
1930
game:GetService("Debris"):AddItem(sou,6)
1931
end))
1932
end
1933
 
1934
function clerp(a,b,t) 
1935
local qa = {QuaternionFromCFrame(a)}
1936
local qb = {QuaternionFromCFrame(b)} 
1937
local ax, ay, az = a.x, a.y, a.z 
1938
local bx, by, bz = b.x, b.y, b.z
1939
local _t = 1-t
1940
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1941
end 
1942
 
1943
function QuaternionFromCFrame(cf) 
1944
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1945
local trace = m00 + m11 + m22 
1946
if trace > 0 then 
1947
local s = math.sqrt(1 + trace) 
1948
local recip = 0.5/s 
1949
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1950
else 
1951
local i = 0 
1952
if m11 > m00 then
1953
i = 1
1954
end
1955
if m22 > (i == 0 and m00 or m11) then 
1956
i = 2 
1957
end 
1958
if i == 0 then 
1959
local s = math.sqrt(m00-m11-m22+1) 
1960
local recip = 0.5/s 
1961
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1962
elseif i == 1 then 
1963
local s = math.sqrt(m11-m22-m00+1) 
1964
local recip = 0.5/s 
1965
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1966
elseif i == 2 then 
1967
local s = math.sqrt(m22-m00-m11+1) 
1968
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1969
end 
1970
end 
1971
end
1972
 
1973
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1974
local xs, ys, zs = x + x, y + y, z + z 
1975
local wx, wy, wz = w*xs, w*ys, w*zs 
1976
local xx = x*xs 
1977
local xy = x*ys 
1978
local xz = x*zs 
1979
local yy = y*ys 
1980
local yz = y*zs 
1981
local zz = z*zs 
1982
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)) 
1983
end
1984
 
1985
function QuaternionSlerp(a, b, t) 
1986
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1987
local startInterp, finishInterp; 
1988
if cosTheta >= 0.0001 then 
1989
if (1 - cosTheta) > 0.0001 then 
1990
local theta = math.acos(cosTheta) 
1991
local invSinTheta = 1/math.sin(theta) 
1992
startInterp = math.sin((1-t)*theta)*invSinTheta 
1993
finishInterp = math.sin(t*theta)*invSinTheta  
1994
else 
1995
startInterp = 1-t 
1996
finishInterp = t 
1997
end 
1998
else 
1999
if (1+cosTheta) > 0.0001 then 
2000
local theta = math.acos(-cosTheta) 
2001
local invSinTheta = 1/math.sin(theta) 
2002
startInterp = math.sin((t-1)*theta)*invSinTheta 
2003
finishInterp = math.sin(t*theta)*invSinTheta 
2004
else 
2005
startInterp = t-1 
2006
finishInterp = t 
2007
end 
2008
end 
2009
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 
2010
end
2011
2012
local function CFrameFromTopBack(at, top, back)
2013
local right = top:Cross(back)
2014
return CFrame.new(at.x, at.y, at.z,
2015
right.x, top.x, back.x,
2016
right.y, top.y, back.y,
2017
right.z, top.z, back.z)
2018
end
2019
2020
function Triangle(a, b, c)
2021
local edg1 = (c-a):Dot((b-a).unit)
2022
local edg2 = (a-b):Dot((c-b).unit)
2023
local edg3 = (b-c):Dot((a-c).unit)
2024
if edg1 <= (b-a).magnitude and edg1 >= 0 then
2025
a, b, c = a, b, c
2026
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
2027
a, b, c = b, c, a
2028
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
2029
a, b, c = c, a, b
2030
else
2031
assert(false, "unreachable")
2032
end
2033
 
2034
local len1 = (c-a):Dot((b-a).unit)
2035
local len2 = (b-a).magnitude - len1
2036
local width = (a + (b-a).unit*len1 - c).magnitude
2037
 
2038
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
2039
 
2040
local list = {}
2041
 
2042
if len1 > 0.01 then
2043
local w1 = Instance.new('WedgePart', m)
2044
game:GetService("Debris"):AddItem(w1,5)
2045
w1.Material = "SmoothPlastic"
2046
w1.FormFactor = 'Custom'
2047
w1.BrickColor = BrickColor.new("Really red")
2048
w1.Transparency = 0
2049
w1.Reflectance = 0
2050
w1.Material = "SmoothPlastic"
2051
w1.CanCollide = false
2052
local l1 = Instance.new("PointLight",w1)
2053
l1.Color = Color3.new(170,0,0)
2054
NoOutline(w1)
2055
local sz = Vector3.new(0.2, width, len1)
2056
w1.Size = sz
2057
local sp = Instance.new("SpecialMesh",w1)
2058
sp.MeshType = "Wedge"
2059
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
2060
w1:BreakJoints()
2061
w1.Anchored = true
2062
w1.Parent = workspace
2063
w1.Transparency = 0.7
2064
table.insert(Effects,{w1,"Disappear",.01})
2065
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
2066
table.insert(list,w1)
2067
end
2068
 
2069
if len2 > 0.01 then
2070
local w2 = Instance.new('WedgePart', m)
2071
game:GetService("Debris"):AddItem(w2,5)
2072
w2.Material = "SmoothPlastic"
2073
w2.FormFactor = 'Custom'
2074
w2.BrickColor = BrickColor.new("Really red")
2075
w2.Transparency = 0
2076
w2.Reflectance = 0
2077
w2.Material = "SmoothPlastic"
2078
w2.CanCollide = false
2079
local l2 = Instance.new("PointLight",w2)
2080
l2.Color = Color3.new(170,0,0)
2081
NoOutline(w2)
2082
local sz = Vector3.new(0.2, width, len2)
2083
w2.Size = sz
2084
local sp = Instance.new("SpecialMesh",w2)
2085
sp.MeshType = "Wedge"
2086
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
2087
w2:BreakJoints()
2088
w2.Anchored = true
2089
w2.Parent = workspace
2090
w2.Transparency = 0.7
2091
table.insert(Effects,{w2,"Disappear",.01})
2092
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
2093
table.insert(list,w2)
2094
end
2095
return unpack(list)
2096
end
2097
 
2098
2099
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2100
  if hit.Parent == nil then
2101
    return
2102
  end
2103
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2104
  for _, v in pairs(hit.Parent:children()) do
2105
    if v:IsA("Humanoid") then
2106
      h = v
2107
    end
2108
  end
2109
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
2110
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
2111
      return
2112
    end
2113
    local c = Create("ObjectValue")({
2114
      Name = "creator",
2115
      Value = game:GetService("Players").LocalPlayer,
2116
      Parent = h
2117
    })
2118
    game:GetService("Debris"):AddItem(c, 0.5)
2119
    if HitSound ~= nil and HitPitch ~= nil then
2120
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
2121
    end
2122
    local Damage = math.random(minim, maxim)
2123
    local blocked = false
2124
    local block = hit.Parent:findFirstChild("Block")
2125
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
2126
      blocked = true
2127
      block.Value = block.Value - 1
2128
      print(block.Value)
2129
    end
2130
    if blocked == false then
2131
      HitHealth = h.Health
2132
      h.MaxHealth = 100
2133
      h.Health = h.Health - Damage
2134
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
2135
        print("gained kill")
2136
        dmg(h.Parent)
2137
      end
2138
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2139
    else
2140
      h.Health = h.Health - Damage / 2
2141
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2142
    end
2143
    if Type == "Knockdown" then
2144
      local hum = hit.Parent.Humanoid
2145
      hum.PlatformStand = true
2146
      coroutine.resume(coroutine.create(function(HHumanoid)
2147
        swait(1)
2148
        HHumanoid.PlatformStand = false
2149
      end), hum)
2150
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
2151
      local bodvol = Create("BodyVelocity")({
2152
        velocity = angle * knockback,
2153
        P = 5000,
2154
        maxForce = Vector3.new(8000, 8000, 8000),
2155
        Parent = hit
2156
      })
2157
      local rl = Create("BodyAngularVelocity")({
2158
        P = 3000,
2159
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
2160
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
2161
        Parent = hit
2162
      })
2163
      game:GetService("Debris"):AddItem(bodvol, 0.5)
2164
      game:GetService("Debris"):AddItem(rl, 0.5)
2165
    elseif Type == "Normal" then
2166
      local vp = Create("BodyVelocity")({
2167
        P = 500,
2168
        maxForce = Vector3.new(math.huge, 0, math.huge),
2169
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
2170
      })
2171
      if knockback > 0 then
2172
        vp.Parent = hit.Parent.Head
2173
      end
2174
      game:GetService("Debris"):AddItem(vp, 0.5)
2175
    elseif Type == "Up" then
2176
      local bodyVelocity = Create("BodyVelocity")({
2177
        velocity = Vector3.new(0, 20, 0),
2178
        P = 5000,
2179
        maxForce = Vector3.new(8000, 8000, 8000),
2180
        Parent = hit
2181
      })
2182
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2183
      local bodyVelocity = Create("BodyVelocity")({
2184
        velocity = Vector3.new(0, 20, 0),
2185
        P = 5000,
2186
        maxForce = Vector3.new(8000, 8000, 8000),
2187
        Parent = hit
2188
      })
2189
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2190
    elseif Type == "Leech" then
2191
      local hum = hit.Parent.Humanoid
2192
      if hum ~= nil then
2193
        for i = 0, 2 do
2194
          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)
2195
        end
2196
        Humanoid.Health = Humanoid.Health + 10
2197
      end
2198
    elseif Type == "UpKnock" then
2199
      local hum = hit.Parent.Humanoid
2200
      hum.PlatformStand = true
2201
      if hum ~= nil then
2202
        hitr = true
2203
      end
2204
      coroutine.resume(coroutine.create(function(HHumanoid)
2205
        swait(5)
2206
        HHumanoid.PlatformStand = false
2207
        hitr = false
2208
      end), hum)
2209
      local bodyVelocity = Create("BodyVelocity")({
2210
        velocity = Vector3.new(0, 20, 0),
2211
        P = 5000,
2212
        maxForce = Vector3.new(8000, 8000, 8000),
2213
        Parent = hit
2214
      })
2215
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2216
      local bodyVelocity = Create("BodyVelocity")({
2217
        velocity = Vector3.new(0, 20, 0),
2218
        P = 5000,
2219
        maxForce = Vector3.new(8000, 8000, 8000),
2220
        Parent = hit
2221
      })
2222
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2223
    elseif Type == "Snare" then
2224
      local bp = Create("BodyPosition")({
2225
        P = 2000,
2226
        D = 100,
2227
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2228
        position = hit.Parent.Torso.Position,
2229
        Parent = hit.Parent.Torso
2230
      })
2231
      game:GetService("Debris"):AddItem(bp, 1)
2232
    elseif Type == "Slashnare" then
2233
      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)
2234
      for i = 1, math.random(4, 5) do
2235
        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)
2236
      end
2237
      local bp = Create("BodyPosition")({
2238
        P = 2000,
2239
        D = 100,
2240
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2241
        position = hit.Parent.Torso.Position,
2242
        Parent = hit.Parent.Torso
2243
      })
2244
      game:GetService("Debris"):AddItem(bp, 1)
2245
    elseif Type == "Spike" then
2246
      CreateBigIceSword(hit.Parent.Torso.CFrame)
2247
      local bp = Create("BodyPosition")({
2248
        P = 2000,
2249
        D = 100,
2250
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2251
        position = hit.Parent.Torso.Position,
2252
        Parent = hit.Parent.Torso
2253
      })
2254
      game:GetService("Debris"):AddItem(bp, 1)
2255
    elseif Type == "Freeze" then
2256
      local BodPos = Create("BodyPosition")({
2257
        P = 50000,
2258
        D = 1000,
2259
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2260
        position = hit.Parent.Torso.Position,
2261
        Parent = hit.Parent.Torso
2262
      })
2263
      local BodGy = Create("BodyGyro")({
2264
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
2265
        P = 20000,
2266
        Parent = hit.Parent.Torso,
2267
        cframe = hit.Parent.Torso.CFrame
2268
      })
2269
      hit.Parent.Torso.Anchored = true
2270
      coroutine.resume(coroutine.create(function(Part)
2271
        swait(1.5)
2272
        Part.Anchored = false
2273
      end), hit.Parent.Torso)
2274
      game:GetService("Debris"):AddItem(BodPos, 3)
2275
      game:GetService("Debris"):AddItem(BodGy, 3)
2276
    end
2277
    local debounce = Create("BoolValue")({
2278
      Name = "DebounceHit",
2279
      Parent = hit.Parent,
2280
      Value = true
2281
    })
2282
    game:GetService("Debris"):AddItem(debounce, Delay)
2283
    c = Instance.new("ObjectValue")
2284
    c.Name = "creator"
2285
    c.Value = Player
2286
    c.Parent = h
2287
    game:GetService("Debris"):AddItem(c, 0.5)
2288
  end
2289
end
2290
function ShowDamage(Pos, Text, Time, Color)
2291
  local Rate = 0.03333333333333333
2292
  local Pos = Pos or Vector3.new(0, 0, 0)
2293
  local Text = Text or ""
2294
  local Time = Time or 2
2295
  local Color = Color or Color3.new(1, 0, 1)
2296
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2297
  EffectPart.Anchored = true
2298
  local BillboardGui = Create("BillboardGui")({
2299
    Size = UDim2.new(3, 0, 3, 0),
2300
    Adornee = EffectPart,
2301
    Parent = EffectPart
2302
  })
2303
  local TextLabel = Create("TextLabel")({
2304
    BackgroundTransparency = 1,
2305
    Size = UDim2.new(1, 0, 1, 0),
2306
    Text = Text,
2307
    TextColor3 = Color,
2308
    TextScaled = true,
2309
    Font = Enum.Font.ArialBold,
2310
    Parent = BillboardGui
2311
  })
2312
  game.Debris:AddItem(EffectPart, Time + 0.1)
2313
  EffectPart.Parent = game:GetService("Workspace")
2314
  delay(0, function()
2315
    local Frames = Time / Rate
2316
    for Frame = 1, Frames do
2317
      wait(Rate)
2318
      local Percent = Frame / Frames
2319
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2320
      TextLabel.TextTransparency = Percent
2321
    end
2322
    if EffectPart and EffectPart.Parent then
2323
      EffectPart:Destroy()
2324
    end
2325
  end)
2326
end
2327
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
2328
  for _, c in pairs(workspace:children()) do
2329
    local hum = c:findFirstChildOfClass("Humanoid")
2330
    if hum ~= nil then
2331
      local head = c:findFirstChild("Head")
2332
      if head ~= nil then
2333
        local targ = head.Position - Part.Position
2334
        local mag = targ.magnitude
2335
        if magni >= mag and c.Name ~= Player.Name then
2336
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2337
        end
2338
      end
2339
    end
2340
  end
2341
end
2342
2343
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
2344
  for _, c in pairs(workspace:children()) do
2345
    local hum = c:findFirstChild("Humanoid")
2346
    if hum ~= nil then
2347
      local head = c:findFirstChild("Torso")
2348
      if head ~= nil then
2349
        local targ = head.Position - Part.Position
2350
        local mag = targ.magnitude
2351
        if magni >= mag and c.Name ~= Player.Name then
2352
	MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
2353
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2354
        end
2355
      end
2356
    end
2357
  end
2358
end
2359
2360
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2361
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2362
end 
2363
2364
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
2365
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2366
prt.Anchored=true
2367
prt.CFrame=cframe
2368
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
2369
--http://www.roblox.com/asset/?id=4770560
2370
game:GetService("Debris"):AddItem(prt,2)
2371
CF=prt.CFrame
2372
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
2373
for i=0,1,0.2 do
2374
wait()
2375
Part.CFrame=CF*cf(0,0,-0.4)
2376
end
2377
for i=0,1,delay do
2378
wait()
2379
--Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
2380
Mesh.Scale=Mesh.Scale
2381
end
2382
for i=0,1,0.1 do
2383
wait()
2384
Part.Transparency=i
2385
end
2386
Part.Parent=nil
2387
end),prt,msh,CF)
2388
end
2389
 
2390
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2391
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2392
prt.Anchored=true
2393
prt.Material = "Neon"
2394
prt.CFrame=cframe
2395
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2396
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2397
game:GetService("Debris"):AddItem(prt,5)
2398
coroutine.resume(coroutine.create(function(Part,Mesh) 
2399
for i=0,1,delay do
2400
swait()
2401
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2402
Part.Transparency=i
2403
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2404
end
2405
Part.Parent=nil
2406
end),prt,msh)
2407
end
2408
2409
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2410
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2411
prt.Anchored=true
2412
prt.Material = "Neon"
2413
prt.CFrame=cframe
2414
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2415
game:GetService("Debris"):AddItem(prt,5)
2416
coroutine.resume(coroutine.create(function(Part,Mesh) 
2417
	local rtype = rottype
2418
for i=0,1,delay do
2419
swait()
2420
if rtype == 1 then
2421
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2422
elseif rtype == 2 then
2423
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2424
end
2425
Part.Transparency=i
2426
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2427
end
2428
Part.Parent=nil
2429
end),prt,msh)
2430
end
2431
2432
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2433
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2434
prt.Anchored=true
2435
prt.CFrame=cframe
2436
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2437
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2438
game:GetService("Debris"):AddItem(prt,5)
2439
coroutine.resume(coroutine.create(function(Part,Mesh) 
2440
for i=0,1,delay do
2441
wait()
2442
Part.Transparency=i
2443
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2444
end
2445
Part.Parent=nil
2446
end),prt,msh)
2447
end
2448
2449
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2450
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2451
prt.Anchored=true
2452
prt.Material = "Neon"
2453
prt.CFrame=cframe
2454
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2455
game:GetService("Debris"):AddItem(prt,5)
2456
coroutine.resume(coroutine.create(function(Part,Mesh) 
2457
	local rtype = rottype
2458
for i=0,1,delay do
2459
swait()
2460
if rtype == 1 then
2461
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2462
elseif rtype == 2 then
2463
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2464
end
2465
Part.Transparency=i
2466
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2467
end
2468
Part.Parent=nil
2469
end),prt,msh)
2470
end
2471
2472
function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
2473
local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
2474
prt.Anchored=true
2475
prt.Material = "Neon"
2476
prt.CFrame=cframe
2477
local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
2478
local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
2479
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
2480
game:GetService("Debris"):AddItem(prt,5)
2481
coroutine.resume(coroutine.create(function(Part,Mesh) 
2482
	local rtype = rottype
2483
for i=0,1,delay do
2484
swait()
2485
if rtype == 1 then
2486
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2487
elseif rtype == 2 then
2488
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2489
end
2490
dec.Transparency=i
2491
dec2.Transparency=i
2492
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2493
end
2494
Part.Parent=nil
2495
end),prt,msh)
2496
end
2497
2498
function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
2499
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2500
prt.Anchored=true
2501
prt.Material = "Neon"
2502
prt.CFrame=cframe
2503
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
2504
game:GetService("Debris"):AddItem(prt,5)
2505
coroutine.resume(coroutine.create(function(Part,Mesh) 
2506
	local rtype = rottype
2507
for i=0,1,delay do
2508
swait()
2509
if rtype == 1 then
2510
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2511
elseif rtype == 2 then
2512
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2513
end
2514
prt.Transparency=i
2515
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2516
end
2517
Part.Parent=nil
2518
end),prt,msh)
2519
end
2520
2521
function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
2522
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2523
prt.Anchored=true
2524
prt.Material = "Neon"
2525
prt.CFrame=cframe
2526
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
2527
game:GetService("Debris"):AddItem(prt,5)
2528
coroutine.resume(coroutine.create(function(Part,Mesh) 
2529
	local rtype = rottype
2530
for i=0,1,delay do
2531
swait()
2532
if rtype == 1 then
2533
prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
2534
elseif rtype == 2 then
2535
prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
2536
end
2537
prt.Transparency=i
2538
Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
2539
end
2540
Part.Parent=nil
2541
end),prt,msh)
2542
end
2543
2544
function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
2545
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2546
prt.Anchored=true
2547
prt.Material = "Neon"
2548
prt.CFrame=cframe
2549
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2550
game:GetService("Debris"):AddItem(prt,5)
2551
coroutine.resume(coroutine.create(function(Part,Mesh) 
2552
	local rtype = rottype
2553
for i=0,1,delay do
2554
swait()
2555
if rtype == 1 then
2556
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2557
elseif rtype == 2 then
2558
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2559
end
2560
prt.Transparency=i
2561
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2562
end
2563
Part.Parent=nil
2564
end),prt,msh)
2565
end
2566
2567
function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2568
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2569
prt.Anchored=true
2570
prt.Material = "Neon"
2571
prt.CFrame=cframe
2572
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2573
game:GetService("Debris"):AddItem(prt,5)
2574
coroutine.resume(coroutine.create(function(Part,Mesh) 
2575
	local rtype = rottype
2576
for i=0,1,delay do
2577
swait()
2578
if rtype == 1 then
2579
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2580
elseif rtype == 2 then
2581
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2582
end
2583
prt.Transparency=i
2584
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2585
end
2586
Part.Parent=nil
2587
end),prt,msh)
2588
end
2589
 
2590
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2591
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2592
prt.Anchored=false
2593
prt.CFrame=cframe
2594
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2595
local wld=weld(prt,prt,Parent,cframe)
2596
game:GetService("Debris"):AddItem(prt,5)
2597
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2598
for i=0,1,delay do
2599
wait()
2600
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
2601
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2602
Part.Transparency=i
2603
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2604
end
2605
Part.Parent=nil
2606
end),prt,msh,wld)
2607
end
2608
 
2609
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2610
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2611
prt.Anchored=false
2612
prt.CFrame=cframe
2613
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2614
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
2615
game:GetService("Debris"):AddItem(prt,5)
2616
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2617
for i=0,1,delay do
2618
wait()
2619
Weld.C0=euler(i*20,0,0)
2620
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2621
Part.Transparency=i
2622
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2623
end
2624
Part.Parent=nil
2625
end),prt,msh,wld)
2626
end
2627
 
2628
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2629
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2630
prt.Anchored=true
2631
prt.CFrame=cframe
2632
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2633
game:GetService("Debris"):AddItem(prt,2)
2634
coroutine.resume(coroutine.create(function(Part,Mesh) 
2635
for i=0,1,delay do
2636
wait()
2637
Part.CFrame=Part.CFrame
2638
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2639
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2640
prt2.Anchored=true
2641
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2642
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
2643
game:GetService("Debris"):AddItem(prt2,2)
2644
coroutine.resume(coroutine.create(function(Part,Mesh) 
2645
for i=0,1,0.1 do
2646
wait()
2647
Part.CFrame=Part.CFrame*cf(0,0.5,0)
2648
end
2649
Part.Parent=nil
2650
end),prt2,msh2)
2651
end
2652
for i=0,1,delay*2 do
2653
wait()
2654
Part.CFrame=Part.CFrame
2655
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
2656
end
2657
Part.Parent=nil
2658
end),prt,msh)
2659
end
2660
 
2661
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2662
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2663
prt.Anchored=true
2664
prt.CFrame=cframe
2665
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2666
game:GetService("Debris"):AddItem(prt,2)
2667
coroutine.resume(coroutine.create(function(Part,Mesh) 
2668
for i=0,1,delay do
2669
wait()
2670
Part.CFrame=Part.CFrame
2671
Part.Transparency=i
2672
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2673
end
2674
Part.Parent=nil
2675
end),prt,msh)
2676
end
2677
 
2678
function BreakEffect(brickcolor,cframe,x1,y1,z1)
2679
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2680
prt.Anchored=true
2681
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2682
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2683
game:GetService("Debris"):AddItem(prt,2)
2684
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
2685
CF=Part.CFrame
2686
Numbb=0
2687
randnumb=math.random()/10
2688
rand1=math.random()/10
2689
for i=0,1,rand1 do
2690
wait()
2691
CF=CF*cf(0,math.random()/2,0)
2692
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
2693
Part.CFrame=CF*euler(Numbb,0,0)
2694
Part.Transparency=i
2695
Numbb=Numbb+randnumb
2696
end
2697
Part.Parent=nil
2698
end),prt,CF,Numbb,randnumb)
2699
end
2700
 
2701
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2702
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2703
prt.Anchored=true
2704
prt.CFrame=cframe
2705
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
2706
game:GetService("Debris"):AddItem(prt,5)
2707
coroutine.resume(coroutine.create(function(Part,Mesh) 
2708
for i=0,1,delay do
2709
wait()
2710
Part.CFrame=Part.CFrame*euler(0,0.7,0)
2711
Part.Transparency=i
2712
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2713
end
2714
Part.Parent=nil
2715
end),prt,msh)
2716
end
2717
 
2718
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2719
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2720
prt.Anchored=true
2721
prt.CFrame=cframe
2722
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
2723
game:GetService("Debris"):AddItem(prt,2)
2724
coroutine.resume(coroutine.create(function(Part,Mesh) 
2725
for i=0,1,delay do
2726
wait()
2727
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
2728
Part.Transparency=i
2729
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2730
end
2731
Part.Parent=nil
2732
end),prt,msh)
2733
end
2734
 
2735
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
2736
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2737
prt.Anchored=true
2738
prt.CFrame=cframe*cf(x,y,z)
2739
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
2740
game:GetService("Debris"):AddItem(prt,5)
2741
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
2742
local num=math.random()
2743
local num2=math.random(-3,2)+math.random()
2744
local numm=0
2745
for i=0,1,delay*2 do
2746
swait()
2747
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
2748
Part.Transparency=i
2749
numm=numm+0.01
2750
end
2751
Part.Parent=nil
2752
Mesh.Parent=nil
2753
end),prt,msh,x,y,z)
2754
end
2755
2756
function dmgstart(dmg,what)
2757
	hitcon = what.Touched:connect(function(hit)
2758
		local hum = hit.Parent:FindFirstChild("Humanoid")
2759
		if hum and not hum:IsDescendantOf(Character) then
2760
			hum:TakeDamage(dmg)
2761
		end
2762
	end)
2763
end
2764
2765
function dmgstop()
2766
	hitcon:disconnect()
2767
end
2768
2769
function Cloak()
2770
Face.Parent=nil
2771
cloaked=true
2772
        for _,v in pairs(Torso.Parent:children()) do
2773
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2774
                coroutine.resume(coroutine.create(function() 
2775
                for i=0,1,0.2 do
2776
                wait()
2777
                v.Transparency=i
2778
                end
2779
                v.Transparency=1
2780
                end))
2781
                end
2782
                if v.className=="Hat" then
2783
                hatp=v.Handle
2784
                coroutine.resume(coroutine.create(function(derp) 
2785
                for i=0,1,0.2 do
2786
                wait()
2787
                derp.Transparency=i
2788
                end
2789
                derp.Transparency=1
2790
                end),hatp)
2791
                end
2792
        end
2793
        for _,v in pairs(m:children()) do
2794
                if v.className=="Part" then
2795
                coroutine.resume(coroutine.create(function() 
2796
                for i=0,1,0.2 do
2797
                wait()
2798
                v.Transparency=i
2799
                end
2800
                v.Transparency=1
2801
                end))
2802
                end
2803
        end
2804
end
2805
 
2806
function UnCloak()
2807
so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) 
2808
Face.Parent=Head 
2809
cloaked=false
2810
        for _,v in pairs(Torso.Parent:children()) do
2811
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2812
                coroutine.resume(coroutine.create(function() 
2813
                for i=0,1,0.1 do
2814
                wait()
2815
                v.Transparency=v.Transparency-0.1
2816
                end
2817
                v.Transparency=0
2818
                end))
2819
                end
2820
                if v.className=="Hat" then
2821
                hatp=v.Handle
2822
                coroutine.resume(coroutine.create(function(derp) 
2823
                for i=0,1,0.1 do
2824
                wait()
2825
                derp.Transparency=derp.Transparency-0.1
2826
                end
2827
                derp.Transparency=0
2828
                end),hatp)
2829
                end
2830
        end
2831
        for _,v in pairs(m:children()) do
2832
                if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
2833
                coroutine.resume(coroutine.create(function() 
2834
                for i=0,1,0.1 do
2835
                wait()
2836
                v.Transparency=v.Transparency-0.1
2837
                end
2838
                v.Transparency=0
2839
                end))
2840
                v.Transparency=0
2841
                end
2842
        end
2843
end
2844
2845
local origcolor = BrickColor.new("Pastel light blue")
2846
---- This section of explosions.
2847
2848
----
2849
2850
2851
function ring(type,pos,scale,value)
2852
local type = type
2853
local rng = Instance.new("Part", char)
2854
        rng.Anchored = true
2855
        rng.BrickColor = origcolor
2856
        rng.CanCollide = false
2857
        rng.FormFactor = 3
2858
        rng.Name = "Ring"
2859
        rng.Size = Vector3.new(1, 1, 1)
2860
        rng.Transparency = 0
2861
        rng.TopSurface = 0
2862
        rng.BottomSurface = 0
2863
        rng.CFrame = pos
2864
        local rngm = Instance.new("SpecialMesh", rng)
2865
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2866
rngm.Scale = scale
2867
local scaler2 = 1
2868
if type == "Add" then
2869
scaler2 = 1*value
2870
elseif type == "Divide" then
2871
scaler2 = 1/value
2872
end
2873
coroutine.resume(coroutine.create(function()
2874
for i = 0,10,0.1 do
2875
swait()
2876
if type == "Add" then
2877
scaler2 = scaler2 - 0.01*value
2878
elseif type == "Divide" then
2879
scaler2 = scaler2 - 0.01/value
2880
end
2881
rng.Transparency = rng.Transparency + 0.01
2882
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
2883
end
2884
rng:Destroy()
2885
end))
2886
end
2887
2888
2889
function wave(type,pos,scale,value)
2890
local type = type
2891
local rng = Instance.new("Part", char)
2892
        rng.Anchored = true
2893
        rng.BrickColor = origcolor
2894
        rng.CanCollide = false
2895
        rng.FormFactor = 3
2896
        rng.Name = "Ring"
2897
        rng.Size = Vector3.new(1, 1, 1)
2898
        rng.Transparency = 0
2899
        rng.TopSurface = 0
2900
        rng.BottomSurface = 0
2901
        rng.CFrame = pos
2902
        local rngm = Instance.new("SpecialMesh", rng)
2903
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
2904
rngm.Scale = scale
2905
local scaler2 = 1
2906
if type == "Add" then
2907
scaler2 = 1*value
2908
elseif type == "Divide" then
2909
scaler2 = 1/value
2910
end
2911
coroutine.resume(coroutine.create(function()
2912
for i = 0,10,0.1 do
2913
swait()
2914
if type == "Add" then
2915
scaler2 = scaler2 - 0.01*value
2916
elseif type == "Divide" then
2917
scaler2 = scaler2 - 0.01/value
2918
end
2919
rng.Transparency = rng.Transparency + 0.01
2920
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2921
end
2922
rng:Destroy()
2923
end))
2924
end
2925
2926
function wind(type,pos,scale,value,speed)
2927
local type = type
2928
local rng = Instance.new("Part", char)
2929
        rng.Anchored = true
2930
        rng.BrickColor = origcolor
2931
        rng.CanCollide = false
2932
        rng.FormFactor = 3
2933
        rng.Name = "Ring"
2934
        rng.Size = Vector3.new(1, 1, 1)
2935
        rng.Transparency = 0
2936
        rng.TopSurface = 0
2937
        rng.BottomSurface = 0
2938
        rng.CFrame = pos
2939
        local rngm = Instance.new("SpecialMesh", rng)
2940
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2941
rngm.Scale = scale
2942
local scaler2 = 1
2943
if type == "Add" then
2944
scaler2 = 1*value
2945
elseif type == "Divide" then
2946
scaler2 = 1/value
2947
end
2948
coroutine.resume(coroutine.create(function()
2949
for i = 0,10,0.1 do
2950
swait()
2951
if type == "Add" then
2952
scaler2 = scaler2 - 0.01*value
2953
elseif type == "Divide" then
2954
scaler2 = scaler2 - 0.01/value
2955
end
2956
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
2957
rng.Transparency = rng.Transparency + 0.01
2958
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2959
end
2960
rng:Destroy()
2961
end))
2962
end
2963
2964
function groundwind(type,pos,scale,value,speed)
2965
local type = type
2966
local rng = Instance.new("Part", char)
2967
        rng.Anchored = true
2968
        rng.BrickColor = origcolor
2969
        rng.CanCollide = false
2970
        rng.FormFactor = 3
2971
        rng.Name = "Ring"
2972
        rng.Size = Vector3.new(1, 1, 1)
2973
        rng.Transparency = 0
2974
        rng.TopSurface = 0
2975
        rng.BottomSurface = 0
2976
        rng.CFrame = pos
2977
        local rngm = Instance.new("SpecialMesh", rng)
2978
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2979
rngm.Scale = scale
2980
local scaler2 = 1
2981
if type == "Add" then
2982
scaler2 = 1*value
2983
elseif type == "Divide" then
2984
scaler2 = 1/value
2985
end
2986
coroutine.resume(coroutine.create(function()
2987
for i = 0,10,0.1 do
2988
swait()
2989
if type == "Add" then
2990
scaler2 = scaler2 - 0.01*value
2991
elseif type == "Divide" then
2992
scaler2 = scaler2 - 0.01/value
2993
end
2994
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
2995
rng.Transparency = rng.Transparency + 0.01
2996
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
2997
end
2998
rng:Destroy()
2999
end))
3000
end
3001
3002
function CameraManager()
3003
  if TwoD and not CamInterrupt then
3004
    if Humanoid.Health > 0 then
3005
      Camera.CameraSubject = Humanoid
3006
      Camera.CameraType = "Scriptable"
3007
      Humanoid.AutoRotate = false
3008
      if Booleans.GyroUse then
3009
        Directer.MaxTorque = Vec3(0, huge, 0)
3010
      else
3011
        Directer.MaxTorque = Vec3(0, 0, 0)
3012
      end
3013
      if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
3014
        if Booleans.CamFollow then
3015
          CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
3016
          Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
3017
        else
3018
          CPart.Position = RootPart.Position
3019
        end
3020
      else
3021
        local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
3022
        CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
3023
      end
3024
      Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
3025
    else
3026
      Camera.CameraSubject = Humanoid
3027
      Camera.CameraType = "Custom"
3028
      Controller.Disabled = false
3029
    end
3030
  end
3031
end
3032
3033
function ring(type,pos,scale,value)
3034
local type = type
3035
local rng = Instance.new("Part", char)
3036
        rng.Anchored = true
3037
        rng.BrickColor = origcolor
3038
        rng.CanCollide = false
3039
        rng.FormFactor = 3
3040
        rng.Name = "Ring"
3041
        rng.Size = Vector3.new(1, 1, 1)
3042
        rng.Transparency = 0
3043
        rng.TopSurface = 0
3044
        rng.BottomSurface = 0
3045
        rng.CFrame = pos
3046
        local rngm = Instance.new("SpecialMesh", rng)
3047
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
3048
rngm.Scale = scale
3049
local scaler2 = 1
3050
if type == "Add" then
3051
scaler2 = 1*value
3052
elseif type == "Divide" then
3053
scaler2 = 1/value
3054
end
3055
coroutine.resume(coroutine.create(function()
3056
for i = 0,10,0.1 do
3057
swait()
3058
if type == "Add" then
3059
scaler2 = scaler2 - 0.01*value
3060
elseif type == "Divide" then
3061
scaler2 = scaler2 - 0.01/value
3062
end
3063
rng.Transparency = rng.Transparency + 0.01
3064
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
3065
end
3066
rng:Destroy()
3067
end))
3068
end
3069
3070
3071
function wave(type,pos,scale,value)
3072
local type = type
3073
local rng = Instance.new("Part", char)
3074
        rng.Anchored = true
3075
        rng.BrickColor = origcolor
3076
        rng.CanCollide = false
3077
        rng.FormFactor = 3
3078
        rng.Name = "Ring"
3079
        rng.Size = Vector3.new(1, 1, 1)
3080
        rng.Transparency = 0
3081
        rng.TopSurface = 0
3082
        rng.BottomSurface = 0
3083
        rng.CFrame = pos
3084
        local rngm = Instance.new("SpecialMesh", rng)
3085
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
3086
rngm.Scale = scale
3087
local scaler2 = 1
3088
if type == "Add" then
3089
scaler2 = 1*value
3090
elseif type == "Divide" then
3091
scaler2 = 1/value
3092
end
3093
coroutine.resume(coroutine.create(function()
3094
for i = 0,10,0.1 do
3095
swait()
3096
if type == "Add" then
3097
scaler2 = scaler2 - 0.01*value
3098
elseif type == "Divide" then
3099
scaler2 = scaler2 - 0.01/value
3100
end
3101
rng.Transparency = rng.Transparency + 0.01
3102
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3103
end
3104
rng:Destroy()
3105
end))
3106
end
3107
3108
function sphere(bonuspeed,type,pos,scale,value,color)
3109
local type = type
3110
local rng = Instance.new("Part", char)
3111
        rng.Anchored = true
3112
if ModeOfGlitch ~= 9 then
3113
        rng.BrickColor = color
3114
elseif ModeOfGlitch == 9 then
3115
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3116
end
3117
        rng.CanCollide = false
3118
        rng.FormFactor = 3
3119
        rng.Name = "Ring"
3120
        rng.Material = "Neon"
3121
        rng.Size = Vector3.new(1, 1, 1)
3122
        rng.Transparency = 0
3123
        rng.TopSurface = 0
3124
        rng.BottomSurface = 0
3125
        rng.CFrame = pos
3126
        local rngm = Instance.new("SpecialMesh", rng)
3127
        rngm.MeshType = "Sphere"
3128
rngm.Scale = scale
3129
if rainbowmode == true then
3130
rng.Color = Color3.new(r/255,g/255,b/255)
3131
end
3132
if ModeOfGlitch == 9 then
3133
coroutine.resume(coroutine.create(function()
3134
while true do
3135
swait()
3136
if rng.Parent ~= nil then
3137
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3138
else
3139
break
3140
end
3141
end
3142
end))
3143
end
3144
local scaler2 = 1
3145
if type == "Add" then
3146
scaler2 = 1*value
3147
elseif type == "Divide" then
3148
scaler2 = 1/value
3149
end
3150
coroutine.resume(coroutine.create(function()
3151
for i = 0,10/bonuspeed,0.1 do
3152
swait()
3153
if rainbowmode == true then
3154
rng.Color = Color3.new(r/255,g/255,b/255)
3155
end
3156
if type == "Add" then
3157
scaler2 = scaler2 - 0.01*value/bonuspeed
3158
elseif type == "Divide" then
3159
scaler2 = scaler2 - 0.01/value*bonuspeed
3160
end
3161
if chaosmode == true then
3162
rng.BrickColor = BrickColor.random()
3163
end
3164
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3165
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3166
end
3167
rng:Destroy()
3168
end))
3169
end
3170
3171
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
3172
local type = type
3173
local rng = Instance.new("Part", char)
3174
        rng.Anchored = true
3175
if ModeOfGlitch ~= 9 then
3176
        rng.BrickColor = color
3177
elseif ModeOfGlitch == 9 then
3178
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3179
end
3180
        rng.CanCollide = false
3181
        rng.FormFactor = 3
3182
        rng.Name = "Ring"
3183
        rng.Material = "Neon"
3184
        rng.Size = Vector3.new(1, 1, 1)
3185
        rng.Transparency = 0
3186
        rng.TopSurface = 0
3187
        rng.BottomSurface = 0
3188
        rng.CFrame = pos
3189
        local rngm = Instance.new("SpecialMesh", rng)
3190
        rngm.MeshType = "Sphere"
3191
rngm.Scale = scale
3192
local scaler2 = 1
3193
local scaler2b = 1
3194
local scaler2c = 1
3195
if type == "Add" then
3196
scaler2 = 1*value
3197
scaler2b = 1*value2
3198
scaler2c = 1*value3
3199
elseif type == "Divide" then
3200
scaler2 = 1/value
3201
scaler2b = 1/value2
3202
scaler2c = 1/value3
3203
end
3204
if ModeOfGlitch == 9 then
3205
coroutine.resume(coroutine.create(function()
3206
while true do
3207
swait()
3208
if rng.Parent ~= nil then
3209
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3210
else
3211
break
3212
end
3213
end
3214
end))
3215
end
3216
coroutine.resume(coroutine.create(function()
3217
for i = 0,10/bonuspeed,0.1 do
3218
swait()
3219
if type == "Add" then
3220
scaler2 = scaler2 - 0.01*value/bonuspeed
3221
scaler2b = scaler2b - 0.01*value/bonuspeed
3222
scaler2c = scaler2c - 0.01*value/bonuspeed
3223
elseif type == "Divide" then
3224
scaler2 = scaler2 - 0.01/value*bonuspeed
3225
scaler2b = scaler2b - 0.01/value*bonuspeed
3226
scaler2c = scaler2c - 0.01/value*bonuspeed
3227
end
3228
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3229
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
3230
end
3231
rng:Destroy()
3232
end))
3233
end
3234
3235
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
3236
local type = type
3237
local rotenable = rotatingop
3238
local rng = Instance.new("Part", char)
3239
        rng.Anchored = true
3240
        rng.BrickColor = color
3241
        rng.CanCollide = false
3242
        rng.FormFactor = 3
3243
        rng.Name = "Ring"
3244
        rng.Material = "Neon"
3245
        rng.Size = Vector3.new(1, 1, 1)
3246
        rng.Transparency = 0
3247
if typeoftrans == "In" then
3248
rng.Transparency = 1
3249
end
3250
        rng.TopSurface = 0
3251
        rng.BottomSurface = 0
3252
        rng.CFrame = pos
3253
        local rngm = Instance.new("SpecialMesh", rng)
3254
        rngm.MeshType = "FileMesh"
3255
if typeofshape == "Normal" then
3256
rngm.MeshId = "rbxassetid://662586858"
3257
elseif typeofshape == "Round" then
3258
rngm.MeshId = "rbxassetid://662585058"
3259
end
3260
rngm.Scale = scale
3261
local scaler2 = 1/10
3262
if type == "Add" then
3263
scaler2 = 1*value/10
3264
elseif type == "Divide" then
3265
scaler2 = 1/value/10
3266
end
3267
local randomrot = math.random(1,2)
3268
coroutine.resume(coroutine.create(function()
3269
for i = 0,10/bonuspeed,0.1 do
3270
swait()
3271
if type == "Add" then
3272
scaler2 = scaler2 - 0.01*value/bonuspeed/10
3273
elseif type == "Divide" then
3274
scaler2 = scaler2 - 0.01/value*bonuspeed/10
3275
end
3276
if rotenable == true then
3277
if randomrot == 1 then
3278
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
3279
elseif randomrot == 2 then
3280
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
3281
end
3282
end
3283
if typeoftrans == "Out" then
3284
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3285
elseif typeoftrans == "In" then
3286
rng.Transparency = rng.Transparency - 0.01*bonuspeed
3287
end
3288
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
3289
end
3290
rng:Destroy()
3291
end))
3292
end
3293
3294
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3295
local type = type
3296
local rng = Instance.new("Part", char)
3297
        rng.Anchored = true
3298
        rng.BrickColor = color
3299
        rng.CanCollide = false
3300
        rng.FormFactor = 3
3301
        rng.Name = "Ring"
3302
        rng.Material = "Neon"
3303
        rng.Size = Vector3.new(1, 1, 1)
3304
        rng.Transparency = 0
3305
        rng.TopSurface = 0
3306
        rng.BottomSurface = 0
3307
        rng.CFrame = pos
3308
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3309
        local rngm = Instance.new("SpecialMesh", rng)
3310
        rngm.MeshType = "Brick"
3311
rngm.Scale = vt(x1,y1,z1)
3312
if rainbowmode == true then
3313
rng.Color = Color3.new(r/255,g/255,b/255)
3314
end
3315
local scaler2 = 1
3316
local speeder = FastSpeed/10
3317
if type == "Add" then
3318
scaler2 = 1*value
3319
elseif type == "Divide" then
3320
scaler2 = 1/value
3321
end
3322
coroutine.resume(coroutine.create(function()
3323
for i = 0,10/bonuspeed,0.1 do
3324
swait()
3325
if rainbowmode == true then
3326
rng.Color = Color3.new(r/255,g/255,b/255)
3327
end
3328
if type == "Add" then
3329
scaler2 = scaler2 - 0.01*value/bonuspeed
3330
elseif type == "Divide" then
3331
scaler2 = scaler2 - 0.01/value*bonuspeed
3332
end
3333
if chaosmode == true then
3334
rng.BrickColor = BrickColor.random()
3335
end
3336
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
3337
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3338
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
3339
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3340
end
3341
rng:Destroy()
3342
end))
3343
end
3344
3345
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3346
local type = type
3347
local rng = Instance.new("Part", char)
3348
        rng.Anchored = true
3349
        rng.BrickColor = color
3350
        rng.CanCollide = false
3351
        rng.FormFactor = 3
3352
        rng.Name = "Ring"
3353
        rng.Material = "Neon"
3354
        rng.Size = Vector3.new(1, 1, 1)
3355
        rng.Transparency = 0
3356
        rng.TopSurface = 0
3357
        rng.BottomSurface = 0
3358
        rng.CFrame = pos
3359
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3360
        local rngm = Instance.new("SpecialMesh", rng)
3361
        rngm.MeshType = "Brick"
3362
rngm.Scale = vt(x1,y1,z1)
3363
if rainbowmode == true then
3364
rng.Color = Color3.new(r/255,g/255,b/255)
3365
end
3366
local scaler2 = 1
3367
local speeder = FastSpeed/10
3368
if type == "Add" then
3369
scaler2 = 1*value
3370
elseif type == "Divide" then
3371
scaler2 = 1/value
3372
end
3373
coroutine.resume(coroutine.create(function()
3374
for i = 0,10/bonuspeed,0.1 do
3375
swait()
3376
if rainbowmode == true then
3377
rng.Color = Color3.new(r/255,g/255,b/255)
3378
end
3379
if type == "Add" then
3380
scaler2 = scaler2 - 0.01*value/bonuspeed
3381
elseif type == "Divide" then
3382
scaler2 = scaler2 - 0.01/value*bonuspeed
3383
end
3384
if chaosmode == true then
3385
rng.BrickColor = BrickColor.random()
3386
end
3387
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
3388
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3389
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3390
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3391
end
3392
rng:Destroy()
3393
end))
3394
end
3395
3396
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3397
local type = type
3398
local rng = Instance.new("Part", char)
3399
        rng.Anchored = true
3400
        rng.BrickColor = color
3401
        rng.CanCollide = false
3402
        rng.FormFactor = 3
3403
        rng.Name = "Ring"
3404
        rng.Material = "Neon"
3405
        rng.Size = Vector3.new(1, 1, 1)
3406
        rng.Transparency = 0
3407
        rng.TopSurface = 0
3408
        rng.BottomSurface = 0
3409
        rng.CFrame = pos
3410
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3411
        local rngm = Instance.new("SpecialMesh", rng)
3412
        rngm.MeshType = "Brick"
3413
rngm.Scale = vt(x1,y1,z1)
3414
if rainbowmode == true then
3415
rng.Color = Color3.new(r/255,g/255,b/255)
3416
end
3417
local scaler2 = 0
3418
local speeder = FastSpeed/10
3419
if type == "Add" then
3420
scaler2 = 1*value
3421
elseif type == "Divide" then
3422
scaler2 = 1/value
3423
end
3424
coroutine.resume(coroutine.create(function()
3425
for i = 0,10/bonuspeed,0.1 do
3426
swait()
3427
if rainbowmode == true then
3428
rng.Color = Color3.new(r/255,g/255,b/255)
3429
end
3430
if type == "Add" then
3431
scaler2 = scaler2 - 0.01*value/bonuspeed
3432
elseif type == "Divide" then
3433
scaler2 = scaler2 - 0.01/value*bonuspeed
3434
end
3435
if chaosmode == true then
3436
rng.BrickColor = BrickColor.random()
3437
end
3438
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
3439
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3440
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
3441
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3442
end
3443
rng:Destroy()
3444
end))
3445
end
3446
3447
function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
3448
local type = type
3449
local rng = Instance.new("Part", char)
3450
        rng.Anchored = true
3451
        rng.BrickColor = color
3452
        rng.Color = color3
3453
        rng.CanCollide = false
3454
        rng.FormFactor = 3
3455
        rng.Name = "Ring"
3456
        rng.Material = "Neon"
3457
        rng.Size = Vector3.new(1, 1, 1)
3458
        rng.Transparency = 0
3459
        rng.TopSurface = 0
3460
        rng.BottomSurface = 0
3461
        rng.CFrame = pos
3462
        local rngm = Instance.new("SpecialMesh", rng)
3463
        rngm.MeshType = "Brick"
3464
rngm.Scale = scale
3465
local scaler2 = 1
3466
local scaler2b = 1
3467
local scaler2c = 1
3468
if type == "Add" then
3469
scaler2 = 1*value
3470
scaler2b = 1*value2
3471
scaler2c = 1*value3
3472
elseif type == "Divide" then
3473
scaler2 = 1/value
3474
scaler2b = 1/value2
3475
scaler2c = 1/value3
3476
end
3477
coroutine.resume(coroutine.create(function()
3478
for i = 0,10/bonuspeed,0.1 do
3479
swait()
3480
if type == "Add" then
3481
scaler2 = scaler2 - 0.01*value/bonuspeed
3482
scaler2b = scaler2b - 0.01*value/bonuspeed
3483
scaler2c = scaler2c - 0.01*value/bonuspeed
3484
elseif type == "Divide" then
3485
scaler2 = scaler2 - 0.01/value*bonuspeed
3486
scaler2b = scaler2b - 0.01/value*bonuspeed
3487
scaler2c = scaler2c - 0.01/value*bonuspeed
3488
end
3489
rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3490
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3491
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
3492
end
3493
rng:Destroy()
3494
end))
3495
end
3496
3497
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3498
local type = type
3499
local rng = Instance.new("Part", char)
3500
        rng.Anchored = true
3501
if ModeOfGlitch ~= 9 then
3502
        rng.BrickColor = color
3503
elseif ModeOfGlitch == 9 then
3504
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3505
end
3506
        rng.CanCollide = false
3507
        rng.FormFactor = 3
3508
        rng.Name = "Ring"
3509
        rng.Material = "Neon"
3510
        rng.Size = Vector3.new(1, 1, 1)
3511
        rng.Transparency = 0
3512
        rng.TopSurface = 0
3513
        rng.BottomSurface = 0
3514
        rng.CFrame = pos
3515
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3516
        local rngm = Instance.new("SpecialMesh", rng)
3517
        rngm.MeshType = "Sphere"
3518
rngm.Scale = vt(x1,y1,z1)
3519
if rainbowmode == true then
3520
rng.Color = Color3.new(r/255,g/255,b/255)
3521
end
3522
if ModeOfGlitch == 9 then
3523
coroutine.resume(coroutine.create(function()
3524
while true do
3525
swait()
3526
if rng.Parent ~= nil then
3527
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3528
else
3529
break
3530
end
3531
end
3532
end))
3533
end
3534
local scaler2 = 1
3535
local speeder = FastSpeed
3536
if type == "Add" then
3537
scaler2 = 1*value
3538
elseif type == "Divide" then
3539
scaler2 = 1/value
3540
end
3541
coroutine.resume(coroutine.create(function()
3542
for i = 0,10/bonuspeed,0.1 do
3543
swait()
3544
if rainbowmode == true then
3545
rng.Color = Color3.new(r/255,g/255,b/255)
3546
end
3547
if type == "Add" then
3548
scaler2 = scaler2 - 0.01*value/bonuspeed
3549
elseif type == "Divide" then
3550
scaler2 = scaler2 - 0.01/value*bonuspeed
3551
end
3552
if chaosmode == true then
3553
rng.BrickColor = BrickColor.random()
3554
end
3555
speeder = speeder - 0.01*FastSpeed*bonuspeed
3556
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3557
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3558
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3559
end
3560
rng:Destroy()
3561
end))
3562
end
3563
3564
3565
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3566
local type = type
3567
local rng = Instance.new("Part", char)
3568
        rng.Anchored = true
3569
if ModeOfGlitch ~= 9 then
3570
        rng.BrickColor = color
3571
elseif ModeOfGlitch == 9 then
3572
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3573
end
3574
        rng.CanCollide = false
3575
        rng.FormFactor = 3
3576
        rng.Name = "Ring"
3577
        rng.Material = "Neon"
3578
        rng.Size = Vector3.new(1, 1, 1)
3579
        rng.Transparency = 1
3580
        rng.TopSurface = 0
3581
        rng.BottomSurface = 0
3582
        rng.CFrame = pos
3583
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3584
        local rngm = Instance.new("SpecialMesh", rng)
3585
        rngm.MeshType = "Sphere"
3586
rngm.Scale = vt(x1,y1,z1)
3587
if rainbowmode == true then
3588
rng.Color = Color3.new(r/255,g/255,b/255)
3589
end
3590
if ModeOfGlitch == 9 then
3591
coroutine.resume(coroutine.create(function()
3592
while true do
3593
swait()
3594
if rng.Parent ~= nil then
3595
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3596
else
3597
break
3598
end
3599
end
3600
end))
3601
end
3602
local scaler2 = 1
3603
local speeder = FastSpeed
3604
if type == "Add" then
3605
scaler2 = 1*value
3606
elseif type == "Divide" then
3607
scaler2 = 1/value
3608
end
3609
coroutine.resume(coroutine.create(function()
3610
for i = 0,10/bonuspeed,0.1 do
3611
swait()
3612
if rainbowmode == true then
3613
rng.Color = Color3.new(r/255,g/255,b/255)
3614
end
3615
if type == "Add" then
3616
scaler2 = scaler2 - 0.01*value/bonuspeed
3617
elseif type == "Divide" then
3618
scaler2 = scaler2 - 0.01/value*bonuspeed
3619
end
3620
if chaosmode == true then
3621
rng.BrickColor = BrickColor.random()
3622
end
3623
speeder = speeder - 0.01*FastSpeed*bonuspeed
3624
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3625
rng.Transparency = rng.Transparency - 0.01*bonuspeed
3626
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3627
end
3628
rng:Destroy()
3629
end))
3630
end
3631
3632
function dmg(dude)
3633
if dude.Name ~= Character then
3634
local keptcolor = MAINRUINCOLOR
3635
local bgf = Instance.new("BodyGyro",dude.Head)
3636
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
3637
--[[local val = Instance.new("BoolValue",dude)
3638
val.Name = "IsHit"]]--
3639
local ds = coroutine.wrap(function()
3640
dude:WaitForChild("Head"):BreakJoints()
3641
for i, v in pairs(dude:GetChildren()) do
3642
if v:IsA("Part") or v:IsA("MeshPart") then
3643
v.Name = "DEMINISHED"
3644
end
3645
end
3646
wait(0.5)
3647
targetted = nil
3648
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
3649
coroutine.resume(coroutine.create(function()
3650
for i, v in pairs(dude:GetChildren()) do
3651
if v:IsA("Accessory") then
3652
v:Destroy()
3653
end
3654
if v:IsA("Humanoid") then
3655
v:Destroy()
3656
end
3657
if v:IsA("CharacterMesh") then
3658
v:Destroy()
3659
end
3660
if v:IsA("Model") then
3661
v:Destroy()
3662
end
3663
if v:IsA("Part") or v:IsA("MeshPart") then
3664
for x, o in pairs(v:GetChildren()) do
3665
if o:IsA("Decal") then
3666
o:Destroy()
3667
end
3668
end
3669
coroutine.resume(coroutine.create(function()
3670
v.Material = "Neon"
3671
v.CanCollide = false
3672
v.Anchored = false
3673
local bld = Instance.new("ParticleEmitter",v)
3674
bld.LightEmission = 0.75
3675
bld.Texture = "rbxassetid://363275192" ---284205403
3676
bld.Color = ColorSequence.new(keptcolor.Color)
3677
bld.Rate = 500
3678
bld.Lifetime = NumberRange.new(1)
3679
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
3680
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
3681
bld.Speed = NumberRange.new(2,5)
3682
bld.VelocitySpread = 50000
3683
bld.Rotation = NumberRange.new(-500,500)
3684
bld.RotSpeed = NumberRange.new(-500,500)
3685
        local sbs = Instance.new("BodyPosition", v)
3686
        sbs.P = 3000
3687
        sbs.D = 1000
3688
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
3689
        sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
3690
v.Color = keptcolor.Color
3691
coroutine.resume(coroutine.create(function()
3692
for i = 0, 49 do
3693
swait(1)
3694
v:BreakJoints()
3695
v.Transparency = v.Transparency + 0.02
3696
end
3697
v:BreakJoints()
3698
sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
3699
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
3700
bld.Speed = NumberRange.new(10,25)
3701
bld.Drag = 5
3702
bld.Acceleration = vt(0,2,0)
3703
wait(0.5)
3704
bld.Enabled = false
3705
wait(8)
3706
v:Destroy()
3707
dude:Destroy()
3708
end))
3709
end))
3710
end
3711
end
3712
end))
3713
end)
3714
ds()
3715
end
3716
end
3717
3718
3719
function FindNearestHead(Position, Distance, SinglePlayer)
3720
	if SinglePlayer then
3721
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
3722
	end
3723
	local List = {}
3724
	for i, v in pairs(workspace:GetChildren()) do
3725
		if v:IsA("Model") then
3726
			if v:findFirstChild("Head") then
3727
				if v ~= Character then
3728
					if (v.Head.Position - Position).magnitude <= Distance then
3729
						table.insert(List, v)
3730
					end 
3731
				end 
3732
			end 
3733
		end 
3734
	end
3735
	return List
3736
end
3737
3738
function FaceMouse()
3739
  Cam = workspace.CurrentCamera
3740
  return {
3741
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
3742
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3743
  }
3744
end
3745
3746
function FaceMouse2()
3747
  Cam = workspace.CurrentCamera
3748
  return {
3749
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
3750
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3751
  }
3752
end
3753
3754
local ModeOfGlitch = 1
3755
-- Functions are ready.
3756
local storehumanoidWS = 16
3757
3758
function CorruptBlink()
3759
for i = 0, 14 do
3760
PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
3761
end
3762
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3763
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
3764
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
3765
CameraEnshaking(2,10)
3766
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
3767
if v:FindFirstChild('Head') then
3768
dmg(v)
3769
end
3770
end
3771
for i = 0, 14 do
3772
PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
3773
end
3774
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3775
end
3776
3777
function PureBomb()
3778
attack = true
3779
CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
3780
CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
3781
bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
3782
local orb = Instance.new("Part", char)
3783
        orb.Anchored = true
3784
        orb.BrickColor = BrickColor.new("Toothpaste")
3785
        orb.CanCollide = false
3786
        orb.FormFactor = 3
3787
        orb.Name = "Ring"
3788
        orb.Material = "Neon"
3789
        orb.Size = Vector3.new(1, 1, 1)
3790
        orb.Transparency = 0
3791
        orb.TopSurface = 0
3792
        orb.BottomSurface = 0
3793
        local orbm = Instance.new("SpecialMesh", orb)
3794
        orbm.MeshType = "Sphere"
3795
orbm.Name = "SizeMesh"
3796
orbm.Scale = vt(0,0,0)
3797
local scaled = 0.1
3798
local posid = 0
3799
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
3800
for i = 0, 5, 0.1 do
3801
swait()
3802
scaled = scaled - 0.001
3803
posid = posid - scaled
3804
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3805
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
3806
sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
3807
PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
3808
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
3809
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
3810
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3811
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3812
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
3813
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
3814
end
3815
for i = 0, 2, 0.1 do
3816
swait()
3817
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3818
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
3819
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
3820
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
3821
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
3822
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
3823
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
3824
end
3825
CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
3826
CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
3827
bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
3828
coroutine.resume(coroutine.create(function()
3829
orb.Anchored = false
3830
CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
3831
	local a = Instance.new("Part",workspace)
3832
	a.Name = "Direction"	
3833
	a.Anchored = true
3834
	a.BrickColor = bc("Bright red")
3835
a.Material = "Neon"
3836
a.Transparency = 1
3837
	a.CanCollide = false
3838
	local ray = Ray.new(
3839
	    orb.CFrame.p,                           -- origin
3840
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
3841
	) 
3842
	local ignore = orb
3843
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3844
	a.BottomSurface = 10
3845
	a.TopSurface = 10
3846
	local distance = (orb.CFrame.p - position).magnitude
3847
	a.Size = Vector3.new(0.1, 0.1, 0.1)
3848
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3849
orb.CFrame = a.CFrame
3850
a:Destroy()
3851
local bv = Instance.new("BodyVelocity")
3852
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3853
bv.velocity = orb.CFrame.lookVector*125
3854
bv.Parent = orb
3855
local hitted = false
3856
game:GetService("Debris"):AddItem(orb, 15)
3857
wait()
3858
local hit =orb.Touched:connect(function(hit) 
3859
	if hitted == false then
3860
	hitted = true
3861
CameraEnshaking(10,2.5)
3862
	MagniDamage(orb, 65, 65,90, 0, "Normal")
3863
sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
3864
sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
3865
for i = 0, 49 do
3866
PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
3867
end
3868
local eff = Instance.new("ParticleEmitter",orb)
3869
eff.Texture = "rbxassetid://2273224484"
3870
eff.LightEmission = 1
3871
eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
3872
eff.Rate = 500000
3873
eff.Lifetime = NumberRange.new(0.5,2)
3874
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
3875
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
3876
eff.Speed = NumberRange.new(20,250)
3877
eff.Drag = 5
3878
eff.Rotation = NumberRange.new(-500,500)
3879
eff.VelocitySpread = 9000
3880
eff.RotSpeed = NumberRange.new(-50,50)
3881
coroutine.resume(coroutine.create(function()
3882
wait(0.25)
3883
eff.Enabled = false
3884
end))
3885
CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
3886
for i = 0, 9 do
3887
sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
3888
sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
3889
end
3890
orb.Anchored = true
3891
orb.Transparency = 1
3892
local eff = Instance.new("ParticleEmitter",orb)
3893
eff.Texture = "rbxassetid://2273224484"
3894
eff.LightEmission = 1
3895
eff.Color = ColorSequence.new(Color3.new(M))
3896
eff.Rate = 500000
3897
eff.Lifetime = NumberRange.new(0.5,2)
3898
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
3899
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
3900
eff.Speed = NumberRange.new(20,250)
3901
eff.Drag = 5
3902
eff.Rotation = NumberRange.new(-500,500)
3903
eff.VelocitySpread = 9000
3904
eff.RotSpeed = NumberRange.new(-50,50)
3905
coroutine.resume(coroutine.create(function()
3906
wait(1)
3907
eff.Enabled = false
3908
end))
3909
wait(8)
3910
orb:Destroy()
3911
end
3912
end)
3913
end))
3914
for i = 0, 1, 0.1 do
3915
swait()
3916
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
3917
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
3918
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
3919
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
3920
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
3921
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
3922
end
3923
attack = false
3924
end
3925
3926
function BanishingOrb()
3927
attack = true
3928
hum.WalkSpeed = 0
3929
local radm = math.random(1,3)
3930
if radm == 1 then
3931
bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
3932
elseif radm == 2 then
3933
bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
3934
elseif radm == 3 then
3935
bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
3936
end
3937
CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
3938
CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
3939
local orb = Instance.new("Part", char)
3940
        orb.Anchored = true
3941
        orb.BrickColor = BrickColor.new("Lime green")
3942
        orb.CanCollide = false
3943
        orb.FormFactor = 3
3944
        orb.Name = "Ring"
3945
        orb.Material = "Neon"
3946
        orb.Size = Vector3.new(1, 1, 1)
3947
        orb.Transparency = 0
3948
        orb.TopSurface = 0
3949
        orb.BottomSurface = 0
3950
        local orbm = Instance.new("SpecialMesh", orb)
3951
        orbm.MeshType = "Sphere"
3952
orbm.Name = "SizeMesh"
3953
orbm.Scale = vt(0,0,0)
3954
local scaled = 0.1
3955
local posid = 0
3956
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
3957
for i = 0, 5, 0.1 do
3958
swait()
3959
scaled = scaled - 0.001
3960
posid = posid - scaled
3961
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3962
local scaled = 0.1
3963
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
3964
sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Cool yellow"),10)
3965
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
3966
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
3967
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3968
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3969
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
3970
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
3971
end
3972
for i = 0, 2, 0.1 do
3973
swait()
3974
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3975
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
3976
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
3977
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
3978
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
3979
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
3980
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
3981
end
3982
coroutine.resume(coroutine.create(function()
3983
orb.Anchored = false
3984
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
3985
    local a = Instance.new("Part",workspace)
3986
    a.Name = "Direction"   
3987
    a.Anchored = true
3988
    a.BrickColor = bc("Lime green")
3989
a.Material = "Neon"
3990
a.Transparency = 1
3991
    a.CanCollide = false
3992
    local ray = Ray.new(
3993
        orb.CFrame.p,                           -- origin
3994
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
3995
    )
3996
    local ignore = orb
3997
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3998
    a.BottomSurface = 10
3999
    a.TopSurface = 10
4000
    local distance = (orb.CFrame.p - position).magnitude
4001
    a.Size = Vector3.new(0.1, 0.1, 0.1)
4002
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4003
orb.CFrame = a.CFrame
4004
a:Destroy()
4005
local bv = Instance.new("BodyVelocity")
4006
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4007
bv.velocity = orb.CFrame.lookVector*0
4008
bv.Parent = orb
4009
local hitted = false
4010
local rate = 0
4011
coroutine.resume(coroutine.create(function()
4012
for i = 0, 24 do
4013
wait(0.1)
4014
rate = rate + 0.25
4015
bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
4016
for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
4017
if v:FindFirstChild('Head') then
4018
dmg(v)
4019
end
4020
end
4021
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
4022
sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
4023
sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
4024
end
4025
orb.Anchored = true
4026
orb.Transparency = 1
4027
for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
4028
if v:FindFirstChild('Head') then
4029
dmg(v)
4030
end
4031
end
4032
local eff = Instance.new("ParticleEmitter",orb)
4033
eff.Texture = "rbxassetid://296874871"
4034
eff.LightEmission = 0.95
4035
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4036
eff.Rate = 1000000000
4037
eff.Lifetime = NumberRange.new(3)
4038
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
4039
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4040
eff.Speed = NumberRange.new(30)
4041
eff.Acceleration = vt(0,-15,0)
4042
eff.Rotation = NumberRange.new(-500,500)
4043
eff.VelocitySpread = 100000
4044
eff.RotSpeed = NumberRange.new(-500,500)
4045
coroutine.resume(coroutine.create(function()
4046
    wait(0.6)
4047
    eff.Enabled = false
4048
end))
4049
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
4050
CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
4051
sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
4052
sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4053
sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
4054
game:GetService("Debris"):AddItem(orb, 15)
4055
end))
4056
end))
4057
for i = 0, 1, 0.1 do
4058
swait()
4059
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
4060
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
4061
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
4062
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
4063
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
4064
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
4065
end
4066
hum.WalkSpeed = storehumanoidWS
4067
attack = false
4068
end
4069
 
4070
4071
function ChaosGroundStrike()
4072
attack = true
4073
for i = 0, 2, 0.1 do
4074
swait()
4075
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
4076
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
4077
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
4078
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
4079
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
4080
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
4081
end
4082
bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
4083
CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1)
4084
CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1)
4085
CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
4086
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
4087
CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2, 1)
4088
CameraEnshaking(4,12)
4089
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
4090
if v:FindFirstChild('Head') then
4091
dmg(v)
4092
end
4093
end
4094
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
4095
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
4096
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
4097
for i = 0, 2, 0.1 do
4098
swait()
4099
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
4100
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
4101
RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
4102
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
4103
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4104
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4105
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
4106
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
4107
end
4108
attack = false
4109
end
4110
4111
function Starfall()
4112
attack = true
4113
hum.WalkSpeed = 0
4114
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
4115
for i = 0, 5, 0.1 do
4116
swait()
4117
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4118
PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4119
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
4120
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
4121
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4122
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
4123
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
4124
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
4125
end
4126
local Overed = false
4127
CameraEnshaking(2,20)
4128
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4129
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4130
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
4131
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
4132
local orb = Instance.new("Part", char)
4133
        orb.Anchored = true
4134
        orb.BrickColor = BrickColor.new("Toothpaste")
4135
        orb.CanCollide = false
4136
        orb.FormFactor = 3
4137
        orb.Name = "Remenant"
4138
        orb.Material = "Neon"
4139
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
4140
        orb.Size = Vector3.new(1, 1, 1)
4141
        orb.Transparency = 1
4142
        orb.TopSurface = 0
4143
        orb.BottomSurface = 0
4144
hum.WalkSpeed = storehumanoidWS
4145
coroutine.resume(coroutine.create(function()
4146
for i = 0, 9 do
4147
swait(10)
4148
				 local lb = Instance.new("Part")
4149
    lb.Color = MAINRUINCOLOR.Color
4150
     lb.CanCollide = false
4151
lb.Material = "Neon"
4152
     lb.Anchored = true
4153
lb.TopSurface = 0
4154
        lb.BottomSurface = 0
4155
     lb.Transparency = 0
4156
     lb.Size = vt(1,1,1)
4157
     lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
4158
lb.Anchored = false
4159
  lb.Parent = char
4160
local thingery = Instance.new("SpecialMesh",lb)
4161
     thingery.MeshType = "Sphere"
4162
thingery.Scale = vt(20,20,20)
4163
game:GetService("Debris"):AddItem(lb, 10)
4164
  local bv = Instance.new("BodyVelocity")
4165
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4166
  bv.velocity = lb.CFrame.lookVector*math.random(75,250)
4167
  bv.Parent = lb
4168
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
4169
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
4170
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
4171
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
4172
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
4173
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
4174
local hitted = false
4175
coroutine.resume(coroutine.create(function()
4176
while true do
4177
swait(1)
4178
if lb.Parent ~= nil and hitted == false then
4179
PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
4180
elseif lb.Parent == nil then
4181
break
4182
end
4183
end
4184
end))
4185
4186
game:GetService("Debris"):AddItem(a, 0.1)
4187
4188
coroutine.resume(coroutine.create(function()
4189
swait(1)
4190
lb.Touched:connect(function(hit)
4191
if hitted == false then
4192
hitted = true
4193
lb.Transparency = 1
4194
lb.Anchored = true
4195
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
4196
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
4197
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
4198
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
4199
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
4200
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
4201
MagniDamage(lb, 45, 45,85, 0, "Normal")
4202
CameraEnshaking(1,5)
4203
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
4204
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
4205
for i = 0, 9 do
4206
sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
4207
end
4208
for i = 0, 49 do
4209
swait()
4210
MagniDamage(lb, 30, 2,4, 0, "Normal")
4211
PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
4212
end
4213
end
4214
end)
4215
end))
4216
end
4217
Overed = true
4218
orb:Destroy()
4219
end))
4220
4221
attack = false
4222
end
4223
4224
function StarfallEX()
4225
attack = true
4226
hum.WalkSpeed = 0
4227
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
4228
for i = 0, 10, 0.1 do
4229
swait()
4230
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4231
PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4232
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
4233
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
4234
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4235
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
4236
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
4237
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
4238
end
4239
local Overed = false
4240
CameraEnshaking(2,20)
4241
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4242
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4243
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
4244
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
4245
local orb = Instance.new("Part", char)
4246
        orb.Anchored = true
4247
        orb.BrickColor = BrickColor.new("Toothpaste")
4248
        orb.CanCollide = false
4249
        orb.FormFactor = 3
4250
        orb.Name = "Remenant"
4251
        orb.Material = "Neon"
4252
orb.CFrame = root.CFrame*CFrame.new(0,250,0)
4253
        orb.Size = Vector3.new(1, 1, 1)
4254
        orb.Transparency = 1
4255
        orb.TopSurface = 0
4256
        orb.BottomSurface = 0
4257
hum.WalkSpeed = storehumanoidWS
4258
coroutine.resume(coroutine.create(function()
4259
for i = 0, 4 do
4260
swait(15)
4261
				 local lb = Instance.new("Part")
4262
    lb.Color = MAINRUINCOLOR.Color
4263
     lb.CanCollide = false
4264
lb.Material = "Neon"
4265
     lb.Anchored = true
4266
lb.TopSurface = 0
4267
        lb.BottomSurface = 0
4268
     lb.Transparency = 0
4269
     lb.Size = vt(1,1,1)
4270
     lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
4271
lb.Anchored = false
4272
  lb.Parent = char
4273
local thingery = Instance.new("SpecialMesh",lb)
4274
     thingery.MeshType = "Sphere"
4275
thingery.Scale = vt(50,50,50)
4276
game:GetService("Debris"):AddItem(lb, 10)
4277
  local bv = Instance.new("BodyVelocity")
4278
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4279
  bv.velocity = lb.CFrame.lookVector*math.random(50,420)
4280
  bv.Parent = lb
4281
sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
4282
sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
4283
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
4284
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
4285
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
4286
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
4287
local hitted = false
4288
coroutine.resume(coroutine.create(function()
4289
while true do
4290
swait(1)
4291
if lb.Parent ~= nil and hitted == false then
4292
PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
4293
elseif lb.Parent == nil then
4294
break
4295
end
4296
end
4297
end))
4298
4299
game:GetService("Debris"):AddItem(a, 0.1)
4300
4301
coroutine.resume(coroutine.create(function()
4302
swait(1)
4303
lb.Touched:connect(function(hit)
4304
if hitted == false then
4305
hitted = true
4306
lb.Transparency = 1
4307
lb.Anchored = true
4308
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
4309
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
4310
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
4311
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
4312
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
4313
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
4314
MagniDamage(lb, 50, 60,99, 0, "Normal")
4315
CameraEnshaking(1,5)
4316
sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
4317
sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
4318
for i = 0, 9 do
4319
sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
4320
end
4321
for i = 0, 99 do
4322
swait()
4323
MagniDamage(lb, 30, 6,18, 0, "Normal")
4324
PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
4325
end
4326
end
4327
end)
4328
end))
4329
end
4330
Overed = true
4331
orb:Destroy()
4332
end))
4333
4334
attack = false
4335
end
4336
4337
function DivineBlast()
4338
attack = true
4339
bosschatfunc("I WILL END YOU!",MAINRUINCOLOR.Color,0.7)
4340
hum.WalkSpeed = 0
4341
local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
4342
elocacenter.Anchored = true
4343
elocacenter.CFrame = sorb.CFrame
4344
local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
4345
eloca1.Anchored = true
4346
eloca1.CFrame = elocacenter.CFrame
4347
local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
4348
eloca2.Anchored = true
4349
eloca2.CFrame = elocacenter.CFrame
4350
local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
4351
eloca3.Anchored = true
4352
eloca3.CFrame = elocacenter.CFrame
4353
local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
4354
eloca4.Anchored = true
4355
eloca4.CFrame = elocacenter.CFrame
4356
local lookavec = 0
4357
local speeds = 0
4358
CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
4359
for i = 0, 3, 0.1 do
4360
swait()
4361
---
4362
lookavec = lookavec + 0.1
4363
speeds = speeds + 10
4364
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4365
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4366
PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4367
 
4368
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4369
PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4370
 
4371
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4372
PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4373
 
4374
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4375
PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4376
---
4377
root.CFrame = FaceMouse()[1]
4378
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4379
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4380
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4381
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
4382
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
4383
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
4384
end
4385
for i = 0, 3, 0.1 do
4386
swait()
4387
---
4388
speeds = speeds + 10
4389
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4390
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4391
PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4392
 
4393
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4394
PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4395
 
4396
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4397
PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4398
 
4399
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4400
PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4401
---
4402
root.CFrame = FaceMouse()[1]
4403
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4404
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4405
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4406
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
4407
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
4408
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
4409
end
4410
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
4411
CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
4412
for i = 0, 3, 0.1 do
4413
swait()
4414
---
4415
speeds = speeds + 10
4416
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4417
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4418
PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4419
 
4420
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4421
PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4422
 
4423
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4424
PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4425
 
4426
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4427
PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
4428
---
4429
root.CFrame = FaceMouse()[1]
4430
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4431
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4432
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
4433
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
4434
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
4435
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
4436
end
4437
coroutine.resume(coroutine.create(function()
4438
local a = Instance.new("Part",Character)
4439
    a.Name = "Direction"   
4440
    a.Anchored = true
4441
    a.BrickColor = bc("White")
4442
a.Material = "Neon"
4443
a.Transparency = 0
4444
a.Shape = "Cylinder"
4445
    a.CanCollide = false
4446
local a2 = Instance.new("Part",Character)
4447
    a2.Name = "Direction"  
4448
    a2.Anchored = true
4449
    a2.BrickColor = bc("Bright yellow")
4450
a2.Material = "Neon"
4451
a2.Transparency = 0
4452
a2.Shape = "Cylinder"
4453
    a2.CanCollide = false
4454
local b = Instance.new("Part",Character)
4455
    b.Name = "HitDirect"   
4456
    b.Anchored = true
4457
    b.BrickColor = bc("Cool yellow")
4458
b.Material = "Neon"
4459
b.Transparency = 1
4460
    b.CanCollide = false
4461
    local ray = Ray.new(
4462
        elocacenter.CFrame.p,                           -- origin
4463
        (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
4464
    )
4465
    local ignore = Character
4466
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4467
    a.BottomSurface = 10
4468
    a.TopSurface = 10
4469
    a2.BottomSurface = 10
4470
    a2.TopSurface = 10
4471
    local distance = (elocacenter.CFrame.p - position).magnitude
4472
    a.Size = Vector3.new(distance, 1, 1)
4473
    a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4474
    a2.Size = Vector3.new(distance, 1, 1)
4475
    a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4476
b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
4477
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4478
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4479
game:GetService("Debris"):AddItem(a, 10)
4480
game:GetService("Debris"):AddItem(a2, 10)
4481
game:GetService("Debris"):AddItem(b, 10)
4482
local eff = Instance.new("ParticleEmitter",b)
4483
eff.Texture = "rbxassetid://2273224484"
4484
eff.LightEmission = 1
4485
eff.Color = ColorSequence.new(Color3.new(1,1,0))
4486
eff.Rate = 500000
4487
eff.Lifetime = NumberRange.new(0.5,2)
4488
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
4489
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
4490
eff.Speed = NumberRange.new(20,250)
4491
eff.Drag = 5
4492
eff.Rotation = NumberRange.new(-500,500)
4493
eff.VelocitySpread = 9000
4494
eff.RotSpeed = NumberRange.new(-50,50)
4495
coroutine.resume(coroutine.create(function()
4496
wait(0.25)
4497
eff.Enabled = false
4498
end))
4499
local msh = Instance.new("SpecialMesh",a)
4500
msh.MeshType = "Cylinder"
4501
msh.Scale = vt(1,2,2)
4502
local msh2 = Instance.new("SpecialMesh",a2)
4503
msh2.MeshType = "Cylinder"
4504
msh2.Scale = vt(1,2.5,2.5)
4505
CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
4506
coroutine.resume(coroutine.create(function()
4507
for i = 0,10,0.1 do
4508
swait()
4509
msh.Scale = msh.Scale + vt(0,0.05,0.05)
4510
a.Transparency = a.Transparency + 0.025
4511
msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
4512
a2.Transparency = a2.Transparency + 0.05
4513
end
4514
a:Destroy()
4515
a2:Destroy()
4516
end))
4517
CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
4518
CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
4519
CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
4520
CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
4521
CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
4522
CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
4523
MagniDamage(b, 25, 40,65, 0, "Normal")
4524
for i = 0, 49 do
4525
PixelBlock(2,math.random(10,20),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.04,BrickColor.new("Bright yellow"),0)
4526
PixelBlock(1,math.random(1,10),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Bright yellow"),0)
4527
end
4528
sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
4529
sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
4530
sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
4531
sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
4532
sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
4533
sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
4534
end))
4535
game:GetService("Debris"):AddItem(elocacenter, 5)
4536
hum.WalkSpeed = storehumanoidWS
4537
attack = false
4538
end
4539
 
4540
4541
function StarDivision()
4542
attack = true
4543
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
4544
for i = 0, 2, 0.1 do
4545
swait()
4546
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4547
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4548
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4549
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
4550
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
4551
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
4552
end
4553
local orb = Instance.new("Part", char)
4554
        orb.BrickColor = MAINRUINCOLOR
4555
        orb.CanCollide = false
4556
        orb.FormFactor = 3
4557
        orb.Name = "Ring"
4558
        orb.Material = "Neon"
4559
        orb.Size = Vector3.new(1, 1, 1)
4560
        orb.Transparency = 0
4561
        orb.TopSurface = 0
4562
        orb.BottomSurface = 0
4563
        local orbm = Instance.new("SpecialMesh", orb)
4564
        orbm.MeshType = "Sphere"
4565
orbm.Name = "SizeMesh"
4566
orbm.Scale = vt(2,2,2)
4567
local a = Instance.new("Part",workspace)
4568
	a.Name = "Direction"	
4569
	a.Anchored = true
4570
	a.BrickColor = bc("Bright red")
4571
a.Material = "Neon"
4572
a.Transparency = 1
4573
	a.CanCollide = false
4574
	local ray = Ray.new(
4575
	    sorb.CFrame.p,                           -- origin
4576
	    (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
4577
	) 
4578
	local ignore = sorb
4579
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4580
	a.BottomSurface = 10
4581
	a.TopSurface = 10
4582
	local distance = (sorb.CFrame.p - position).magnitude
4583
	a.Size = Vector3.new(0.1, 0.1, 0.1)
4584
	a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
4585
orb.CFrame = a.CFrame
4586
a:Destroy()
4587
local bv = Instance.new("BodyVelocity")
4588
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4589
bv.velocity = orb.CFrame.lookVector*100
4590
bv.Parent = orb
4591
local hitted = false
4592
game:GetService("Debris"):AddItem(orb, 10)
4593
CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
4594
CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
4595
CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
4596
CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
4597
CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
4598
coroutine.resume(coroutine.create(function()
4599
while true do
4600
swait(1)
4601
if orb.Parent ~= nil and hitted == false then
4602
PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
4603
elseif orb.Parent == nil then
4604
break
4605
end
4606
end
4607
end))
4608
coroutine.resume(coroutine.create(function()
4609
swait(1)
4610
orb.Touched:connect(function(hit)
4611
if hitted == false then
4612
hitted = true
4613
game:GetService("Debris"):AddItem(orb, 5)
4614
orb.Transparency = 1
4615
orb.Anchored = true
4616
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4617
elocacenter.Anchored = true
4618
elocacenter.CFrame = orb.CFrame
4619
elocacenter.Orientation = vt(0,0,0)
4620
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4621
eloca1.Anchored = true
4622
eloca1.CFrame = elocacenter.CFrame
4623
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4624
eloca2.Anchored = true
4625
eloca2.CFrame = elocacenter.CFrame
4626
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4627
eloca3.Anchored = true
4628
eloca3.CFrame = elocacenter.CFrame
4629
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
4630
eloca4.Anchored = true
4631
eloca4.CFrame = elocacenter.CFrame
4632
local lookavec = 0 
4633
local speeds = 0
4634
CameraEnshaking(1,1)
4635
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
4636
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4637
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4638
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4639
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4640
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4641
for i = 0, 99 do
4642
swait()
4643
lookavec = lookavec + 1
4644
speeds = speeds + 0.1
4645
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4646
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4647
PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4648
4649
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4650
PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4651
4652
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4653
PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4654
4655
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4656
PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4657
end
4658
4659
for i = 0, 149 do
4660
swait()
4661
speeds = speeds + 0.1
4662
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4663
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4664
PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4665
4666
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4667
PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4668
4669
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4670
PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4671
4672
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4673
PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4674
end
4675
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
4676
if v:FindFirstChild('Head') then
4677
dmg(v)
4678
end
4679
end
4680
CameraEnshaking(7,30)
4681
MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
4682
CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
4683
CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
4684
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
4685
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
4686
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
4687
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
4688
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4689
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4690
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4691
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4692
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4693
for i = 0, 24 do
4694
sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
4695
sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
4696
sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
4697
sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
4698
end
4699
coroutine.resume(coroutine.create(function()
4700
for i = 0, 499 do
4701
swait(1)
4702
MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
4703
PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
4704
end
4705
elocacenter:Destroy()
4706
eloca1:Destroy()
4707
eloca2:Destroy()
4708
eloca3:Destroy()
4709
eloca4:Destroy()
4710
end))
4711
end
4712
end)
4713
end))
4714
attack = false
4715
end
4716
4717
4718
function THE_TRUE_POWER_OF_VIOLENCE()
4719
attack = true
4720
hum.WalkSpeed = 0
4721
bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
4722
for i = 0, 10, 0.1 do
4723
swait()
4724
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4725
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
4726
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
4727
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
4728
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
4729
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
4730
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
4731
end
4732
local orb = Instance.new("Part", char)
4733
        orb.BrickColor = MAINRUINCOLOR
4734
        orb.CanCollide = false
4735
        orb.FormFactor = 3
4736
        orb.Name = "Ring"
4737
        orb.Material = "Neon"
4738
        orb.Size = Vector3.new(1, 1, 1)
4739
        orb.Transparency = 0
4740
        orb.TopSurface = 0
4741
        orb.BottomSurface = 0
4742
orb.CFrame = sorb.CFrame
4743
        local orbm = Instance.new("SpecialMesh", orb)
4744
        orbm.MeshType = "Sphere"
4745
orbm.Name = "SizeMesh"
4746
orbm.Scale = vt(0,0,0)
4747
        local sbs = Instance.new("BodyPosition", orb)
4748
        sbs.P = 3000
4749
        sbs.D = 1000
4750
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
4751
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
4752
CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
4753
sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4754
sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4755
sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4756
sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4757
sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4758
for i = 0, 10, 0.1 do
4759
swait()
4760
PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
4761
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
4762
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
4763
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
4764
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
4765
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
4766
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
4767
end
4768
orb.Anchored = true
4769
local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4770
elocacenter.Anchored = true
4771
elocacenter.CFrame = orb.CFrame
4772
elocacenter.Orientation = vt(0,0,0)
4773
local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4774
eloca1.Anchored = true
4775
eloca1.CFrame = elocacenter.CFrame
4776
local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4777
eloca2.Anchored = true
4778
eloca2.CFrame = elocacenter.CFrame
4779
local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4780
eloca3.Anchored = true
4781
eloca3.CFrame = elocacenter.CFrame
4782
local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
4783
eloca4.Anchored = true
4784
eloca4.CFrame = elocacenter.CFrame
4785
local lookavec = 0
4786
local speeds = 0
4787
CameraEnshaking(1,1)
4788
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
4789
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
4790
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
4791
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
4792
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4793
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4794
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4795
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4796
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4797
for i = 0, 99 do
4798
swait()
4799
lookavec = lookavec + 2.5
4800
speeds = speeds + 0.25
4801
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4802
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4803
PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4804
 
4805
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4806
PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4807
 
4808
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4809
PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4810
 
4811
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4812
PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4813
end
4814
 
4815
for i = 0, 149 do
4816
swait()
4817
speeds = speeds + 0.25
4818
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4819
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4820
PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4821
 
4822
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4823
PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4824
 
4825
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4826
PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4827
 
4828
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4829
PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4830
end
4831
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
4832
for i = 0, 99 do
4833
swait()
4834
lookavec = lookavec - 2.5
4835
speeds = speeds + 0.25
4836
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4837
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4838
PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4839
 
4840
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4841
PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4842
 
4843
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4844
PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4845
 
4846
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4847
PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
4848
end
4849
local scaled = 0.1*75
4850
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
4851
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
4852
CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
4853
CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
4854
CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
4855
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
4856
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4857
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4858
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4859
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4860
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4861
 
4862
for i = 0, 10, 0.1 do
4863
swait()
4864
scaled = scaled - 0.001*75
4865
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4866
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4867
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
4868
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
4869
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
4870
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
4871
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
4872
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
4873
end
4874
bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
4875
CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
4876
CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
4877
for x = 0, 4 do
4878
for i = 0, 9 do
4879
sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
4880
end
4881
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
4882
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
4883
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4884
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4885
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4886
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4887
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4888
for i = 0, 5, 0.1 do
4889
swait()
4890
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4891
PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4892
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
4893
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
4894
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4895
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
4896
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
4897
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
4898
end
4899
end
4900
local speedearn = 0
4901
CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
4902
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
4903
CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
4904
for i = 0, 30, 0.1 do
4905
swait()
4906
scaled = scaled - 0.001*75/10
4907
speedearn = speedearn + 0.5
4908
for i = 0, 4 do
4909
sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
4910
end
4911
PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
4912
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4913
PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4914
PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
4915
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
4916
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
4917
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
4918
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
4919
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
4920
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
4921
end
4922
orb.Transparency = 1
4923
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
4924
if v:FindFirstChild('Head') then
4925
dmg(v)
4926
end
4927
end
4928
CameraEnshaking(7,30)
4929
MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
4930
CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
4931
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
4932
CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
4933
CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
4934
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
4935
CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
4936
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
4937
CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
4938
CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
4939
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
4940
CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
4941
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
4942
CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
4943
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4944
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4945
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4946
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4947
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
4948
for i = 0, 99 do
4949
PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
4950
PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
4951
end
4952
for i = 0, 24 do
4953
sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
4954
sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
4955
sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
4956
sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
4957
sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
4958
end
4959
game:GetService("Debris"):AddItem(orb, 10)
4960
hum.WalkSpeed = storehumanoidWS
4961
attack = false
4962
end
4963
 
4964
 
4965
function ViolentRing()
4966
attack = true
4967
CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
4968
bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
4969
CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
4970
CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
4971
for i = 0, 2, 0.1 do
4972
swait()
4973
local snap = math.random(1,10)
4974
if snap == 1 then
4975
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
4976
end
4977
PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
4978
PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
4979
PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
4980
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
4981
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
4982
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
4983
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
4984
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
4985
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
4986
RootPart.CFrame = FaceMouse()[1]
4987
end
4988
local orb = Instance.new("Part", char)
4989
        orb.BrickColor = MAINRUINCOLOR
4990
        orb.CanCollide = false
4991
        orb.FormFactor = 3
4992
        orb.Name = "Ring"
4993
        orb.Material = "Neon"
4994
        orb.Size = Vector3.new(1, 1, 1)
4995
        orb.Transparency = 0
4996
        orb.TopSurface = 0
4997
        orb.BottomSurface = 0
4998
        local orbm = Instance.new("SpecialMesh", orb)
4999
        orbm.MeshType = "Sphere"
5000
orbm.Name = "SizeMesh"
5001
orbm.Scale = vt(2,2,2)
5002
orb.CFrame = mouse.Hit
5003
local bv = Instance.new("BodyVelocity")
5004
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5005
bv.velocity = orb.CFrame.lookVector*100
5006
bv.Parent = orb
5007
local hitted = false
5008
coroutine.resume(coroutine.create(function()
5009
game:GetService("Debris"):AddItem(orb, 5)
5010
orb.Transparency = 1
5011
orb.Anchored = true
5012
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5013
elocacenter.Anchored = true
5014
elocacenter.CFrame = orb.CFrame
5015
elocacenter.Orientation = vt(0,0,0)
5016
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5017
eloca1.Anchored = true
5018
eloca1.CFrame = elocacenter.CFrame
5019
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5020
eloca2.Anchored = true
5021
eloca2.CFrame = elocacenter.CFrame
5022
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5023
eloca3.Anchored = true
5024
eloca3.CFrame = elocacenter.CFrame
5025
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5026
eloca4.Anchored = true
5027
eloca4.CFrame = elocacenter.CFrame
5028
local lookavec = 0
5029
local speeds = 0
5030
CameraEnshaking(1,1)
5031
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
5032
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5033
sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5034
sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5035
sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5036
sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5037
for i = 0, 24 do
5038
swait()
5039
lookavec = lookavec + 3.5
5040
speeds = speeds + 1
5041
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5042
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5043
PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5044
 
5045
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5046
PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5047
 
5048
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5049
PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5050
 
5051
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5052
PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5053
end
5054
 
5055
local risen = 0
5056
for i = 0, 49 do
5057
swait()
5058
risen = risen + 0.05
5059
speeds = speeds + 0.1
5060
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5061
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5062
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5063
 
5064
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5065
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5066
 
5067
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5068
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5069
 
5070
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5071
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5072
end
5073
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
5074
if v:FindFirstChild('Head') then
5075
dmg(v)
5076
end
5077
end
5078
CameraEnshaking(4,10)
5079
MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
5080
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
5081
CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
5082
CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
5083
CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
5084
CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
5085
local eff = Instance.new("ParticleEmitter",elocacenter)
5086
eff.Texture = "rbxassetid://2273224484"
5087
eff.LightEmission = 1
5088
eff.Color = ColorSequence.new(Color3.new(1,1,0))
5089
eff.Rate = 1000000
5090
eff.Lifetime = NumberRange.new(0.5,2)
5091
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
5092
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
5093
eff.Speed = NumberRange.new(20,250)
5094
eff.Drag = 5
5095
eff.Rotation = NumberRange.new(-500,500)
5096
eff.VelocitySpread = 5000000
5097
eff.RotSpeed = NumberRange.new(-50,50)
5098
coroutine.resume(coroutine.create(function()
5099
wait(1)
5100
eff.Enabled = false
5101
end))
5102
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
5103
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
5104
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5105
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5106
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5107
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5108
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5109
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
5110
for i = 0, 24 do
5111
sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
5112
sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
5113
sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
5114
sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
5115
end
5116
coroutine.resume(coroutine.create(function()
5117
wait(10)
5118
elocacenter:Destroy()
5119
eloca1:Destroy()
5120
eloca2:Destroy()
5121
eloca3:Destroy()
5122
eloca4:Destroy()
5123
end))
5124
end))
5125
attack = false
5126
end
5127
5128
function UniversalCollapse()
5129
attack = true
5130
local speedearn = 0
5131
hum.WalkSpeed = 0
5132
        local sbs = Instance.new("BodyPosition", root)
5133
        sbs.P = 3000
5134
        sbs.D = 1000
5135
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
5136
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
5137
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
5138
for i = 0, 85, 0.1 do
5139
swait()
5140
speedearn = speedearn + 0.1
5141
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5142
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5143
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5144
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5145
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5146
sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
5147
RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
5148
LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
5149
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
5150
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
5151
RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
5152
LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
5153
end
5154
bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
5155
CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
5156
CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
5157
for i = 0, 25, 0.1 do
5158
swait()
5159
speedearn = speedearn + 0.1
5160
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5161
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5162
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5163
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5164
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5165
sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
5166
RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
5167
LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
5168
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
5169
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
5170
RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
5171
LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
5172
end
5173
bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
5174
CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
5175
CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
5176
CameraEnshaking(5,50)
5177
sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
5178
for i = 0, 2 do
5179
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
5180
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
5181
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
5182
CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
5183
end
5184
for i = 0, 49 do
5185
sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
5186
sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
5187
sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
5188
sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
5189
end
5190
sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5191
sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5192
sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5193
sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5194
sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5195
sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5196
sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5197
sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5198
sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5199
sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5200
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5201
sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5202
for i = 0, 99 do
5203
PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
5204
PixelBlock(2,math.random(250,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
5205
end
5206
for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
5207
if v:FindFirstChild('Head') then
5208
dmg(v)
5209
end
5210
end
5211
MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
5212
sbs:Destroy()
5213
hum.WalkSpeed = storehumanoidWS
5214
attack = false
5215
end
5216
5217
function ChaosEND()
5218
attack = true
5219
local speedearn = 0
5220
bosschatfunc("THIS IS...",MAINRUINCOLOR.Color,1)
5221
CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
5222
CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
5223
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
5224
CFuncs["Sound"].Create("rbxassetid://2556945475", root, 5, 1)
5225
for i = 0, 15, 0.1 do
5226
swait()
5227
speedearn = speedearn + 0.25
5228
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5229
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5230
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5231
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5232
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
5233
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
5234
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
5235
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5236
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5237
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
5238
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
5239
end
5240
CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
5241
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
5242
bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,1)
5243
CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
5244
CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
5245
CameraEnshaking(5,25)
5246
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
5247
if v:FindFirstChild('Head') then
5248
dmg(v)
5249
end
5250
end
5251
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
5252
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
5253
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
5254
for i = 0, 3, 0.1 do
5255
swait()
5256
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
5257
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
5258
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
5259
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
5260
RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
5261
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
5262
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
5263
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
5264
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
5265
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
5266
end
5267
attack = false
5268
end
5269
5270
function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
5271
local orb = Instance.new("Part", char)
5272
        orb.Anchored = true
5273
        orb.BrickColor = color
5274
        orb.CanCollide = false
5275
        orb.FormFactor = 3
5276
        orb.Name = "Ring"
5277
        orb.Material = "Neon"
5278
        orb.Size = Vector3.new(1, 1, 1)
5279
        orb.Transparency = 0
5280
        orb.TopSurface = 0
5281
        orb.BottomSurface = 0
5282
        local orbm = Instance.new("SpecialMesh", orb)
5283
        orbm.MeshType = "Sphere"
5284
orb.CFrame = positted
5285
orbm.Name = "SizeMesh"
5286
orbm.Scale = vt(1,1,1)
5287
CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
5288
sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
5289
--[[for i = 0, 2 do
5290
sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
5291
end]]--
5292
coroutine.resume(coroutine.create(function()
5293
wait(timer)
5294
CameraEnshaking(3,ShakePower)
5295
orb.Transparency = 1
5296
MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
5297
sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
5298
--[[for i = 0, 4 do
5299
sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
5300
end]]--
5301
CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
5302
wait(3)
5303
orb:Destroy()
5304
end))
5305
end
5306
5307
function orb_spawn(positted,timer)
5308
local randomcol = math.random(1,2)
5309
local orb = Instance.new("Part", char)
5310
        orb.Anchored = true
5311
if randomcol == 1 then
5312
        orb.BrickColor = BrickColor.new("White")
5313
elseif randomcol == 2 then
5314
orb.BrickColor = BrickColor.new("Really black")
5315
end
5316
        orb.CanCollide = false
5317
        orb.FormFactor = 3
5318
        orb.Name = "Ring"
5319
        orb.Material = "Neon"
5320
        orb.Size = Vector3.new(1, 1, 1)
5321
        orb.Transparency = 0
5322
        orb.TopSurface = 0
5323
        orb.BottomSurface = 0
5324
        local orbm = Instance.new("SpecialMesh", orb)
5325
        orbm.MeshType = "Sphere"
5326
orb.CFrame = positted
5327
orbm.Name = "SizeMesh"
5328
orbm.Scale = vt(1,1,1)
5329
CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
5330
sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
5331
for i = 0, 2 do
5332
sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
5333
end
5334
coroutine.resume(coroutine.create(function()
5335
wait(timer)
5336
CameraEnshaking(3,2)
5337
orb.Transparency = 1
5338
MagniDamage(orb, 17.5, 10,50, 0, "Normal")
5339
sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
5340
for i = 0, 4 do
5341
sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
5342
end
5343
CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
5344
wait(3)
5345
orb:Destroy()
5346
end))
5347
end
5348
5349
function scattercorrupt()
5350
attack = true
5351
hum.WalkSpeed = 0
5352
for i = 0, 2, 0.1 do
5353
swait()
5354
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
5355
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
5356
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
5357
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5358
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
5359
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
5360
end
5361
local rot = 0
5362
local randomrotations = math.random(1,2)
5363
local lookv = 2.5
5364
local power = 7
5365
local radm = math.random(1,3)
5366
if radm == 1 then
5367
bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
5368
elseif radm == 2 then
5369
bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
5370
elseif radm == 3 then
5371
bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
5372
end
5373
CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
5374
for i = 0, 1, 0.1 do
5375
swait()
5376
RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
5377
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(15),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
5378
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
5379
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
5380
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
5381
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
5382
end
5383
CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
5384
CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
5385
sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
5386
sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
5387
for i = 0, 9 do
5388
sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
5389
end
5390
local hite = Instance.new("Part", char)
5391
        hite.Anchored = true
5392
        hite.CanCollide = false
5393
        hite.FormFactor = 3
5394
        hite.Name = "Ring"
5395
        hite.Material = "Neon"
5396
        hite.Size = Vector3.new(1, 1, 1)
5397
        hite.Transparency = 1
5398
        hite.TopSurface = 0
5399
        hite.BottomSurface = 0
5400
hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
5401
local rem = Instance.new("Part", char)
5402
        rem.Anchored = true
5403
        rem.CanCollide = false
5404
        rem.FormFactor = 3
5405
        rem.Name = "Ring"
5406
        rem.Material = "Neon"
5407
        rem.Size = Vector3.new(1, 1, 1)
5408
        rem.Transparency = 1
5409
        rem.TopSurface = 0
5410
        rem.BottomSurface = 0
5411
rem.CFrame = hite.CFrame
5412
local rem2 = rem:Clone()
5413
rem2.Parent = char
5414
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
5415
local rem3 = rem:Clone()
5416
rem3.Parent = char
5417
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
5418
local rem4 = rem:Clone()
5419
rem4.Parent = char
5420
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
5421
hite:Destroy()
5422
coroutine.resume(coroutine.create(function()
5423
for i = 0, 24 do
5424
swait(1)
5425
if randomrotations == 1 then
5426
rot = rot + 1
5427
elseif randomrotations == 2 then
5428
rot = rot - 1
5429
end
5430
power = power + 0.5
5431
lookv = lookv + 7.5
5432
rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
5433
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
5434
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
5435
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
5436
orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
5437
orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
5438
orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
5439
orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
5440
end
5441
end))
5442
wait(2)
5443
hum.WalkSpeed = storehumanoidWS
5444
attack = false
5445
end
5446
5447
function yinyangi()
5448
attack = true
5449
for i = 0, 2, 0.1 do
5450
swait()
5451
bosschatfunc("YAAAAAHHHHHHH!",MAINRUINCOLOR.Color,1)
5452
CFuncs["Sound"].Create("rbxassetid://430315987", root, 1, 1,0,10,0.25,0.25,1)
5453
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
5454
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
5455
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
5456
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5457
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
5458
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
5459
end
5460
local bv = Instance.new("BodyVelocity")
5461
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5462
bv.velocity = root.CFrame.lookVector*175
5463
bv.Parent = root
5464
for Rotations = 0, 9 do
5465
for i = 0, 1, 0.5 do
5466
swait()
5467
bv.velocity = root.CFrame.lookVector*175
5468
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
5469
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
5470
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
5471
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5472
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5473
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5474
end
5475
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5476
for i = 0, 1, 0.5 do
5477
swait()
5478
bv.velocity = root.CFrame.lookVector*175
5479
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
5480
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
5481
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
5482
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5483
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5484
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5485
end
5486
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5487
for i = 0, 1, 0.5 do
5488
swait()
5489
bv.velocity = root.CFrame.lookVector*175
5490
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
5491
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
5492
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
5493
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5494
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5495
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5496
end
5497
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5498
for i = 0, 1, 0.5 do
5499
swait()
5500
bv.velocity = root.CFrame.lookVector*175
5501
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
5502
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
5503
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
5504
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5505
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5506
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5507
end
5508
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5509
end
5510
bv:Destroy()
5511
attack = false
5512
end
5513
5514
function createBGCircle(size,parent,color)
5515
local bgui = Instance.new("BillboardGui",parent)
5516
bgui.Size = UDim2.new(size, 0, size, 0)
5517
local imgc = Instance.new("ImageLabel",bgui)
5518
imgc.BackgroundTransparency = 1
5519
imgc.ImageTransparency = 0
5520
imgc.Size = UDim2.new(1,0,1,0)
5521
imgc.Image = "rbxassetid://997291547" --997291547,521073910
5522
imgc.ImageColor3 = color
5523
return bgui,imgc
5524
end
5525
5526
function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
5527
local bgui,imgc = createBGCircle(size,guipar,color)
5528
bgui.AlwaysOnTop = true
5529
imgc.Image = "rbxassetid://" ..img
5530
local rrot = math.random(1,2)
5531
CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
5532
coroutine.resume(coroutine.create(function()
5533
for i = 0, 24*delay do
5534
swait()
5535
if rotationenabled == true then
5536
if rrot == 1 then
5537
imgc.Rotation = imgc.Rotation + rotsp
5538
elseif rrot == 2 then
5539
imgc.Rotation = imgc.Rotation - rotsp
5540
end
5541
end
5542
bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
5543
imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
5544
end
5545
bgui:Destroy()
5546
end))
5547
end
5548
function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
5549
for i, v in pairs(mw2:GetChildren()) do
5550
if v:IsA("Part") then
5551
v.BrickColor = one
5552
v.Material = "Neon"
5553
end
5554
end
5555
CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
5556
symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
5557
symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
5558
tr1.Color = ColorSequence.new(one.Color)
5559
tr2.Color = ColorSequence.new(one.Color)
5560
tr3.Color = ColorSequence.new(one.Color)
5561
for i, v in pairs(mw1:GetChildren()) do
5562
if v:IsA("Part") then
5563
if secondaryenabled == false then
5564
v.Transparency = 1
5565
elseif secondaryenabled == true then
5566
v.Transparency = 0
5567
end
5568
v.BrickColor = two
5569
v.Material = "Neon"
5570
end
5571
end
5572
if secondaryenabled == false then
5573
tl1.Enabled = false
5574
tl2.Enabled = false
5575
tl3.Enabled = false
5576
elseif secondaryenabled == true then
5577
tl1.Enabled = true
5578
tl2.Enabled = true
5579
tl3.Enabled = true
5580
end
5581
tl1.Color = ColorSequence.new(two.Color)
5582
tl2.Color = ColorSequence.new(two.Color)
5583
tl3.Color = ColorSequence.new(two.Color)
5584
for i, v in pairs(m:GetChildren()) do
5585
if v:IsA("Part") then
5586
v.BrickColor = three
5587
v.Material = "Ice"
5588
end
5589
end
5590
for i, v in pairs(m2:GetChildren()) do
5591
if v:IsA("Part") then
5592
v.BrickColor = four
5593
v.Material = "Ice"
5594
end
5595
end
5596
for i, v in pairs(m3:GetChildren()) do
5597
if v:IsA("Part") then
5598
v.BrickColor = five
5599
v.Material = "Neon"
5600
end
5601
end
5602
for i, v in pairs(extrawingmod1:GetChildren()) do
5603
if v:IsA("Part") then
5604
v.Transparency = exonetran
5605
v.BrickColor = exone
5606
v.Material = "Neon"
5607
end
5608
end
5609
for i, v in pairs(extrawingmod2:GetChildren()) do
5610
if v:IsA("Part") then
5611
v.Transparency = extwotran
5612
v.BrickColor = extwo
5613
v.Material = "Neon"
5614
end
5615
end
5616
end
5617
5618
5619
function normalmog()
5620
attack = true
5621
hum.WalkSpeed = 0
5622
CFuncs["Sound"].Create("rbxassetid://2556945475", root, 35, 1.25)
5623
bosschatfunc("YOUR EXISTANCE IS WASTED!!!!!!",MAINRUINCOLOR.Color,1)
5624
for i = 0,6,0.1 do
5625
swait()
5626
sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
5627
slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
5628
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
5629
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
5630
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5631
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
5632
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5633
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5634
end
5635
CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
5636
CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
5637
CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
5638
CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
5639
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
5640
CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
5641
CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
5642
rainbowmode = false
5643
chaosmode = false
5644
ModeOfGlitch = 1
5645
storehumanoidWS = 16
5646
newTheme("rbxassetid://614032233",48.6,1,1.25)
5647
RecolorTextAndRename("STAR",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
5648
CameraEnshaking(5,2.5)
5649
MAINRUINCOLOR = BrickColor.new("Royal purple")
5650
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5651
for i = 0, 49 do
5652
PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
5653
end
5654
for i = 0, 24 do
5655
sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
5656
slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
5657
end
5658
for i = 0,3,0.1 do
5659
sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
5660
end
5661
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
5662
for i = 0,2,0.1 do
5663
swait()
5664
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
5665
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
5666
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
5667
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
5668
RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
5669
LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
5670
end
5671
hum.WalkSpeed = storehumanoidWS
5672
attack = false
5673
end
5674
5675
function attackone()
5676
    attack = true
5677
    for i = 0,1,0.1 do
5678
        swait()
5679
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
5680
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
5681
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
5682
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
5683
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
5684
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
5685
    end
5686
local distlook = 5
5687
for i = 0, 4 do
5688
swait(2)
5689
CameraEnshaking(2,3)
5690
local hite = Instance.new("Part", char)
5691
        hite.Anchored = true
5692
        hite.CanCollide = false
5693
        hite.FormFactor = 3
5694
        hite.Name = "Ring"
5695
        hite.Material = "Neon"
5696
        hite.Size = Vector3.new(1, 1, 1)
5697
        hite.Transparency = 1
5698
        hite.TopSurface = 0
5699
        hite.BottomSurface = 0
5700
hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
5701
sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
5702
sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
5703
MagniDamage(hite, 10, 15,35, 0, "Normal")
5704
for i = 0, 2 do
5705
sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
5706
sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
5707
sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
5708
end
5709
CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
5710
CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
5711
game:GetService("Debris"):AddItem(hite, 5)
5712
distlook = distlook + 10
5713
end
5714
    attack = false
5715
end
5716
 
5717
function attacktwo()
5718
    attack = true
5719
    for i = 0,1,0.1 do
5720
        swait()
5721
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
5722
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
5723
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)
5724
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)
5725
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)
5726
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)
5727
    end
5728
CameraEnshaking(3,4)
5729
MagniDamage(root, 12, 15,30, 0, "Normal")
5730
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)
5731
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)
5732
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)
5733
coroutine.resume(coroutine.create(function()
5734
local eff = Instance.new("ParticleEmitter",root)
5735
eff.Texture = "rbxassetid://363275192"
5736
eff.LightEmission = 0.95
5737
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5738
eff.Rate = 10000
5739
eff.Lifetime = NumberRange.new(1)
5740
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
5741
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
5742
eff.Speed = NumberRange.new(10,125)
5743
eff.Drag = 5
5744
eff.Rotation = NumberRange.new(-500,500)
5745
eff.VelocitySpread = 9000
5746
eff.RotSpeed = NumberRange.new(-50,50)
5747
local eff2 = eff:Clone()
5748
eff2.Parent = root
5749
eff2.Texture = "rbxassetid://284205403"
5750
eff2.Rate = 10000
5751
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)})
5752
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
5753
eff2.Drag = 5
5754
eff2.Speed = NumberRange.new(10,50)
5755
eff2.Rotation = NumberRange.new(-500,500)
5756
eff2.VelocitySpread = 9000
5757
wait(0.25)
5758
eff2.Enabled = false
5759
eff.Enabled = false
5760
wait(3)
5761
eff2:Destroy()
5762
eff:Destroy()
5763
end))
5764
for i = 0, 9 do
5765
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)
5766
end
5767
for i = 0, 24 do
5768
local rsiz = math.random(5,20)
5769
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)
5770
end
5771
CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
5772
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
5773
CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
5774
    for i = 0,2,0.1 do
5775
        swait()
5776
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
5777
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
5778
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
5779
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
5780
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)
5781
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)
5782
    end
5783
attack = false
5784
end
5785
 
5786
function attackthree()
5787
attack = true
5788
local keptcolor = MAINRUINCOLOR
5789
CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
5790
    for i = 0,1,0.1 do
5791
        swait()
5792
sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
5793
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
5794
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
5795
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)
5796
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)
5797
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)
5798
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)
5799
    end
5800
CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
5801
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
5802
local angle = -25
5803
coroutine.resume(coroutine.create(function()
5804
for i = 0, 2 do
5805
local orb = Instance.new("Part", char)
5806
        orb.BrickColor = MAINRUINCOLOR
5807
        orb.CanCollide = false
5808
        orb.FormFactor = 3
5809
        orb.Name = "Ring"
5810
        orb.Material = "Neon"
5811
        orb.Size = Vector3.new(1, 1, 1)
5812
        orb.Transparency = 0.5
5813
        orb.TopSurface = 0
5814
        orb.BottomSurface = 0
5815
        local orbm = Instance.new("SpecialMesh", orb)
5816
        orbm.MeshType = "Sphere"
5817
orbm.Name = "SizeMesh"
5818
orbm.Scale = vt(3,3,3)
5819
orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
5820
local bv = Instance.new("BodyVelocity")
5821
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5822
bv.velocity = orb.CFrame.lookVector*100
5823
bv.Parent = orb
5824
game:GetService("Debris"):AddItem(orb, 10)
5825
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)
5826
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)
5827
coroutine.resume(coroutine.create(function()
5828
MagniDamage(orb, 6, 8,15, 0, "Normal")
5829
for i = 0, 7 do
5830
swait(2.5)
5831
CameraEnshaking(1,2)
5832
MagniDamage(orb, 6, 8,15, 0, "Normal")
5833
CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
5834
for i = 0, 4 do
5835
local rsiz = math.random(5,10)
5836
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)
5837
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)
5838
end
5839
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)
5840
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)
5841
end
5842
orb.Transparency = 1
5843
orb.Anchored = false
5844
wait(10)
5845
orb:Destroy()
5846
end))
5847
angle = angle + 25
5848
end
5849
end))
5850
    for i = 0,1,0.1 do
5851
        swait()
5852
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
5853
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
5854
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
5855
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
5856
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)
5857
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)
5858
    end
5859
attack = false
5860
end
5861
----------------------------------- Abilities
5862
5863
function ExtinctiveHeartbreak()
5864
local targetted = nil
5865
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
5866
targetted = mouse.Target.Parent
5867
end
5868
if targetted ~= nil then
5869
attack = true
5870
bosschatfunc("I AM THE MIGHTIEST!!",MAINRUINCOLOR.Color,1)
5871
CFuncs["EchoSound"].Create("rbxassetid://357202141", char, 1.5, 1,0,10,0.15,0.5,1)
5872
CFuncs["EchoSound"].Create("rbxassetid://357202141", root, 10, 1,0,10,0.15,0.5,1)
5873
CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2.5,1)
5874
for i = 0, 9 do
5875
sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
5876
end
5877
for i = 0, 24 do
5878
PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
5879
end
5880
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
5881
local originalpos = root.CFrame
5882
RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
5883
for i = 0, 9 do
5884
sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
5885
end
5886
for i = 0, 24 do
5887
PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
5888
end
5889
hum.WalkSpeed = 0
5890
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
5891
local radm = math.random(1,3)
5892
if radm == 1 then
5893
bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2)
5894
elseif radm == 2 then
5895
bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2)
5896
elseif radm == 3 then
5897
bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2)
5898
end
5899
for i = 0,2,0.1 do
5900
swait()
5901
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
5902
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
5903
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
5904
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
5905
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
5906
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
5907
end
5908
CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
5909
CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
5910
for i = 0,2,0.1 do
5911
swait()
5912
coroutine.resume(coroutine.create(function()
5913
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
5914
for i,v in pairs(targetted:GetChildren()) do
5915
if v:IsA("Part") or v:IsA("MeshPart") then
5916
v.Velocity = vt(0,0,0)
5917
end
5918
end
5919
end))
5920
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
5921
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
5922
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
5923
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
5924
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
5925
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
5926
end
5927
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
5928
CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
5929
for i = 0, 1 do
5930
CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
5931
end
5932
CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
5933
--chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
5934
for i = 0,4,0.1 do
5935
swait()
5936
coroutine.resume(coroutine.create(function()
5937
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
5938
dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
5939
local at1 = Instance.new("Attachment",dis)
5940
at1.Position = vt(-25000,0,0)
5941
local at2 = Instance.new("Attachment",dis)
5942
at2.Position = vt(25000,0,0)
5943
local trl = Instance.new('Trail',dis)
5944
trl.Attachment0 = at1
5945
trl.FaceCamera = true
5946
trl.Attachment1 = at2
5947
trl.Texture = "rbxassetid://1049219073"
5948
trl.LightEmission = 1
5949
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
5950
trl.Color = ColorSequence.new(Color3.new(1,0,0))
5951
trl.Lifetime = 5
5952
local bv = Instance.new("BodyVelocity")
5953
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5954
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
5955
bv.Parent = dis
5956
game:GetService("Debris"):AddItem(dis, 5)
5957
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
5958
CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
5959
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
5960
CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
5961
CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
5962
CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
5963
sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
5964
targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
5965
for i = 0, 2 do
5966
slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
5967
end
5968
symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
5969
for i,v in pairs(targetted:GetChildren()) do
5970
if v:IsA("Part") or v:IsA("MeshPart") then
5971
v.Velocity = vt(0,0,0)
5972
end
5973
end
5974
end))
5975
hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
5976
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
5977
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
5978
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
5979
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
5980
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
5981
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
5982
end
5983
hum.CameraOffset = vt(0,0,0)
5984
for i = 0, 49 do
5985
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
5986
dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
5987
local at1 = Instance.new("Attachment",dis)
5988
at1.Position = vt(-50000,0,0)
5989
local at2 = Instance.new("Attachment",dis)
5990
at2.Position = vt(50000,0,0)
5991
local trl = Instance.new('Trail',dis)
5992
trl.Attachment0 = at1
5993
trl.FaceCamera = true
5994
trl.Attachment1 = at2
5995
trl.Texture = "rbxassetid://1049219073"
5996
trl.LightEmission = 1
5997
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
5998
trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
5999
trl.Lifetime = 5
6000
local bv = Instance.new("BodyVelocity")
6001
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6002
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6003
bv.Parent = dis
6004
game:GetService("Debris"):AddItem(dis, 5)
6005
end
6006
for i = 0, 49 do
6007
sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
6008
slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
6009
end
6010
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
6011
for i = 0, 1 do
6012
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
6013
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
6014
end
6015
for i = 0, 4 do
6016
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
6017
end
6018
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
6019
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
6020
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
6021
dmg(targetted)
6022
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
6023
for i = 0, 9 do
6024
sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
6025
end
6026
for i = 0, 24 do
6027
PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
6028
end
6029
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6030
root.CFrame = originalpos
6031
for i = 0, 9 do
6032
sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
6033
end
6034
for i = 0, 24 do
6035
PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
6036
end
6037
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6038
attack = false
6039
hum.WalkSpeed = storehumanoidWS
6040
end
6041
end
6042
 
6043
function CorruptionEvent()
6044
attack = true
6045
hum.WalkSpeed = 0
6046
bosschatfunc("I'LL CRUSH YOU!",MAINRUINCOLOR.Color,1)
6047
CFuncs["EchoSound"].Create("rbxassetid://358080519", char, 1.5, 1,0,10,0.15,0.5,1)
6048
CFuncs["EchoSound"].Create("rbxassetid://358080519", root, 10, 1,0,10,0.15,0.5,1)
6049
CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
6050
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
6051
local keptcolor = MAINRUINCOLOR
6052
for i = 0,4,0.1 do
6053
swait()
6054
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
6055
block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6056
RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
6057
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
6058
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
6059
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
6060
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
6061
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
6062
end
6063
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
6064
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
6065
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
6066
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
6067
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
6068
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
6069
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
6070
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
6071
hum.CameraOffset = vt(0,0,0)
6072
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6073
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6074
for i = 0, 24 do
6075
slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
6076
end
6077
local rrot = 0
6078
coroutine.resume(coroutine.create(function()
6079
for i = 0, 4 do
6080
rrot = rrot + 45
6081
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6082
xa.Anchored = true
6083
local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6084
xb.Anchored = true
6085
local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6086
xc.Anchored = true
6087
local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6088
xd.Anchored = true
6089
CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
6090
CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
6091
CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
6092
CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
6093
CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
6094
CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
6095
CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
6096
CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
6097
CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
6098
CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
6099
CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
6100
CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
6101
xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
6102
xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
6103
xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
6104
xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
6105
MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6106
MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6107
MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6108
MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6109
for i = 0, 9 do
6110
slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
6111
slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
6112
slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
6113
slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
6114
end
6115
block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6116
block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6117
block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6118
block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6119
sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6120
sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6121
sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6122
sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6123
sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6124
sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6125
sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6126
sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6127
game:GetService("Debris"):AddItem(xa, 5)
6128
game:GetService("Debris"):AddItem(xb, 5)
6129
game:GetService("Debris"):AddItem(xc, 5)
6130
game:GetService("Debris"):AddItem(xd, 5)
6131
coroutine.resume(coroutine.create(function()
6132
for i = 0, 19 do
6133
swait()
6134
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
6135
end
6136
hum.CameraOffset = vt(0,0,0)
6137
end))
6138
swait(9)
6139
end
6140
end))
6141
for i = 0,2,0.1 do
6142
swait()
6143
RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
6144
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
6145
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
6146
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
6147
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
6148
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
6149
end
6150
attack = false
6151
hum.WalkSpeed = storehumanoidWS
6152
end
6153
6154
function EndGROUND()
6155
	attack = true
6156
hum.WalkSpeed = 0
6157
bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
6158
--CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
6159
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
6160
CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
6161
CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
6162
local keptcolor = MAINRUINCOLOR
6163
for i = 0,4,0.1 do
6164
swait()
6165
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
6166
block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6167
slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
6168
RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
6169
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
6170
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
6171
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
6172
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
6173
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
6174
end
6175
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
6176
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
6177
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
6178
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
6179
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
6180
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
6181
coroutine.resume(coroutine.create(function()
6182
	local shval = 10
6183
	for i = 0, 99 do
6184
		swait()
6185
		shval = shval - 0.1
6186
		hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
6187
	end
6188
	hum.CameraOffset = vt(0,0,0)
6189
end))
6190
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6191
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6192
for i = 0, 24 do
6193
slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
6194
end
6195
local rrot = 0
6196
local xam = 1
6197
coroutine.resume(coroutine.create(function()
6198
for i = 0, 14 do
6199
--swait()
6200
rrot = rrot + 40*xam
6201
xam = xam + 0.25
6202
local bonus = xam
6203
local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
6204
xa.Anchored = true
6205
xa.Color = Color3.new(0,0,0)
6206
xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
6207
CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
6208
local xc = 0
6209
coroutine.resume(coroutine.create(function()
6210
for i = 0, 99 do
6211
	swait()
6212
	xc = xc + 0.01
6213
	xa.Color = Color3.new(xc,0,0)
6214
end
6215
xa.Transparency = 1
6216
CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
6217
MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
6218
for i = 0, 9 do
6219
slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
6220
end
6221
block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6222
sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
6223
sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
6224
game:GetService("Debris"):AddItem(xa, 5)
6225
coroutine.resume(coroutine.create(function()
6226
for i = 0, 19 do
6227
swait()
6228
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
6229
end
6230
hum.CameraOffset = vt(0,0,0)
6231
end))
6232
end))
6233
end
6234
end))
6235
for i = 0,2,0.1 do
6236
swait()
6237
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
6238
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
6239
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
6240
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
6241
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
6242
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
6243
end
6244
attack = false
6245
hum.WalkSpeed = storehumanoidWS
6246
end
6247
6248
 
6249
function HeavenlyDisk()
6250
attack = true
6251
hum.WalkSpeed = 2
6252
local keptcolor = MAINRUINCOLOR
6253
local radm = math.random(1,3)
6254
if radm == 1 then
6255
bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
6256
elseif radm == 2 then
6257
bosschatfunc("I really don't have a choice...",MAINRUINCOLOR.Color,1)
6258
elseif radm == 3 then
6259
bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
6260
end
6261
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
6262
CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 4, 1,0,10,0.15,0.5,1)
6263
sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
6264
sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
6265
for i = 0, 14 do
6266
PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new(MULTIRUINCOLOR),0)
6267
end
6268
for i = 0,2,0.1 do
6269
swait()
6270
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6271
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
6272
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
6273
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
6274
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
6275
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
6276
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
6277
end
6278
CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
6279
for i = 0,1,0.6 do
6280
swait()
6281
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6282
slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
6283
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
6284
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
6285
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
6286
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
6287
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
6288
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
6289
end
6290
for i = 0,1,0.6 do
6291
swait()
6292
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6293
slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
6294
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
6295
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
6296
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
6297
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
6298
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
6299
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
6300
end
6301
for i = 0,1,0.6 do
6302
swait()
6303
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6304
slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
6305
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
6306
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
6307
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
6308
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
6309
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
6310
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
6311
end
6312
for i = 0,1,0.6 do
6313
swait()
6314
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
6315
slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
6316
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
6317
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
6318
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
6319
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
6320
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
6321
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
6322
end
6323
local rot = 15
6324
for i = 0, 2 do
6325
local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new(MULTIRUINCOLOR))
6326
CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
6327
dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
6328
CreateMesh(dis,"Sphere",10,1,10)
6329
local at1 = Instance.new("Attachment",dis)
6330
at1.Position = vt(-5,0,0)
6331
local at2 = Instance.new("Attachment",dis)
6332
at2.Position = vt(5,0,0)
6333
local trl = Instance.new('Trail',wed)
6334
trl.Attachment0 = at1
6335
trl.Attachment1 = at2
6336
trl.Texture = "rbxassetid://1049219073"
6337
trl.LightEmission = 1
6338
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6339
trl.Color = ColorSequence.new(dis.Color)
6340
trl.Lifetime = 0.6
6341
local a = Instance.new("Part",workspace)
6342
    a.Name = "Direction"   
6343
    a.Anchored = true
6344
    a.BrickColor = bc("Bright red")
6345
a.Material = "Neon"
6346
a.Transparency = 1
6347
    a.CanCollide = false
6348
    local ray = Ray.new(
6349
        dis.CFrame.p,                           -- origin
6350
        (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
6351
    )
6352
    local ignore = dis
6353
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
6354
    a.BottomSurface = 10
6355
    a.TopSurface = 10
6356
    local distance = (dis.CFrame.p - position).magnitude
6357
    a.Size = Vector3.new(0.1, 0.1, 0.1)
6358
    a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
6359
dis.CFrame = a.CFrame
6360
dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
6361
a:Destroy()
6362
local bv = Instance.new("BodyVelocity")
6363
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6364
bv.velocity = dis.CFrame.lookVector*250
6365
bv.Parent = dis
6366
game:GetService("Debris"):AddItem(dis, 5)
6367
local hitted = false
6368
coroutine.resume(coroutine.create(function()
6369
dis.Touched:connect(function(hit)
6370
    if hitted == false and hit.Parent ~= char then
6371
    hitted = true
6372
    CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
6373
    MagniDamage(dis, 30, 82,34575, 0, "Normal")
6374
    sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
6375
    sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
6376
    sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
6377
    coroutine.resume(coroutine.create(function()
6378
        for i = 0, 9 do
6379
local disr = CreateParta(char,1,1,"Neon",keptcolor)
6380
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6381
local at1 = Instance.new("Attachment",disr)
6382
at1.Position = vt(-2,0,0)
6383
local at2 = Instance.new("Attachment",disr)
6384
at2.Position = vt(2,0,0)
6385
local trl = Instance.new('Trail',disr)
6386
trl.Attachment0 = at1
6387
trl.FaceCamera = true
6388
trl.Attachment1 = at2
6389
trl.Texture = "rbxassetid://2342682798"
6390
trl.LightEmission = 1
6391
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6392
trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
6393
trl.Lifetime = 0.5
6394
local bv = Instance.new("BodyVelocity")
6395
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6396
bv.velocity = disr.CFrame.lookVector*math.random(50,200)
6397
bv.Parent = disr
6398
local val = 0
6399
coroutine.resume(coroutine.create(function()
6400
    swait(30)
6401
    for i = 0, 9 do
6402
        swait()
6403
        val = val + 0.1
6404
        trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
6405
    end
6406
game:GetService("Debris"):AddItem(disr, 3)
6407
end))
6408
end
6409
local eff = Instance.new("ParticleEmitter",dis)
6410
eff.Texture = "rbxassetid://2273224484"
6411
eff.LightEmission = 1
6412
eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
6413
eff.Rate = 500000
6414
eff.Lifetime = NumberRange.new(0.5,2)
6415
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
6416
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
6417
eff.Speed = NumberRange.new(20,250)
6418
eff.Drag = 5
6419
eff.Rotation = NumberRange.new(-500,500)
6420
eff.VelocitySpread = 9000
6421
eff.RotSpeed = NumberRange.new(-50,50)
6422
wait(0.25)
6423
eff.Enabled = false
6424
end))
6425
    for i = 0, 9 do
6426
        slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
6427
    end
6428
for i = 0, 19 do
6429
PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
6430
end
6431
coroutine.resume(coroutine.create(function()
6432
for i = 0, 19 do
6433
swait()
6434
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
6435
end
6436
hum.CameraOffset = vt(0,0,0)
6437
end))
6438
dis.Anchored = true
6439
dis.Transparency = 1
6440
wait(8)
6441
dis:Destroy()
6442
end
6443
end)
6444
end))
6445
rot = rot - 15
6446
end
6447
for i = 0,2,0.1 do
6448
swait()
6449
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
6450
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
6451
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
6452
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
6453
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
6454
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
6455
end
6456
attack = false
6457
hum.WalkSpeed = storehumanoidWS
6458
end
6459
6460
function RapidBurst()
6461
attack = true
6462
hum.WalkSpeed = 0
6463
CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
6464
CFuncs["Sound"].Create("rbxassetid://1097266621", root, 10, 0.5)
6465
CFuncs["Sound"].Create("rbxassetid://138677306", root, 10, 0.5)
6466
CFuncs["EchoSound"].Create("rbxassetid://358080429", char, 4, 1,0,10,0.15,0.5,1)
6467
CFuncs["EchoSound"].Create("rbxassetid://2014087015", char, 4, 1,0,10,0.15,0.5,1)
6468
bosschatfunc("ENOUGH!!",MAINRUINCOLOR.Color,2)
6469
local keptcolor = MAINRUINCOLOR
6470
for i = 0,8,0.1 do
6471
swait()
6472
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
6473
slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
6474
block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
6475
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
6476
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
6477
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
6478
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
6479
RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
6480
LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
6481
end
6482
for i = 0, 99 do
6483
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6484
dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6485
local at1 = Instance.new("Attachment",dis)
6486
at1.Position = vt(-25000,0,0)
6487
local at2 = Instance.new("Attachment",dis)
6488
at2.Position = vt(25000,0,0)
6489
local trl = Instance.new('Trail',dis)
6490
trl.Attachment0 = at1
6491
trl.FaceCamera = true
6492
trl.Attachment1 = at2
6493
trl.Texture = "rbxassetid://1049219073"
6494
trl.LightEmission = 1
6495
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6496
trl.Color = ColorSequence.new(BrickColor.random().Color)
6497
trl.Lifetime = 5
6498
local bv = Instance.new("BodyVelocity")
6499
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6500
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6501
bv.Parent = dis
6502
game:GetService("Debris"):AddItem(dis, 5)
6503
end
6504
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
6505
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
6506
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
6507
sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
6508
sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
6509
sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
6510
sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
6511
CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
6512
CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
6513
CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
6514
hum.CameraOffset = vt(0,0,0)
6515
for i = 0, 24 do
6516
slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random())
6517
end
6518
local distam = 0
6519
coroutine.resume(coroutine.create(function()
6520
for i = 0, 99 do
6521
	wait()
6522
distam = distam + 1
6523
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6524
xa.Anchored = true
6525
xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
6526
game:GetService("Debris"):AddItem(xa, 5)
6527
for i = 0, 4 do
6528
slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random())
6529
end
6530
coroutine.resume(coroutine.create(function()
6531
local eff = Instance.new("ParticleEmitter",xa)
6532
eff.Texture = "rbxassetid://2273224484"
6533
eff.LightEmission = 1
6534
eff.Color = ColorSequence.new(BrickColor.random().Color)
6535
eff.Rate = 500000
6536
eff.Lifetime = NumberRange.new(1,3)
6537
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
6538
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
6539
eff.Speed = NumberRange.new(50,500)
6540
eff.Drag = 5
6541
eff.Rotation = NumberRange.new(-500,500)
6542
eff.VelocitySpread = 9000
6543
eff.RotSpeed = NumberRange.new(-50,50)
6544
wait(0.25)
6545
eff.Enabled = false
6546
end))
6547
coroutine.resume(coroutine.create(function()
6548
for i = 0, 19 do
6549
swait()
6550
hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
6551
end
6552
hum.CameraOffset = vt(0,0,0)
6553
end))
6554
CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
6555
sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
6556
sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
6557
MagniDamage(xa, 60, 9999,99999, 0, "Normal")
6558
end
6559
end))
6560
attack = false
6561
hum.WalkSpeed = storehumanoidWS
6562
end
6563
 
6564
6565
function FallenOrbs()
6566
attack = true
6567
hum.WalkSpeed = 2
6568
local keptcolor = MAINRUINCOLOR
6569
CFuncs["EchoSound"].Create("rbxassetid://358080470", char, 1.5, 1,0,10,0.15,0.5,1)
6570
CFuncs["EchoSound"].Create("rbxassetid://358080470", root, 10, 1,0,10,0.15,0.5,1)
6571
local radm = math.random(1,3)
6572
if radm == 1 then
6573
bosschatfunc("Sorry...",MAINRUINCOLOR.Color,1)
6574
elseif radm == 2 then
6575
bosschatfunc("WHY WON'T YOU DIE!!!!",MAINRUINCOLOR.Color,1)
6576
elseif radm == 3 then
6577
bosschatfunc("IM SORRY JUST DIE!!",MAINRUINCOLOR.Color,1)
6578
end
6579
coroutine.resume(coroutine.create(function()
6580
for i = 0, 29 do
6581
swait(2)
6582
local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
6583
dis.Anchored = true
6584
CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
6585
dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
6586
CreateMesh(dis,"Sphere",2,2,2)
6587
sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
6588
slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
6589
coroutine.resume(coroutine.create(function()
6590
wait(0.5)
6591
dis.Anchored = false
6592
CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
6593
local at1 = Instance.new("Attachment",dis)
6594
at1.Position = vt(-1,0,0)
6595
local at2 = Instance.new("Attachment",dis)
6596
at2.Position = vt(1,0,0)
6597
local trl = Instance.new('Trail',dis)
6598
trl.Attachment0 = at1
6599
trl.FaceCamera = true
6600
trl.Attachment1 = at2
6601
trl.Texture = "rbxassetid://1049219073"
6602
trl.LightEmission = 1
6603
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6604
trl.Color = ColorSequence.new(dis.Color)
6605
trl.Lifetime = 0.6
6606
local a = Instance.new("Part",workspace)
6607
    a.Name = "Direction"   
6608
    a.Anchored = true
6609
    a.BrickColor = bc("Bright red")
6610
a.Material = "Neon"
6611
a.Transparency = 1
6612
    a.CanCollide = false
6613
    local ray = Ray.new(
6614
        dis.CFrame.p,                           -- origin
6615
        (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
6616
    )
6617
    local ignore = dis
6618
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
6619
    a.BottomSurface = 10
6620
    a.TopSurface = 10
6621
    local distance = (dis.CFrame.p - position).magnitude
6622
    a.Size = Vector3.new(0.1, 0.1, 0.1)
6623
    a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
6624
dis.CFrame = a.CFrame
6625
a:Destroy()
6626
local bv = Instance.new("BodyVelocity")
6627
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6628
bv.velocity = dis.CFrame.lookVector*500
6629
bv.Parent = dis
6630
game:GetService("Debris"):AddItem(dis, 5)
6631
local hitted = false
6632
coroutine.resume(coroutine.create(function()
6633
dis.Touched:connect(function(hit)
6634
    if hitted == false and hit.Parent ~= char then
6635
    hitted = true
6636
    CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
6637
    MagniDamage(dis, 60, 25456,124672, 0, "Normal")
6638
    sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
6639
    sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
6640
    coroutine.resume(coroutine.create(function()
6641
for i = 0, 4 do
6642
local disr = CreateParta(char,1,1,"Neon",keptcolor)
6643
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6644
local at1 = Instance.new("Attachment",disr)
6645
at1.Position = vt(-10,0,0)
6646
local at2 = Instance.new("Attachment",disr)
6647
at2.Position = vt(10,0,0)
6648
local trl = Instance.new('Trail',disr)
6649
trl.Attachment0 = at1
6650
trl.FaceCamera = true
6651
trl.Attachment1 = at2
6652
trl.Texture = "rbxassetid://2342682798"
6653
trl.LightEmission = 1
6654
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6655
trl.Color = ColorSequence.new(disr.Color)
6656
trl.Lifetime = 0.5
6657
local bv = Instance.new("BodyVelocity")
6658
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6659
bv.velocity = disr.CFrame.lookVector*math.random(125,250)
6660
bv.Parent = disr
6661
local val = 0
6662
coroutine.resume(coroutine.create(function()
6663
    swait(30)
6664
    for i = 0, 9 do
6665
        swait()
6666
        val = val + 0.1
6667
        trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
6668
    end
6669
game:GetService("Debris"):AddItem(disr, 3)
6670
end))
6671
end
6672
local eff = Instance.new("ParticleEmitter",dis)
6673
eff.Texture = "rbxassetid://1049219073"
6674
eff.LightEmission = 1
6675
eff.Color = ColorSequence.new(dis.Color)
6676
eff.Rate = 500000
6677
eff.Lifetime = NumberRange.new(0.5,2)
6678
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
6679
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
6680
eff.Speed = NumberRange.new(20,250)
6681
eff.Drag = 5
6682
eff.Rotation = NumberRange.new(-500,500)
6683
eff.VelocitySpread = 9000
6684
eff.RotSpeed = NumberRange.new(-50,50)
6685
wait(0.5)
6686
eff.Enabled = false
6687
end))
6688
    for i = 0, 4 do
6689
        slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
6690
    end
6691
coroutine.resume(coroutine.create(function()
6692
for i = 0, 19 do
6693
swait()
6694
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
6695
end
6696
hum.CameraOffset = vt(0,0,0)
6697
end))
6698
dis.Anchored = true
6699
dis.Transparency = 1
6700
wait(8)
6701
dis:Destroy()
6702
end
6703
end)
6704
end))
6705
end))
6706
end
6707
end))
6708
for i = 0,9,0.1 do
6709
swait()
6710
sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6711
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
6712
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
6713
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
6714
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3)
6715
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
6716
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
6717
end
6718
attack = false
6719
hum.WalkSpeed = storehumanoidWS
6720
end
6721
 
6722
function EquinoxOrbs()
6723
hum.WalkSpeed = 0
6724
attack = true
6725
for i = 0,1,0.1 do
6726
swait()
6727
	RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
6728
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
6729
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
6730
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
6731
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
6732
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
6733
end
6734
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
6735
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
6736
for i = 0, 24 do
6737
		--slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
6738
end
6739
bosschatfunc("TAKE THIS!",MAINRUINCOLOR.Color,1)
6740
CFuncs["EchoSound"].Create("rbxassetid://313205954", char, 4, 1,0,10,0.15,0.5,1)
6741
CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
6742
CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
6743
CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
6744
CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
6745
for i = 0,1,0.1 do
6746
swait()
6747
    RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
6748
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)
6749
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
6750
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
6751
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
6752
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
6753
end
6754
sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
6755
sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
6756
for i = 0, 24 do
6757
        slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
6758
end
6759
CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
6760
CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
6761
CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
6762
CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
6763
for i = 0,4,0.1 do
6764
swait()
6765
root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
6766
local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
6767
CreateMesh(dis,"Sphere",1,1,1)
6768
dis.Anchored = true
6769
dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
6770
local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
6771
CreateMesh(dis2,"Sphere",1,1,1)
6772
dis2.Anchored = true
6773
dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
6774
sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
6775
sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
6776
coroutine.resume(coroutine.create(function()
6777
    swait(60)
6778
    dis.Transparency = 1
6779
    dis2.Transparency = 1
6780
coroutine.resume(coroutine.create(function()
6781
for i = 0, 19 do
6782
swait()
6783
hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
6784
end
6785
hum.CameraOffset = vt(0,0,0)
6786
end))
6787
coroutine.resume(coroutine.create(function()
6788
local eff = Instance.new("ParticleEmitter",dis)
6789
eff.Texture = "rbxassetid://2273224484"
6790
eff.LightEmission = 1
6791
eff.Color = ColorSequence.new(dis.Color)
6792
eff.Rate = 500000
6793
eff.Lifetime = NumberRange.new(0.5,2)
6794
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
6795
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
6796
eff.Speed = NumberRange.new(50,450)
6797
eff.Drag = 5
6798
eff.Rotation = NumberRange.new(-500,500)
6799
eff.VelocitySpread = 9000
6800
eff.RotSpeed = NumberRange.new(-50,50)
6801
local eff2 = eff:Clone()
6802
eff2.Parent = dis2
6803
eff2.LightEmission = 0
6804
eff2.Color = ColorSequence.new(dis2.Color)
6805
wait(0.25)
6806
eff.Enabled = false
6807
eff2.Enabled = false
6808
end))
6809
MagniDamage(dis, 55, 89,219788936, 0, "Normal")
6810
MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
6811
    for i = 0, 2 do
6812
        slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
6813
        slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
6814
    end
6815
    CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
6816
    CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
6817
    CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
6818
    CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
6819
    CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
6820
    CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
6821
    sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
6822
    sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
6823
end))
6824
game:GetService("Debris"):AddItem(dis, 5)
6825
game:GetService("Debris"):AddItem(dis2, 5)
6826
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
6827
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)
6828
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
6829
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
6830
RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
6831
LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
6832
end
6833
attack = false
6834
hum.WalkSpeed = storehumanoidWS
6835
end
6836
6837
function FallenDEMISE()
6838
attack = true
6839
hum.WalkSpeed = 0
6840
local keptcolor = MAINRUINCOLOR
6841
bosschatfunc("HOW ABOUT THIS!?",MAINRUINCOLOR.Color,3)
6842
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
6843
CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
6844
for i = 0, 15, 0.1 do
6845
swait()
6846
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6847
dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6848
local at1 = Instance.new("Attachment",dis)
6849
at1.Position = vt(-25000,0,0)
6850
local at2 = Instance.new("Attachment",dis)
6851
at2.Position = vt(25000,0,0)
6852
local trl = Instance.new('Trail',dis)
6853
trl.Attachment0 = at1
6854
trl.FaceCamera = true
6855
trl.Attachment1 = at2
6856
trl.Texture = "rbxassetid://1049219073"
6857
trl.LightEmission = 1
6858
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6859
trl.Color = ColorSequence.new(dis.Color)
6860
trl.Lifetime = 5
6861
local bv = Instance.new("BodyVelocity")
6862
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6863
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6864
bv.Parent = dis
6865
game:GetService("Debris"):AddItem(dis, 1)
6866
sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
6867
slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
6868
slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
6869
RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
6870
LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
6871
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
6872
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
6873
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
6874
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
6875
end
6876
CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
6877
for i = 0, 30, 0.1 do
6878
swait()
6879
coroutine.resume(coroutine.create(function()
6880
for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
6881
if v:FindFirstChild('Head') then
6882
dmg(v)
6883
end
6884
end
6885
end))
6886
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6887
dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6888
local at1 = Instance.new("Attachment",dis)
6889
at1.Position = vt(-50000,0,0)
6890
local at2 = Instance.new("Attachment",dis)
6891
at2.Position = vt(50000,0,0)
6892
local trl = Instance.new('Trail',dis)
6893
trl.Attachment0 = at1
6894
trl.FaceCamera = true
6895
trl.Attachment1 = at2
6896
trl.Texture = "rbxassetid://1049219073"
6897
trl.LightEmission = 1
6898
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6899
trl.Color = ColorSequence.new(dis.Color)
6900
trl.Lifetime = 10
6901
local bv = Instance.new("BodyVelocity")
6902
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6903
bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
6904
bv.Parent = dis
6905
game:GetService("Debris"):AddItem(dis, math.random(1,4))
6906
sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
6907
sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
6908
sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
6909
sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
6910
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
6911
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
6912
for i = 0, 2 do
6913
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR)
6914
end
6915
RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
6916
LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
6917
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
6918
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
6919
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
6920
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
6921
end
6922
attack = false
6923
hum.WalkSpeed = storehumanoidWS
6924
end
6925
6926
function EightBitMegaBlade()
6927
attack = true
6928
hum.WalkSpeed = 0
6929
hum.JumpPower = 0
6930
CFuncs["Sound"].Create("rbxassetid://1368583274", larm, 4.5, 1.2)
6931
local OverCut = false
6932
cam.CameraSubject = Humanoid
6933
cam.CameraType = "Scriptable"
6934
coroutine.resume(coroutine.create(function()
6935
while true do
6936
swait()
6937
if OverCut == false then
6938
cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(1, 1.5, -6) * ceuler(math.rad(10), math.rad(170), math.rad(-20)), 0.1)
6939
else
6940
break
6941
end
6942
end
6943
end))
6944
for i = 0, 10, 0.1 do
6945
swait()
6946
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
6947
sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.1,-0.01,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
6948
slash(math.random(20,40)/10,5,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.025,0.001,0.025),-0.025,BrickColor.new("White"))
6949
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
6950
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(30),math.rad(3)),.3)
6951
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
6952
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(5),math.rad(50)),.3)
6953
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
6954
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(170),math.rad(10),math.rad(0)),.3)
6955
end
6956
OverCut = true
6957
local orb = Instance.new("Part", char)
6958
orb.Anchored = true
6959
orb.BrickColor = BrickColor.new("Toothpaste")
6960
orb.CanCollide = false
6961
orb.FormFactor = 3
6962
orb.Name = "Ring"
6963
orb.Material = "Neon"
6964
orb.Size = Vector3.new(1, 1, 1)
6965
orb.Transparency = 0.5
6966
orb.TopSurface = 0
6967
orb.BottomSurface = 0
6968
local orbm = Instance.new("SpecialMesh", orb)
6969
orbm.MeshType = "FileMesh"
6970
orbm.MeshId = "rbxassetid://361629844"
6971
orbm.Scale = vt(30,60,60)
6972
orb.CFrame = root.CFrame*CFrame.new(0,50,0)
6973
for i = 0, 24 do
6974
slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.001,0.1),math.random(50,400)/420,BrickColor.new("White"))
6975
end
6976
sphere2(2,"Add",orb.CFrame,vt(10,10,10),0.5,0.5,0.5,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
6977
sphere2(3,"Add",orb.CFrame,vt(10,10,10),0.75,0.75,0.75,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
6978
sphere2(4,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
6979
CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 7.5, 1)
6980
local a = Instance.new("Part",workspace)
6981
a.Name = "Direction"   
6982
a.Anchored = true
6983
a.Transparency = 1
6984
a.CanCollide = false
6985
local ray = Ray.new(
6986
orb.CFrame.p,                           -- origin
6987
(mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
6988
)
6989
local ignore = orb
6990
local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
6991
a.BottomSurface = 10
6992
a.TopSurface = 10
6993
local distance = (orb.CFrame.p - position).magnitude
6994
a.Size = Vector3.new(0.1, 0.1, 0.1)
6995
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
6996
orb.CFrame = a.CFrame
6997
for i = 0, 8, 0.1 do
6998
swait()
6999
sphere2(5,"Add",orb.CFrame*CFrame.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
7000
ray = Ray.new(
7001
orb.CFrame.p,                           -- origin
7002
(mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
7003
)
7004
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7005
distance = (orb.CFrame.p - position).magnitude
7006
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
7007
orb.CFrame = a.CFrame
7008
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
7009
cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(20, 65, 55) * ceuler(math.rad(-20), math.rad(0), math.rad(10)), 0.2)
7010
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
7011
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(40),math.rad(3)),.3)
7012
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
7013
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.3)
7014
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-20),math.rad(20)),.3)
7015
LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(100),math.rad(0),math.rad(60)),.3)
7016
end
7017
cam.CameraType = "Custom"
7018
orb.Anchored = false
7019
a:Destroy()
7020
local bv = Instance.new("BodyVelocity")
7021
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7022
bv.velocity = orb.CFrame.lookVector*250
7023
bv.Parent = orb
7024
local hitted = false
7025
CFuncs["Sound"].Create("rbxassetid://466493476", orb, 7.5, 0.7)
7026
waveEff(2,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.1,BrickColor.new("Cyan"))
7027
waveEff(4,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.05,BrickColor.new("Royal purple"))
7028
coroutine.resume(coroutine.create(function()
7029
while true do
7030
swait(2)
7031
if hitted == false and orb.Parent ~= nil then
7032
slash(3,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.075,0.005,0.075),-0.05,BrickColor.new("White"))
7033
elseif hitted == true and orb.Parent == nil then
7034
break
7035
end
7036
end
7037
end))
7038
orb.Touched:connect(function(hit)
7039
if hitted == false and hit.Parent ~= char then
7040
hitted = true
7041
MagniDamage(orb, 30, 72,95, 0, "Normal",153092213)
7042
CFuncs["Sound"].Create("rbxassetid://763717897", orb, 10, 1)
7043
CFuncs["Sound"].Create("rbxassetid://1295446488", orb, 9, 0.75)
7044
for i = 0, 24 do
7045
slash(math.random(15,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.001,0.01),math.random(125,250)/400,BrickColor.new("White"))
7046
end
7047
slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.015,0.01),1.5,BrickColor.new("White"))
7048
slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.01,0.01),2,BrickColor.new("White"))
7049
sphere2(1,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
7050
sphere2(1.5,"Add",orb.CFrame,vt(10,10,10),1.1,1.1,1.1,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
7051
sphere2(2,"Add",orb.CFrame,vt(10,10,10),1.2,1.2,1.2,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
7052
orb.Anchored = true
7053
orb.Transparency = 1
7054
coroutine.resume(coroutine.create(function()
7055
for i = 0, 4, 0.1 do
7056
swait()
7057
slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.015,0.01),1.5,BrickColor.new("Royal purple"))
7058
hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
7059
end
7060
hum.CameraOffset = vt(0,0,0)
7061
end))
7062
wait(10)
7063
orb:Destroy()
7064
end
7065
end)
7066
game:GetService("Debris"):AddItem(orb, 10)
7067
for i = 0, 2, 0.1 do
7068
swait()
7069
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
7070
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
7071
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(30),math.rad(3)),.3)
7072
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
7073
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(70)),.3)
7074
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
7075
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-80)),.3)
7076
end
7077
attack = false
7078
hum.WalkSpeed = 24
7079
hum.JumpPower = 50
7080
end
7081
7082
function BladeSpinAgain()
7083
attack = true
7084
hum.WalkSpeed = 4
7085
hum.JumpPower = 0
7086
CFuncs["Sound"].Create("rbxassetid://1368598393", rarmor, 2, 1)
7087
CFuncs["Sound"].Create("rbxassetid://1368583274", rarmor, 2.5, 1)
7088
for x = 0, 9 do
7089
slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
7090
CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 2, 1.05)
7091
CFuncs["Sound"].Create("rbxassetid://234365573", rarmor, 2.5, 1.025)
7092
for i = 0, 1, 0.6 do
7093
        swait()
7094
sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,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,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
7095
sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
7096
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
7097
sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
7098
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7099
    RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
7100
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(30),math.rad(0)),.2)
7101
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
7102
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
7103
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
7104
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
7105
end
7106
slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
7107
for i = 0, 1, 0.6 do
7108
        swait()
7109
sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,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,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
7110
sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
7111
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
7112
sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
7113
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7114
    RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
7115
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(30),math.rad(0)),.2)
7116
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
7117
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
7118
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
7119
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
7120
end
7121
slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
7122
for i = 0, 1, 0.6 do
7123
        swait()
7124
sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,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,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
7125
sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
7126
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
7127
sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
7128
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7129
    RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
7130
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(30),math.rad(0)),.2)
7131
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
7132
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
7133
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
7134
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
7135
end
7136
slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
7137
for i = 0, 1, 0.6 do
7138
        swait()
7139
sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,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,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
7140
sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
7141
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
7142
sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
7143
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7144
    RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
7145
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(30),math.rad(0)),.2)
7146
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
7147
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
7148
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
7149
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
7150
end
7151
local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
7152
hitb.Anchored = true
7153
hitb.CFrame = root.CFrame + root.CFrame.lookVector*8
7154
hitb.CFrame = hitb.CFrame*CFrame.new(0,1,0)
7155
MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
7156
sphere2(5,"Add",hitb.CFrame,vt(2.1,2.1,2),-0.02,-0.02,5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
7157
sphere2(5,"Add",hitb.CFrame,vt(2,2,2),-0.02,-0.02,4,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
7158
for i = 0, 24 do
7159
slash(math.random(20,100)/10,5,true,"Round","Add","Out",hitb.CFrame*CFrame.new(0,0,math.random(-60,60))*CFrame.Angles(math.rad(90),0,0),vt(0.01,0.01,0.01),math.random(10,100)/1000,BrickColor.new("White"))
7160
end
7161
CFuncs["Sound"].Create("rbxassetid://313205954", root, 4,1)
7162
CFuncs["Sound"].Create("rbxassetid://1368637781", rarmor, 4,1)
7163
CFuncs["Sound"].Create("rbxassetid://763718160", rarmor, 5, 1.1)
7164
CFuncs["Sound"].Create("rbxassetid://782353443", rarmor, 6, 1)
7165
--CFuncs["Sound"].Create("rbxassetid://1548538202", rarmor, 4,1)
7166
for i = 0, 2, 0.1 do
7167
        swait()
7168
MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
7169
hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
7170
    RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-20),math.rad(-10)),.9)
7171
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)),.9)
7172
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.9)
7173
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.9)
7174
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(70)),.9)
7175
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-60)),.9)
7176
end
7177
hum.CameraOffset = vt(0,0,0)
7178
hitb:Destroy()
7179
attack = false
7180
hum.WalkSpeed = 24
7181
hum.JumpPower = 50
7182
end
7183
7184
function SpinnyBlade()
7185
attack = true
7186
hum.WalkSpeed = 1
7187
hum.JumpPower = 0
7188
CFuncs["Sound"].Create("rbxassetid://1368583274", root, 4.5, 1)
7189
local bgui = Instance.new("BillboardGui",root)
7190
bgui.Size = UDim2.new(25, 0, 25, 0)
7191
local imgc = Instance.new("ImageLabel",bgui)
7192
imgc.BackgroundTransparency = 1
7193
imgc.ImageTransparency = 1
7194
imgc.Size = UDim2.new(1,0,1,0)
7195
imgc.Image = "rbxassetid://997291547"
7196
imgc.ImageColor3 = Color3.new(0,0.5,1)
7197
local imgc2 = imgc:Clone()
7198
imgc2.Parent = bgui
7199
imgc2.Position = UDim2.new(-0.5,0,-0.5,0)
7200
imgc2.Size = UDim2.new(2,0,2,0)
7201
imgc2.ImageColor3 = Color3.new(0.5,0,1)
7202
for i = 0, 10, 0.1 do
7203
		swait()
7204
imgc.ImageTransparency = imgc.ImageTransparency - 0.01
7205
imgc.Rotation = imgc.Rotation + 1
7206
imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01
7207
imgc2.Rotation = imgc2.Rotation - 1
7208
bgui.Size = bgui.Size - UDim2.new(0.25, 0, 0.25, 0)
7209
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.1,0.01,0.1),math.random(25,50)/250,BrickColor.new("White"))
7210
sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
7211
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
7212
sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,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,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
7213
sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
7214
waveEff(5,"Add","In",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(15,0.25,15),-0.075,0.05,BrickColor.new("White"))
7215
	RH.C0=clerp(RH.C0,cf(1,-0.5,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-40),math.rad(10)),.2)
7216
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.2)
7217
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.3)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
7218
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
7219
RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.65)*angles(math.rad(100),math.rad(0),math.rad(-23)),.3)
7220
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(110),math.rad(0),math.rad(-85)),.3)
7221
end
7222
imgc.ImageTransparency = 1
7223
hum.CameraOffset = vt(0,0,0)
7224
waveEff(2,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.8,BrickColor.new("White"))
7225
waveEff(3,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.4,BrickColor.new("White"))
7226
waveEff(4,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.2,BrickColor.new("White"))
7227
waveEff(5,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.1,BrickColor.new("White"))
7228
waveEff(6,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.05,BrickColor.new("White"))
7229
for i = 0, 9 do
7230
slash(math.random(10,25)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,0,math.random(-30,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.1,0.01,0.1),math.random(75,250)/250,BrickColor.new("White"))
7231
end
7232
CFuncs["Sound"].Create("rbxassetid://430315987", root, 1.5, 1)
7233
CFuncs["Sound"].Create("rbxassetid://1295446488", root, 3, 1)
7234
for x = 0, 14 do
7235
CFuncs["Sound"].Create("rbxassetid://200633281", rarmor, 1, 1.05)
7236
CFuncs["Sound"].Create("rbxassetid://161006195", rarmor, 1.5, 1.025)
7237
MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
7238
CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
7239
slash(5,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
7240
for i = 0, 1, 0.6 do
7241
		swait()
7242
sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
7243
root.CFrame = root.CFrame + root.CFrame.lookVector*2
7244
root.Velocity = vt(0,0,0)
7245
	RH.C0=clerp(RH.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)),.2)
7246
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)),.2)
7247
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
7248
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
7249
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
7250
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
7251
end
7252
slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
7253
CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
7254
MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
7255
for i = 0, 1, 0.6 do
7256
		swait()
7257
sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
7258
root.CFrame = root.CFrame + root.CFrame.lookVector*3
7259
root.Velocity = vt(0,0,0)
7260
	RH.C0=clerp(RH.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)),.2)
7261
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)),.2)
7262
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
7263
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
7264
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
7265
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
7266
end
7267
slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
7268
CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
7269
MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
7270
for i = 0, 1, 0.6 do
7271
		swait()
7272
sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
7273
root.CFrame = root.CFrame + root.CFrame.lookVector*3
7274
root.Velocity = vt(0,0,0)
7275
	RH.C0=clerp(RH.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)),.2)
7276
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)),.2)
7277
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(180),math.rad(0),math.rad(90)),.3)
7278
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
7279
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
7280
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
7281
end
7282
slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
7283
CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
7284
MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
7285
for i = 0, 1, 0.6 do
7286
		swait()
7287
sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
7288
root.CFrame = root.CFrame + root.CFrame.lookVector*3
7289
root.Velocity = vt(0,0,0)
7290
	RH.C0=clerp(RH.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)),.2)
7291
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)),.2)
7292
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(270),math.rad(0),math.rad(90)),.3)
7293
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
7294
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
7295
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
7296
end
7297
end
7298
hum.WalkSpeed = 0
7299
for i = 0, 5, 0.1 do
7300
		swait()
7301
	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.2)
7302
LH.C0=clerp(LH.C0,cf(-1,-0.6,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(20),math.rad(-12)),.2)
7303
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.35)*angles(math.rad(10),math.rad(0),math.rad(-40)),.2)
7304
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(40)),.2)
7305
RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(110)),.2)
7306
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(45),math.rad(0),math.rad(-20)),.2)
7307
end
7308
bgui:Destroy()
7309
attack = false
7310
hum.WalkSpeed = 24
7311
hum.JumpPower = 50
7312
 end
7313
end
7314
7315
function GleamingBeam()
7316
attack = true
7317
bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
7318
CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
7319
CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
7320
local rsiz = math.random(1,15)
7321
    local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7322
    hb.Anchored = true
7323
    hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
7324
    CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
7325
    for i = 0, 16, 0.1 do
7326
        swait()
7327
rsiz = math.random(5,15)
7328
hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
7329
sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*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)
7330
sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
7331
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
7332
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
7333
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
7334
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
7335
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
7336
LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
7337
    end
7338
    CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
7339
    CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
7340
for i = 0, 2 do
7341
    CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
7342
end
7343
sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7344
sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7345
sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7346
for i = 0, 49 do
7347
local rsiza = math.random(1,15)
7348
sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) 
7349
end
7350
local a = Instance.new("Part",Character)
7351
    a.Name = "Direction"   
7352
    a.Anchored = true
7353
    a.BrickColor = MAINRUINCOLOR
7354
a.Material = "Neon"
7355
a.Transparency = 0
7356
a.Shape = "Cylinder"
7357
    a.CanCollide = false
7358
local ba = Instance.new("Part",Character)
7359
    ba.Name = "HitDirect"  
7360
    ba.Anchored = true
7361
    ba.BrickColor = bc("Cool yellow")
7362
ba.Material = "Neon"
7363
ba.Transparency = 1
7364
    ba.CanCollide = false
7365
    local ray = Ray.new(
7366
        hb.CFrame.p,                           -- origin
7367
        (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
7368
    )
7369
    local ignore = Character
7370
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7371
    a.BottomSurface = 10
7372
    a.TopSurface = 10
7373
    local distance = (hb.CFrame.p - position).magnitude
7374
    a.Size = Vector3.new(distance, 1, 1)
7375
    a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
7376
ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
7377
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
7378
local msh = Instance.new("SpecialMesh",a)
7379
msh.MeshType = "Cylinder"
7380
msh.Scale = vt(1,4,4)
7381
game:GetService("Debris"):AddItem(a, 30)
7382
game:GetService("Debris"):AddItem(ba, 30)
7383
    for i = 0, 25, 0.1 do
7384
        swait()
7385
hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
7386
ray = Ray.new(
7387
        hb.CFrame.p,                           -- origin
7388
        (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
7389
    )
7390
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7391
distance = (hb.CFrame.p - position).magnitude
7392
    a.Size = Vector3.new(distance, 1, 1)
7393
    a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
7394
ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
7395
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
7396
rsiz = math.random(5,25)
7397
    MagniDamage(ba, 12, 40000,900000, 0, "Normal")
7398
sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0)
7399
for c = 0, 2 do
7400
sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,2)
7401
end
7402
sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
7403
sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
7404
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
7405
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
7406
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(80)),.6)
7407
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
7408
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
7409
LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
7410
    end
7411
    CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
7412
    CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
7413
    CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
7414
    CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
7415
    MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
7416
sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
7417
sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
7418
sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
7419
sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7420
sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7421
sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7422
for i = 0, 49 do
7423
local rsiza = math.random(1,15)
7424
sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) 
7425
end
7426
for i = 0, 49 do
7427
rsiz = math.random(1,8)
7428
sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,MAINRUINCOLOR,2)
7429
end
7430
coroutine.resume(coroutine.create(function()
7431
for i = 0, 99 do
7432
swait()
7433
a.Transparency = a.Transparency + 0.01
7434
end
7435
a:Destroy()
7436
ba:Destroy()
7437
end))
7438
hb:Destroy()
7439
attack = false
7440
end
7441
 
7442
function SHDTwist()
7443
    attack = true
7444
hum.WalkSpeed = 2
7445
local radm = math.random(1,4)
7446
if radm == 1 then
7447
bosschatfunc("YOU FOOL!",MAINRUINCOLOR.Color,1)
7448
elseif radm == 2 then
7449
bosschatfunc("SUBMIT TO ME!",MAINRUINCOLOR.Color,1)
7450
elseif radm == 3 then
7451
bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
7452
elseif radm == 4 then
7453
bosschatfunc("YOU DARE FIGHT ME?",MAINRUINCOLOR.Color,1)
7454
end
7455
CFuncs["EchoSound"].Create("rbxassetid://1448033299", rarm, 1.5,1.25)
7456
CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
7457
local obj1 = script.chring2:Clone()
7458
obj1.Parent = char
7459
obj1.Transparency = 1
7460
obj1.Size = vt(1,1,1)
7461
obj1.Color = BrickColor.new("Pink").Color
7462
local obj2 = script.spball:Clone()
7463
obj2.Parent = char
7464
obj2.Transparency = 1
7465
obj2.Size = vt(1,1,1)
7466
obj2.Color = MAINRUINCOLOR.Color
7467
local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7468
cfor.Anchored = true
7469
cfor.CFrame = obj2.CFrame
7470
local cef = Instance.new("ParticleEmitter",cfor)
7471
cef.Texture = "rbxassetid://2344870656"
7472
cef.LightEmission = 1
7473
cef.Color = ColorSequence.new(obj2.Color)
7474
cef.Rate = 150
7475
cef.Lifetime = NumberRange.new(0.25)
7476
cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
7477
cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
7478
cef.Speed = NumberRange.new(0)
7479
local rval = 0
7480
local eval = 1
7481
    for i = 0,7,0.1 do
7482
swait()
7483
rval = rval + math.random(30,40)
7484
eval = eval + 0.45
7485
obj1.Transparency = obj1.Transparency - 0.005
7486
obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
7487
obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
7488
obj2.Transparency = obj2.Transparency - 0.007
7489
obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
7490
cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
7491
obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
7492
cfor.CFrame = obj2.CFrame
7493
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
7494
sphere2(10,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
7495
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
7496
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
7497
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-50)),.3)
7498
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2 * math.cos(sine / 37)),math.rad(10 + 1 * math.cos(sine / 58)),math.rad(50 + 2 * math.cos(sine / 53))),.3)
7499
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(5 + 2 * math.cos(sine / 45))),.3)
7500
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-50 - 4 * math.cos(sine / 45))),.3)
7501
    end
7502
    cef.Enabled = false
7503
    coroutine.resume(coroutine.create(function()
7504
    for i = 0,49 do
7505
        swait()
7506
        rval = rval + 100
7507
        obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
7508
        obj2.Transparency = obj2.Transparency + 0.02
7509
        obj2.Size = obj2.Size + vt(5,5,5)
7510
        obj1.Transparency = obj1.Transparency + 0.02
7511
        obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
7512
    end
7513
    obj1:Destroy()
7514
    obj2:Destroy()
7515
    cfor:Destroy()
7516
end))
7517
    local lva = 1
7518
    local ica = 0
7519
local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7520
CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
7521
cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
7522
sphere2(2,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
7523
sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
7524
 
7525
local a = Instance.new("Part",workspace)
7526
    a.Name = "Direction"   
7527
    a.Anchored = true
7528
    a.BrickColor = bc("Bright red")
7529
a.Material = "Neon"
7530
a.Transparency = 1
7531
    a.CanCollide = false
7532
    local ray = Ray.new(
7533
        cent.CFrame.p,                           -- origin
7534
        (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
7535
    )
7536
    local ignore = cent
7537
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7538
    a.BottomSurface = 10
7539
    a.TopSurface = 10
7540
    local distance = (cent.CFrame.p - position).magnitude
7541
    a.Size = Vector3.new(0.1, 0.1, 0.1)
7542
    a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
7543
cent.CFrame = a.CFrame
7544
a:Destroy()
7545
local bv = Instance.new("BodyVelocity")
7546
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7547
bv.velocity = cent.CFrame.lookVector*0
7548
bv.Parent = cent
7549
game:GetService("Debris"):AddItem(cent, 20)
7550
local hitted = false
7551
coroutine.resume(coroutine.create(function()
7552
    while true do
7553
        swait(1)
7554
        if hitted == false and cent.Parent ~= nil then
7555
    ica = ica + 4*lva
7556
    lva = lva + 0.1
7557
    bv.velocity = cent.CFrame.lookVector*ica
7558
    sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
7559
    sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink"))
7560
    sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue"))
7561
        elseif hitted == true or cent.Parent == nil then
7562
            break
7563
        end
7564
    end
7565
end))
7566
coroutine.resume(coroutine.create(function()
7567
cent.Touched:connect(function(hit)
7568
    if hitted == false and hit.Parent ~= char then
7569
    hitted = true
7570
    cent.Anchored = true
7571
    CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
7572
    CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
7573
    CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
7574
    CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
7575
    MagniDamage(cent, 50, 50,99999, 0, "Normal")
7576
    sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
7577
    sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
7578
    for i = 0, 19 do
7579
        slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,400)/250,BrickColor.new("Pink"))
7580
        slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,300)/250,BrickColor.new("Pastel light blue"))
7581
    end
7582
    coroutine.resume(coroutine.create(function()
7583
local eff = Instance.new("ParticleEmitter",cent)
7584
eff.Texture = "rbxassetid://2344870656"
7585
eff.LightEmission = 1
7586
eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
7587
eff.Rate = 10000000
7588
eff.Enabled = true
7589
--eff.EmissionDirection = "Front"
7590
eff.Lifetime = NumberRange.new(5)
7591
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,60,0),NumberSequenceKeypoint.new(1,80,0)})
7592
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
7593
eff.Speed = NumberRange.new(350)
7594
eff.Drag = 5
7595
eff.Rotation = NumberRange.new(-500,500)
7596
eff.SpreadAngle = Vector2.new(0,900)
7597
eff.RotSpeed = NumberRange.new(-500,500)
7598
local eff2 = eff:Clone()
7599
eff2.Parent = cent
7600
eff2.Speed = NumberRange.new(250)
7601
eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
7602
wait(0.2)
7603
eff.Enabled = false
7604
eff2.Enabled = false
7605
    end))
7606
end
7607
end)
7608
end))
7609
attack = false
7610
hum.WalkSpeed = storehumanoidWS
7611
end
7612
7613
function dragin()
7614
local targetted = nil
7615
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
7616
targetted = mouse.Target.Parent
7617
end
7618
if targetted ~= nil then
7619
RootPart.CFrame = FaceMouse()[1]
7620
attack = true
7621
hum.WalkSpeed = 0
7622
for x = 0, 1 do
7623
for i = 0,1,0.5 do
7624
swait()
7625
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
7626
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
7627
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
7628
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
7629
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
7630
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
7631
end
7632
for i = 0,1,0.5 do
7633
swait()
7634
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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
7635
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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
7636
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
7637
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
7638
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
7639
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
7640
end
7641
for i = 0,1,0.5 do
7642
swait()
7643
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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
7644
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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
7645
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
7646
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
7647
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
7648
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
7649
end
7650
for i = 0,1,0.5 do
7651
swait()
7652
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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
7653
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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
7654
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
7655
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
7656
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
7657
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
7658
end
7659
end
7660
coroutine.resume(coroutine.create(function()
7661
targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
7662
CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
7663
CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
7664
end))
7665
local A1 = Instance.new("Attachment",targetted.Head)
7666
local A2 = Instance.new("Attachment",sorb)
7667
local Beem = Instance.new("Beam",tors)
7668
Beem.Attachment0 = A1
7669
Beem.Attachment1 = A2
7670
Beem.Texture = "rbxassetid://897585362"
7671
Beem.LightEmission = 0.75
7672
Beem.FaceCamera = true
7673
Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
7674
Beem.Width0 = 1
7675
Beem.Width1 = 1
7676
Beem.TextureMode = "Wrap"
7677
Beem.TextureLength = 1
7678
Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
7679
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(0,0,0),0.15,0.15,0.15,MAINRUINCOLOR)
7680
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(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR)
7681
for x = 0, 24 do
7682
local rsiz = math.random(5,15)
7683
sphereMK(math.random(1,5),0.25,"Add",targetted.Head.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,0)
7684
end
7685
 
7686
CFuncs["EchoSound"].Create("rbxassetid://131228548", char, 7, 1,0,10,0.15,0.5,1)
7687
CFuncs["EchoSound"].Create("rbxassetid://131228548", root, 60, 1,0,10,0.15,0.5,1)
7688
local radm = math.random(1,2)
7689
if radm == 1 then
7690
bosschatfunc("GET OVER HERE!",MAINRUINCOLOR.Color,1)
7691
elseif radm == 2 then
7692
bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
7693
end
7694
for i = 0,3,0.1 do
7695
swait()
7696
coroutine.resume(coroutine.create(function()
7697
local rsiz = math.random(5,15)
7698
targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
7699
sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
7700
end))
7701
sphere2(8,"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.01,0.01,MAINRUINCOLOR)
7702
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
7703
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
7704
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
7705
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
7706
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(50)),.6)
7707
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.6)
7708
end
7709
CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
7710
CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
7711
local vel = Instance.new("BodyPosition", targetted.Head)
7712
vel.P = 12500
7713
vel.D = 1000
7714
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
7715
vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
7716
for i = 0,4,0.1 do
7717
swait()
7718
coroutine.resume(coroutine.create(function()
7719
local rsiz = math.random(5,15)
7720
targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
7721
sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
7722
end))
7723
sphere2(8,"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.01,0.01,MAINRUINCOLOR)
7724
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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
7725
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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.2)
7726
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
7727
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
7728
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.2)
7729
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.2)
7730
end
7731
local visibility = 0
7732
coroutine.resume(coroutine.create(function()
7733
for i = 0, 49 do
7734
swait()
7735
visibility = visibility + 0.02
7736
Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
7737
end
7738
Beem:Destroy()
7739
A1:Destroy()
7740
A2:Destroy()
7741
end))
7742
game:GetService("Debris"):AddItem(vel,0.75)
7743
attack = false
7744
hum.WalkSpeed = storehumanoidWS
7745
 
7746
end
7747
end
7748
7749
function DualGleamingBeam()
7750
attack = true
7751
hum.WalkSpeed = 0
7752
CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
7753
CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
7754
local radm = math.random(1,3)
7755
if radm == 1 then
7756
bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
7757
elseif radm == 2 then
7758
bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
7759
elseif radm == 3 then
7760
bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
7761
end
7762
local rsiz = math.random(1,15)
7763
    local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7764
    hb.Anchored = true
7765
    hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
7766
    local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7767
    hb2.Anchored = true
7768
    hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
7769
    CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
7770
    CFuncs["Sound"].Create("rbxassetid://138677306", sorb, 8,0.25)
7771
    for i = 0, 14, 0.1 do
7772
        swait()
7773
rsiz = math.random(5,15)
7774
hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
7775
hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
7776
sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*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)
7777
sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
7778
sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*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,BrickColor.new("Lime green"),-15)
7779
sphere2(5,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,BrickColor.new("Lime green"))
7780
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
7781
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
7782
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
7783
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
7784
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
7785
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
7786
    end
7787
    CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
7788
    CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
7789
    CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
7790
    CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
7791
    CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
7792
    CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
7793
sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7794
sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7795
sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7796
sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
7797
sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
7798
sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
7799
for i = 0, 49 do
7800
local rsiza = math.random(1,15)
7801
sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)  
7802
sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
7803
end
7804
local a = Instance.new("Part",Character)
7805
    a.Name = "Direction"   
7806
    a.Anchored = true
7807
    a.BrickColor = MAINRUINCOLOR
7808
a.Material = "Neon"
7809
a.Transparency = 0
7810
a.Shape = "Cylinder"
7811
    a.CanCollide = false
7812
local a2 = Instance.new("Part",Character)
7813
    a2.Name = "Direction"  
7814
    a2.Anchored = true
7815
    a2.BrickColor = MAINRUINCOLOR
7816
a2.Material = "Neon"
7817
a2.Transparency = 0
7818
a2.Shape = "Cylinder"
7819
    a2.CanCollide = false
7820
local ba = Instance.new("Part",Character)
7821
    ba.Name = "HitDirect"  
7822
    ba.Anchored = true
7823
    ba.BrickColor = MAINRUINCOLOR
7824
ba.Material = "Neon"
7825
ba.Transparency = 1
7826
    ba.CanCollide = false
7827
local ba2 = Instance.new("Part",Character)
7828
    ba2.Name = "HitDirect" 
7829
    ba2.Anchored = true
7830
    ba2.BrickColor = MAINRUINCOLOR
7831
ba2.Material = "Neon"
7832
ba2.Transparency = 1
7833
    ba2.CanCollide = false
7834
    local ray = Ray.new(
7835
        hb.CFrame.p,                           -- origin
7836
        (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
7837
    )
7838
    local ignore = Character
7839
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7840
    local ray2 = Ray.new(
7841
        hb2.CFrame.p,                           -- origin
7842
        (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
7843
    )
7844
    local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
7845
    local distance2 = (hb2.CFrame.p - position).magnitude
7846
 
7847
    a.BottomSurface = 10
7848
    a.TopSurface = 10
7849
    local distance = (hb.CFrame.p - position).magnitude
7850
    a.Size = Vector3.new(distance, 1, 1)
7851
    a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
7852
    a2.BottomSurface = 10
7853
    a2.TopSurface = 10
7854
    a2.Size = Vector3.new(distance2, 1, 1)
7855
    a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
7856
ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
7857
ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
7858
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
7859
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
7860
local msh = Instance.new("SpecialMesh",a)
7861
msh.MeshType = "Cylinder"
7862
msh.Scale = vt(1,4,4)
7863
local msh2 = Instance.new("SpecialMesh",a2)
7864
msh2.MeshType = "Cylinder"
7865
msh2.Scale = vt(1,4,4)
7866
game:GetService("Debris"):AddItem(a, 30)
7867
game:GetService("Debris"):AddItem(a2, 30)
7868
game:GetService("Debris"):AddItem(ba, 30)
7869
game:GetService("Debris"):AddItem(ba2, 30)
7870
    for i = 0, 20, 0.1 do
7871
        swait()
7872
hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
7873
hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
7874
ray = Ray.new(
7875
        hb.CFrame.p,                           -- origin
7876
        (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
7877
    )
7878
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7879
distance = (hb.CFrame.p - position).magnitude
7880
ray2 = Ray.new(
7881
        hb2.CFrame.p,                           -- origin
7882
        (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
7883
    )
7884
hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
7885
distance2 = (hb2.CFrame.p - position).magnitude
7886
    a.Size = Vector3.new(distance, 1, 1)
7887
    a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
7888
    a2.Size = Vector3.new(distance2, 1, 1)
7889
    a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
7890
ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
7891
ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
7892
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
7893
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
7894
rsiz = math.random(5,25)
7895
    MagniDamage(ba, 12, 800,18000, 0, "Normal")
7896
    MagniDamage(ba2, 12, 800,18000, 0, "Normal")
7897
for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
7898
if v:FindFirstChild('Head') then
7899
dmg(v)
7900
end
7901
end
7902
coroutine.resume(coroutine.create(function()
7903
local bx = Instance.new("Part",Character)
7904
bx.Name = "Location"   
7905
bx.Anchored = true
7906
bx.BrickColor = MAINRUINCOLOR
7907
bx.Material = "Neon"
7908
bx.Transparency = 1
7909
bx.CanCollide = false
7910
bx.Position = ba.Position
7911
sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
7912
wait(math.random(1,2))
7913
sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
7914
sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
7915
sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
7916
    CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
7917
    CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
7918
    MagniDamage(bx, 20, 80000,900000, 0, "Normal")
7919
for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
7920
if v:FindFirstChild('Head') then
7921
dmg(v)
7922
end
7923
end
7924
wait(5)
7925
bx:Destroy()
7926
end))
7927
sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
7928
sphereMK(math.random(4,8),0.25,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
7929
for c = 0, 2 do
7930
sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),2)
7931
end
7932
sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
7933
sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
7934
sphere2(5,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
7935
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
7936
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
7937
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.05)
7938
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
7939
RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
7940
LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
7941
    end
7942
for i = 0, 1 do
7943
    CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
7944
    CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
7945
    CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
7946
    CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
7947
end
7948
    MagniDamage(ba, 30, 8000,180000, 0, "Normal")
7949
    MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
7950
for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
7951
if v:FindFirstChild('Head') then
7952
dmg(v)
7953
end
7954
end
7955
sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
7956
sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
7957
sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
7958
sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7959
sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7960
sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
7961
sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
7962
sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
7963
sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
7964
for i = 0, 49 do
7965
local rsiza = math.random(1,15)
7966
sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
7967
sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)  
7968
end
7969
for i = 0, 49 do
7970
rsiz = math.random(1,8)
7971
sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,bc("Lime green"),2)
7972
end
7973
coroutine.resume(coroutine.create(function()
7974
for i = 0, 99 do
7975
swait()
7976
a.Transparency = a.Transparency + 0.01
7977
a2.Transparency = a2.Transparency + 0.01
7978
end
7979
a:Destroy()
7980
ba:Destroy()
7981
a2:Destroy()
7982
ba2:Destroy()
7983
end))
7984
hum.WalkSpeed = storehumanoidWS
7985
hb:Destroy()
7986
hb2:Destroy()
7987
attack = false
7988
end
7989
 
7990
function Counter()
7991
    hum.WalkSpeed = 0
7992
CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
7993
CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
7994
bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
7995
    attack = true
7996
    for i = 0,1,0.1 do
7997
        swait()
7998
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
7999
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
8000
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)
8001
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)
8002
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)
8003
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)
8004
    end
8005
CameraEnshaking(3,4)
8006
MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
8007
sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
8008
sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
8009
sphere2(20,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
8010
coroutine.resume(coroutine.create(function()
8011
local eff = Instance.new("ParticleEmitter",root)
8012
eff.Texture = "rbxassetid://363275192"
8013
eff.LightEmission = 0.95
8014
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
8015
eff.Rate = 10000
8016
eff.Lifetime = NumberRange.new(1)
8017
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
8018
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
8019
eff.Speed = NumberRange.new(10,125)
8020
eff.Drag = 5
8021
eff.Rotation = NumberRange.new(-500,500)
8022
eff.VelocitySpread = 9000
8023
eff.RotSpeed = NumberRange.new(-50,50)
8024
local eff2 = eff:Clone()
8025
eff2.Parent = root
8026
eff2.Texture = "rbxassetid://284205403"
8027
eff2.Rate = 10000
8028
eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,30,0),NumberSequenceKeypoint.new(1,0,0)})
8029
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
8030
eff2.Drag = 5
8031
eff2.Speed = NumberRange.new(10,50)
8032
eff2.Rotation = NumberRange.new(-500,500)
8033
eff2.VelocitySpread = 9000
8034
wait(0.25)
8035
eff2.Enabled = false
8036
eff.Enabled = false
8037
wait(3)
8038
eff2:Destroy()
8039
eff:Destroy()
8040
end))
8041
for i = 0, 9 do
8042
sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
8043
end
8044
for i = 0, 24 do
8045
local rsiz = math.random(5,20)
8046
sphereMK(math.random(2,10),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)
8047
end
8048
CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
8049
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
8050
CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
8051
    for i = 0,2,0.1 do
8052
        swait()
8053
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
8054
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
8055
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
8056
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
8057
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)
8058
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)
8059
    end
8060
    hum.WalkSpeed = storehumanoidWS
8061
attack = false
8062
end
8063
8064
function CyberSlash()
8065
local posit = -2
8066
attack = true
8067
hum.WalkSpeed = 5
8068
CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
8069
local radm = math.random(1,3)
8070
if radm == 1 then
8071
bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
8072
elseif radm == 2 then
8073
bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
8074
elseif radm == 3 then
8075
bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
8076
end
8077
CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
8078
    for i = 0,2,0.1 do
8079
        swait()
8080
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)
8081
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
8082
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
8083
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
8084
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
8085
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
8086
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
8087
    end
8088
for i = 0, 2 do
8089
CameraEnshaking(1,2)
8090
local hite = Instance.new("Part", char)
8091
        hite.Anchored = true
8092
        hite.CanCollide = false
8093
        hite.FormFactor = 3
8094
        hite.Name = "Ring"
8095
        hite.Material = "Neon"
8096
        hite.Size = Vector3.new(1, 1, 1)
8097
        hite.Transparency = 1
8098
        hite.TopSurface = 0
8099
        hite.BottomSurface = 0
8100
hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
8101
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
8102
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
8103
coroutine.resume(coroutine.create(function()
8104
for i = 0, 1 do
8105
    swait()
8106
        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)
8107
        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)
8108
        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)
8109
end
8110
end))
8111
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)
8112
MagniDamage(hite, 3, 30,40, 0, "Normal")
8113
game:GetService("Debris"):AddItem(hite, 5)
8114
posit = posit + 2
8115
end
8116
    for i = 0,1,0.1 do
8117
        swait()
8118
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)
8119
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
8120
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
8121
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
8122
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
8123
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)
8124
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)
8125
    end
8126
    for i = 0,1,0.1 do
8127
        swait()
8128
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)
8129
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
8130
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
8131
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
8132
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
8133
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)
8134
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)
8135
    end
8136
    posit = -6
8137
    for i = 0, 6 do
8138
CameraEnshaking(1,3)
8139
local hite = Instance.new("Part", char)
8140
        hite.Anchored = true
8141
        hite.CanCollide = false
8142
        hite.FormFactor = 3
8143
        hite.Name = "Ring"
8144
        hite.Material = "Neon"
8145
        hite.Size = Vector3.new(1, 1, 1)
8146
        hite.Transparency = 1
8147
        hite.TopSurface = 0
8148
        hite.BottomSurface = 0
8149
hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
8150
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
8151
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
8152
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)
8153
coroutine.resume(coroutine.create(function()
8154
for i = 0, 2 do
8155
    swait()
8156
        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)
8157
        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)
8158
        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)
8159
end
8160
end))
8161
MagniDamage(hite, 5, 40,70, 0, "Normal")
8162
game:GetService("Debris"):AddItem(hite, 5)
8163
posit = posit + 2
8164
    end
8165
    for i = 0,1,0.1 do
8166
        swait()
8167
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)
8168
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
8169
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
8170
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
8171
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
8172
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)
8173
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)
8174
    end
8175
    hum.WalkSpeed = storehumanoidWS
8176
attack = false
8177
end
8178
 
8179
function Beams()
8180
attack = true
8181
hum.WalkSpeed = 0
8182
CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
8183
CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
8184
bosschatfunc("You're gone..",MAINRUINCOLOR.Color,2)
8185
local keptcolor = MAINRUINCOLOR
8186
coroutine.resume(coroutine.create(function()
8187
for i = 0, 96 do
8188
swait(5)
8189
local orb = Instance.new("Part", char)
8190
CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
8191
        orb.BrickColor = keptcolor
8192
        orb.CanCollide = false
8193
        orb.FormFactor = 3
8194
        orb.Name = "Ring"
8195
        orb.Material = "Neon"
8196
        orb.Size = Vector3.new(1, 1, 1)
8197
        orb.Transparency = 0
8198
        orb.TopSurface = 0
8199
        orb.BottomSurface = 0
8200
orb.Anchored = true
8201
        local orbm = Instance.new("SpecialMesh", orb)
8202
        orbm.MeshType = "Sphere"
8203
orbm.Name = "SizeMesh"
8204
orbm.Scale = vt(1.25,1.25,1.25)
8205
orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
8206
sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
8207
coroutine.resume(coroutine.create(function()
8208
wait(0.5)
8209
CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
8210
sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
8211
sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
8212
orb.Transparency = 1
8213
    local a = Instance.new("Part",char)
8214
    a.Name = "Direction"   
8215
    a.Anchored = true
8216
    a.BrickColor = keptcolor
8217
a.Material = "Neon"
8218
a.Transparency = 0.25
8219
a.Shape = "Cylinder"
8220
    local ht = Instance.new("Part",char)
8221
    ht.Name = "DirectionHit"   
8222
    ht.Anchored = true
8223
    ht.BrickColor = keptcolor
8224
ht.CanCollide = false
8225
ht.Transparency = 1
8226
ht.Size = vt(0.1,0.1,0.1)
8227
CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
8228
    a.CanCollide = false
8229
    local ray = Ray.new(
8230
        orb.CFrame.p,                           -- origin
8231
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
8232
    )
8233
    local ignore = char
8234
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
8235
    a.BottomSurface = 10
8236
    a.TopSurface = 10
8237
    local distance = (orb.CFrame.p - position).magnitude
8238
    a.Size = Vector3.new(distance,1,1)
8239
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
8240
    ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
8241
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
8242
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
8243
MagniDamage(ht, 9, 30,60, 0, "Normal")
8244
coroutine.resume(coroutine.create(function()
8245
local eff = Instance.new("ParticleEmitter",ht)
8246
eff.Texture = "rbxassetid://284205403"
8247
eff.LightEmission = 0.95
8248
eff.Color = ColorSequence.new(keptcolor.Color)
8249
eff.Rate = 500
8250
eff.Lifetime = NumberRange.new(0.5)
8251
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
8252
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
8253
eff.Speed = NumberRange.new(10,50)
8254
eff.Drag = 5
8255
eff.Rotation = NumberRange.new(-500,500)
8256
eff.VelocitySpread = 9000
8257
eff.RotSpeed = NumberRange.new(-500,500)
8258
wait(0.25)
8259
eff.Enabled = false
8260
end))
8261
for i = 0, 4 do
8262
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)
8263
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)
8264
local rsiz = math.random(10,30)
8265
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)
8266
end
8267
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
8268
local msh = Instance.new("SpecialMesh",a)
8269
msh.MeshType = "Cylinder"
8270
msh.Scale = vt(1,1,1)
8271
for i = 0, 49 do
8272
swait()
8273
msh.Scale = msh.Scale + vt(0,0.01,0.01)
8274
a.Transparency = a.Transparency + 0.02
8275
end
8276
orb:Destroy()
8277
a:Destroy()
8278
ht:Destroy()
8279
end))
8280
game:GetService("Debris"):AddItem(orb, 10)
8281
end
8282
end))
8283
    for i = 0,6,0.1 do
8284
        swait()
8285
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)
8286
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.2 * math.cos(sine / 35))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
8287
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
8288
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
8289
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
8290
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
8291
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
8292
    end
8293
hum.WalkSpeed = storehumanoidWS
8294
attack = false
8295
end
8296
8297
function hugg()
8298
attack = true
8299
hum.WalkSpeed = 5
8300
local rsiz = math.random(5,15)
8301
for i = 0, 2, 0.1 do
8302
swait()
8303
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
8304
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
8305
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8306
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
8307
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
8308
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
8309
end
8310
CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
8311
    local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
8312
    hb.Anchored = true
8313
    hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
8314
local huggedperson = nil
8315
local act = false
8316
local alreadydid = false
8317
for i = 0, 3, 0.1 do
8318
swait()
8319
if act == false then
8320
for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
8321
if v:FindFirstChild('Head') then
8322
if alreadydid == false then
8323
huggedperson = v
8324
hum.WalkSpeed = 0
8325
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
8326
CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
8327
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
8328
CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
8329
local radm = math.random(1,3)
8330
if radm == 1 then
8331
bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
8332
elseif radm == 2 then
8333
bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
8334
elseif radm == 3 then
8335
bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
8336
end
8337
root.Anchored = true
8338
coroutine.resume(coroutine.create(function()
8339
huggedperson.Humanoid.WalkSpeed = 0
8340
huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
8341
end))
8342
--chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
8343
alreadydid = true
8344
act = true
8345
print(huggedperson.Name)
8346
end
8347
end
8348
end
8349
hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
8350
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
8351
elseif act == true then
8352
coroutine.resume(coroutine.create(function()
8353
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
8354
end))
8355
rsiz = math.random(5,15)
8356
sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
8357
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1)
8358
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
8359
end
8360
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
8361
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
8362
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8363
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
8364
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
8365
end
8366
hb:Destroy()
8367
if act == true then
8368
for x = 0, 2 do
8369
for i = 0, 2, 0.1 do
8370
swait()
8371
coroutine.resume(coroutine.create(function()
8372
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
8373
end))
8374
rsiz = math.random(5,15)
8375
sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
8376
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1)
8377
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
8378
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
8379
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
8380
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8381
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
8382
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
8383
end
8384
for i = 0, 2, 0.1 do
8385
swait()
8386
coroutine.resume(coroutine.create(function()
8387
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
8388
end))
8389
rsiz = math.random(5,15)
8390
sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
8391
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1)
8392
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
8393
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
8394
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
8395
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8396
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
8397
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
8398
end
8399
end
8400
end
8401
hum.WalkSpeed = storehumanoidWS
8402
root.Anchored = false
8403
if act == true then
8404
coroutine.resume(coroutine.create(function()
8405
huggedperson.Humanoid.WalkSpeed = 16
8406
huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
8407
end))
8408
end
8409
hum.WalkSpeed = storehumanoidWS
8410
attack = false
8411
end
8412
 
8413
function shytaunty()
8414
attack = true
8415
hum.WalkSpeed = 0
8416
bosschatfunc("*Blushes and giggles*",MAINRUINCOLOR.Color,1)
8417
CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
8418
local blush = Instance.new("Decal",hed)
8419
blush.Texture = "rbxassetid://898404027"
8420
blush.Face = "Front"
8421
for i = 0, 13, 0.1 do
8422
swait()
8423
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)
8424
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)
8425
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),1 + 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)
8426
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)
8427
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)
8428
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)
8429
end
8430
coroutine.resume(coroutine.create(function()
8431
for i = 0, 49 do
8432
swait()
8433
blush.Transparency = blush.Transparency + 0.02
8434
end
8435
blush:Destroy()
8436
end))
8437
hum.WalkSpeed = storehumanoidWS
8438
attack = false
8439
end
8440
8441
function smiter()
8442
local targetted = nil
8443
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
8444
targetted = mouse.Target.Parent
8445
end
8446
if targetted ~= nil then
8447
RootPart.CFrame = FaceMouse()[1]
8448
attack = true
8449
local radm = math.random(1,3)
8450
if radm == 1 then
8451
bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
8452
elseif radm == 2 then
8453
bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
8454
elseif radm == 3 then
8455
bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
8456
end
8457
hum.WalkSpeed = 0
8458
coroutine.resume(coroutine.create(function()
8459
CFuncs["Sound"].Create("rbxassetid://2556945475", char, 1.5, 1)
8460
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
8461
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
8462
local vel = Instance.new("BodyPosition", targetted.Head)
8463
vel.P = 12500
8464
vel.D = 1000
8465
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
8466
vel.position = targetted.Head.CFrame.p
8467
end))
8468
CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
8469
CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
8470
CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
8471
    for i = 0,4,0.1 do
8472
        swait()
8473
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)
8474
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
8475
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
8476
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)
8477
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
8478
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
8479
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
8480
    end
8481
coroutine.resume(coroutine.create(function()
8482
CameraEnshaking(6,5)
8483
MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
8484
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
8485
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
8486
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
8487
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
8488
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
8489
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
8490
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
8491
coroutine.resume(coroutine.create(function()
8492
local eff = Instance.new("ParticleEmitter",targetted.Head)
8493
eff.Texture = "rbxassetid://2273224484"
8494
eff.LightEmission = 1
8495
eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
8496
eff.Rate = 500000
8497
eff.Lifetime = NumberRange.new(0.5,2)
8498
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
8499
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
8500
eff.Speed = NumberRange.new(20,250)
8501
eff.Drag = 5
8502
eff.Rotation = NumberRange.new(-500,500)
8503
eff.VelocitySpread = 9000
8504
eff.RotSpeed = NumberRange.new(-50,50)
8505
wait(0.25)
8506
eff.Enabled = false
8507
local eff = Instance.new("ParticleEmitter",targetted.Head)
8508
eff.Texture = "rbxassetid://363275192"
8509
eff.LightEmission = 0.95
8510
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
8511
eff.Rate = 10000
8512
eff.Lifetime = NumberRange.new(1.5)
8513
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
8514
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
8515
eff.Speed = NumberRange.new(25,150)
8516
eff.Drag = 5
8517
eff.Rotation = NumberRange.new(-500,500)
8518
eff.VelocitySpread = 9000
8519
eff.RotSpeed = NumberRange.new(-50,50)
8520
local eff2 = eff:Clone()
8521
eff2.Parent = targetted.Head
8522
eff2.Texture = "rbxassetid://284205403"
8523
eff2.Rate = 10000
8524
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
8525
eff2.Drag = 5
8526
eff2.Rotation = NumberRange.new(-500,500)
8527
eff2.VelocitySpread = 9000
8528
wait(0.5)
8529
eff2.Enabled = false
8530
eff.Enabled = false
8531
end))
8532
for i = 0, 9 do
8533
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)
8534
end
8535
for i = 0, 49 do
8536
local rsiz = math.random(10,50)
8537
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)
8538
end
8539
game:GetService("Debris"):AddItem(vel,1)
8540
dmg(targetted)
8541
end))
8542
    for i = 0,1,0.1 do
8543
        swait()
8544
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
8545
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
8546
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)
8547
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
8548
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
8549
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
8550
    end
8551
attack = false
8552
hum.WalkSpeed = storehumanoidWS
8553
 end
8554
8555
function SpeedDrop()
8556
attack = true
8557
hum.WalkSpeed = 0
8558
CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
8559
local poste = 3
8560
local rotation = 0
8561
local rate = 0
8562
bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
8563
for i = 0, 124 do
8564
swait()
8565
rotation = rotation + rate
8566
poste = poste + 0.1
8567
rate = rate + 0.1
8568
sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
8569
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)
8570
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)
8571
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)
8572
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)
8573
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)
8574
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)
8575
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)
8576
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
8577
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
8578
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
8579
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
8580
end
8581
CameraEnshaking(3,7)
8582
bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
8583
local loc = Instance.new("Part", char)
8584
loc.BrickColor = MAINRUINCOLOR
8585
loc.CanCollide = false
8586
loc.FormFactor = 3
8587
loc.Name = "Ring"
8588
loc.Material = "Neon"
8589
loc.Size = Vector3.new(1, 1, 1)
8590
loc.Transparency = 1
8591
loc.TopSurface = 0
8592
loc.BottomSurface = 0
8593
loc.Anchored = true
8594
loc.CFrame = root.CFrame + root.CFrame.lookVector*100
8595
CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
8596
CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
8597
MagniDamage(loc, 95, 500,6000, 0, "Normal")
8598
sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
8599
sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
8600
sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
8601
sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
8602
coroutine.resume(coroutine.create(function()
8603
local eff = Instance.new("ParticleEmitter",loc)
8604
eff.Texture = "rbxassetid://363275192"
8605
eff.LightEmission = 0.95
8606
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
8607
eff.Rate = 10000
8608
eff.Lifetime = NumberRange.new(1)
8609
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
8610
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
8611
eff.Speed = NumberRange.new(100,500)
8612
eff.Drag = 5
8613
eff.Rotation = NumberRange.new(-500,500)
8614
eff.VelocitySpread = 9000
8615
eff.RotSpeed = NumberRange.new(-50,50)
8616
wait(0.5)
8617
eff.Enabled = false
8618
end))
8619
for i = 0, 49 do
8620
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)
8621
end
8622
for i = 0, 9 do
8623
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)
8624
end
8625
game:GetService("Debris"):AddItem(loc, 5)
8626
root.CFrame = root.CFrame + root.CFrame.lookVector*200
8627
hum.WalkSpeed = storehumanoidWS
8628
attack = false
8629
 end
8630
8631
function HolyBarrier()
8632
	attack = true
8633
	shielding = true
8634
	for i = 0, 2, 0.1 do
8635
		swait()
8636
		RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
8637
		LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
8638
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
8639
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
8640
		RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
8641
		LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
8642
	end
8643
	CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
8644
	stash = Instance.new("Model",workspace)
8645
	local barrier = Instance.new("Part",stash)
8646
	barrier.Anchored = true
8647
	barrier.CanCollide = false
8648
	barrier.Size = Vector3.new(20,20,20)
8649
	barrier.CFrame = root.CFrame
8650
	barrier.Transparency = 0.6
8651
	barrier.BrickColor = MAINRUINCOLOR
8652
	barrier.Material = Enum.Material.Neon
8653
	barrier.Shape = Enum.PartType.Ball
8654
	barrier.CFrame = root.CFrame
8655
	sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
8656
	Torso.Anchored = true
8657
	for i=1,50 do
8658
		local p = Instance.new("Part",stash)
8659
		p.Anchored = true
8660
		p.Transparency = 1
8661
		p.Size = Vector3.new(11,11,11)
8662
		p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
8663
	end
8664
	repeat
8665
		swait(5)
8666
		sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("White"),0)
8667
	until shielding == false
8668
	stash:Remove()
8669
	Torso.Anchored = false
8670
	shielding = false
8671
	sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
8672
	attack = false
8673
end
8674
8675
function Judgement()
8676
	attack = true
8677
	judgement = true
8678
	hum.WalkSpeed = 0
8679
	local p = Instance.new("Part",root)
8680
	p.Anchored = true
8681
	p.CanCollide = false
8682
	p.BrickColor = MAINRUINCOLOR
8683
	p.Material = Enum.Material.Neon
8684
	p.Size = Vector3.new(1,1,1)
8685
	p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
8686
	p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
8687
	local m = Instance.new("SpecialMesh",p)
8688
	m.MeshType = "Cylinder"
8689
	m.Scale = Vector3.new(2000,2,2)
8690
	local targ = Instance.new("Part",root)
8691
	targ.Anchored = true
8692
	targ.Transparency = 1
8693
	targ.CanCollide = false
8694
	targ.Size = Vector3.new(1,1,1)
8695
	targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
8696
	local s = Instance.new("Sound",targ)
8697
	s.SoundId = "https://roblox.com/asset/?id=115327352"
8698
	s.Looped = true
8699
	s.Pitch = 1.2
8700
	s.Volume = 3
8701
	spawn(function()
8702
		swait(15)
8703
		s:Play()
8704
	end)
8705
	CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
8706
	for i = 1,15 do
8707
		targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
8708
		RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
8709
		Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
8710
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
8711
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
8712
		RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
8713
		LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
8714
		sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
8715
		sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
8716
		m.Scale = m.Scale+Vector3.new(0,1,1)
8717
		p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
8718
		p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
8719
		swait()
8720
	end
8721
	sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
8722
	repeat
8723
		targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
8724
		sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
8725
		sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
8726
		p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
8727
		p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
8728
		MagniDamage(targ, 25, 5, 8, 0, "Normal")
8729
		swait()
8730
		until judgement == false
8731
	for i =1,15 do
8732
	m.Scale = m.Scale-Vector3.new(1,1,1)
8733
	p.Transparency = i / 15
8734
	s.Pitch = s.Pitch - 0.4
8735
	swait()
8736
	end
8737
	p:Destroy()
8738
	hum.WalkSpeed = storehumanoidWS 
8739
	attack = false
8740
end
8741
8742
function vistaunty()
8743
attack = false
8744
hum.WalkSpeed = 0
8745
local rd = math.random(1,5)
8746
if rd == 1 then
8747
chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8748
elseif rd == 2 then
8749
chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8750
elseif rd == 3 then
8751
chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8752
elseif rd == 4 then
8753
chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8754
elseif rd == 5 then
8755
chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8756
end
8757
for i = 0, 8, 0.1 do
8758
swait()
8759
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)
8760
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)
8761
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)
8762
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)
8763
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)
8764
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)
8765
end
8766
hum.WalkSpeed = storehumanoidWS
8767
attack = false
8768
end
8769
8770
function BinaryBLINK()
8771
for i = 0, 9 do
8772
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)
8773
end
8774
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
8775
coroutine.resume(coroutine.create(function()
8776
local eff = Instance.new("ParticleEmitter",root)
8777
eff.Texture = "rbxassetid://1175838406"
8778
eff.LightEmission = 0.95
8779
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
8780
eff.Rate = 10000
8781
eff.Lifetime = NumberRange.new(1)
8782
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
8783
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
8784
eff.Speed = NumberRange.new(30,160)
8785
eff.Drag = 5
8786
eff.Rotation = NumberRange.new(-500,500)
8787
eff.VelocitySpread = 100000
8788
wait(0.25)
8789
eff.Enabled = false
8790
wait(4)
8791
eff:Destroy()
8792
end))
8793
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
8794
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
8795
CameraEnshaking(2,10)
8796
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
8797
if v:FindFirstChild('Head') then
8798
dmg(v)
8799
end
8800
end
8801
for i = 0, 9 do
8802
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)
8803
end
8804
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
8805
end
8806
8807
function AZUREFINALE()
8808
attack = false
8809
duringend = true
8810
hum.WalkSpeed = 0
8811
CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
8812
CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
8813
local hite = Instance.new("Part", char)
8814
        hite.Anchored = true
8815
        hite.CanCollide = false
8816
        hite.FormFactor = 3
8817
        hite.Name = "Ring"
8818
        hite.Material = "Neon"
8819
        hite.Size = Vector3.new(1, 1, 1)
8820
        hite.Transparency = 0
8821
        hite.TopSurface = 0
8822
        hite.BottomSurface = 0
8823
        hite.BrickColor = MAINRUINCOLOR
8824
        local orbm = Instance.new("SpecialMesh", hite)
8825
        orbm.MeshType = "Sphere"
8826
orbm.Name = "SizeMesh"
8827
orbm.Scale = vt(0,0,0)
8828
hite.CFrame = root.CFrame*CFrame.new(0,200,0)
8829
    for i = 0,70,0.1 do
8830
        swait()
8831
orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
8832
rsiz = math.random(10,45)
8833
kan.Volume = kan.Volume + 0.01
8834
kan.Pitch = kan.Pitch - 0.00135
8835
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)  
8836
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)
8837
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)
8838
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
8839
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)
8840
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
8841
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)
8842
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)
8843
    end
8844
    kan.Pitch = 0.1
8845
hite.Transparency = 1
8846
for i = 0,2 do
8847
CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
8848
end
8849
CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
8850
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)
8851
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)
8852
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)
8853
coroutine.resume(coroutine.create(function()
8854
local eff = Instance.new("ParticleEmitter",hite)
8855
eff.Texture = "rbxassetid://284205403"
8856
eff.LightEmission = 0.95
8857
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
8858
eff.Rate = 10000
8859
eff.Lifetime = NumberRange.new(5)
8860
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
8861
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
8862
eff.Speed = NumberRange.new(600,1250)
8863
eff.Drag = 5
8864
eff.Rotation = NumberRange.new(-500,500)
8865
eff.VelocitySpread = 9000
8866
eff.RotSpeed = NumberRange.new(-500,500)
8867
wait(1)
8868
eff.Enabled = false
8869
end))
8870
    for i = 0,5,0.1 do
8871
        swait()
8872
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)
8873
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
8874
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)
8875
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
8876
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)
8877
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)
8878
    end
8879
local adsc = 0
8880
local radiatezone = 0
8881
    for i = 0,20,0.1 do
8882
        swait()
8883
adsc = adsc + 0.025
8884
radiatezone = radiatezone + 1.25
8885
sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
8886
for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
8887
if v:FindFirstChild('Head') then
8888
dmg(v)
8889
end
8890
end
8891
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)
8892
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
8893
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)
8894
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
8895
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)
8896
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)
8897
    end
8898
for i = 0,2 do
8899
CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
8900
end
8901
    for i = 0,40,0.1 do
8902
        swait()
8903
adsc = adsc + 0.05
8904
radiatezone = radiatezone + 2.5
8905
sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
8906
for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
8907
if v:FindFirstChild('Head') then
8908
dmg(v)
8909
end
8910
end
8911
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)
8912
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
8913
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)
8914
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
8915
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)
8916
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)
8917
    end
8918
for i = 0,4 do
8919
CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
8920
CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
8921
end
8922
    for i = 0,80,0.1 do
8923
        swait()
8924
adsc = adsc + 0.075
8925
radiatezone = radiatezone + 3.75
8926
sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
8927
for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
8928
if v:FindFirstChild('Head') then
8929
dmg(v)
8930
end
8931
end
8932
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)
8933
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
8934
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)
8935
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
8936
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)
8937
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)
8938
    end
8939
hite:Destroy()
8940
duringend = false
8941
hum.WalkSpeed = storehumanoidWS
8942
attack = false
8943
end
8944
8945
function WarpedDash()
8946
attack = true
8947
hum.WalkSpeed = 0
8948
hum.JumpPower = 0
8949
CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
8950
local poste = 3
8951
local rotation = 0
8952
local rate = 0
8953
for i = 0, 124 do
8954
swait()
8955
rotation = rotation + rate
8956
poste = poste + 0.1
8957
rate = rate + 0.1
8958
sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
8959
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)
8960
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)
8961
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)
8962
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)
8963
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)
8964
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)
8965
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)
8966
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
8967
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
8968
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
8969
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
8970
end
8971
CameraEnshaking(3,7)
8972
local loc = Instance.new("Part", char)
8973
loc.BrickColor = MAINRUINCOLOR
8974
loc.CanCollide = false
8975
loc.FormFactor = 3
8976
loc.Name = "Ring"
8977
loc.Material = "Neon"
8978
loc.Size = Vector3.new(1, 1, 1)
8979
loc.Transparency = 1
8980
loc.TopSurface = 0
8981
loc.BottomSurface = 0
8982
loc.Anchored = true
8983
loc.CFrame = root.CFrame + root.CFrame.lookVector*100
8984
CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
8985
CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
8986
MagniDamage(loc, 95, 500,6000, 0, "Normal")
8987
sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
8988
sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
8989
sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
8990
sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
8991
coroutine.resume(coroutine.create(function()
8992
local eff = Instance.new("ParticleEmitter",loc)
8993
eff.Texture = "rbxassetid://363275192"
8994
eff.LightEmission = 0.95
8995
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
8996
eff.Rate = 10000
8997
eff.Lifetime = NumberRange.new(1)
8998
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
8999
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
9000
eff.Speed = NumberRange.new(100,500)
9001
eff.Drag = 5
9002
eff.Rotation = NumberRange.new(-500,500)
9003
eff.VelocitySpread = 9000
9004
eff.RotSpeed = NumberRange.new(-50,50)
9005
wait(0.5)
9006
eff.Enabled = false
9007
end))
9008
for i = 0, 49 do
9009
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)
9010
end
9011
for i = 0, 9 do
9012
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)
9013
end
9014
game:GetService("Debris"):AddItem(loc, 5)
9015
root.CFrame = root.CFrame + root.CFrame.lookVector*200
9016
hum.WalkSpeed = storehumanoidWS
9017
hum.JumpPower = 50
9018
attack = false
9019
end
9020
9021
function Suicidal()
9022
hum.WalkSpeed = 0
9023
attack = true
9024
local keptcolor = MAINRUINCOLOR
9025
local locat = Instance.new("Part", char)
9026
locat.CanCollide = false
9027
locat.FormFactor = 3
9028
locat.Name = "Ring"
9029
locat.Material = "Neon"
9030
locat.Size = Vector3.new(1, 1, 1)
9031
locat.Transparency = 1
9032
locat.TopSurface = 0
9033
locat.BottomSurface = 0
9034
locat.Anchored = true
9035
locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
9036
local poste = 0
9037
local rotation = 0
9038
local upperpos = 0
9039
local rate = 0
9040
local x = locat
9041
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
9042
CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
9043
sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
9044
CameraEnshaking(2,5)
9045
for i = 0, 49 do
9046
swait()
9047
rotation = rotation + 5
9048
poste = poste + 1
9049
RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
9050
LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
9051
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
9052
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
9053
RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
9054
LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
9055
end
9056
for i = 0, 49 do
9057
swait()
9058
rotation = rotation + 5
9059
RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
9060
LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
9061
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
9062
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
9063
RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
9064
LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
9065
end
9066
ModeOfGlitch = 432
9067
storehumanoidWS = 300
9068
hum.WalkSpeed = 16
9069
rainbowmode = false
9070
chaosmode = false
9071
RecolorTextAndRename("???",BrickColor.new("Black").Color,BrickColor.new("Really red").Color,"Antique")
9072
newThemeCust("rbxassetid://1891600872",0,0.9,1.5)
9073
MAINRUINCOLOR = BrickColor.new("Really red")
9074
keptcolor = MAINRUINCOLOR
9075
RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
9076
CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
9077
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
9078
sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
9079
attack = false
9080
hum.WalkSpeed = storehumanoidWS
9081
for i = 0, 49 do
9082
local rsiz = math.random(150,450)
9083
end
9084
coroutine.resume(coroutine.create(function()
9085
local eff = Instance.new("ParticleEmitter",x)
9086
eff.Texture = "rbxassetid://284205403"
9087
eff.LightEmission = 0.95
9088
eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
9089
eff.Rate = 50000
9090
eff.Lifetime = NumberRange.new(2.5)
9091
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
9092
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
9093
eff.Speed = NumberRange.new(250,1000)
9094
eff.Drag = 5
9095
eff.Rotation = NumberRange.new(-500,500)
9096
eff.VelocitySpread = 9000
9097
eff.RotSpeed = NumberRange.new(-500,500)
9098
wait(0.5)
9099
eff.Enabled = false
9100
end))
9101
--[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
9102
if v:FindFirstChild('Head') then
9103
dmg(v)
9104
end
9105
end]]--
9106
CameraEnshaking(8,10)
9107
for i = 0, 99 do
9108
swait()
9109
rotation = rotation + 5
9110
poste = poste + 1
9111
upperpos = upperpos + rate
9112
rate = rate + 0.1
9113
end
9114
x:Destroy()
9115
end
9116
9117
function Technobeam()
9118
    attack = true
9119
    hum.WalkSpeed = 3.01
9120
    for i = 0, 4, 0.1 do
9121
        swait()
9122
        hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
9123
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
9124
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
9125
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
9126
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
9127
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
9128
        LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
9129
    end
9130
    for i = 0, 2, 0.1 do
9131
        swait()
9132
        hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
9133
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
9134
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
9135
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
9136
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
9137
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
9138
        LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
9139
    end
9140
    Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, MAINRUINCOLOR, "Sphere")
9141
    Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, MAINRUINCOLOR, "Sphere")
9142
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, MAINRUINCOLOR, "Sphere")
9143
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, MAINRUINCOLOR, "Sphere")
9144
    CameraEnshaking(4, 5)
9145
    Cso("206049428", char, 10, 1)
9146
    for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
9147
        if v:FindFirstChild("Head") then
9148
            Eviscerate(v)
9149
        end
9150
    end
9151
    for i = 0, 2, 0.1 do
9152
        swait()
9153
        hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
9154
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
9155
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
9156
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
9157
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
9158
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
9159
        LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
9160
    end
9161
    hum.WalkSpeed = storehumanoidWS
9162
    attack = false
9163
end
9164
9165
function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
9166
local orb = Instance.new("Part", char)
9167
        orb.Anchored = true
9168
        orb.BrickColor = color
9169
        orb.CanCollide = false
9170
        orb.FormFactor = 3
9171
        orb.Name = "Ring"
9172
        orb.Material = "Neon"
9173
        orb.Size = Vector3.new(1, 1, 1)
9174
        orb.Transparency = 0
9175
        orb.TopSurface = 0
9176
        orb.BottomSurface = 0
9177
        local orbm = Instance.new("SpecialMesh", orb)
9178
        orbm.MeshType = "Sphere"
9179
orb.CFrame = positted
9180
orbm.Name = "SizeMesh"
9181
orbm.Scale = vt(1,1,1)
9182
CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
9183
Sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
9184
--[[for i = 0, 2 do
9185
SphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
9186
end]]--
9187
coroutine.resume(coroutine.create(function()
9188
wait(timer)
9189
CameraEnshaking(3,ShakePower)
9190
orb.Transparency = 1
9191
MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
9192
Sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
9193
--[[for i = 0, 4 do
9194
SphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
9195
end]]--
9196
CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
9197
wait(3)
9198
orb:Destroy()
9199
end))
9200
end
9201
9202
function GalacticalBeams()
9203
attack = true
9204
local keptcolor = MAINRUINCOLOR
9205
coroutine.resume(coroutine.create(function()
9206
for i = 0, 0 do
9207
swait(10)
9208
local orb = Instance.new("Part", char)
9209
CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
9210
        orb.BrickColor = keptcolor
9211
        orb.CanCollide = false
9212
        orb.FormFactor = 3
9213
        orb.Name = "Ring"
9214
        orb.Material = "Neon"
9215
        orb.Size = Vector3.new(1, 1, 1)
9216
        orb.Transparency = 1
9217
        orb.TopSurface = 0
9218
        orb.BottomSurface = 0
9219
orb.Anchored = true
9220
        local orbm = Instance.new("SpecialMesh", orb)
9221
        orbm.MeshType = "Sphere"
9222
orbm.Name = "SizeMesh"
9223
orbm.Scale = vt(1.25,1.25,1.25)
9224
orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
9225
coroutine.resume(coroutine.create(function()
9226
orb.Transparency = 1
9227
    local a = Instance.new("Part",char)
9228
    a.Name = "Direction"   
9229
    a.Anchored = true
9230
    a.BrickColor = keptcolor
9231
a.Material = "Neon"
9232
a.Transparency = 1
9233
a.Shape = "Cylinder"
9234
    local x = Instance.new("Part",char)
9235
    x.Name = "Direction"   
9236
    x.Anchored = true
9237
    x.BrickColor = keptcolor
9238
x.Material = "Neon"
9239
x.Transparency = 1
9240
x.Shape = "Cylinder"
9241
    local ht = Instance.new("Part",char)
9242
    ht.Name = "DirectionHit"   
9243
    ht.Anchored = true
9244
    ht.BrickColor = keptcolor
9245
ht.CanCollide = false
9246
ht.Transparency = 1
9247
ht.Size = vt(0.1,0.1,0.1)
9248
    a.CanCollide = false
9249
    local ray = Ray.new(
9250
        orb.CFrame.p,                           -- origin
9251
        (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
9252
    )
9253
    local ignore = char
9254
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
9255
    a.BottomSurface = 10
9256
    a.TopSurface = 10
9257
    local distance = (orb.CFrame.p - position).magnitude
9258
    a.Size = Vector3.new(distance,1,1)
9259
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
9260
    ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
9261
    x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
9262
local poste = 0
9263
local rotation = 0
9264
CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
9265
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
9266
CameraEnshaking(2,2)
9267
for i = 0, 49 do
9268
swait()
9269
rotation = rotation + 5
9270
poste = poste + 1
9271
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)
9272
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)
9273
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)
9274
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)
9275
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)
9276
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)
9277
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)
9278
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)
9279
end
9280
local A1 = Instance.new("Attachment",x)
9281
local A2 = Instance.new("Attachment",ht)
9282
local Beem = Instance.new("Beam",ht)
9283
Beem.Attachment0 = A1
9284
Beem.Attachment1 = A2
9285
Beem.LightEmission = 1
9286
Beem.FaceCamera = true
9287
Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
9288
Beem.Width0 = 125
9289
Beem.Width1 = 125
9290
Beem.Texture = "rbxassetid://1134824633"
9291
Beem.TextureMode = "Wrap"
9292
Beem.TextureLength = 200
9293
Beem.TextureSpeed = 1.5
9294
Beem.Color = ColorSequence.new(keptcolor.Color)
9295
CameraEnshaking(3,6)
9296
CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
9297
a.Transparency = 0.25
9298
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
9299
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
9300
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
9301
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
9302
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
9303
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
9304
MagniDamage(ht, 70, 1000,1500, 0, "Normal")
9305
local eff = Instance.new("ParticleEmitter",ht)
9306
eff.Texture = "rbxassetid://284205403"
9307
eff.LightEmission = 0.95
9308
eff.Color = ColorSequence.new(keptcolor.Color)
9309
eff.Rate = 500
9310
eff.Lifetime = NumberRange.new(1)
9311
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
9312
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
9313
eff.Speed = NumberRange.new(80,500)
9314
eff.Drag = 5
9315
eff.Rotation = NumberRange.new(-500,500)
9316
eff.VelocitySpread = 9000
9317
eff.RotSpeed = NumberRange.new(-500,500)
9318
for i = 0, 24 do
9319
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)
9320
local rsiz = math.random(10,50)
9321
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)
9322
end
9323
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
9324
local msh = Instance.new("SpecialMesh",a)
9325
msh.MeshType = "Cylinder"
9326
msh.Scale = vt(1,15,15)
9327
for i = 0, 49 do
9328
swait()
9329
CameraEnshaking(1,4)
9330
MagniDamage(ht, 70, 1000,1500, 0, "Normal")
9331
rotation = rotation + 5
9332
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
9333
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)
9334
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
9335
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)
9336
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)
9337
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)
9338
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)
9339
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)
9340
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)
9341
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)
9342
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)
9343
for i = 0, 2 do
9344
local rsiz = math.random(50,250)
9345
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)
9346
end
9347
msh.Scale = msh.Scale + vt(0,0.25,0.25)
9348
end
9349
eff.Enabled = false
9350
local visibility = 0
9351
for i = 0, 49 do
9352
swait()
9353
visibility = visibility + 0.02
9354
Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
9355
rotation = rotation + 5
9356
poste = poste - 1
9357
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)
9358
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)
9359
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)
9360
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)
9361
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)
9362
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)
9363
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)
9364
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)
9365
msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
9366
a.Transparency = a.Transparency + 0.02
9367
end
9368
wait(1)
9369
orb:Destroy()
9370
a:Destroy()
9371-
bosschatfunc("I'm bored...",MAINRUINCOLOR.Color,1)
9371+
9372
end))
9373
game:GetService("Debris"):AddItem(orb, 10)
9374
end
9375
end))
9376
hum.WalkSpeed = storehumanoidWS
9377
attack = false
9378
 end
9379
end
9380
-------------------------------------
9381
9382
Humanoid.Animator.Parent = nil
9383
9384
-------------------------------------
9385
9386
local attacktype = 1
9387
mouse.Button1Down:connect(function()
9388
  if attack == false and attacktype == 1 then
9389
    attacktype = 2
9390
    attackone()
9391
  elseif attack == false and attacktype == 2 then
9392
    attacktype = 3
9393
    attacktwo()
9394
  elseif attack == false and attacktype == 3 then
9395
    attacktype = 1
9396
    attackthree()
9397
  elseif attack == false and attacktype == 4 then
9398
    attacktype = 1
9399
    --attackfour()
9400
  end
9401
end)
9402
mouse.KeyDown:connect(function(k)
9403
if k == "q" and attack == false and ModeOfGlitch ~= 1 then
9404
--normalmog() ---Disabled due to crashing... only in VSB
9405
ModeOfGlitch = 1
9406
storehumanoidWS = 17
9407
hum.WalkSpeed = 17
9408
rainbowmode = false
9409
chaosmode = false
9410
starmode = true
9411
newTheme("rbxassetid://614032233",48.6,1,1.25)
9412
RecolorTextAndRename("STAR",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
9413
MAINRUINCOLOR = BrickColor.new("Royal purple")
9414
warnedpeople("star","Arcade",BrickColor.new("Dark stone gry").Color,MAINRUINCOLOR.Color)
9415
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,BrickColor.new("Really black"),0,BrickColor.new("Really black"),true,true)
9416
end
9417
if k == "e" and attack == false and ModeOfGlitch ~= 2 then
9418
ModeOfGlitch = 2
9419
storehumanoidWS = 25
9420
hum.WalkSpeed = 25
9421
rainbowmode = false
9422
chaosmode = false
9423
RecolorTextAndRename("SCEREN STAR",Color3.new(0,1,1),Color3.new(0,1,1),"Code")
9424
newTheme("rbxassetid://1539245059",0,1,1)
9425
MAINRUINCOLOR = BrickColor.new("Toothpaste")
9426
RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9427
end
9428
if k == "r" and attack == false and ModeOfGlitch ~= 3 then
9429
               ModeOfGlitch = 3
9430
storehumanoidWS = 25
9431
hum.WalkSpeed = 25
9432
rainbowmode = false
9433
chaosmode = false
9434
RecolorTextAndRename("Royal Star",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
9435
newTheme("rbxassetid://1232367576",58.15,0.98,1.25)
9436
MAINRUINCOLOR = BrickColor.new("Royal purple")
9437
RecolorThing(MAINRUINCOLOR,BrickColor.new("Lilac"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9438
end
9439
if k == "t" and attack == false and ModeOfGlitch ~= 4 then
9440
               ModeOfGlitch = 4
9441
storehumanoidWS = 20
9442
hum.WalkSpeed = 20
9443
rainbowmode = false
9444
chaosmode = true
9445
RecolorTextAndRename("InSaNe StAr",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
9446
newTheme("rbxassetid://2525700576",0,1.01,1.25)
9447
MAINRUINCOLOR = BrickColor.new("Really black")
9448
warnedpeople("PuRe InSaNiTy","Arcade",BrickColor.new("Really Black").Color,MAINRUINCOLOR.Color)
9449
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9450
end
9451
if k == "y" and attack == false and ModeOfGlitch ~= 5 then
9452
               ModeOfGlitch = 5
9453
storehumanoidWS = 55
9454
hum.WalkSpeed = 55
9455
rainbowmode = true
9456
chaosmode = false
9457
RecolorTextAndRename("Galactic Star",Color3.new(0,1,4),Color3.new(1,1,5),"Arcade")
9458
newTheme("rbxassetid://1747430851",0,1,2)
9459
MAINRUINCOLOR = BrickColor.new("Baby blue")
9460
RecolorThing(MAINRUINCOLOR,BrickColor.new("Baby blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9461
end
9462
if k == "u" and attack == false and ModeOfGlitch ~= 6 then
9463
               ModeOfGlitch = 6
9464
storehumanoidWS = 100
9465
hum.WalkSpeed = 100
9466
rainbowmode = false
9467
chaosmode = false
9468
RecolorTextAndRename("BURNING STAR",Color3.new(0.75,0.9,1),BrickColor.new("Bright yellow").Color,"Arcade")
9469
newTheme("rbxassetid://1276814239",0,1,1)
9470
MAINRUINCOLOR = BrickColor.new("Bright yellow")
9471
RecolorThing(MAINRUINCOLOR,BrickColor.new("Deep orange"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9472
end
9473
if k == "f" and attack == false and ModeOfGlitch ~= 8 then
9474
               ModeOfGlitch = 8
9475
storehumanoidWS = 140
9476
hum.WalkSpeed = 140
9477
rainbowmode = false
9478
chaosmode = false
9479
RecolorTextAndRename("STAR'S DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
9480
newTheme("rbxassetid://2018331827",0,1.01,1.25)
9481
MAINRUINCOLOR = BrickColor.new("Alder")
9482
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9483
end
9484
if k == "g" and attack == false and ModeOfGlitch ~= 9 then
9485
               ModeOfGlitch = 9
9486
storehumanoidWS = 150
9487
hum.WalkSpeed = 150
9488
rainbowmode = false
9489
chaosmode = false
9490
RecolorTextAndRename("DIVINE STAR",Color3.new(1,1,1),Color3.new(1,1,0.5),"Arcade")
9491
newTheme("rbxassetid://661079869",0,1,2)
9492
MAINRUINCOLOR = BrickColor.new("Bright yellow")
9493
RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9494
end
9495
if k == "h" and attack == false and ModeOfGlitch ~= 10 then
9496
               ModeOfGlitch = 10
9497
storehumanoidWS = 75
9498
hum.WalkSpeed = 75
9499
rainbowmode = false
9500
chaosmode = false
9501
RecolorTextAndRename("NUCLEAR STAR",Color3.new(0,6,0),BrickColor.new("Dark green").Color,"Code")
9502
newTheme("rbxassetid://1812212957",0,1,1)
9503
MAINRUINCOLOR = BrickColor.new("Dark green")
9504
RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9505
end
9506
if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 83 then
9507
               ModeOfGlitch = 83
9508
storehumanoidWS = 180
9509
hum.WalkSpeed = 180
9510
rainbowmode = false
9511
chaosmode = false
9512
RecolorTextAndRename("TWISTED STAR!",BrickColor.new("Black").Color,BrickColor.new("Really black").Color,"Antique")
9513
newTheme("rbxassetid://2072448553",0,1,1)
9514
MAINRUINCOLOR = BrickColor.new("Really black")
9515
warnedpeople("TWISTED!","Arcade",BrickColor.new("Dark stone gry").Color,MAINRUINCOLOR.Color)
9516
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,BrickColor.new("Really black"),0,BrickColor.new("Really black"),true,true)
9517
end
9518
if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 95 then
9519
               ModeOfGlitch = 95
9520
storehumanoidWS = 180
9521
hum.WalkSpeed = 180
9522
rainbowmode = false
9523
chaosmode = false
9524
RecolorTextAndRename("STRESSED STAR",BrickColor.new("Crimson").Color,BrickColor.new("Really black").Color,"Antique")
9525
newTheme("rbxassetid://3135757997",0,1,1)
9526
warnedpeople("STOP MAKING THIS STRESSFUL!!!","Arcade",BrickColor.new("Really black").Color,BrickColor.new("Crimson").Color)
9527
MAINRUINCOLOR = BrickColor.new("Really black")
9528
RecolorThing(MAINRUINCOLOR,BrickColor.new("Crimson"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9529
end
9530
if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 150 then
9531
               ModeOfGlitch = 150
9532
storehumanoidWS = 180
9533
hum.WalkSpeed = 180
9534
rainbowmode = false
9535
chaosmode = false
9536
RecolorTextAndRename("STAR'S SOLITUDE",BrickColor.new("Black").Color,BrickColor.new("Really black").Color,"Antique")
9537
newTheme("rbxassetid://1960307734",0,1,1)
9538
MAINRUINCOLOR = BrickColor.new("Really black")
9539
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9540
end
9541
if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 500 then
9542
               ModeOfGlitch = 500
9543
storehumanoidWS = 180
9544
hum.WalkSpeed = 180
9545
rainbowmode = false
9546
chaosmode = false
9547
RecolorTextAndRename("Hopless Star",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
9548
newTheme("rbxassetid://1382488262",0,1,1)
9549
MAINRUINCOLOR = BrickColor.new("Lilac")
9550
RecolorThing(MAINRUINCOLOR,BrickColor.new("Lilac"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9551
end
9552
if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 652 then
9553
               ModeOfGlitch = 652
9554
storehumanoidWS = 180
9555
hum.WalkSpeed = 180
9556
rainbowmode = true
9557
chaosmode = false
9558
RecolorTextAndRename("FROZEN STAR",BrickColor.new("Baby blue").Color,BrickColor.new("Cyan").Color,"Antique")
9559
newTheme("rbxassetid://603565821",0,1,1)
9560
MAINRUINCOLOR = BrickColor.new("Baby blue")
9561
RecolorThing(MAINRUINCOLOR,BrickColor.new("Cyan"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9562
end
9563
if k == "m" and attack == false and ModeOfGlitch == 150 and ModeOfGlitch ~= 999 then
9564
               ModeOfGlitch = 999
9565
storehumanoidWS = 180
9566
hum.WalkSpeed = 180
9567
rainbowmode = false
9568
chaosmode = false
9569
newTheme("rbxassetid://1681272944",0,1,1)
9570
chatfunc("Riddle me this..",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
9571
wait(5)
9572
chatfunc("Riddle me that..",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
9573
wait(2)
9574
chatfunc("Whose afraid of the big black?",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
9575
wait(2)
9576
RecolorTextAndRename("ANGERED STAR",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color,"Antique")
9577
MAINRUINCOLOR = BrickColor.new("Dark stone grey")
9578
warnedpeople("ANGERED","Arcade",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color)
9579
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Really black"),0,BrickColor.new("Really black"),true,true)
9580
end
9581
if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
9582
               ModeOfGlitch = 8889
9583
storehumanoidWS = 180
9584
hum.WalkSpeed = 180
9585
rainbowmode = false
9586
chaosmode = false
9587
RecolorTextAndRename("Calamity Star",BrickColor.new("Pink").Color,BrickColor.new("Royal purple").Color,"Antique")
9588
newTheme("rbxassetid://1027314531",0,1,1)
9589
bosschatfunc("I suggest you stop now.",MAINRUINCOLOR.Color,1)
9590
MAINRUINCOLOR = BrickColor.new("Royal purple")
9591
warnedpeople("CALAMITY","Arcade",BrickColor.new("Dark stone grey").Color,BrickColor.new("Lilac").Color)
9592
RecolorThing(MAINRUINCOLOR,BrickColor.new("Lilac"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9593
end
9594
if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
9595
               ModeOfGlitch = 55469696922
9596
storehumanoidWS = 275
9597
hum.WalkSpeed = 275
9598
rainbowmode = false
9599
chaosmode = false
9600
RecolorTextAndRename("??? STAR",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
9601
newTheme("rbxassetid://2234873423",0,1,1)
9602
bosschatfunc("hehe~~",MAINRUINCOLOR.Color,1)
9603
MAINRUINCOLOR = BrickColor.new("Pink")
9604
RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9605
end
9606
if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
9607
               ModeOfGlitch = 4367677813
9608
storehumanoidWS = 225
9609
hum.WalkSpeed = 225
9610
rainbowmode = false
9611
chaosmode = false
9612
RecolorTextAndRename("PURE STAR",Color3.new(0,1,1),BrickColor.new("Electric blue").Color,"Arcade")
9613
newTheme("rbxassetid://2482117221",0,1,1)
9614
MAINRUINCOLOR = BrickColor.new("Electric blue")
9615
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9616
end
9617
if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
9618
               ModeOfGlitch = 9999999921111
9619
storehumanoidWS = 300
9620
hum.WalkSpeed = 300
9621
rainbowmode = false
9622
chaosmode = false
9623
RecolorTextAndRename("DANGEROUS STAR",BrickColor.new("Black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
9624
newTheme("rbxassetid://643309199",0,1,1)
9625
MAINRUINCOLOR = BrickColor.new("Bright bluish green")
9626
RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9627
end
9628
if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
9629
               ModeOfGlitch = 999999999556
9630
storehumanoidWS = 500
9631
hum.WalkSpeed = 500
9632
rainbowmode = false
9633
chaosmode = false
9634
RecolorTextAndRename("CRAZED STAR",Color3.new(0,0,0),Color3.new(0,0,7),"Code")
9635
newTheme("rbxassetid://1422695084",0,1,1)
9636
MAINRUINCOLOR = BrickColor.new("Black")
9637
RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9638
end
9639
if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
9640
               ModeOfGlitch = 1264532489
9641
storehumanoidWS = 250
9642
hum.WalkSpeed = 250
9643
rainbowmode = false
9644
chaosmode = false
9645
RecolorTextAndRename("STAR'S BRIGHTNESS",Color3.new(0.5,0,1),BrickColor.new("Royal purple").Color,"Arcade")
9646
newTheme("rbxassetid://614032233",0,1,1)
9647
MAINRUINCOLOR = BrickColor.new("Royal purple")
9648
RecolorThing(MAINRUINCOLOR,BrickColor.new("Royal purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9649
end
9650
if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 7536 then
9651
               ModeOfGlitch = 7536
9652
storehumanoidWS = 250
9653
hum.WalkSpeed = 250
9654
rainbowmode = false
9655
chaosmode = false
9656
RecolorTextAndRename("Lunar Star",Color3.new(0,0,0),Color3.new(0.35,0,1),"Arcade")
9657
newTheme("rbxassetid://561833161",0,1,1)
9658
MAINRUINCOLOR = BrickColor.new("Really blue")
9659
RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
9660
end
9661
if k == "n" and attack == false and ModeOfGlitch == 10 and ModeOfGlitch ~= 666 then
9662
               ModeOfGlitch = 666
9663
storehumanoidWS = 75
9664
hum.WalkSpeed = 75
9665
rainbowmode = false
9666
chaosmode = false
9667
RecolorTextAndRename("Corrupted Star",Color3.new(0.5,2,0.1),BrickColor.new("Lime green").Color,"Arcade")
9668
newTheme("rbxassetid://3135757997",0,1,1)
9669
MAINRUINCOLOR = BrickColor.new("Lime green")
9670
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Forest green"),0,BrickColor.new("Dark green"),true,true)
9671
end
9672
if k == "l" and mutedtog == false then
9673
mutedtog = true
9674
kan.Volume = 0
9675
elseif k == "l" and mutedtog == true then
9676
mutedtog = false
9677
kan.Volume = 1.25
9678
end
9679
if k == "p" and toggleTag == false then
9680
toggleTag = true
9681
modet.TextTransparency = 0
9682
modet.TextStrokeTransparency = 0
9683
elseif k == "p" and toggleTag == true then
9684
toggleTag = false
9685
modet.TextTransparency = 1
9686
modet.TextStrokeTransparency = 1
9687
end
9688
if k == "z" and attack == false and ModeOfGlitch == 1 then
9689
ExtinctiveHeartbreak()
9690
elseif k == "c" and attack == false and ModeOfGlitch == 1 then
9691
FallenOrbs()
9692
elseif k == "z" and attack == false and ModeOfGlitch == 2 then
9693
HeavenlyDisk()
9694
elseif k == "x" and attack == false and ModeOfGlitch == 2 then
9695
PureOrb()
9696
elseif k == "c" and attack == false and ModeOfGlitch == 2 then
9697
harmonytaunty()
9698
elseif k == "z" and attack == false and ModeOfGlitch == 3 then
9699
CorruptionEvent()
9700
elseif k == "x" and attack == false and ModeOfGlitch == 3 then
9701
DivineBlast()
9702
elseif k == "c" and attack == false and ModeOfGlitch == 3 then
9703
scattercorrupt()
9704
elseif k == "v" and attack == false and ModeOfGlitch == 3 then
9705
CorruptBlink()
9706
elseif k == "c" and attack == false and ModeOfGlitch == 4 then
9707
ChaosEND()
9708
elseif k == "x" and attack == false and ModeOfGlitch == 4 then
9709
attacktwo()
9710
elseif k == "v" and attack == false and ModeOfGlitch == 4 then
9711
ChaosGroundStrike()
9712
elseif k == "m" and attack == false and ModeOfGlitch == 4 then
9713
FallenOrbs()
9714
elseif k == "z" and attack == false and ModeOfGlitch == 4 then
9715
RapidBurst()
9716
elseif k == "k" and attack == false and ModeOfGlitch == 4 then
9717
InsaneDrop()
9718
elseif k == "j" and attack == false and ModeOfGlitch == 4 then
9719
SpeedDrop()
9720
elseif k == "z" and attack == false and ModeOfGlitch == 5 then
9721
DivineLights()
9722
elseif k == "x" and attack == false and ModeOfGlitch == 5 then
9723
vistaunty()
9724
elseif k == "z" and attack == false and ModeOfGlitch == 6 then
9725
EquinoxOrbs()
9726
elseif k == "x" and attack == false and ModeOfGlitch == 6 then
9727
shytaunty()
9728
elseif k == "c" and attack == false and ModeOfGlitch == 6 then
9729
cutesigh()
9730
elseif k == "v" and attack == false and ModeOfGlitch == 6 then
9731
Counter()
9732
elseif k == "b" and attack == false and ModeOfGlitch == 6 then
9733
hugg()
9734
elseif k == "z" and attack == false and ModeOfGlitch == 7536 then
9735
yinyangi()
9736
elseif k == "x" and attack == false and ModeOfGlitch == 9 then
9737
smiter()
9738
elseif k == "c" and attack == false and ModeOfGlitch == 9 then
9739
HolyBarrier()
9740
elseif k == "v" and attack == false and ModeOfGlitch == 9 then
9741
Judgement()
9742
elseif k == "m" and attack == false and ModeOfGlitch == 9 then
9743
Suicidal()
9744
elseif k == "z" and attack == false and ModeOfGlitch == 83 then
9745
ViolentRing()
9746
elseif k == "x" and attack == false and ModeOfGlitch == 83 then
9747
THE_TRUE_POWER_OF_VIOLENCE()
9748
elseif k == "z" and attack == false and ModeOfGlitch == 999 then
9749
ExtinctiveHeartbreak()
9750
elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
9751
attackone()
9752
elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
9753
UniversalCollapse()
9754
elseif k == "z" and attack == false and ModeOfGlitch == 9 then
9755
FallenOrbs()
9756
elseif k == "c" and attack == false and ModeOfGlitch == 8889 then
9757
FallenOrbs()
9758
elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
9759
EquinoxOrbs()
9760
elseif k == "v" and attack == false and ModeOfGlitch == 8889 then
9761
CyberSlash()
9762
elseif k == "b" and attack == false and ModeOfGlitch == 8889 then
9763
CardStorm()
9764
elseif k == "z" and attack == false and ModeOfGlitch == 55469696922 then
9765
BinaryBLINK()
9766
elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
9767
BeamOfDeath()
9768
elseif k == "c" and attack == false and ModeOfGlitch == 55469696922 then
9769
GalacticalBeams()
9770
elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
9771
WarpedDash()
9772
elseif k == "x" and attack == false and ModeOfGlitch == 999999999556 then
9773
Technobeam()
9774
elseif k == "c" and attack == false and ModeOfGlitch == 999999999556 then
9775
FinalCalamity()
9776
elseif k == "z" and attack == false and ModeOfGlitch == 9999999921111 then
9777
EndGROUND()
9778
elseif k == "x" and attack == false and ModeOfGlitch == 9999999921111 then
9779
StarDivision()
9780
elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
9781
GleamingBeam()
9782
elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
9783
DualGleamingBeam()
9784
elseif k == "b" and attack == false and ModeOfGlitch == 9999999921111 then
9785
dragin()
9786
elseif k == "m" and attack == false and ModeOfGlitch == 9999999921111 then
9787
Beams()
9788
elseif k == "x" and attack == false and ModeOfGlitch == 1264532489 then
9789
AZUREFINALE()
9790
elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
9791
FallenOrbs()
9792
end
9793
if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
9794
FallenDEMISE()
9795
end
9796
if k == "x" and attack == false and ModeOfGlitch == 1 then
9797
EndGROUND()
9798
end
9799
end)
9800
9801
--[[coroutine.resume(coroutine.create(function()
9802
while true do
9803
swait(2)
9804
if chaosmode == true then
9805
tl1.Color = ColorSequence.new(BrickColor.random().Color)
9806
tl2.Color = ColorSequence.new(BrickColor.random().Color)
9807
tl3.Color = ColorSequence.new(BrickColor.random().Color)
9808
RecolorTextAndRename("InSaNe StAr",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
9809
for i, v in pairs(mw1:GetChildren()) do
9810
if v:IsA("Part") then
9811
v.Transparency = 0.75
9812
v.BrickColor = BrickColor.random()
9813
v.Material = "Neon"
9814
end
9815
end
9816
for i, v in pairs(m2:GetChildren()) do
9817
if v:IsA("Part") then
9818
v.BrickColor = BrickColor.random()
9819
v.Material = "Neon"
9820
end
9821
end
9822
end
9823
end
9824
end))]]--
9825
Humanoid.Name = "STARGLITCHER"
9826
Humanoid.MaxHealth = math.huge
9827
Humanoid.Health = math.huge
9828
Instance.new("ForceField",char).Visible = false
9829
9830
local bguis = Instance.new("BillboardGui",tors)
9831
bguis.Size = UDim2.new(25, 0, 25, 0)
9832
local imgca = Instance.new("ImageLabel",bguis)
9833
imgca.BackgroundTransparency = 1
9834
imgca.ImageTransparency = 1
9835
imgca.Size = UDim2.new(1,0,1,0)
9836
imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
9837
imgca.ImageColor3 = Color3.new(0,0,0)
9838
9839
idleanim=.4
9840
while true do
9841
if mutedtog == false then
9842
kan.Volume = currentVol
9843
elseif mutedtog == true then
9844
kan.Volume = 0
9845
end
9846
kan.PlaybackSpeed = currentPitch
9847
kan.Pitch = currentPitch
9848
kan.SoundId = currentThemePlaying
9849
kan.Looped = true
9850
kan.Parent = char
9851
kan:Resume()
9852
if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
9853
imgca.ImageTransparency = 1
9854
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
9855
imgca.ImageColor3 = MAINRUINCOLOR.Color
9856-
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
9856+
9857
end
9858
imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
9859
bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
9860
coroutine.resume(coroutine.create(function()
9861
	if chaosmode == true then
9862-
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
9862+
9863-
rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
9863+
9864-
rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
9864+
9865
v.BrickColor = BrickColor.random()
9866
v.Material = "Neon"
9867
end
9868
end
9869
tl1.Color = ColorSequence.new(BrickColor.random().Color)
9870
tl2.Color = ColorSequence.new(BrickColor.random().Color)
9871
tl3.Color = ColorSequence.new(BrickColor.random().Color)
9872
	RecolorTextAndRename("InSaNe StAr",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
9873
	end
9874
end))
9875
9876
if chaosmode == false then
9877
modet.Position = UDim2.new(0,0,0,0)
9878
modet.Rotation = -5 * math.cos(sine / 32)
9879
techc.Rotation = techc.Rotation + 1
9880
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
9881
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
9882
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
9883
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
9884
ned.Rotation = 0 - 2 * math.cos(sine / 24)
9885
ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
9886
else
9887
	techc.Rotation = techc.Rotation + 1
9888
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
9889
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
9890
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
9891
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
9892
ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
9893
ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
9894
modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
9895
modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
9896
end
9897
CameraManager()
9898
swait()
9899
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 24)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
9900
lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
9901
lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
9902
lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
9903
lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
9904
lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
9905
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,3,0)*angles(math.rad(0),math.rad(0),math.rad(3))*angles(math.rad(5 + 10 * math.cos(sine / 12)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
9906
rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,-3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 47)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
9907
rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / -87)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
9908
rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
9909
rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
9910
rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
9911
 sine = sine + change
9912
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
9913
local velderp=RootPart.Velocity.y
9914
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
9915
if equipped==true or equipped==false then
9916
if attack==false then
9917
idle=idle+1
9918
else
9919
idle=0
9920
end
9921
if idle>=500 then
9922
if attack==false then
9923
--Sheath()
9924
end
9925
end
9926
if RootPart.Velocity.y > 1 and hitfloor==nil then 
9927
Anim="Jump"
9928
if attack==false then
9929
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)
9930
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)
9931
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
9932
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
9933
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)
9934
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)
9935
end
9936
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
9937
Anim="Fall"
9938
if attack==false then
9939
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)
9940
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)
9941
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
9942
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
9943
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)
9944
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)
9945
end
9946
elseif torvel<1 and hitfloor~=nil then
9947
Anim="Idle"
9948
if attack==false then
9949
if ModeOfGlitch == 1 then
9950
local snap = math.random(1,10)
9951
if snap == 1 then
9952
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
9953
end
9954
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
9955
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
9956
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
9957
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
9958
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
9959
LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
9960
elseif ModeOfGlitch == 2 then
9961
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
9962
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
9963
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
9964
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
9965
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
9966
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
9967
elseif ModeOfGlitch == 3 then
9968
local snap = math.random(1,32)
9969
if snap == 1 then
9970
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
9971
end
9972
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
9973
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
9974
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
9975
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
9976
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
9977
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
9978
elseif ModeOfGlitch == 4 then
9979
local snap = math.random(1,5)
9980
if snap == 1 then
9981
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
9982
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
9983
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
9984
end
9985
sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.random(),BrickColor.random().Color)
9986
sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.random(),BrickColor.random().Color)
9987
RH.C0 = clerp(RH.C0, cf(1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(20)), 0.1)
9988
					LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(-20)), 0.1)
9989
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.025 * math.cos(sine / 32)) * angles(math.rad(20 - 0.5 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1)
9990
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
9991
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
9992
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
9993
elseif ModeOfGlitch == 5 then
9994
sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
9995
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Alder"),Color3.new(0,1,0))
9996
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
9997
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
9998
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
9999
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
10000
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1)
10001
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
10002
elseif ModeOfGlitch == 6 then
10003
RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20)  - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
10004
LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
10005
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
10006
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
10007
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-6 + 5 * math.cos(sine / 26)),math.rad(-10 - 6 * math.cos(sine / 24)),math.rad(13 - 5 * math.cos(sine / 34))),.1)
10008
LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
10009
elseif ModeOfGlitch == 8 then
10010
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
10011
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
10012
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1)
10013
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1)
10014
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
10015
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
10016
elseif ModeOfGlitch == 9 then
10017
local snap = math.random(1,32)
10018
if snap == 1 then
10019
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
10020
end
10021
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)
10022
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)
10023
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)
10024
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)
10025
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
10026
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
10027
elseif ModeOfGlitch == 10 then
10028
RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
10029
					LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
10030
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
10031
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
10032
					RW.C0 = clerp(RW.C0, cf(1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.1)
10033
					LW.C0 = clerp(LW.C0, cf(-1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
10034
elseif ModeOfGlitch == 83 then
10035
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
10036
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
10037
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
10038
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
10039
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
10040
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
10041
elseif ModeOfGlitch == 95 then
10042
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
10043
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
10044
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
10045
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
10046
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
10047
LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
10048
elseif ModeOfGlitch == 150 then
10049
local snap = math.random(1,5)
10050
if snap == 1 then
10051
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
10052
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
10053
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
10054
end
10055
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
10056
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
10057
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
10058
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
10059
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
10060
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
10061
elseif ModeOfGlitch == 432 then
10062
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(95),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
10063
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
10064
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
10065
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
10066
RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
10067
LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
10068
elseif ModeOfGlitch == 500 then
10069
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
10070
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
10071
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
10072
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
10073
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
10074
LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
10075
elseif ModeOfGlitch == 652 then
10076
local snap = math.random(1,2)
10077
if snap == 1 then
10078
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
10079
RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
10080
LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
10081
end
10082
RH.C0=clerp(RH.C0,cf(1,0.35 - 0.05 * math.cos(sine / 32),-0.7)*angles(math.rad(-20),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
10083
LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
10084
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
10085
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
10086
RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1)
10087
LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(15 - 3 * math.cos(sine / 45))),.1)
10088
elseif ModeOfGlitch == 666 then
10089
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)
10090
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)
10091
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)
10092
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)
10093
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)
10094
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)
10095
elseif ModeOfGlitch == 789 then
10096
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
10097
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
10098
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
10099
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
10100
RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
10101
LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
10102
elseif ModeOfGlitch == 999 then
10103
RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
10104
LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
10105
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
10106
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
10107
RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
10108
LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
10109
elseif ModeOfGlitch == 7536 then
10110
RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20)  - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(0 - 6 * math.cos(sine / 40)),math.rad(-6 + 2 * math.cos(sine / 20) - 6 * math.cos(sine / 40))),.1)
10111
LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(10 - 6 * math.cos(sine / 40)),math.rad(3 - 2 * math.cos(sine / 20) - 3 * math.cos(sine / 40))),.1)
10112
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.06 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(-20 + 6 * math.cos(sine / 40))),.1)
10113
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(6),math.rad(0 - 2 * math.cos(sine / 42)),math.rad(20 - 6 * math.cos(sine / 40))),.1)
10114
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 + 3 * math.cos(sine / 26)),math.rad(-20 - 3 * math.cos(sine / 24)),math.rad(20 - 5 * math.cos(sine / 34))),.1)
10115
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 3 * math.cos(sine / 25)),math.rad(10 + 3 * math.cos(sine / 24)),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
10116
elseif ModeOfGlitch == 8889 then
10117
sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
10118
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Toothpaste"),Color3.new(0,1,0))
10119
                    RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.1)
10120
                    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)), 0.1)
10121
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
10122
                    Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
10123
                    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20 + 2.5 * math.cos(sine / 28))), 0.1)
10124
                    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20 - 2.5 * math.cos(sine / 28))), 0.1)
10125
elseif ModeOfGlitch == 1264532489 then
10126
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
10127
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
10128
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-60)),.1)
10129
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(20 + 1 * math.cos(sine / 58)),math.rad(60 + 2 * math.cos(sine / 53))),.1)
10130
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
10131
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(98 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
10132
elseif ModeOfGlitch == 9999999921111 then
10133
local snap = math.random(1,10)
10134
if snap == 1 then
10135
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
10136
end
10137
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
10138
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
10139
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
10140
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
10141
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
10142
LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
10143
elseif ModeOfGlitch == 4367677813 then
10144
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
10145
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
10146
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
10147
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
10148
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
10149
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
10150
elseif ModeOfGlitch == 55469696922 then
10151
sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
10152
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
10153
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
10154
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
10155
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
10156
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
10157
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
10158
elseif ModeOfGlitch == 999999999556 then
10159
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
10160
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
10161
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
10162
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
10163
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
10164
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
10165
end
10166
end
10167
elseif torvel>2 and torvel<22 and hitfloor~=nil then
10168
Anim="Walk"
10169
if attack==false then
10170
	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)
10171
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)
10172
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)
10173
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
10174
RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1)
10175
LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(15 - 3 * math.cos(sine / 45))),.1)
10176
end
10177
elseif torvel>=22 and hitfloor~=nil then
10178
Anim="Run"
10179
if attack==false then
10180
if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 8889 and ModeofGlitch ~= 7536 and ModeofGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 10 then
10181
RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
10182
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
10183
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
10184
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
10185
RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
10186
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
10187
if ModeOfGlitch == 9 then
10188
--
10189
end
10190
elseif ModeOfGlitch == 6 or ModeOfGlitch == 10 or ModeofGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
10191
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)
10192
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)
10193
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)
10194
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)
10195
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)
10196
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)
10197
end
10198
end
10199
end
10200
end
10201
end